Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 520594 Details for
Bug 648540
sys-auth/docker_auth-1.3-r2 : * ERROR: sys-auth/docker_auth-1.3-r2::gentoo failed (compile phase):
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
environment
environment (text/plain), 42.56 KB, created by
Toralf Förster
on 2018-02-22 18:15:44 UTC
(
hide
)
Description:
environment
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2018-02-22 18:15:44 UTC
Size:
42.56 KB
patch
obsolete
>declare -x ABI="amd64" >declare -x ABI_X86="64" >declare -x ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" >declare -x ANT_HOME="/usr/share/ant" >declare -x APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" >declare -x ARCH="amd64" >declare -x BOOTSTRAP_USE="cxx unicode internal-glib python_targets_python3_5 python_targets_python2_7 multilib hardened pic xtpax -jit -orc" >declare -x CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" >declare -x CATKIN_PREFIX_PATH="/usr" >declare -x CBUILD="x86_64-pc-linux-gnu" >declare -x CCL_DEFAULT_DIRECTORY="/usr/lib64/clozurecl" >declare -x CDF_BASE="/usr" >declare -x CDF_BIN="\${CDF_BASE}/bin" >declare -x CDF_HELP="\${CDF_BASE}/lib/cdf/help" >declare -x CDF_INC="\${CDF_BASE}/include" >declare -x CDF_LIB="\${CDF_BASE}/lib" >declare -x CFLAGS="-O2 -pipe -march=native" >declare -x CFLAGS_amd64="-m64" >declare -x CFLAGS_x32="-mx32" >declare -x CFLAGS_x86="-m32" >declare -x CHOST="x86_64-pc-linux-gnu" >declare -x CHOST_amd64="x86_64-pc-linux-gnu" >declare -x CHOST_x32="x86_64-pc-linux-gnux32" >declare -x CHOST_x86="i686-pc-linux-gnu" >declare -x CMTBIN="Linux-x86_64" >declare -x CMTCONFIG="Linux-x86_64" >declare -x CMTROOT="/usr/lib64/CMT/v1r26" >declare -x COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" >declare -x CPU_FLAGS_X86="mmx mmxext sse sse2" >declare -x CXXFLAGS="-O2 -pipe -march=native" >declare -x DEFAULT_ABI="amd64" >declare -x DEFINED_PHASES=" compile install prepare setup test unpack" >declare DEPEND=">=dev-lang/go-1.8" >declare DESCRIPTION="Docker Registry 2 authentication server" >declare -x DESTTREE="/usr" >declare -x DIROPTIONS="-m0755" >declare -x EAPI="6" >declare -x EDENHOME="/usr/lib64/eden" >declare -- EGIT_COMMIT="2cd3699dab4e44a239db136a52734dab25897bee" >declare -x EGO_BUILD_FLAGS="-p 1" >declare -- EGO_PN="github.com/cesanta/docker_auth" >declare -a EGO_VENDOR=([0]="github.com/dchest/uniuri 8902c56451e9b58ff940bbe5fec35d5f9c04584a" [1]="github.com/deckarep/golang-set fc8930a5e645572ee00bf66358ed3414f3c13b90" [2]="github.com/docker/distribution 0700fa570d7bcc1b3e46ee127c4489fd25f4daa3" [3]="github.com/docker/libtrust aabc10ec26b754e797f9028f4589c5b7bd90dc20" [4]="github.com/facebookgo/httpdown a3b1354551a26449fbe05f5d855937f6e7acbd71" [5]="github.com/facebookgo/clock 600d898af40aa09a7a93ecb9265d87b0504b6f03" [6]="github.com/facebookgo/stats 1b76add642e42c6ffba7211ad7b3939ce654526e" [7]="github.com/go-ldap/ldap 13cedcf58a1ea124045dea529a66c849d3444c8e" [8]="github.com/cesanta/glog 22eb27a0ae192b290b25537b8e876556fc25129c" [9]="github.com/schwarmco/go-cartesian-product c2c0aca869a6cbf51e017ce148b949d9dee09bc3" [10]="github.com/syndtr/goleveldb 3c5717caf1475fd25964109a0fc640bd150fce43" [11]="github.com/golang/snappy 553a641470496b2327abcac10b36396bd98e45c9" [12]="gopkg.in/asn1-ber.v1 4e86f4367175e39f69d9358a5f17b4dda270378d github.com/go-asn1-ber/asn1-ber" [13]="gopkg.in/fsnotify.v1 629574ca2a5df945712d3079857300b5e4da0236 github.com/fsnotify/fsnotify" [14]="gopkg.in/mgo.v2 3f83fa5005286a7fe593b055f0d7771a7dce4655 github.com/go-mgo/mgo" [15]="gopkg.in/yaml.v2 a3f3340b5840cee44f372bddb5880fcbc419b46a github.com/go-yaml/yaml" [16]="golang.org/x/crypto e1a4589e7d3ea14a3352255d04b6f1a418845e5e github.com/golang/crypto" [17]="golang.org/x/sys 493114f68206f85e7e333beccfabc11e98cba8dd github.com/golang/sys" [18]="golang.org/x/net 859d1a86bb617c0c20d154590c3c5d3fcb670b07 github.com/golang/net" [19]="google.golang.org/api 39c3dd417c5a443607650f18e829ad308da08dd2 github.com/google/google-api-go-client" [20]="google.golang.org/grpc 35170916ff58e89ae03f52e778228e18207e0e02 github.com/grpc/grpc-go" [21]="github.com/golang/protobuf 11b8df160996e00fd4b55cbaafb3d84ec6d50fa8" [22]="golang.org/x/oauth2 13449ad91cb26cb47661c1b080790392170385fd github.com/golang/oauth2" [23]="cloud.google.com/go bbf380d59635bf267fc8a8df03d6d261c448ee3c github.com/GoogleCloudPlatform/gcloud-golang" [24]="golang.org/x/text ab5ac5f9a8deb4855a60fab02bc61a4ec770bd49 github.com/golang/text" [25]="github.com/googleapis/gax-go 8c160ca1523d8eea3932fbaa494c8964b7724aa8" [26]="google.golang.org/genproto 595979c8a7bf586b2d293fb42246bf91a0b893d9 github.com/google/go-genproto") >declare -- EGO_VENDOR_URI=" https://github.com/dchest/uniuri/archive/8902c56451e9b58ff940bbe5fec35d5f9c04584a.tar.gz -> github.com-dchest-uniuri-8902c56451e9b58ff940bbe5fec35d5f9c04584a.tar.gz https://github.com/deckarep/golang-set/archive/fc8930a5e645572ee00bf66358ed3414f3c13b90.tar.gz -> github.com-deckarep-golang-set-fc8930a5e645572ee00bf66358ed3414f3c13b90.tar.gz https://github.com/docker/distribution/archive/0700fa570d7bcc1b3e46ee127c4489fd25f4daa3.tar.gz -> github.com-docker-distribution-0700fa570d7bcc1b3e46ee127c4489fd25f4daa3.tar.gz https://github.com/docker/libtrust/archive/aabc10ec26b754e797f9028f4589c5b7bd90dc20.tar.gz -> github.com-docker-libtrust-aabc10ec26b754e797f9028f4589c5b7bd90dc20.tar.gz https://github.com/facebookgo/httpdown/archive/a3b1354551a26449fbe05f5d855937f6e7acbd71.tar.gz -> github.com-facebookgo-httpdown-a3b1354551a26449fbe05f5d855937f6e7acbd71.tar.gz https://github.com/facebookgo/clock/archive/600d898af40aa09a7a93ecb9265d87b0504b6f03.tar.gz -> github.com-facebookgo-clock-600d898af40aa09a7a93ecb9265d87b0504b6f03.tar.gz https://github.com/facebookgo/stats/archive/1b76add642e42c6ffba7211ad7b3939ce654526e.tar.gz -> github.com-facebookgo-stats-1b76add642e42c6ffba7211ad7b3939ce654526e.tar.gz https://github.com/go-ldap/ldap/archive/13cedcf58a1ea124045dea529a66c849d3444c8e.tar.gz -> github.com-go-ldap-ldap-13cedcf58a1ea124045dea529a66c849d3444c8e.tar.gz https://github.com/cesanta/glog/archive/22eb27a0ae192b290b25537b8e876556fc25129c.tar.gz -> github.com-cesanta-glog-22eb27a0ae192b290b25537b8e876556fc25129c.tar.gz https://github.com/schwarmco/go-cartesian-product/archive/c2c0aca869a6cbf51e017ce148b949d9dee09bc3.tar.gz -> github.com-schwarmco-go-cartesian-product-c2c0aca869a6cbf51e017ce148b949d9dee09bc3.tar.gz https://github.com/syndtr/goleveldb/archive/3c5717caf1475fd25964109a0fc640bd150fce43.tar.gz -> github.com-syndtr-goleveldb-3c5717caf1475fd25964109a0fc640bd150fce43.tar.gz https://github.com/golang/snappy/archive/553a641470496b2327abcac10b36396bd98e45c9.tar.gz -> github.com-golang-snappy-553a641470496b2327abcac10b36396bd98e45c9.tar.gz https://github.com/go-asn1-ber/asn1-ber/archive/4e86f4367175e39f69d9358a5f17b4dda270378d.tar.gz -> github.com-go-asn1-ber-asn1-ber-4e86f4367175e39f69d9358a5f17b4dda270378d.tar.gz https://github.com/fsnotify/fsnotify/archive/629574ca2a5df945712d3079857300b5e4da0236.tar.gz -> github.com-fsnotify-fsnotify-629574ca2a5df945712d3079857300b5e4da0236.tar.gz https://github.com/go-mgo/mgo/archive/3f83fa5005286a7fe593b055f0d7771a7dce4655.tar.gz -> github.com-go-mgo-mgo-3f83fa5005286a7fe593b055f0d7771a7dce4655.tar.gz https://github.com/go-yaml/yaml/archive/a3f3340b5840cee44f372bddb5880fcbc419b46a.tar.gz -> github.com-go-yaml-yaml-a3f3340b5840cee44f372bddb5880fcbc419b46a.tar.gz https://github.com/golang/crypto/archive/e1a4589e7d3ea14a3352255d04b6f1a418845e5e.tar.gz -> github.com-golang-crypto-e1a4589e7d3ea14a3352255d04b6f1a418845e5e.tar.gz https://github.com/golang/sys/archive/493114f68206f85e7e333beccfabc11e98cba8dd.tar.gz -> github.com-golang-sys-493114f68206f85e7e333beccfabc11e98cba8dd.tar.gz https://github.com/golang/net/archive/859d1a86bb617c0c20d154590c3c5d3fcb670b07.tar.gz -> github.com-golang-net-859d1a86bb617c0c20d154590c3c5d3fcb670b07.tar.gz https://github.com/google/google-api-go-client/archive/39c3dd417c5a443607650f18e829ad308da08dd2.tar.gz -> github.com-google-google-api-go-client-39c3dd417c5a443607650f18e829ad308da08dd2.tar.gz https://github.com/grpc/grpc-go/archive/35170916ff58e89ae03f52e778228e18207e0e02.tar.gz -> github.com-grpc-grpc-go-35170916ff58e89ae03f52e778228e18207e0e02.tar.gz https://github.com/golang/protobuf/archive/11b8df160996e00fd4b55cbaafb3d84ec6d50fa8.tar.gz -> github.com-golang-protobuf-11b8df160996e00fd4b55cbaafb3d84ec6d50fa8.tar.gz https://github.com/golang/oauth2/archive/13449ad91cb26cb47661c1b080790392170385fd.tar.gz -> github.com-golang-oauth2-13449ad91cb26cb47661c1b080790392170385fd.tar.gz https://github.com/GoogleCloudPlatform/gcloud-golang/archive/bbf380d59635bf267fc8a8df03d6d261c448ee3c.tar.gz -> github.com-GoogleCloudPlatform-gcloud-golang-bbf380d59635bf267fc8a8df03d6d261c448ee3c.tar.gz https://github.com/golang/text/archive/ab5ac5f9a8deb4855a60fab02bc61a4ec770bd49.tar.gz -> github.com-golang-text-ab5ac5f9a8deb4855a60fab02bc61a4ec770bd49.tar.gz https://github.com/googleapis/gax-go/archive/8c160ca1523d8eea3932fbaa494c8964b7724aa8.tar.gz -> github.com-googleapis-gax-go-8c160ca1523d8eea3932fbaa494c8964b7724aa8.tar.gz https://github.com/google/go-genproto/archive/595979c8a7bf586b2d293fb42246bf91a0b893d9.tar.gz -> github.com-google-go-genproto-595979c8a7bf586b2d293fb42246bf91a0b893d9.tar.gz" >declare -x ELIBC="glibc" >declare -x EXEOPTIONS="-m0755" >declare -x FCFLAGS="-O2 -pipe" >declare -x FETCHCOMMAND_SSH="bash -c \"x=\\\${2#ssh://} ; host=\\\${x%%/*} ; port=\\\${host##*:} ; host=\\\${host%:*} ; [[ \\\${host} = \\\${port} ]] && port= ; exec rsync --rsh=\\\"ssh \\\${port:+-p\\\${port}} \\\${3}\\\" -avP \\\"\\\${host}:/\\\${x#*/}\\\" \\\"\\\$1\\\"\" rsync \"\${DISTDIR}/\${FILE}\" \"\${URI}\" \"\${PORTAGE_SSH_OPTS}\"" >declare -x FFLAGS="-O2 -pipe" >declare -x FLTK_DOCDIR="/usr/share/doc/fltk-1.3.4/html" >declare -x GCC_COLORS="" >declare -x GCC_SPECS="" >declare -x GO19CONCURRENTCOMPILATION="0" >declare -x GOMAXPROCS="1" >declare -x GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" >declare -x GREP_COLORS="never" >declare -x GRUB_PLATFORMS="" >declare HDEPEND="" >declare HOMEPAGE="https://github.com/cesanta/docker_auth" >declare -x INHERITED=" user golang-base golang-build golang-vcs-snapshot" >declare -x INPUT_DEVICES="libinput" >declare -x INSDESTTREE="" >declare -x INSOPTIONS="-m0644" >declare IUSE="" >declare -x IUSE_EFFECTIVE="abi_x86_64 alpha amd64 amd64-fbsd amd64-linux arm arm-linux arm64 elibc_AIX elibc_Cygwin elibc_Darwin elibc_DragonFly elibc_FreeBSD elibc_HPUX elibc_Interix elibc_NetBSD elibc_OpenBSD elibc_SunOS elibc_Winnt elibc_bionic elibc_glibc elibc_mingw elibc_mintlib elibc_musl elibc_uclibc hppa ia64 kernel_AIX kernel_Darwin kernel_FreeBSD kernel_HPUX kernel_NetBSD kernel_OpenBSD kernel_SunOS kernel_Winnt kernel_freemint kernel_linux m68k m68k-mint mips ppc ppc-aix ppc-macos ppc64 ppc64-linux prefix prefix-chain prefix-guest s390 sh sparc sparc-solaris sparc64-solaris userland_BSD userland_GNU x64-cygwin x64-macos x64-solaris x86 x86-cygwin x86-fbsd x86-linux x86-macos x86-solaris x86-winnt" >declare -x IUSE_IMPLICIT="abi_x86_64 prefix prefix-chain prefix-guest" >declare -x JAVAC="/etc/java-config-2/current-system-vm/bin/javac" >declare -x JAVA_HOME="/etc/java-config-2/current-system-vm" >declare -x JDK_HOME="/etc/java-config-2/current-system-vm" >declare -x KERNEL="linux" >declare -x KEYWORDS="~amd64" >declare -x L10N="" >declare -x LADSPA_PATH="/usr/lib64/ladspa" >declare -x LANG="en_US.utf8" >declare -x LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" >declare -x LC_COLLATE="C" >declare -x LC_MESSAGES="C" >declare -x LDFLAGS="-Wl,-O1 -Wl,--as-needed" >declare -x LDFLAGS_amd64="-m elf_x86_64" >declare -x LDFLAGS_x32="-m elf32_x86_64" >declare -x LDFLAGS_x86="-m elf_i386" >declare -x LIBDIR_amd64="lib64" >declare -x LIBDIR_x32="libx32" >declare -x LIBDIR_x86="lib32" >declare -x LIBGUESTFS_PATH="/usr/share/guestfs/appliance/" >declare -x LIBOPTIONS="-m0644" >declare -x LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" >declare -x LICENSE="Apache-2.0" >declare -x MAKEOPTS="-j 1" >declare -x MANPAGER="manpager" >declare -x MULTILIB_ABIS="amd64" >declare -x MULTILIB_STRICT_DENY="64-bit.*shared object" >declare -x MULTILIB_STRICT_DIRS="/lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32 /usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib /usr/X11R6/lib32 /usr/X11R6/lib" >declare -x MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|binutils|eclipse-3|debug|portage|udev|systemd|clang|python-exec|llvm)" >declare -x NETBEANS="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" >declare -x NINJAFLAGS="-j 1" >declare -x OFFICE_IMPLEMENTATION="libreoffice" >declare -x OPENGL_PROFILE="xorg-x11" >declare -x PATH="/usr/lib/portage/python3.5/ebuild-helpers/xattr:/usr/lib/portage/python3.5/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/7.3.0:/usr/lib/llvm/5/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin" >declare -x PAX_MARKINGS="none" >declare PDEPEND="" >declare -x PHP_TARGETS="php5-6 php7-0" >declare -x PKG_CONFIG_PATH="/usr/lib64/pkgconfig" >declare -x PORTAGE_COMPRESSION_COMMAND="bzip2" >declare -a PORTAGE_DOCOMPRESS=([0]="/usr/share/doc" [1]="/usr/share/info" [2]="/usr/share/man") >declare -x PORTAGE_DOCOMPRESS_SIZE_LIMIT="128" >declare -a PORTAGE_DOCOMPRESS_SKIP=([0]="/usr/share/doc/docker_auth-1.3-r2/html") >declare -x POSTGRES_TARGETS="postgres9_5" >declare -x PROFILE_IS_HARDENED="1" >declare -x PROFILE_ONLY_VARIABLES="ARCH ELIBC IUSE_IMPLICIT KERNEL USERLAND USE_EXPAND_IMPLICIT USE_EXPAND_UNPREFIXED USE_EXPAND_VALUES_ARCH USE_EXPAND_VALUES_ELIBC USE_EXPAND_VALUES_KERNEL USE_EXPAND_VALUES_USERLAND" >declare -x PROPERTIES="" >declare -x PROVIDE="" >declare -x PYTHIA8DATA="/usr/share/pythia8/xmldoc" >declare -x PYTHONDONTWRITEBYTECODE="1" >declare -x PYTHON_SINGLE_TARGET="python3_5" >declare -x PYTHON_TARGETS="python2_7 python3_5" >declare -- QA_FLAGS_IGNORED=".*" >declare -x QEMU_SOFTMMU_TARGETS="x86_64 i386" >declare -x QEMU_USER_TARGETS="x86_64 i386" >declare -x QPSMTPD_CONFIG="/etc/qpsmtpd" >declare RDEPEND="" >declare REPOSITORY >declare REQUIRED_USE="" >declare -x RESTRICT="test" >declare -x RESUMECOMMAND_SSH="bash -c \"x=\\\${2#ssh://} ; host=\\\${x%%/*} ; port=\\\${host##*:} ; host=\\\${host%:*} ; [[ \\\${host} = \\\${port} ]] && port= ; exec rsync --rsh=\\\"ssh \\\${port:+-p\\\${port}} \\\${3}\\\" -avP \\\"\\\${host}:/\\\${x#*/}\\\" \\\"\\\$1\\\"\" rsync \"\${DISTDIR}/\${FILE}\" \"\${URI}\" \"\${PORTAGE_SSH_OPTS}\"" >declare -x ROS_PACKAGE_PATH="/usr/share/ros_packages" >declare -x ROS_ROOT="/usr/share/ros" >declare -x RUBY_TARGETS="ruby22 ruby23" >declare -x RUSTFLAGS="-C codegen-units=1" >declare -x RUST_TEST_TASKS="1" >declare -x RUST_TEST_THREADS="1" >declare -x S="/var/tmp/portage/sys-auth/docker_auth-1.3-r2/work/docker_auth-1.3" >declare -x SANDBOX_DEBUG="0" >declare -x SANDBOX_DENY="" >declare -x SANDBOX_PREDICT="/var/tmp/portage/sys-auth/docker_auth-1.3-r2/homedir:/dev/crypto:/proc/self/coredump_filter:/var/cache/fontconfig" >declare -x SANDBOX_READ="/:/var/tmp" >declare -x SANDBOX_VERBOSE="1" >declare -x SANDBOX_WRITE=":/dev/console:/dev/fd:/dev/full:/dev/null:/dev/ptmx:/dev/pts/:/dev/pty:/dev/shm:/dev/tts:/dev/tty:/dev/vc/:/dev/zero:/proc/self/fd:/tmp/:/usr/lib/cf:/usr/lib/conftest:/usr/lib32/cf:/usr/lib32/conftest:/usr/lib64/cf:/usr/lib64/conftest:/usr/tmp/cf:/usr/tmp/conftest:/var/tmp:/var/tmp/:/var/tmp/portage/sys-auth/docker_auth-1.3-r2/homedir/.bash_history" >declare -x SBCL_HOME="/usr/lib64/sbcl" >declare -x SBCL_SOURCE_ROOT="/usr/lib64/sbcl/src" >declare -x SHELL="/bin/bash" >declare -- SHORT_COMMIT="2cd3699" >declare -x SLOT="0" >declare SRC_URI="https://github.com/cesanta/docker_auth/archive/1.3.tar.gz -> docker_auth-1.3.tar.gz > https://github.com/dchest/uniuri/archive/8902c56451e9b58ff940bbe5fec35d5f9c04584a.tar.gz -> github.com-dchest-uniuri-8902c56451e9b58ff940bbe5fec35d5f9c04584a.tar.gz https://github.com/deckarep/golang-set/archive/fc8930a5e645572ee00bf66358ed3414f3c13b90.tar.gz -> github.com-deckarep-golang-set-fc8930a5e645572ee00bf66358ed3414f3c13b90.tar.gz https://github.com/docker/distribution/archive/0700fa570d7bcc1b3e46ee127c4489fd25f4daa3.tar.gz -> github.com-docker-distribution-0700fa570d7bcc1b3e46ee127c4489fd25f4daa3.tar.gz https://github.com/docker/libtrust/archive/aabc10ec26b754e797f9028f4589c5b7bd90dc20.tar.gz -> github.com-docker-libtrust-aabc10ec26b754e797f9028f4589c5b7bd90dc20.tar.gz https://github.com/facebookgo/httpdown/archive/a3b1354551a26449fbe05f5d855937f6e7acbd71.tar.gz -> github.com-facebookgo-httpdown-a3b1354551a26449fbe05f5d855937f6e7acbd71.tar.gz https://github.com/facebookgo/clock/archive/600d898af40aa09a7a93ecb9265d87b0504b6f03.tar.gz -> github.com-facebookgo-clock-600d898af40aa09a7a93ecb9265d87b0504b6f03.tar.gz https://github.com/facebookgo/stats/archive/1b76add642e42c6ffba7211ad7b3939ce654526e.tar.gz -> github.com-facebookgo-stats-1b76add642e42c6ffba7211ad7b3939ce654526e.tar.gz https://github.com/go-ldap/ldap/archive/13cedcf58a1ea124045dea529a66c849d3444c8e.tar.gz -> github.com-go-ldap-ldap-13cedcf58a1ea124045dea529a66c849d3444c8e.tar.gz https://github.com/cesanta/glog/archive/22eb27a0ae192b290b25537b8e876556fc25129c.tar.gz -> github.com-cesanta-glog-22eb27a0ae192b290b25537b8e876556fc25129c.tar.gz https://github.com/schwarmco/go-cartesian-product/archive/c2c0aca869a6cbf51e017ce148b949d9dee09bc3.tar.gz -> github.com-schwarmco-go-cartesian-product-c2c0aca869a6cbf51e017ce148b949d9dee09bc3.tar.gz https://github.com/syndtr/goleveldb/archive/3c5717caf1475fd25964109a0fc640bd150fce43.tar.gz -> github.com-syndtr-goleveldb-3c5717caf1475fd25964109a0fc640bd150fce43.tar.gz https://github.com/golang/snappy/archive/553a641470496b2327abcac10b36396bd98e45c9.tar.gz -> github.com-golang-snappy-553a641470496b2327abcac10b36396bd98e45c9.tar.gz https://github.com/go-asn1-ber/asn1-ber/archive/4e86f4367175e39f69d9358a5f17b4dda270378d.tar.gz -> github.com-go-asn1-ber-asn1-ber-4e86f4367175e39f69d9358a5f17b4dda270378d.tar.gz https://github.com/fsnotify/fsnotify/archive/629574ca2a5df945712d3079857300b5e4da0236.tar.gz -> github.com-fsnotify-fsnotify-629574ca2a5df945712d3079857300b5e4da0236.tar.gz https://github.com/go-mgo/mgo/archive/3f83fa5005286a7fe593b055f0d7771a7dce4655.tar.gz -> github.com-go-mgo-mgo-3f83fa5005286a7fe593b055f0d7771a7dce4655.tar.gz https://github.com/go-yaml/yaml/archive/a3f3340b5840cee44f372bddb5880fcbc419b46a.tar.gz -> github.com-go-yaml-yaml-a3f3340b5840cee44f372bddb5880fcbc419b46a.tar.gz https://github.com/golang/crypto/archive/e1a4589e7d3ea14a3352255d04b6f1a418845e5e.tar.gz -> github.com-golang-crypto-e1a4589e7d3ea14a3352255d04b6f1a418845e5e.tar.gz https://github.com/golang/sys/archive/493114f68206f85e7e333beccfabc11e98cba8dd.tar.gz -> github.com-golang-sys-493114f68206f85e7e333beccfabc11e98cba8dd.tar.gz https://github.com/golang/net/archive/859d1a86bb617c0c20d154590c3c5d3fcb670b07.tar.gz -> github.com-golang-net-859d1a86bb617c0c20d154590c3c5d3fcb670b07.tar.gz https://github.com/google/google-api-go-client/archive/39c3dd417c5a443607650f18e829ad308da08dd2.tar.gz -> github.com-google-google-api-go-client-39c3dd417c5a443607650f18e829ad308da08dd2.tar.gz https://github.com/grpc/grpc-go/archive/35170916ff58e89ae03f52e778228e18207e0e02.tar.gz -> github.com-grpc-grpc-go-35170916ff58e89ae03f52e778228e18207e0e02.tar.gz https://github.com/golang/protobuf/archive/11b8df160996e00fd4b55cbaafb3d84ec6d50fa8.tar.gz -> github.com-golang-protobuf-11b8df160996e00fd4b55cbaafb3d84ec6d50fa8.tar.gz https://github.com/golang/oauth2/archive/13449ad91cb26cb47661c1b080790392170385fd.tar.gz -> github.com-golang-oauth2-13449ad91cb26cb47661c1b080790392170385fd.tar.gz https://github.com/GoogleCloudPlatform/gcloud-golang/archive/bbf380d59635bf267fc8a8df03d6d261c448ee3c.tar.gz -> github.com-GoogleCloudPlatform-gcloud-golang-bbf380d59635bf267fc8a8df03d6d261c448ee3c.tar.gz https://github.com/golang/text/archive/ab5ac5f9a8deb4855a60fab02bc61a4ec770bd49.tar.gz -> github.com-golang-text-ab5ac5f9a8deb4855a60fab02bc61a4ec770bd49.tar.gz https://github.com/googleapis/gax-go/archive/8c160ca1523d8eea3932fbaa494c8964b7724aa8.tar.gz -> github.com-googleapis-gax-go-8c160ca1523d8eea3932fbaa494c8964b7724aa8.tar.gz https://github.com/google/go-genproto/archive/595979c8a7bf586b2d293fb42246bf91a0b893d9.tar.gz -> github.com-google-go-genproto-595979c8a7bf586b2d293fb42246bf91a0b893d9.tar.gz" >declare -- STRIP_MASK="*.a" >declare -x SYMLINK_LIB="yes" >declare -x TASKDDATA="/var/lib/taskd" >declare -x TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE="1" >declare -x USE="abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU" >declare -x USERLAND="GNU" >declare -x USE_EXPAND_IMPLICIT="ARCH ELIBC KERNEL USERLAND" >declare -x USE_EXPAND_UNPREFIXED="ARCH" >declare -x USE_EXPAND_VALUES_ARCH="alpha amd64 amd64-fbsd amd64-linux arm arm-linux arm64 hppa ia64 m68k m68k-mint mips ppc ppc64 ppc64-linux ppc-aix ppc-macos s390 sh sparc sparc64-solaris sparc-solaris x64-cygwin x64-macos x64-solaris x86 x86-cygwin x86-fbsd x86-linux x86-macos x86-solaris x86-winnt" >declare -x USE_EXPAND_VALUES_ELIBC="AIX bionic Cygwin Darwin DragonFly FreeBSD glibc HPUX Interix mingw mintlib musl NetBSD OpenBSD SunOS uclibc Winnt" >declare -x USE_EXPAND_VALUES_KERNEL="AIX Darwin FreeBSD freemint HPUX linux NetBSD OpenBSD SunOS Winnt" >declare -x USE_EXPAND_VALUES_USERLAND="BSD GNU" >declare -x VIDEO_CARDS="" >declare -x VTKHOME="/usr" >declare -x VTK_DATA_ROOT="/usr/share/vtk/data" >declare -x VTK_DIR="/usr/lib64/vtk-8.1" >declare -x WCDHOME="/root/.wcd" >declare -x XDG_CACHE_HOME="/root/cache" >declare -x XDG_CONFIG_HOME="/root/config" >declare -x XDG_DATA_HOME="/root/share" >declare -x XDG_DESKTOP_DIR="/root/Desktop" >declare -x XDG_DOCUMENTS_DIR="/root/Documents" >declare -x XDG_DOWNLOAD_DIR="/root/Downloads" >declare -x XDG_MUSIC_DIR="/root/Music" >declare -x XDG_PICTURES_DIR="/root/Pictures" >declare -x XDG_PUBLICSHARE_DIR="/root/Public" >declare -x XDG_RUNTIME_DIR="/root/run" >declare -x XDG_TEMPLATES_DIR="/root/Templates" >declare -x XDG_VIDEOS_DIR="/root/Videos" >declare -x XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" >declare -x _E_DOCDESTTREE_="" >declare -x _E_EXEDESTTREE_="" >declare -- _GOLANG_BASE="1" >declare -- _GOLANG_BUILD="1" >declare -- _USER_ECLASS="1" >declare -- phase_func >declare -- started_applying="1" >__eapi6_src_install () >{ > if [[ -f Makefile || -f GNUmakefile || -f makefile ]]; then > emake DESTDIR="${D}" install; > fi; > einstalldocs >} >__eapi6_src_prepare () >{ > if [[ $(declare -p PATCHES 2>/dev/null) == "declare -a"* ]]; then > [[ -n ${PATCHES[@]} ]] && eapply "${PATCHES[@]}"; > else > if [[ -n ${PATCHES} ]]; then > eapply ${PATCHES}; > fi; > fi; > eapply_user >} >_assert_pkg_ebuild_phase () >{ > case ${EBUILD_PHASE} in > setup | preinst | postinst) > > ;; > *) > eerror "'$1()' called from '${EBUILD_PHASE}' phase which is not OK:"; > eerror "You may only call from pkg_{setup,preinst,postinst} functions."; > eerror "Package fails at QA and at life. Please file a bug."; > die "Bad package! $1 is only for use in some pkg_* functions!" > ;; > esac >} >_eapply_patch () >{ > local f=${1}; > local prefix=${2}; > started_applying=1; > ebegin "${prefix:-Applying }${f##*/}"; > ${patch_cmd} -p1 -f -s -g0 --no-backup-if-mismatch "${patch_options[@]}" < "${f}"; > failed=${?}; > if ! eend "${failed}"; then > __helpers_die "patch -p1 ${patch_options[*]} failed with ${f}"; > fi >} >_enewgroup_next_gid () >{ > if [[ ${egid} == *[!0-9]* ]]; then > for ((egid = 101; egid <= 999; egid++)) > do > [[ -z $(egetent group ${egid}) ]] && break; > done; > fi >} >_golang-vcs-snapshot_dovendor () >{ > local VENDOR_PATH=$1 VENDORPN=$2 TARBALL=$3; > rm -fr "${VENDOR_PATH}/${VENDORPN}" || die; > mkdir -p "${VENDOR_PATH}/${VENDORPN}" || die; > tar -C "${VENDOR_PATH}/${VENDORPN}" -x --strip-components 1 -f "${DISTDIR}"/${TARBALL} || die >} >eapply () >{ > local failed patch_cmd=patch; > local -x LC_COLLATE=POSIX; > type -P gpatch > /dev/null && patch_cmd=gpatch; > function _eapply_patch () > { > local f=${1}; > local prefix=${2}; > started_applying=1; > ebegin "${prefix:-Applying }${f##*/}"; > ${patch_cmd} -p1 -f -s -g0 --no-backup-if-mismatch "${patch_options[@]}" < "${f}"; > failed=${?}; > if ! eend "${failed}"; then > __helpers_die "patch -p1 ${patch_options[*]} failed with ${f}"; > fi > }; > local patch_options=() files=(); > local i found_doublehyphen; > for ((i = 1; i <= ${#@}; ++i )) > do > if [[ ${@:i:1} == -- ]]; then > patch_options=("${@:1:i-1}"); > files=("${@:i+1}"); > found_doublehyphen=1; > break; > fi; > done; > if [[ -z ${found_doublehyphen} ]]; then > for ((i = 1; i <= ${#@}; ++i )) > do > if [[ ${@:i:1} != -* ]]; then > patch_options=("${@:1:i-1}"); > files=("${@:i}"); > break; > fi; > done; > for i in "${files[@]}"; > do > if [[ ${i} == -* ]]; then > die "eapply: all options must be passed before non-options"; > fi; > done; > fi; > if [[ -z ${files[@]} ]]; then > die "eapply: no files specified"; > fi; > local f; > for f in "${files[@]}"; > do > if [[ -d ${f} ]]; then > function _eapply_get_files () > { > local LC_ALL=POSIX; > local prev_shopt=$(shopt -p nullglob); > shopt -s nullglob; > local f; > for f in "${1}"/*; > do > if [[ ${f} == *.diff || ${f} == *.patch ]]; then > files+=("${f}"); > fi; > done; > ${prev_shopt} > }; > local files=(); > _eapply_get_files "${f}"; > [[ -z ${files[@]} ]] && die "No *.{patch,diff} files in directory ${f}"; > einfo "Applying patches from ${f} ..."; > local f2; > for f2 in "${files[@]}"; > do > _eapply_patch "${f2}" ' '; > [[ ${failed} -ne 0 ]] && return "${failed}"; > done; > else > _eapply_patch "${f}"; > [[ ${failed} -ne 0 ]] && return "${failed}"; > fi; > done; > return 0 >} >eapply_user () >{ > [[ ${EBUILD_PHASE} == prepare ]] || die "eapply_user() called during invalid phase: ${EBUILD_PHASE}"; > local tagfile=${T}/.portage_user_patches_applied; > [[ -f ${tagfile} ]] && return; > >> "${tagfile}"; > local basedir=${PORTAGE_CONFIGROOT%/}/etc/portage/patches; > local applied d f; > local -A _eapply_user_patches; > local prev_shopt=$(shopt -p nullglob); > shopt -s nullglob; > for d in "${basedir}"/${CATEGORY}/{${P}-${PR},${P},${PN}}{:${SLOT%/*},}; > do > for f in "${d}"/*; > do > if [[ ( ${f} == *.diff || ${f} == *.patch ) && -z ${_eapply_user_patches[${f##*/}]} ]]; then > _eapply_user_patches[${f##*/}]=${f}; > fi; > done; > done; > if [[ ${#_eapply_user_patches[@]} -gt 0 ]]; then > while read -r -d '' f; do > f=${_eapply_user_patches[${f}]}; > if [[ -s ${f} ]]; then > eapply "${f}"; > applied=1; > fi; > done < <(printf -- '%s\0' "${!_eapply_user_patches[@]}" | > LC_ALL=C sort -z); > fi; > ${prev_shopt}; > [[ -n ${applied} ]] && ewarn "User patches applied." >} >egetent () >{ > local db=$1 key=$2; > [[ $# -ge 3 ]] && die "usage: egetent <database> <key>"; > case ${db} in > passwd | group) > > ;; > *) > die "sorry, database '${db}' not yet supported; file a bug" > ;; > esac; > case ${CHOST} in > *-darwin[678]) > case ${key} in > *[!0-9]*) > nidump ${db} . | awk -F: "(\$1 ~ /^${key}\$/) {print;exit;}" > ;; > *) > nidump ${db} . | awk -F: "(\$3 == ${key}) {print;exit;}" > ;; > esac > ;; > *-darwin*) > local mykey; > case ${db} in > passwd) > db="Users" mykey="UniqueID" > ;; > group) > db="Groups" mykey="PrimaryGroupID" > ;; > esac; > case ${key} in > *[!0-9]*) > dscl . -read /${db}/${key} 2> /dev/null | grep RecordName > ;; > *) > dscl . -search /${db} ${mykey} ${key} 2> /dev/null > ;; > esac > ;; > *-freebsd* | *-dragonfly*) > case ${db} in > passwd) > db="user" > ;; > *) > > ;; > esac; > local opts; > if [[ ${key} == [[:digit:]]* ]]; then > [[ ${db} == "user" ]] && opts="-u" || opts="-g"; > fi; > pw show ${db} ${opts} "${key}" -q > ;; > *-netbsd* | *-openbsd*) > grep "${key}:\*:" /etc/${db} > ;; > *) > nscd -i "${db}" 2> /dev/null; > getent "${db}" "${key}" > ;; > esac >} >egethome () >{ > local pos; > [[ $# -eq 1 ]] || die "usage: egethome <user>"; > case ${CHOST} in > *-darwin* | *-freebsd* | *-dragonfly*) > pos=9 > ;; > *) > pos=6 > ;; > esac; > egetent passwd "$1" | cut -d: -f${pos} >} >egetshell () >{ > local pos; > [[ $# -eq 1 ]] || die "usage: egetshell <user>"; > case ${CHOST} in > *-darwin* | *-freebsd* | *-dragonfly*) > pos=10 > ;; > *) > pos=7 > ;; > esac; > egetent passwd "$1" | cut -d: -f${pos} >} >ego_pn_check () >{ > [[ -z "${EGO_PN}" ]] && die "${ECLASS}.eclass: EGO_PN is not set"; > return 0 >} >einstalldocs () >{ > ( if ! declare -p DOCS &> /dev/null; then > local d; > for d in README* ChangeLog AUTHORS NEWS TODO CHANGES THANKS BUGS FAQ CREDITS CHANGELOG; > do > [[ -f ${d} && -s ${d} ]] && docinto / && dodoc "${d}"; > done; > else > if [[ $(declare -p DOCS) == "declare -a"* ]]; then > [[ -n ${DOCS[@]} ]] && docinto / && dodoc -r "${DOCS[@]}"; > else > [[ -n ${DOCS} ]] && docinto / && dodoc -r ${DOCS}; > fi; > fi ); > ( if [[ $(declare -p HTML_DOCS 2>/dev/null) == "declare -a"* ]]; then > [[ -n ${HTML_DOCS[@]} ]] && docinto html && dodoc -r "${HTML_DOCS[@]}"; > else > [[ -n ${HTML_DOCS} ]] && docinto html && dodoc -r ${HTML_DOCS}; > fi ) >} >enewgroup () >{ > if [[ ${EUID} != 0 ]]; then > einfo "Insufficient privileges to execute ${FUNCNAME[0]}"; > return 0; > fi; > _assert_pkg_ebuild_phase ${FUNCNAME}; > local egroup=$1; > shift; > if [[ -z ${egroup} ]]; then > eerror "No group specified !"; > die "Cannot call enewgroup without a group"; > fi; > if [[ -n $(egetent group "${egroup}") ]]; then > return 0; > fi; > einfo "Adding group '${egroup}' to your system ..."; > local egid=$1; > shift; > if [[ ! -z ${egid} ]]; then > if [[ ${egid} -gt 0 ]]; then > if [[ -n $(egetent group ${egid}) ]]; then > egid="next available; requested gid taken"; > fi; > else > eerror "Groupid given but is not greater than 0 !"; > die "${egid} is not a valid GID"; > fi; > else > egid="next available"; > fi; > einfo " - Groupid: ${egid}"; > if [[ $# -gt 0 ]]; then > die "extra arguments no longer supported; please file a bug"; > fi; > function _enewgroup_next_gid () > { > if [[ ${egid} == *[!0-9]* ]]; then > for ((egid = 101; egid <= 999; egid++)) > do > [[ -z $(egetent group ${egid}) ]] && break; > done; > fi > }; > case ${CHOST} in > *-darwin*) > _enewgroup_next_gid; > dscl . create "/groups/${egroup}" gid ${egid}; > dscl . create "/groups/${egroup}" passwd '*' > ;; > *-freebsd* | *-dragonfly*) > _enewgroup_next_gid; > pw groupadd "${egroup}" -g ${egid} || die > ;; > *-netbsd*) > _enewgroup_next_gid; > groupadd -g ${egid} "${egroup}" || die > ;; > *) > local opts; > if [[ ${egid} == *[!0-9]* ]]; then > opts=""; > else > opts="-g ${egid}"; > fi; > groupadd -r ${opts} "${egroup}" || die > ;; > esac >} >enewuser () >{ > if [[ ${EUID} != 0 ]]; then > einfo "Insufficient privileges to execute ${FUNCNAME[0]}"; > return 0; > fi; > _assert_pkg_ebuild_phase ${FUNCNAME}; > local euser=$1; > shift; > if [[ -z ${euser} ]]; then > eerror "No username specified !"; > die "Cannot call enewuser without a username"; > fi; > if [[ -n $(egetent passwd "${euser}") ]]; then > return 0; > fi; > einfo "Adding user '${euser}' to your system ..."; > local opts=(); > local euid=$1; > shift; > if [[ -n ${euid} && ${euid} != -1 ]]; then > if [[ ${euid} -gt 0 ]]; then > if [[ -n $(egetent passwd ${euid}) ]]; then > euid="next"; > fi; > else > eerror "Userid given but is not greater than 0 !"; > die "${euid} is not a valid UID"; > fi; > else > euid="next"; > fi; > if [[ ${euid} == "next" ]]; then > for ((euid = 101; euid <= 999; euid++)) > do > [[ -z $(egetent passwd ${euid}) ]] && break; > done; > fi; > opts+=(-u ${euid}); > einfo " - Userid: ${euid}"; > local eshell=$1; > shift; > if [[ ! -z ${eshell} ]] && [[ ${eshell} != "-1" ]]; then > if [[ ! -e ${ROOT}${eshell} ]]; then > eerror "A shell was specified but it does not exist !"; > die "${eshell} does not exist in ${ROOT}"; > fi; > if [[ ${eshell} == */false || ${eshell} == */nologin ]]; then > eerror "Do not specify ${eshell} yourself, use -1"; > die "Pass '-1' as the shell parameter"; > fi; > else > for eshell in /sbin/nologin /usr/sbin/nologin /bin/false /usr/bin/false /dev/null; > do > [[ -x ${ROOT}${eshell} ]] && break; > done; > if [[ ${eshell} == "/dev/null" ]]; then > eerror "Unable to identify the shell to use, proceeding with userland default."; > case ${USERLAND} in > GNU) > eshell="/bin/false" > ;; > BSD) > eshell="/sbin/nologin" > ;; > Darwin) > eshell="/usr/sbin/nologin" > ;; > *) > die "Unable to identify the default shell for userland ${USERLAND}" > ;; > esac; > fi; > fi; > einfo " - Shell: ${eshell}"; > opts+=(-s "${eshell}"); > local ehome=$1; > shift; > if [[ -z ${ehome} ]] || [[ ${ehome} == "-1" ]]; then > ehome="/dev/null"; > fi; > einfo " - Home: ${ehome}"; > opts+=(-d "${ehome}"); > local egroups=$1; > shift; > local g egroups_arr; > IFS="," read -r -a egroups_arr <<< "${egroups}"; > if [[ ${#egroups_arr[@]} -gt 0 ]]; then > local defgroup exgroups; > for g in "${egroups_arr[@]}"; > do > if [[ -z $(egetent group "${g}") ]]; then > eerror "You must add group ${g} to the system first"; > die "${g} is not a valid GID"; > fi; > if [[ -z ${defgroup} ]]; then > defgroup=${g}; > else > exgroups+=",${g}"; > fi; > done; > opts+=(-g "${defgroup}"); > if [[ ! -z ${exgroups} ]]; then > opts+=(-G "${exgroups:1}"); > fi; > fi; > einfo " - Groups: ${egroups:-(none)}"; > if [[ $# -gt 0 ]]; then > die "extra arguments no longer supported; please file a bug"; > else > local comment="added by portage for ${PN}"; > opts+=(-c "${comment}"); > einfo " - GECOS: ${comment}"; > fi; > case ${CHOST} in > *-darwin*) > dscl . create "/users/${euser}" uid ${euid}; > dscl . create "/users/${euser}" shell "${eshell}"; > dscl . create "/users/${euser}" home "${ehome}"; > dscl . create "/users/${euser}" realname "added by portage for ${PN}"; > for g in "${egroups_arr[@]}"; > do > dscl . merge "/groups/${g}" users "${euser}"; > done > ;; > *-freebsd* | *-dragonfly*) > pw useradd "${euser}" "${opts[@]}" || die > ;; > *-netbsd*) > useradd "${opts[@]}" "${euser}" || die > ;; > *-openbsd*) > useradd -u ${euid} -s "${eshell}" -d "${ehome}" -g "${egroups}" "${euser}" || die > ;; > *) > useradd -r "${opts[@]}" "${euser}" || die > ;; > esac; > if [[ ! -e ${ROOT}/${ehome} ]]; then > einfo " - Creating ${ehome} in ${ROOT}"; > mkdir -p "${ROOT}/${ehome}"; > chown "${euser}" "${ROOT}/${ehome}"; > chmod 755 "${ROOT}/${ehome}"; > fi >} >esethome () >{ > _assert_pkg_ebuild_phase ${FUNCNAME}; > local euser=$1; > shift; > if [[ -z ${euser} ]]; then > eerror "No username specified !"; > die "Cannot call esethome without a username"; > fi; > if [[ -z $(egetent passwd "${euser}") ]]; then > ewarn "User does not exist, cannot set home dir -- skipping."; > return 1; > fi; > local ehome=$1; > shift; > if [[ -z ${ehome} ]]; then > eerror "No home directory specified !"; > die "Cannot call esethome without a home directory or '-1'"; > fi; > if [[ ${ehome} == "-1" ]]; then > ehome="/dev/null"; > fi; > if [[ $(egethome "${euser}") == ${ehome} ]]; then > return 0; > fi; > einfo "Updating home for user '${euser}' ..."; > einfo " - Home: ${ehome}"; > if [[ ! -e ${ROOT}/${ehome} ]]; then > einfo " - Creating ${ehome} in ${ROOT}"; > mkdir -p "${ROOT}/${ehome}"; > chown "${euser}" "${ROOT}/${ehome}"; > chmod 755 "${ROOT}/${ehome}"; > fi; > case ${CHOST} in > *-darwin*) > dscl . change "/users/${euser}" home "${ehome}" > ;; > *-freebsd* | *-dragonfly*) > pw usermod "${euser}" -d "${ehome}" && return 0; > [[ $? == 8 ]] && eerror "${euser} is in use, cannot update home"; > eerror "There was an error when attempting to update the home directory for ${euser}"; > eerror "Please update it manually on your system:"; > eerror "\t pw usermod \"${euser}\" -d \"${ehome}\"" > ;; > *) > usermod -d "${ehome}" "${euser}" && return 0; > [[ $? == 8 ]] && eerror "${euser} is in use, cannot update home"; > eerror "There was an error when attempting to update the home directory for ${euser}"; > eerror "Please update it manually on your system (as root):"; > eerror "\t usermod -d \"${ehome}\" \"${euser}\"" > ;; > esac >} >get_golibdir () >{ > echo /usr/lib/go-gentoo >} >get_golibdir_gopath () >{ > echo "${EPREFIX}$(get_golibdir)" >} >get_libdir () >{ > local libdir_var="LIBDIR_${ABI}"; > local libdir="lib"; > [[ -n ${ABI} && -n ${!libdir_var} ]] && libdir=${!libdir_var}; > echo "${libdir}" >} >golang-build_src_compile () >{ > debug-print-function ${FUNCNAME} "$@"; > ego_pn_check; > set -- env GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" go build -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}"; > echo "$@"; > "$@" || die >} >golang-build_src_install () >{ > debug-print-function ${FUNCNAME} "$@"; > ego_pn_check; > set -- env GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}"; > echo "$@"; > "$@" || die; > golang_install_pkgs >} >golang-build_src_test () >{ > debug-print-function ${FUNCNAME} "$@"; > ego_pn_check; > set -- env GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" go test -v -work -x "${EGO_PN}"; > echo "$@"; > "$@" || die >} >golang-vcs-snapshot_src_unpack () >{ > local lib vendor_path x; > ego_pn_check; > set -- ${A}; > x="$1"; > mkdir -p "${WORKDIR}/${P}/src/${EGO_PN%/...}" || die; > tar -C "${WORKDIR}/${P}/src/${EGO_PN%/...}" -x --strip-components 1 -f "${DISTDIR}/${x}" || die; > if [[ -n "${EGO_VENDOR}" ]]; then > vendor_path="${WORKDIR}/${P}/src/${EGO_PN%/...}/vendor"; > mkdir -p "${vendor_path}" || die; > for lib in "${EGO_VENDOR[@]}"; > do > lib=(${lib}); > if [[ -n ${lib[2]} ]]; then > einfo "Vendoring ${lib[0]} ${lib[2]//\//-}-${lib[1]}.tar.gz"; > _golang-vcs-snapshot_dovendor "${vendor_path}" ${lib[0]} ${lib[2]//\//-}-${lib[1]}.tar.gz; > else > einfo "Vendoring ${lib[0]} ${lib[0]//\//-}-${lib[1]}.tar.gz"; > _golang-vcs-snapshot_dovendor "${vendor_path}" ${lib[0]} ${lib[0]//\//-}-${lib[1]}.tar.gz; > fi; > done; > fi >} >golang_install_pkgs () >{ > debug-print-function ${FUNCNAME} "$@"; > ego_pn_check; > insinto "$(get_golibdir)"; > insopts -m0644 -p; > doins -r pkg src >} >in_iuse () >{ > local use=${1}; > if [[ -z "${use}" ]]; then > echo "!!! in_iuse() called without a parameter." 1>&2; > echo "!!! in_iuse <USEFLAG>" 1>&2; > die "in_iuse() called without a parameter"; > fi; > local liuse=(${IUSE_EFFECTIVE}); > has "${use}" "${liuse[@]#[+-]}" >} >pkg_nofetch () >{ > default >} >pkg_setup () >{ > enewgroup ${PN}; > enewuser ${PN} -1 -1 /dev/null ${PN} >} >src_compile () >{ > pushd src/${EGO_PN}/auth_server || die; > GOPATH="${WORKDIR}/${P}" go build -o "bin/auth_server" || die; > popd || die >} >src_configure () >{ > default >} >src_install () >{ > pushd src/${EGO_PN} || die; > dodoc README.md docs/Backend_MongoDB.md; > insinto /usr/share/${PF}; > doins -r examples; > insinto /etc/docker_auth/; > newins examples/reference.yml config.yml.example; > dobin auth_server/bin/auth_server; > popd || die; > newinitd "${FILESDIR}"/${PN}.initd ${PN}; > newconfd "${FILESDIR}"/${PN}.confd ${PN}; > insinto /etc/logrotate.d; > newins "${FILESDIR}"/${PN}.logrotated ${PN}; > keepdir /var/log/docker_auth; > fowners ${PN}:${PN} /var/log/docker_auth >} >src_prepare () >{ > default; > pushd src/${EGO_PN}; > eapply "${FILESDIR}/${PN}-ldap-group-support-1.patch"; > eapply "${FILESDIR}/${PN}-ldap-cacert.patch"; > cp "${FILESDIR}/version.go" auth_server/version.go || die; > sed -i -e "s/{version}/${PV}/" -e "s/{build_id}/${SHORT_COMMIT}/" auth_server/version.go || die; > popd || die >} >src_test () >{ > golang-build_src_test "$@" >} >src_unpack () >{ > golang-vcs-snapshot_src_unpack "$@" >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 648540
:
520590
|
520592
| 520594 |
520596
|
520598