parent
23a280951e
commit
90ed3c5ebc
@ -1,3 +1 @@
|
||||
DIST qxmledit-0.9.5-src.tgz 19653021 SHA256 ac6341f1ceb004e64e070c6e99b5c3be3cfdf7d81a5556e79d99beb2f9eab43f SHA512 d54672af9154dcae4486b72a14024f23bcec834dae9c6ec082496b532d750d2411f64ae0dfbd66da7817027e2f4cd6ed1bc7e065ceb822ef2e4d60d14a308609 WHIRLPOOL 37e32dcca088693d5ffb591e812a93b3d8815eaab341a45d5c2a0278c0db18dc9788593ed7dd8ca8411d5d0ac1034c8a0dac8bd9c1b3a09fe22697dd97716d98
|
||||
DIST qxmledit-0.9.6-src.tgz 22661917 SHA256 46928b059d9c00c96d98a5ab0bb6249abdd9225b2bbf280bbb8e0f54a894e964 SHA512 d2cf6ae630a84305b10d4a362859500b52e4d6e03e4f1852b953178ac023a13eb9e90f8da8cf6633dcf5a3cfbf5a44affb69465eb91240ccc22b0256100a685f WHIRLPOOL 784362b4738bc5606f942a48a1dfade4a264227c4feb2597bdfa10759b1c96e68ec824ca56550a20c5322d790ce7b82728c1ca4d774370fcbbbbc5dfa3953846
|
||||
DIST qxmledit-0.9.7-1-src.tgz 20151952 SHA256 bcb694f01db5e4f4bedec81f823d498c6270f78da6a0c5963c52956f6c81c443 SHA512 c2304c0d46925f36ae2e411bae805406df60339bbce1f030ebbbe42b203133770ff011cb9751e79ac6807f21425e73f3f66f7081a5b14d6701522c2aa1e9a9df WHIRLPOOL 6f037cc63ec40446bee41e9eab8646f2c349bc3525d01c5e5cce417932b3020e1b79da71f356f64bac963bfb063a34ea0a3b44b8f17d051b8b4509a09172be3f
|
||||
|
@ -1,67 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils fdo-mime qmake-utils
|
||||
|
||||
DESCRIPTION="Simple Qt-based XML editor"
|
||||
HOMEPAGE="http://qxmledit.org/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}-src.tgz"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
dev-qt/qtconcurrent:5
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtopengl:5
|
||||
dev-qt/qtprintsupport:5
|
||||
dev-qt/qtsql:5
|
||||
dev-qt/qtsvg:5
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qtxml:5
|
||||
dev-qt/qtxmlpatterns:5
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( AUTHORS NEWS README )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# bug 568746
|
||||
sed -i -e '/QMAKE_CXXFLAGS/s:-Werror::' \
|
||||
src/{QXmlEdit,QXmlEditWidget,sessions/QXmlEditSessions}.pro || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export \
|
||||
QXMLEDIT_INST_DIR="${EPREFIX}/usr/bin" \
|
||||
QXMLEDIT_INST_LIB_DIR="${EPREFIX}/usr/$(get_libdir)" \
|
||||
QXMLEDIT_INST_INCLUDE_DIR="${EPREFIX}/usr/include/${PN}" \
|
||||
QXMLEDIT_INST_DATA_DIR="${EPREFIX}/usr/share/${PN}" \
|
||||
QXMLEDIT_INST_DOC_DIR="${EPREFIX}/usr/share/doc/${PF}"
|
||||
|
||||
eqmake5
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALL_ROOT="${D}" install
|
||||
|
||||
doicon install_scripts/environment/icon/qxmledit.png
|
||||
domenu install_scripts/environment/desktop/QXmlEdit.desktop
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -1,68 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils fdo-mime qmake-utils
|
||||
|
||||
DESCRIPTION="Simple Qt-based XML editor"
|
||||
HOMEPAGE="http://qxmledit.org/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}-src.tgz"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
dev-qt/qtconcurrent:5
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtopengl:5
|
||||
dev-qt/qtprintsupport:5
|
||||
dev-qt/qtscxml:5
|
||||
dev-qt/qtsql:5
|
||||
dev-qt/qtsvg:5
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qtxml:5
|
||||
dev-qt/qtxmlpatterns:5
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( AUTHORS NEWS README )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# bug 568746
|
||||
sed -i -e '/QMAKE_CXXFLAGS/s:-Werror::' \
|
||||
src/{QXmlEdit,QXmlEditWidget,sessions/QXmlEditSessions}.pro || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export \
|
||||
QXMLEDIT_INST_DIR="${EPREFIX}/usr/bin" \
|
||||
QXMLEDIT_INST_LIB_DIR="${EPREFIX}/usr/$(get_libdir)" \
|
||||
QXMLEDIT_INST_INCLUDE_DIR="${EPREFIX}/usr/include/${PN}" \
|
||||
QXMLEDIT_INST_DATA_DIR="${EPREFIX}/usr/share/${PN}" \
|
||||
QXMLEDIT_INST_DOC_DIR="${EPREFIX}/usr/share/doc/${PF}"
|
||||
|
||||
eqmake5
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake INSTALL_ROOT="${D}" install
|
||||
|
||||
doicon install_scripts/environment/icon/qxmledit.png
|
||||
domenu install_scripts/environment/desktop/QXmlEdit.desktop
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -1 +1 @@
|
||||
Mon, 11 Sep 2017 07:39:02 +0000
|
||||
Mon, 11 Sep 2017 12:39:05 +0000
|
||||
|
@ -1 +1 @@
|
||||
Mon, 11 Sep 2017 07:39:03 +0000
|
||||
Mon, 11 Sep 2017 12:39:05 +0000
|
||||
|
@ -1,12 +0,0 @@
|
||||
DEFINED_PHASES=configure install postinst postrm prepare
|
||||
DEPEND=dev-qt/qtconcurrent:5 dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtnetwork:5 dev-qt/qtopengl:5 dev-qt/qtprintsupport:5 dev-qt/qtsql:5 dev-qt/qtsvg:5 dev-qt/qtwidgets:5 dev-qt/qtxml:5 dev-qt/qtxmlpatterns:5
|
||||
DESCRIPTION=Simple Qt-based XML editor
|
||||
EAPI=6
|
||||
HOMEPAGE=http://qxmledit.org/
|
||||
KEYWORDS=amd64 x86
|
||||
LICENSE=LGPL-2
|
||||
RDEPEND=dev-qt/qtconcurrent:5 dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtnetwork:5 dev-qt/qtopengl:5 dev-qt/qtprintsupport:5 dev-qt/qtsql:5 dev-qt/qtsvg:5 dev-qt/qtwidgets:5 dev-qt/qtxml:5 dev-qt/qtxmlpatterns:5
|
||||
SLOT=0
|
||||
SRC_URI=mirror://sourceforge/qxmledit/qxmledit-0.9.5-src.tgz
|
||||
_eclasses_=epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 9c113d6a64826c40154cad7be15d95ea fdo-mime 995b19d3f30e956b4e1bc5a91fdc4ea7 ltprune 2770eed66a9b8ef944714cd0e968182e multilib 97f470f374f2e94ccab04a2fb21d811e qmake-utils 990448b067cb3cfe1443bc25fb57239c toolchain-funcs 185a06792159ca143528e7010368e8af
|
||||
_md5_=7dab79995581b69df1d36275498d4df9
|
@ -1,12 +0,0 @@
|
||||
DEFINED_PHASES=configure install postinst postrm prepare
|
||||
DEPEND=dev-qt/qtconcurrent:5 dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtnetwork:5 dev-qt/qtopengl:5 dev-qt/qtprintsupport:5 dev-qt/qtscxml:5 dev-qt/qtsql:5 dev-qt/qtsvg:5 dev-qt/qtwidgets:5 dev-qt/qtxml:5 dev-qt/qtxmlpatterns:5
|
||||
DESCRIPTION=Simple Qt-based XML editor
|
||||
EAPI=6
|
||||
HOMEPAGE=http://qxmledit.org/
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=LGPL-2
|
||||
RDEPEND=dev-qt/qtconcurrent:5 dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtnetwork:5 dev-qt/qtopengl:5 dev-qt/qtprintsupport:5 dev-qt/qtscxml:5 dev-qt/qtsql:5 dev-qt/qtsvg:5 dev-qt/qtwidgets:5 dev-qt/qtxml:5 dev-qt/qtxmlpatterns:5
|
||||
SLOT=0
|
||||
SRC_URI=mirror://sourceforge/qxmledit/qxmledit-0.9.6-src.tgz
|
||||
_eclasses_=epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 9c113d6a64826c40154cad7be15d95ea fdo-mime 995b19d3f30e956b4e1bc5a91fdc4ea7 ltprune 2770eed66a9b8ef944714cd0e968182e multilib 97f470f374f2e94ccab04a2fb21d811e qmake-utils 990448b067cb3cfe1443bc25fb57239c toolchain-funcs 185a06792159ca143528e7010368e8af
|
||||
_md5_=0ea6842a00c8649265f5ee1070365505
|
@ -1,12 +1,12 @@
|
||||
DEFINED_PHASES=configure install postinst postrm prepare
|
||||
DEPEND=dev-qt/qtconcurrent:5 dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtnetwork:5 dev-qt/qtopengl:5 dev-qt/qtprintsupport:5 dev-qt/qtscxml:5 dev-qt/qtsql:5 dev-qt/qtsvg:5 dev-qt/qtwidgets:5 dev-qt/qtxml:5 dev-qt/qtxmlpatterns:5
|
||||
DEPEND=dev-qt/qtconcurrent:5 dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtnetwork:5 dev-qt/qtopengl:5 dev-qt/qtprintsupport:5 dev-qt/qtscxml:5 dev-qt/qtsql:5 dev-qt/qtsvg:5 dev-qt/qtwidgets:5 dev-qt/qtxml:5 dev-qt/qtxmlpatterns:5 media-libs/glu virtual/opengl
|
||||
DESCRIPTION=Simple Qt-based XML editor
|
||||
EAPI=6
|
||||
HOMEPAGE=http://qxmledit.org/
|
||||
KEYWORDS=~amd64 ~x86
|
||||
KEYWORDS=amd64 x86
|
||||
LICENSE=LGPL-2
|
||||
RDEPEND=dev-qt/qtconcurrent:5 dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtnetwork:5 dev-qt/qtopengl:5 dev-qt/qtprintsupport:5 dev-qt/qtscxml:5 dev-qt/qtsql:5 dev-qt/qtsvg:5 dev-qt/qtwidgets:5 dev-qt/qtxml:5 dev-qt/qtxmlpatterns:5
|
||||
RDEPEND=dev-qt/qtconcurrent:5 dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtnetwork:5 dev-qt/qtopengl:5 dev-qt/qtprintsupport:5 dev-qt/qtscxml:5 dev-qt/qtsql:5 dev-qt/qtsvg:5 dev-qt/qtwidgets:5 dev-qt/qtxml:5 dev-qt/qtxmlpatterns:5 media-libs/glu virtual/opengl
|
||||
SLOT=0
|
||||
SRC_URI=mirror://sourceforge/qxmledit/qxmledit-0.9.7-1-src.tgz
|
||||
_eclasses_=epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 9c113d6a64826c40154cad7be15d95ea ltprune 2770eed66a9b8ef944714cd0e968182e multilib 97f470f374f2e94ccab04a2fb21d811e qmake-utils 990448b067cb3cfe1443bc25fb57239c toolchain-funcs 185a06792159ca143528e7010368e8af xdg-utils f2c8335407f0b935b0a96d4adf23ef25
|
||||
_md5_=2b5bf0f8e596c443ba565747f3baa9be
|
||||
_md5_=a9204d17a506e4ced61cc6fcf00696dc
|
||||
|
@ -1,15 +1,15 @@
|
||||
DEFINED_PHASES=configure install
|
||||
DEPEND=>=app-arch/zip-2.3 dev-libs/expat >=media-libs/libsndfile-1.0.0 =media-libs/portaudio-19* media-libs/soxr x11-libs/wxGTK:3.0[X] alsa? ( media-libs/alsa-lib ) ffmpeg? ( libav? ( media-video/libav:= ) !libav? ( >=media-video/ffmpeg-1.2:= ) ) flac? ( >=media-libs/flac-1.2.0[cxx] ) id3tag? ( media-libs/libid3tag ) jack? ( virtual/jack ) lame? ( >=media-sound/lame-3.70 ) lv2? ( media-libs/lv2 ) mad? ( >=media-libs/libmad-0.14.2b ) midi? ( media-libs/portmidi ) sbsms? ( media-libs/libsbsms ) soundtouch? ( >=media-libs/libsoundtouch-1.3.1 ) twolame? ( media-sound/twolame ) vamp? ( >=media-libs/vamp-plugin-sdk-2.0 ) vorbis? ( >=media-libs/libvorbis-1.0 ) app-arch/xz-utils virtual/pkgconfig nls? ( sys-devel/gettext )
|
||||
DEPEND=>=app-arch/zip-2.3 dev-libs/expat >=media-libs/libsndfile-1.0.0 =media-libs/portaudio-19* media-libs/soxr x11-libs/wxGTK:3.0[X] alsa? ( media-libs/alsa-lib ) ffmpeg? ( libav? ( media-video/libav:= ) !libav? ( >=media-video/ffmpeg-1.2:= ) ) flac? ( >=media-libs/flac-1.3.1[cxx] ) id3tag? ( media-libs/libid3tag ) jack? ( virtual/jack ) lame? ( >=media-sound/lame-3.70 ) lv2? ( media-libs/lv2 ) mad? ( >=media-libs/libmad-0.14.2b ) midi? ( media-libs/portmidi ) sbsms? ( media-libs/libsbsms ) soundtouch? ( >=media-libs/libsoundtouch-1.3.1 ) twolame? ( media-sound/twolame ) vamp? ( >=media-libs/vamp-plugin-sdk-2.0 ) vorbis? ( >=media-libs/libvorbis-1.0 ) app-arch/xz-utils virtual/pkgconfig nls? ( sys-devel/gettext )
|
||||
DESCRIPTION=Free crossplatform audio editor
|
||||
EAPI=5
|
||||
HOMEPAGE=http://web.audacityteam.org/
|
||||
IUSE=alsa cpu_flags_x86_sse doc ffmpeg +flac id3tag jack +ladspa +lame libav +lv2 mad +midi nls +portmixer sbsms +soundtouch twolame vamp +vorbis +vst
|
||||
KEYWORDS=amd64 ~mips ppc ppc64 x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=>=app-arch/zip-2.3 dev-libs/expat >=media-libs/libsndfile-1.0.0 =media-libs/portaudio-19* media-libs/soxr x11-libs/wxGTK:3.0[X] alsa? ( media-libs/alsa-lib ) ffmpeg? ( libav? ( media-video/libav:= ) !libav? ( >=media-video/ffmpeg-1.2:= ) ) flac? ( >=media-libs/flac-1.2.0[cxx] ) id3tag? ( media-libs/libid3tag ) jack? ( virtual/jack ) lame? ( >=media-sound/lame-3.70 ) lv2? ( media-libs/lv2 ) mad? ( >=media-libs/libmad-0.14.2b ) midi? ( media-libs/portmidi ) sbsms? ( media-libs/libsbsms ) soundtouch? ( >=media-libs/libsoundtouch-1.3.1 ) twolame? ( media-sound/twolame ) vamp? ( >=media-libs/vamp-plugin-sdk-2.0 ) vorbis? ( >=media-libs/libvorbis-1.0 )
|
||||
RDEPEND=>=app-arch/zip-2.3 dev-libs/expat >=media-libs/libsndfile-1.0.0 =media-libs/portaudio-19* media-libs/soxr x11-libs/wxGTK:3.0[X] alsa? ( media-libs/alsa-lib ) ffmpeg? ( libav? ( media-video/libav:= ) !libav? ( >=media-video/ffmpeg-1.2:= ) ) flac? ( >=media-libs/flac-1.3.1[cxx] ) id3tag? ( media-libs/libid3tag ) jack? ( virtual/jack ) lame? ( >=media-sound/lame-3.70 ) lv2? ( media-libs/lv2 ) mad? ( >=media-libs/libmad-0.14.2b ) midi? ( media-libs/portmidi ) sbsms? ( media-libs/libsbsms ) soundtouch? ( >=media-libs/libsoundtouch-1.3.1 ) twolame? ( media-sound/twolame ) vamp? ( >=media-libs/vamp-plugin-sdk-2.0 ) vorbis? ( >=media-libs/libvorbis-1.0 )
|
||||
REQUIRED_USE=soundtouch? ( midi )
|
||||
RESTRICT=test
|
||||
SLOT=0
|
||||
SRC_URI=https://dev.gentoo.org/~polynomial-c/dist/audacity-minsrc-2.1.3.tar.xz doc? ( https://dev.gentoo.org/~polynomial-c/dist/audacity-help-2.1.3.zip )
|
||||
_eclasses_=epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 9c113d6a64826c40154cad7be15d95ea flag-o-matic 2274fcc1e7ef6affaff5bcd636275417 ltprune 2770eed66a9b8ef944714cd0e968182e multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 185a06792159ca143528e7010368e8af wxwidgets 04e063b0eff26daaea83d859dd9d6e05
|
||||
_md5_=2cfedb6d50fcfd9db6c4d4a7f0fe9639
|
||||
_md5_=5af19f2d6564883a021449ffb15c2caf
|
||||
|
@ -1,15 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install postinst prepare
|
||||
DEPEND=tcpd? ( sys-apps/tcp-wrappers ) caps? ( sys-libs/libcap ) sys-libs/e2fsprogs-libs >=net-nds/rpcbind-0.2.0-r1 net-libs/libtirpc libmount? ( sys-apps/util-linux ) nfsdcld? ( >=dev-db/sqlite-3.3 ) nfsv4? ( <=dev-libs/libevent-2.1 >=net-libs/libnfsidmap-0.21-r1 kerberos? ( >=net-libs/libtirpc-0.2.4-r1[kerberos] app-crypt/mit-krb5 ) nfsidmap? ( >=net-libs/libnfsidmap-0.24 >=sys-apps/keyutils-1.5.9 ) ) nfsv41? ( sys-fs/lvm2 ) uuid? ( sys-apps/util-linux ) virtual/pkgconfig >=app-portage/elt-patches-20170422 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 virtual/pkgconfig
|
||||
DESCRIPTION=NFS client and server daemons
|
||||
EAPI=5
|
||||
HOMEPAGE=http://linux-nfs.org/
|
||||
IUSE=caps ipv6 kerberos +libmount nfsdcld +nfsidmap +nfsv4 nfsv41 selinux tcpd +uuid
|
||||
KEYWORDS=alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=tcpd? ( sys-apps/tcp-wrappers ) caps? ( sys-libs/libcap ) sys-libs/e2fsprogs-libs >=net-nds/rpcbind-0.2.0-r1 net-libs/libtirpc libmount? ( sys-apps/util-linux ) nfsdcld? ( >=dev-db/sqlite-3.3 ) nfsv4? ( <=dev-libs/libevent-2.1 >=net-libs/libnfsidmap-0.21-r1 kerberos? ( >=net-libs/libtirpc-0.2.4-r1[kerberos] app-crypt/mit-krb5 ) nfsidmap? ( >=net-libs/libnfsidmap-0.24 >=sys-apps/keyutils-1.5.9 ) ) nfsv41? ( sys-fs/lvm2 ) uuid? ( sys-apps/util-linux ) !net-nds/portmap !<sys-apps/openrc-0.13.9 selinux? ( sec-policy/selinux-rpc sec-policy/selinux-rpcbind )
|
||||
REQUIRED_USE=kerberos? ( nfsv4 )
|
||||
RESTRICT=test
|
||||
SLOT=0
|
||||
SRC_URI=mirror://sourceforge/nfs/nfs-utils-1.3.1.tar.bz2
|
||||
_eclasses_=autotools 7027963e8e8cc12c91117bdb9225dc26 epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 9c113d6a64826c40154cad7be15d95ea flag-o-matic 2274fcc1e7ef6affaff5bcd636275417 libtool 0081a71a261724730ec4c248494f044d ltprune 2770eed66a9b8ef944714cd0e968182e multilib 97f470f374f2e94ccab04a2fb21d811e systemd 34815d3b76e745c5ca33eec9f95074c2 toolchain-funcs 185a06792159ca143528e7010368e8af
|
||||
_md5_=178950f9c2175a2b8f729155182fb20c
|
File diff suppressed because one or more lines are too long
@ -0,0 +1,10 @@
|
||||
DEFINED_PHASES=configure install
|
||||
DESCRIPTION=Tool to measure IP bandwidth using UDP or TCP
|
||||
EAPI=6
|
||||
HOMEPAGE=http://iperf2.sourceforge.net/
|
||||
IUSE=ipv6 threads debug
|
||||
KEYWORDS=~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint
|
||||
LICENSE=HPND
|
||||
SLOT=2
|
||||
SRC_URI=mirror://sourceforge/iperf2/iperf-2.0.10.tar.gz
|
||||
_md5_=ffbd44464da9400b3f3edf6f000cdb09
|
@ -1,15 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install postinst preinst prepare pretend setup test unpack
|
||||
DEPEND=nscd? ( selinux? ( audit? ( sys-process/audit ) caps? ( sys-libs/libcap ) ) ) suid? ( caps? ( sys-libs/libcap ) ) selinux? ( sys-libs/libselinux ) >=app-misc/pax-utils-0.1.10 !<sys-apps/sandbox-1.6 !<sys-apps/portage-2.1.2 >=sys-devel/binutils-2.24 >=sys-devel/gcc-4.7 virtual/os-headers sys-devel/gnuconfig virtual/pkgconfig
|
||||
DESCRIPTION=GNU libc6 (also called glibc2) C library
|
||||
EAPI=5
|
||||
HOMEPAGE=https://www.gnu.org/software/libc/libc.html
|
||||
IUSE=audit caps debug gd hardened multilib nscd +rpc selinux systemtap profile suid vanilla crosscompile_opts_headers-only
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86
|
||||
LICENSE=LGPL-2.1+ BSD HPND ISC inner-net rc PCRE
|
||||
PDEPEND=!vanilla? ( sys-libs/timezone-data )
|
||||
RDEPEND=nscd? ( selinux? ( audit? ( sys-process/audit ) caps? ( sys-libs/libcap ) ) ) suid? ( caps? ( sys-libs/libcap ) ) selinux? ( sys-libs/libselinux ) !sys-kernel/ps3-sources sys-apps/gentoo-functions !sys-libs/nss-db vanilla? ( !sys-libs/timezone-data )
|
||||
RESTRICT=strip
|
||||
SLOT=2.2
|
||||
SRC_URI=mirror://gnu/glibc/glibc-2.24.tar.xz ftp://sourceware.org/pub/glibc/releases/glibc-2.24.tar.xz ftp://sourceware.org/pub/glibc/snapshots/glibc-2.24.tar.xz mirror://gentoo/glibc-2.24.tar.xz mirror://gentoo/glibc-2.24-patches-10.tar.bz2 https://dev.gentoo.org/~vapier/dist/glibc-2.24-patches-10.tar.bz2 https://dev.gentoo.org/~azarah/glibc/glibc-2.24-patches-10.tar.bz2 https://dev.gentoo.org/~tamiko/distfiles/glibc-2.24-patches-10.tar.bz2 https://dev.gentoo.org/~slyfox/distfiles/glibc-2.24-patches-10.tar.bz2 multilib? ( mirror://gentoo/gcc-4.7.3-r1-multilib-bootstrap.tar.bz2 https://dev.gentoo.org/~vapier/dist/gcc-4.7.3-r1-multilib-bootstrap.tar.bz2 https://dev.gentoo.org/~azarah/glibc/gcc-4.7.3-r1-multilib-bootstrap.tar.bz2 https://dev.gentoo.org/~tamiko/distfiles/gcc-4.7.3-r1-multilib-bootstrap.tar.bz2 https://dev.gentoo.org/~slyfox/distfiles/gcc-4.7.3-r1-multilib-bootstrap.tar.bz2 )
|
||||
_eclasses_=epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 9c113d6a64826c40154cad7be15d95ea flag-o-matic 2274fcc1e7ef6affaff5bcd636275417 gnuconfig b8ec1c34be4ff9dac7ad4034d277936b ltprune 2770eed66a9b8ef944714cd0e968182e multilib 97f470f374f2e94ccab04a2fb21d811e multiprocessing 284a473719153462f3e974d86c8cb81c prefix 7b6fb2fc216b101b5d97d171925a847c systemd 34815d3b76e745c5ca33eec9f95074c2 toolchain-funcs 185a06792159ca143528e7010368e8af toolchain-glibc 09c288d55e47e9140c030c8e2f4bc779 unpacker f40f7b4bd5aa88c2a4ba7b0d1e0ded70 versionator c80ccf29e90adea7c5cae94b42eb76d0
|
||||
_md5_=d85314bbbdec51190d226ed19956597c
|
@ -1,15 +0,0 @@
|
||||
DEFINED_PHASES=compile configure install postinst preinst prepare pretend setup test unpack
|
||||
DEPEND=nscd? ( selinux? ( audit? ( sys-process/audit ) caps? ( sys-libs/libcap ) ) ) suid? ( caps? ( sys-libs/libcap ) ) selinux? ( sys-libs/libselinux ) >=app-misc/pax-utils-0.1.10 !<sys-apps/sandbox-1.6 !<sys-apps/portage-2.1.2 >=sys-devel/binutils-2.24 >=sys-devel/gcc-4.7 virtual/os-headers sys-devel/gnuconfig virtual/pkgconfig
|
||||
DESCRIPTION=GNU libc6 (also called glibc2) C library
|
||||
EAPI=5
|
||||
HOMEPAGE=https://www.gnu.org/software/libc/libc.html
|
||||
IUSE=audit caps debug gd hardened multilib nscd +rpc selinux systemtap profile suid vanilla crosscompile_opts_headers-only
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86
|
||||
LICENSE=LGPL-2.1+ BSD HPND ISC inner-net rc PCRE
|
||||
PDEPEND=!vanilla? ( sys-libs/timezone-data )
|
||||
RDEPEND=nscd? ( selinux? ( audit? ( sys-process/audit ) caps? ( sys-libs/libcap ) ) ) suid? ( caps? ( sys-libs/libcap ) ) selinux? ( sys-libs/libselinux ) !sys-kernel/ps3-sources sys-apps/gentoo-functions !sys-libs/nss-db vanilla? ( !sys-libs/timezone-data )
|
||||
RESTRICT=strip
|
||||
SLOT=2.2
|
||||
SRC_URI=mirror://gnu/glibc/glibc-2.25.tar.xz ftp://sourceware.org/pub/glibc/releases/glibc-2.25.tar.xz ftp://sourceware.org/pub/glibc/snapshots/glibc-2.25.tar.xz mirror://gentoo/glibc-2.25.tar.xz mirror://gentoo/glibc-2.25-patches-7.tar.bz2 https://dev.gentoo.org/~vapier/dist/glibc-2.25-patches-7.tar.bz2 https://dev.gentoo.org/~azarah/glibc/glibc-2.25-patches-7.tar.bz2 https://dev.gentoo.org/~tamiko/distfiles/glibc-2.25-patches-7.tar.bz2 https://dev.gentoo.org/~slyfox/distfiles/glibc-2.25-patches-7.tar.bz2 multilib? ( mirror://gentoo/gcc-4.7.3-r1-multilib-bootstrap.tar.bz2 https://dev.gentoo.org/~vapier/dist/gcc-4.7.3-r1-multilib-bootstrap.tar.bz2 https://dev.gentoo.org/~azarah/glibc/gcc-4.7.3-r1-multilib-bootstrap.tar.bz2 https://dev.gentoo.org/~tamiko/distfiles/gcc-4.7.3-r1-multilib-bootstrap.tar.bz2 https://dev.gentoo.org/~slyfox/distfiles/gcc-4.7.3-r1-multilib-bootstrap.tar.bz2 )
|
||||
_eclasses_=epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 9c113d6a64826c40154cad7be15d95ea flag-o-matic 2274fcc1e7ef6affaff5bcd636275417 gnuconfig b8ec1c34be4ff9dac7ad4034d277936b ltprune 2770eed66a9b8ef944714cd0e968182e multilib 97f470f374f2e94ccab04a2fb21d811e multiprocessing 284a473719153462f3e974d86c8cb81c prefix 7b6fb2fc216b101b5d97d171925a847c systemd 34815d3b76e745c5ca33eec9f95074c2 toolchain-funcs 185a06792159ca143528e7010368e8af toolchain-glibc 09c288d55e47e9140c030c8e2f4bc779 unpacker f40f7b4bd5aa88c2a4ba7b0d1e0ded70 versionator c80ccf29e90adea7c5cae94b42eb76d0
|
||||
_md5_=2cf310478af90eb6669c515127e1f47a
|
@ -1,14 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install postinst preinst prepare pretend test unpack
|
||||
DEPEND=nscd? ( selinux? ( audit? ( sys-process/audit ) caps? ( sys-libs/libcap ) ) ) suid? ( caps? ( sys-libs/libcap ) ) selinux? ( sys-libs/libselinux ) >=app-misc/pax-utils-0.1.10 !<sys-apps/sandbox-1.6 !<sys-apps/portage-2.1.2 >=sys-devel/binutils-2.24 >=sys-devel/gcc-4.7 virtual/os-headers sys-devel/gnuconfig virtual/pkgconfig
|
||||
DEPEND=nscd? ( selinux? ( audit? ( sys-process/audit ) caps? ( sys-libs/libcap ) ) ) suid? ( caps? ( sys-libs/libcap ) ) selinux? ( sys-libs/libselinux ) systemtap? ( dev-util/systemtap ) >=app-misc/pax-utils-0.1.10 !<sys-apps/sandbox-1.6 !<sys-apps/portage-2.1.2 >=sys-devel/binutils-2.24 >=sys-devel/gcc-4.7 virtual/os-headers sys-devel/gnuconfig virtual/pkgconfig
|
||||
DESCRIPTION=GNU libc C library
|
||||
EAPI=6
|
||||
HOMEPAGE=https://www.gnu.org/software/libc/
|
||||
IUSE=audit caps debug gd hardened multilib nscd selinux systemtap profile suid vanilla crosscompile_opts_headers-only
|
||||
LICENSE=LGPL-2.1+ BSD HPND ISC inner-net rc PCRE
|
||||
PDEPEND=!vanilla? ( sys-libs/timezone-data )
|
||||
RDEPEND=nscd? ( selinux? ( audit? ( sys-process/audit ) caps? ( sys-libs/libcap ) ) ) suid? ( caps? ( sys-libs/libcap ) ) selinux? ( sys-libs/libselinux ) !sys-kernel/ps3-sources sys-apps/gentoo-functions !sys-libs/nss-db vanilla? ( !sys-libs/timezone-data )
|
||||
RDEPEND=nscd? ( selinux? ( audit? ( sys-process/audit ) caps? ( sys-libs/libcap ) ) ) suid? ( caps? ( sys-libs/libcap ) ) selinux? ( sys-libs/libselinux ) systemtap? ( dev-util/systemtap ) !sys-kernel/ps3-sources sys-apps/gentoo-functions !sys-libs/nss-db vanilla? ( !sys-libs/timezone-data )
|
||||
RESTRICT=strip
|
||||
SLOT=2.2
|
||||
SRC_URI=mirror://gnu/glibc/glibc-2.26.tar.xz https://dev.gentoo.org/~dilfridge/distfiles/glibc-2.26-patches-0.tar.bz2 multilib? ( https://dev.gentoo.org/~dilfridge/distfiles/gcc-4.7.3-r1-multilib-bootstrap.tar.bz2 )
|
||||
_eclasses_=epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 9c113d6a64826c40154cad7be15d95ea flag-o-matic 2274fcc1e7ef6affaff5bcd636275417 gnuconfig b8ec1c34be4ff9dac7ad4034d277936b ltprune 2770eed66a9b8ef944714cd0e968182e multilib 97f470f374f2e94ccab04a2fb21d811e multiprocessing 284a473719153462f3e974d86c8cb81c prefix 7b6fb2fc216b101b5d97d171925a847c systemd 34815d3b76e745c5ca33eec9f95074c2 toolchain-funcs 185a06792159ca143528e7010368e8af toolchain-glibc 09c288d55e47e9140c030c8e2f4bc779 unpacker f40f7b4bd5aa88c2a4ba7b0d1e0ded70 versionator c80ccf29e90adea7c5cae94b42eb76d0
|
||||
_md5_=eef9ef6c7a3eb5f2c48a3946c2b7d96e
|
||||
_md5_=a87b79ad3a7abdca732162c55d35aec2
|
||||
|
@ -1 +1 @@
|
||||
Mon, 11 Sep 2017 07:39:03 +0000
|
||||
Mon, 11 Sep 2017 12:39:05 +0000
|
||||
|
@ -1 +1 @@
|
||||
Mon Sep 11 07:39:02 UTC 2017
|
||||
Mon Sep 11 12:39:05 UTC 2017
|
||||
|
@ -1 +1 @@
|
||||
Mon, 11 Sep 2017 08:00:01 +0000
|
||||
Mon, 11 Sep 2017 13:00:01 +0000
|
||||
|
@ -1 +1 @@
|
||||
eb108d8b5224d9986d607b683ec8bcd6c9e56633 1505112233 2017-09-11T06:43:53+00:00
|
||||
7ac1b59fd6b5b1d3c1faa93282ae1f29c5dc69c0 1505132205 2017-09-11T12:16:45+00:00
|
||||
|
@ -1 +1 @@
|
||||
1505115301 Mon 11 Sep 2017 07:35:01 AM UTC
|
||||
1505133301 Mon 11 Sep 2017 12:35:01 PM UTC
|
||||
|
@ -1 +1 @@
|
||||
Mon, 11 Sep 2017 07:39:02 +0000
|
||||
Mon, 11 Sep 2017 12:39:05 +0000
|
||||
|
@ -0,0 +1,63 @@
|
||||
commit 53a556cb4a705f4eae2bcb49552b6427b231378a
|
||||
Author: ABC <abc@telekom.ru>
|
||||
Date: Mon Aug 14 22:55:25 2017 +0300
|
||||
|
||||
Compatibility with kernel 4.13.
|
||||
|
||||
Offset patch torvalds/linux@14afee4b6092fde451ee17604e5f5c89da33e71e
|
||||
|
||||
diff --git a/compat.h b/compat.h
|
||||
index 061eb57..275ff58 100644
|
||||
--- a/compat.h
|
||||
+++ b/compat.h
|
||||
@@ -636,4 +636,10 @@ static inline unsigned int xt_hooknum(const struct xt_action_param *par)
|
||||
# define SK_CAN_REUSE 1
|
||||
#endif
|
||||
|
||||
+#if LINUX_VERSION_CODE < KERNEL_VERSION(4,13,0)
|
||||
+# define compat_refcount_read atomic_read
|
||||
+#else
|
||||
+# define compat_refcount_read refcount_read
|
||||
+#endif
|
||||
+
|
||||
#endif /* COMPAT_NETFLOW_H */
|
||||
diff --git a/ipt_NETFLOW.c b/ipt_NETFLOW.c
|
||||
index 494ea74..9365325 100644
|
||||
--- a/ipt_NETFLOW.c
|
||||
+++ b/ipt_NETFLOW.c
|
||||
@@ -622,7 +622,7 @@ static int snmp_seq_show(struct seq_file *seq, void *v)
|
||||
|
||||
seq_printf(seq, " %u %u %u\n",
|
||||
sk->sk_sndbuf,
|
||||
- atomic_read(&sk->sk_wmem_alloc),
|
||||
+ compat_refcount_read(&sk->sk_wmem_alloc),
|
||||
wmem_peak);
|
||||
} else
|
||||
seq_printf(seq, " 0 0 %u\n", wmem_peak);
|
||||
@@ -864,7 +864,7 @@ static int nf_seq_show(struct seq_file *seq, void *v)
|
||||
seq_printf(seq, ", sndbuf %u, filled %u, peak %u;"
|
||||
" err: sndbuf reached %u, connect %u, cberr %u, other %u\n",
|
||||
sk->sk_sndbuf,
|
||||
- atomic_read(&sk->sk_wmem_alloc),
|
||||
+ compat_refcount_read(&sk->sk_wmem_alloc),
|
||||
atomic_read(&usock->wmem_peak),
|
||||
usock->err_full,
|
||||
usock->err_connect,
|
||||
@@ -2031,7 +2031,7 @@ static void netflow_sendmsg(void *buffer, const int len)
|
||||
printk(KERN_INFO "netflow_sendmsg: sendmsg(%d, %d) [%u %u]\n",
|
||||
snum,
|
||||
len,
|
||||
- atomic_read(&usock->sock->sk->sk_wmem_alloc),
|
||||
+ compat_refcount_read(&usock->sock->sk->sk_wmem_alloc),
|
||||
usock->sock->sk->sk_sndbuf);
|
||||
ret = kernel_sendmsg(usock->sock, &msg, &iov, 1, (size_t)len);
|
||||
if (ret < 0) {
|
||||
@@ -2054,7 +2054,7 @@ static void netflow_sendmsg(void *buffer, const int len)
|
||||
printk(KERN_ERR "ipt_NETFLOW: sendmsg[%d] error %d: data loss %llu pkt, %llu bytes%s\n",
|
||||
snum, ret, pdu_packets, pdu_traf, suggestion);
|
||||
} else {
|
||||
- unsigned int wmem = atomic_read(&usock->sock->sk->sk_wmem_alloc);
|
||||
+ unsigned int wmem = compat_refcount_read(&usock->sock->sk->sk_wmem_alloc);
|
||||
if (wmem > atomic_read(&usock->wmem_peak))
|
||||
atomic_set(&usock->wmem_peak, wmem);
|
||||
NETFLOW_STAT_INC(exported_pkt);
|
@ -1,171 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils flag-o-matic multilib autotools systemd
|
||||
|
||||
DESCRIPTION="NFS client and server daemons"
|
||||
HOMEPAGE="http://linux-nfs.org/"
|
||||
SRC_URI="mirror://sourceforge/nfs/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86"
|
||||
IUSE="caps ipv6 kerberos +libmount nfsdcld +nfsidmap +nfsv4 nfsv41 selinux tcpd +uuid"
|
||||
REQUIRED_USE="kerberos? ( nfsv4 )"
|
||||
RESTRICT="test" #315573
|
||||
|
||||
# kth-krb doesn't provide the right include
|
||||
# files, and nfs-utils doesn't build against heimdal either,
|
||||
# so don't depend on virtual/krb.
|
||||
# (04 Feb 2005 agriffis)
|
||||
DEPEND_COMMON="tcpd? ( sys-apps/tcp-wrappers )
|
||||
caps? ( sys-libs/libcap )
|
||||
sys-libs/e2fsprogs-libs
|
||||
>=net-nds/rpcbind-0.2.0-r1
|
||||
net-libs/libtirpc
|
||||
libmount? ( sys-apps/util-linux )
|
||||
nfsdcld? ( >=dev-db/sqlite-3.3 )
|
||||
nfsv4? (
|
||||
<=dev-libs/libevent-2.1
|
||||
>=net-libs/libnfsidmap-0.21-r1
|
||||
kerberos? (
|
||||
>=net-libs/libtirpc-0.2.4-r1[kerberos]
|
||||
app-crypt/mit-krb5
|
||||
)
|
||||
nfsidmap? (
|
||||
>=net-libs/libnfsidmap-0.24
|
||||
>=sys-apps/keyutils-1.5.9
|
||||
)
|
||||
)
|
||||
nfsv41? (
|
||||
sys-fs/lvm2
|
||||
)
|
||||
uuid? ( sys-apps/util-linux )"
|
||||
RDEPEND="${DEPEND_COMMON}
|
||||
!net-nds/portmap
|
||||
!<sys-apps/openrc-0.13.9
|
||||
selinux? (
|
||||
sec-policy/selinux-rpc
|
||||
sec-policy/selinux-rpcbind
|
||||
)
|
||||
"
|
||||
DEPEND="${DEPEND_COMMON}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-1.1.4-mtab-sym.patch
|
||||
epatch "${FILESDIR}"/${PN}-1.2.8-cross-build.patch
|
||||
|
||||
sed \
|
||||
-e "/^sbindir/s:= := \"${EPREFIX}\":g" \
|
||||
-i utils/*/Makefile.am || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export libsqlite3_cv_is_recent=yes # Our DEPEND forces this.
|
||||
export ac_cv_header_keyutils_h=$(usex nfsidmap)
|
||||
econf \
|
||||
--with-statedir="${EPREFIX}"/var/lib/nfs \
|
||||
--enable-tirpc \
|
||||
--with-tirpcinclude="${EPREFIX}"/usr/include/tirpc/ \
|
||||
$(use_enable libmount libmount-mount) \
|
||||
$(use_with tcpd tcp-wrappers) \
|
||||
$(use_enable nfsdcld nfsdcltrack) \
|
||||
$(use_enable nfsv4) \
|
||||
$(use_enable nfsv41) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable caps) \
|
||||
$(use_enable uuid) \
|
||||
$(use_enable kerberos gss) \
|
||||
--without-gssglue
|
||||
}
|
||||
|
||||
src_compile(){
|
||||
# remove compiled files bundled in the tarball
|
||||
emake clean
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
rm linux-nfs/Makefile* || die
|
||||
dodoc -r linux-nfs README
|
||||
|
||||
# Don't overwrite existing xtab/etab, install the original
|
||||
# versions somewhere safe... more info in pkg_postinst
|
||||
keepdir /var/lib/nfs/{,sm,sm.bak}
|
||||
mv "${ED}"/var/lib "${ED}"/usr/$(get_libdir) || die
|
||||
|
||||
# Install some client-side binaries in /sbin
|
||||
dodir /sbin
|
||||
mv "${ED}"/usr/sbin/rpc.statd "${ED}"/sbin/ || die
|
||||
|
||||
if use nfsv4 && use nfsidmap ; then
|
||||
# Install a config file for idmappers in newer kernels. #415625
|
||||
insinto /etc/request-key.d
|
||||
echo 'create id_resolver * * /usr/sbin/nfsidmap -t 600 %k %d' > id_resolver.conf
|
||||
doins id_resolver.conf
|
||||
fi
|
||||
|
||||
insinto /etc
|
||||
doins "${FILESDIR}"/exports
|
||||
keepdir /etc/exports.d
|
||||
|
||||
local f list=() opt_need=""
|
||||
if use nfsv4 ; then
|
||||
opt_need="rpc.idmapd"
|
||||
list+=( rpc.idmapd rpc.pipefs )
|
||||
use kerberos && list+=( rpc.gssd rpc.svcgssd )
|
||||
fi
|
||||
for f in nfs nfsclient rpc.statd "${list[@]}" ; do
|
||||
newinitd "${FILESDIR}"/${f}.initd ${f}
|
||||
done
|
||||
newinitd "${FILESDIR}"/nfsmount.initd-1.3.1 nfsmount # Nuke after 2015/08/01
|
||||
for f in nfs nfsclient ; do
|
||||
newconfd "${FILESDIR}"/${f}.confd ${f}
|
||||
done
|
||||
sed -i \
|
||||
-e "/^NFS_NEEDED_SERVICES=/s:=.*:=\"${opt_need}\":" \
|
||||
"${ED}"/etc/conf.d/nfs || die #234132
|
||||
|
||||
systemd_dounit systemd/*.{mount,service,target}
|
||||
if ! use nfsv4 || ! use kerberos ; then
|
||||
rm "${D}$(systemd_get_unitdir)"/rpc-{gssd,svcgssd}.service || die
|
||||
fi
|
||||
rm "${D}$(systemd_get_unitdir)"/nfs-config.service || die
|
||||
sed -i -r \
|
||||
-e "/^EnvironmentFile=/s:=.*:=${EPREFIX}/etc/conf.d/nfs:" \
|
||||
-e '/^(After|Wants)=nfs-config.service$/d' \
|
||||
-e 's:/usr/sbin/rpc.statd:/sbin/rpc.statd:' \
|
||||
"${D}$(systemd_get_unitdir)"/* || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Install default xtab and friends if there's none existing. In
|
||||
# src_install we put them in /usr/lib/nfs for safe-keeping, but
|
||||
# the daemons actually use the files in /var/lib/nfs. #30486
|
||||
local f
|
||||
mkdir -p "${EROOT}"/var/lib/nfs #368505
|
||||
for f in "${EROOT}"/usr/$(get_libdir)/nfs/*; do
|
||||
[[ -e ${EROOT}/var/lib/nfs/${f##*/} ]] && continue
|
||||
einfo "Copying default ${f##*/} from ${EPREFIX}/usr/$(get_libdir)/nfs to ${EPREFIX}/var/lib/nfs"
|
||||
cp -pPR "${f}" "${EROOT}"/var/lib/nfs/
|
||||
done
|
||||
|
||||
if systemd_is_booted; then
|
||||
if [[ ${REPLACING_VERSIONS} < 1.3.0 ]]; then
|
||||
ewarn "We have switched to upstream systemd unit files. Since"
|
||||
ewarn "they got renamed, you should probably enable the new ones."
|
||||
ewarn "You can run 'equery files nfs-utils | grep systemd'"
|
||||
ewarn "to know what services you need to enable now."
|
||||
fi
|
||||
else
|
||||
ewarn "If you use OpenRC, the nfsmount service has been replaced with nfsclient."
|
||||
ewarn "If you were using nfsmount, please add nfsclient and netmount to the"
|
||||
ewarn "same runlevel as nfsmount."
|
||||
fi
|
||||
}
|
@ -0,0 +1,82 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
EGO_VENDOR=( "github.com/docopt/docopt-go 784ddc588536785e7299f7272f39101f7faccc3f"
|
||||
"github.com/mcuadros/go-version 257f7b9a7d87427c8d7f89469a5958d57f8abd7c"
|
||||
"github.com/mitchellh/go-ps 4fdf99ab29366514c69ccccddab5dc58b8d84062"
|
||||
"github.com/olekukonko/tablewriter be5337e7b39e64e5f91445ce7e721888dbab7387"
|
||||
"github.com/mattn/go-runewidth 97311d9f7767e3d6f422ea06661bc2c7a19e8a5d"
|
||||
"github.com/osrg/gobgp bbd1d99396fef6503e308d1851ecf91c31006635"
|
||||
"github.com/armon/go-radix 1fca145dffbcaa8fe914309b1ec0cfc67500fe61"
|
||||
"github.com/eapache/channels 47238d5aae8c0fefd518ef2bee46290909cf8263"
|
||||
"github.com/eapache/queue 44cc805cf13205b55f69e14bcb69867d1ae92f98"
|
||||
"github.com/golang/protobuf 4bd1920723d7b7c925de087aa32e2187708897f7"
|
||||
"github.com/influxdata/influxdb 392fa03cf3cc98b78e606c34996976cea65b6814"
|
||||
"github.com/projectcalico/go-json 6219dc7339ba20ee4c57df0a8baac62317d19cb1"
|
||||
"github.com/projectcalico/go-yaml-wrapper 598e54215bee41a19677faa4f0c32acd2a87eb56"
|
||||
"github.com/projectcalico/libcalico-go 25a8c377d7b3299a50197a92704d606f5f5ca691"
|
||||
"github.com/coreos/etcd 17ae440991da3bdb2df4309936dd2074f66ec394"
|
||||
"github.com/kelseyhightower/envconfig f611eb38b3875cc3bd991ca91c51d06446afa14c"
|
||||
"github.com/coreos/go-semver 568e959cd89871e61434c1143528d9162da89ef2"
|
||||
"github.com/projectcalico/go-yaml 955bc3e451ef0c9df8b9113bf2e341139cdafab2"
|
||||
"github.com/satori/go.uuid 879c5887cd475cd7864858769793b2ceb0d44feb"
|
||||
"github.com/sirupsen/logrus ba1b36c82c5e05c4f912a88eab0dcd91a171688f"
|
||||
"github.com/spf13/viper 25b30aa063fc18e48662b86996252eabdcf2f0c7"
|
||||
"github.com/fsnotify/fsnotify 4da3e2cfbabc9f751898f250b49f2439785783a1"
|
||||
"github.com/hashicorp/hcl 392dba7d905ed5d04a5794ba89f558b27e2ba1ca"
|
||||
"github.com/magiconair/properties be5ece7dd465ab0765a9682137865547526d1dfb"
|
||||
"github.com/mitchellh/mapstructure d0303fe809921458f417bcf828397a65db30a7e4"
|
||||
"github.com/pelletier/go-toml 69d355db5304c0f7f809a2edc054553e7142f016"
|
||||
"github.com/spf13/afero 9be650865eab0c12963d8753212f4f9c66cdcf12"
|
||||
"github.com/spf13/cast acbeb36b902d72a7a4c18e8f3241075e7ab763e4"
|
||||
"github.com/spf13/jwalterweatherman 0efa5202c04663c757d84f90f5219c1250baf94f"
|
||||
"github.com/spf13/pflag 08b1a584251b5b62f458943640fc8ebd4d50aaa5"
|
||||
"github.com/termie/go-shutil bcacb06fecaeec8dc42af03c87c6949f4a05c74c"
|
||||
"github.com/ugorji/go ded73eae5db7e7a0ef6f55aace87a2873c5d2b74"
|
||||
"github.com/vishvananda/netlink f5a6f697a596c788d474984a38a0ac4ba0719e93"
|
||||
"github.com/vishvananda/netns 8ba1072b58e0c2a240eb5f6120165c7776c3e7b8"
|
||||
"golang.org/x/net f2499483f923065a842d38eb4c7f1927e6fc6e6d github.com/golang/net"
|
||||
"golang.org/x/sys 8f0908ab3b2457e2e15403d3697c9ef5cb4b57a9 github.com/golang/sys"
|
||||
"golang.org/x/text 19e51611da83d6be54ddafce4a4af510cb3e9ea4 github.com/golang/text"
|
||||
"github.com/golang/glog 44145f04b68cf362d9c4df2182967c2275eaefed"
|
||||
"google.golang.org/grpc 777daa17ff9b5daef1cfdf915088a2ada3332bf0 github.com/grpc/grpc-go"
|
||||
"gopkg.in/go-playground/validator.v8 5f57d2222ad794d0dffb07e664ea05e2ee07d60c github.com/go-playground/validator"
|
||||
"gopkg.in/tchap/go-patricia.v2 666120de432aea38ab06bd5c818f04f4129882c9 github.com/tchap/go-patricia"
|
||||
"gopkg.in/tomb.v2 d5d1b5820637886def9eef33e03a27a9f166942c github.com/go-tomb/tomb"
|
||||
"gopkg.in/yaml.v2 53feefa2559fb8dfa8d81baad31be332c97d6c77 github.com/go-yaml/yaml"
|
||||
"k8s.io/client-go 4a3ab2f5be5177366f8206fd79ce55ca80e417fa github.com/kubernetes/client-go"
|
||||
"k8s.io/apimachinery b317fa7ec8e0e7d1f77ac63bf8c3ec7b29a2a215 github.com/kubernetes/apimachinery")
|
||||
|
||||
inherit golang-vcs-snapshot
|
||||
|
||||
CALICOCTL_COMMIT="118b8ae1cbfb852f387c9066b5ae27633593a99f"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
DESCRIPTION="CLI to manage Calico network and security policy"
|
||||
EGO_PN="github.com/projectcalico/calicoctl"
|
||||
HOMEPAGE="https://github.com/projectcalico/calicoctl"
|
||||
MY_PV=${PV/_/-}
|
||||
SRC_URI="https://${EGO_PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz
|
||||
${EGO_VENDOR_URI}"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
src_compile() {
|
||||
pushd "src/${EGO_PN}" || die
|
||||
GOPATH="${WORKDIR}/${P}" CGO_ENABLED=0 go build -v -o dist/calicoctl -ldflags \
|
||||
"-X github.com/projectcalico/calicoctl/calicoctl/commands.VERSION=${PV} \
|
||||
-X github.com/projectcalico/calicoctl/calicoctl/commands.BUILD_DATE=$(date -u +'%FT%T%z') \
|
||||
-X github.com/projectcalico/calicoctl/calicoctl/commands.GIT_REVISION=${CALICOCTL_COMMIT}" "./calicoctl/calicoctl.go" || die
|
||||
popd || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
pushd "src/${EGO_PN}" || die
|
||||
dobin "dist/${PN}"
|
||||
dodoc README.md
|
||||
}
|
@ -1,4 +1,5 @@
|
||||
DIST iperf-2.0.10.tar.gz 290282 SHA256 7fe4348dcca313b74e0aa9c34a8ccd713b84a5615b8578f4aa94cedce9891ef2 SHA512 74bf49133cd123243c179e174cbaa7d2f74ca9fb47c80ca2c88b2e68ce8bca0a73709e51b3aac6bd85b8c70483b70f33e8a2424e7e0e5922397967330f7e2ecc WHIRLPOOL 4fa4e3006bc6354653fcc249cf0e4660af2ea88e463fbf731a65c5ecab44c297d36b0079dab1b38cadd1962c52d4fb1bba71f700af0ddec3296e94c79b5f5180
|
||||
DIST iperf-2.0.9.tar.gz 277702 SHA256 a5350777b191e910334d3a107b5e5219b72ffa393da4186da1e0a4552aeeded6 SHA512 ff75e51af9d368eedb1e1dc4621f7575219525f0e438f1c8fa896aa7e990a6812a9a351db9004952057d81127f52b67350820e85c9ae1d8db2e6a60c1f2534d2 WHIRLPOOL 044a189931459dca8fc35d94d5d0518533a104cf3981d33f0ab768a98ed5bec971799468146d5d980b614341afcff81d939a35e6ba9bd4c221311520d8fa1c19
|
||||
DIST iperf-3.1.3.tar.gz 549466 SHA256 e34cf60cffc80aa1322d2c3a9b81e662c2576d2b03e53ddf1079615634e6f553 SHA512 67795d9d5b4fc719b3fbbc2683cbe2777412bb7212282a50a378f5bb3793c3c17e278d22816fd9d289b2606ce97624d496ba236e3686ce1a31b9f1d6e6f474e9 WHIRLPOOL 0082f5156df751cbed49e86f794a48ff05857cd7cd4ee3bdb57f4df763a323d84f47d9e0b01e0b5932ae1e065bcf8ac706e6b96b6ac5ecee2daad6615ca4f38d
|
||||
DIST iperf-3.1.7.tar.gz 552793 SHA256 1d99e3b309aa94d8f4fe7b4e953f038396ab46c1fc809ac06fffbe21ffcb64b3 SHA512 9bcc011de99356467341bd9082d2a57d243a3543c65afc18f8027b1bc7e54c1544a750640fa5230b9610ac2241571395a1bd011812edd141607b59dd3cd08ce0 WHIRLPOOL 8b938ae6b38308c15cc22e918469433fa3fbd8bd782071e160195f5f068d4cff3a696120f07f8cb24f1f2bbe0cd111f94ffd764364a74cf678f4b3f70f3bee0d
|
||||
DIST iperf-3.2_rc1.tar.gz 587479 SHA256 1bdce5a78ce15001215e8dc5ca8a362adbbd10758a793298c870e8973af7f9de SHA512 e876e592eeab2c440a4b193a10a17d1079f7887cb94a9ffda09d6c405d026e9dd0cd09729c212f729babee718b55171727ef335ec06a4c7c18131b3f55174665 WHIRLPOOL 2f0d1fbf643eeb6a7d9657976957f5a5e4c1a1aefb8136ad83a552479f6360717e8d72edd461b782cb5b4882b782c0e0197f73935bbb2ce8755e6a7b5286afe0
|
||||
DIST iperf-3.2.tar.gz 588723 SHA256 cb20d3a33e07a3b45a49a358b044f4998f452ef9d1a8a5cbde476b6ab9e9b526 SHA512 5c49bb832dd53956d15b0a9374b052a4e4e03c7c3b6e8c150001a7aba07b6ad5f8cd2b9ac2d9876981be0adf8b0396535ec9e021d58c8fe909a0f92743b4f855 WHIRLPOOL b14b076bc6588407dedc6ee3d8236d11fb756e443ad851002f28d02ef86fa006275ed57ab97a8ab8657f2c8c51ac9170f92a408e7e3ff5a30d51f37408410032
|
||||
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Tool to measure IP bandwidth using UDP or TCP"
|
||||
HOMEPAGE="http://iperf2.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}2/${P}.tar.gz"
|
||||
|
||||
LICENSE="HPND"
|
||||
SLOT="2"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~m68k-mint"
|
||||
IUSE="ipv6 threads debug"
|
||||
|
||||
DOCS="INSTALL README"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable debug debuginfo) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable threads)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dodoc doc/*
|
||||
newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN}
|
||||
newconfd "${FILESDIR}"/${PN}.confd ${PN}
|
||||
}
|
@ -1,155 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit toolchain-glibc
|
||||
|
||||
DESCRIPTION="GNU libc6 (also called glibc2) C library"
|
||||
HOMEPAGE="https://www.gnu.org/software/libc/libc.html"
|
||||
|
||||
LICENSE="LGPL-2.1+ BSD HPND ISC inner-net rc PCRE"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
RESTRICT="strip" # strip ourself #46186
|
||||
EMULTILIB_PKG="true"
|
||||
|
||||
# Configuration variables
|
||||
RELEASE_VER=""
|
||||
case ${PV} in
|
||||
9999*)
|
||||
EGIT_REPO_URIS="git://sourceware.org/git/glibc.git"
|
||||
EGIT_SOURCEDIRS="${S}"
|
||||
inherit git-2
|
||||
;;
|
||||
*)
|
||||
RELEASE_VER=${PV}
|
||||
;;
|
||||
esac
|
||||
GCC_BOOTSTRAP_VER="4.7.3-r1"
|
||||
# patches live at https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo/src/patchsets/glibc/
|
||||
PATCH_VER="10" # Gentoo patchset
|
||||
: ${NPTL_KERN_VER:="2.6.32"} # min kernel version nptl requires
|
||||
|
||||
IUSE="audit caps debug gd hardened multilib nscd +rpc selinux systemtap profile suid vanilla crosscompile_opts_headers-only"
|
||||
|
||||
# Here's how the cross-compile logic breaks down ...
|
||||
# CTARGET - machine that will target the binaries
|
||||
# CHOST - machine that will host the binaries
|
||||
# CBUILD - machine that will build the binaries
|
||||
# If CTARGET != CHOST, it means you want a libc for cross-compiling.
|
||||
# If CHOST != CBUILD, it means you want to cross-compile the libc.
|
||||
# CBUILD = CHOST = CTARGET - native build/install
|
||||
# CBUILD != (CHOST = CTARGET) - cross-compile a native build
|
||||
# (CBUILD = CHOST) != CTARGET - libc for cross-compiler
|
||||
# CBUILD != CHOST != CTARGET - cross-compile a libc for a cross-compiler
|
||||
# For install paths:
|
||||
# CHOST = CTARGET - install into /
|
||||
# CHOST != CTARGET - install into /usr/CTARGET/
|
||||
|
||||
export CBUILD=${CBUILD:-${CHOST}}
|
||||
export CTARGET=${CTARGET:-${CHOST}}
|
||||
if [[ ${CTARGET} == ${CHOST} ]] ; then
|
||||
if [[ ${CATEGORY} == cross-* ]] ; then
|
||||
export CTARGET=${CATEGORY#cross-}
|
||||
fi
|
||||
fi
|
||||
|
||||
is_crosscompile() {
|
||||
[[ ${CHOST} != ${CTARGET} ]]
|
||||
}
|
||||
|
||||
# Why SLOT 2.2 you ask yourself while sippin your tea ?
|
||||
# Everyone knows 2.2 > 0, duh.
|
||||
SLOT="2.2"
|
||||
|
||||
# General: We need a new-enough binutils/gcc to match upstream baseline.
|
||||
# arch: we need to make sure our binutils/gcc supports TLS.
|
||||
COMMON_DEPEND="
|
||||
nscd? ( selinux? (
|
||||
audit? ( sys-process/audit )
|
||||
caps? ( sys-libs/libcap )
|
||||
) )
|
||||
suid? ( caps? ( sys-libs/libcap ) )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=app-misc/pax-utils-0.1.10
|
||||
!<sys-apps/sandbox-1.6
|
||||
!<sys-apps/portage-2.1.2"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
!sys-kernel/ps3-sources
|
||||
sys-apps/gentoo-functions
|
||||
!sys-libs/nss-db"
|
||||
|
||||
if [[ ${CATEGORY} == cross-* ]] ; then
|
||||
DEPEND+=" !crosscompile_opts_headers-only? (
|
||||
>=${CATEGORY}/binutils-2.24
|
||||
>=${CATEGORY}/gcc-4.7
|
||||
)"
|
||||
[[ ${CATEGORY} == *-linux* ]] && DEPEND+=" ${CATEGORY}/linux-headers"
|
||||
else
|
||||
DEPEND+="
|
||||
>=sys-devel/binutils-2.24
|
||||
>=sys-devel/gcc-4.7
|
||||
virtual/os-headers"
|
||||
RDEPEND+=" vanilla? ( !sys-libs/timezone-data )"
|
||||
PDEPEND+=" !vanilla? ( sys-libs/timezone-data )"
|
||||
fi
|
||||
|
||||
upstream_uris() {
|
||||
echo mirror://gnu/glibc/$1 ftp://sourceware.org/pub/glibc/{releases,snapshots}/$1 mirror://gentoo/$1
|
||||
}
|
||||
gentoo_uris() {
|
||||
local devspace="HTTP~vapier/dist/URI HTTP~azarah/glibc/URI HTTP~tamiko/distfiles/URI HTTP~slyfox/distfiles/URI"
|
||||
devspace=${devspace//HTTP/https://dev.gentoo.org/}
|
||||
echo mirror://gentoo/$1 ${devspace//URI/$1}
|
||||
}
|
||||
SRC_URI=$(
|
||||
[[ -z ${EGIT_REPO_URIS} ]] && upstream_uris ${P}.tar.xz
|
||||
[[ -n ${PATCH_VER} ]] && gentoo_uris ${P}-patches-${PATCH_VER}.tar.bz2
|
||||
)
|
||||
SRC_URI+=" ${GCC_BOOTSTRAP_VER:+multilib? ( $(gentoo_uris gcc-${GCC_BOOTSTRAP_VER}-multilib-bootstrap.tar.bz2) )}"
|
||||
|
||||
src_unpack() {
|
||||
[[ -n ${GCC_BOOTSTRAP_VER} ]] && use multilib && unpack gcc-${GCC_BOOTSTRAP_VER}-multilib-bootstrap.tar.bz2
|
||||
|
||||
toolchain-glibc_src_unpack
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
toolchain-glibc_src_prepare
|
||||
|
||||
cd "${S}"
|
||||
|
||||
epatch "${FILESDIR}"/2.19/${PN}-2.19-ia64-gcc-4.8-reloc-hack.patch #503838
|
||||
|
||||
if use hardened ; then
|
||||
# We don't enable these for non-hardened as the output is very terse --
|
||||
# it only states that a crash happened. The default upstream behavior
|
||||
# includes backtraces and symbols.
|
||||
einfo "Installing Hardened Gentoo SSP and FORTIFY_SOURCE handler"
|
||||
cp "${FILESDIR}"/2.20/glibc-2.20-gentoo-stack_chk_fail.c debug/stack_chk_fail.c || die
|
||||
cp "${FILESDIR}"/2.20/glibc-2.20-gentoo-chk_fail.c debug/chk_fail.c || die
|
||||
|
||||
if use debug ; then
|
||||
# Allow SIGABRT to dump core on non-hardened systems, or when debug is requested.
|
||||
sed -i \
|
||||
-e '/^CFLAGS-backtrace.c/ iCPPFLAGS-stack_chk_fail.c = -DSSP_SMASH_DUMPS_CORE' \
|
||||
-e '/^CFLAGS-backtrace.c/ iCPPFLAGS-chk_fail.c = -DSSP_SMASH_DUMPS_CORE' \
|
||||
debug/Makefile || die
|
||||
fi
|
||||
|
||||
# Build various bits with ssp-all
|
||||
sed -i \
|
||||
-e 's:-fstack-protector$:-fstack-protector-all:' \
|
||||
*/Makefile || die
|
||||
fi
|
||||
|
||||
case $(gcc-fullversion) in
|
||||
4.8.[0-3]|4.9.0)
|
||||
eerror "You need to switch to a newer compiler; gcc-4.8.[0-3] and gcc-4.9.0 miscompile"
|
||||
eerror "glibc. See https://bugs.gentoo.org/547420 for details."
|
||||
die "need to switch compilers #547420"
|
||||
;;
|
||||
esac
|
||||
}
|
@ -1,150 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit toolchain-glibc
|
||||
|
||||
DESCRIPTION="GNU libc6 (also called glibc2) C library"
|
||||
HOMEPAGE="https://www.gnu.org/software/libc/libc.html"
|
||||
|
||||
LICENSE="LGPL-2.1+ BSD HPND ISC inner-net rc PCRE"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
RESTRICT="strip" # strip ourself #46186
|
||||
EMULTILIB_PKG="true"
|
||||
|
||||
# Configuration variables
|
||||
RELEASE_VER=""
|
||||
case ${PV} in
|
||||
9999*)
|
||||
EGIT_REPO_URIS="git://sourceware.org/git/glibc.git"
|
||||
EGIT_SOURCEDIRS="${S}"
|
||||
inherit git-2
|
||||
;;
|
||||
*)
|
||||
RELEASE_VER=${PV}
|
||||
;;
|
||||
esac
|
||||
GCC_BOOTSTRAP_VER="4.7.3-r1"
|
||||
# patches live at https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo/src/patchsets/glibc/
|
||||
PATCH_VER="5" # Gentoo patchset
|
||||
: ${NPTL_KERN_VER:="2.6.32"} # min kernel version nptl requires
|
||||
|
||||
IUSE="audit caps debug gd hardened multilib nscd +rpc selinux systemtap profile suid vanilla crosscompile_opts_headers-only"
|
||||
|
||||
# Here's how the cross-compile logic breaks down ...
|
||||
# CTARGET - machine that will target the binaries
|
||||
# CHOST - machine that will host the binaries
|
||||
# CBUILD - machine that will build the binaries
|
||||
# If CTARGET != CHOST, it means you want a libc for cross-compiling.
|
||||
# If CHOST != CBUILD, it means you want to cross-compile the libc.
|
||||
# CBUILD = CHOST = CTARGET - native build/install
|
||||
# CBUILD != (CHOST = CTARGET) - cross-compile a native build
|
||||
# (CBUILD = CHOST) != CTARGET - libc for cross-compiler
|
||||
# CBUILD != CHOST != CTARGET - cross-compile a libc for a cross-compiler
|
||||
# For install paths:
|
||||
# CHOST = CTARGET - install into /
|
||||
# CHOST != CTARGET - install into /usr/CTARGET/
|
||||
|
||||
export CBUILD=${CBUILD:-${CHOST}}
|
||||
export CTARGET=${CTARGET:-${CHOST}}
|
||||
if [[ ${CTARGET} == ${CHOST} ]] ; then
|
||||
if [[ ${CATEGORY} == cross-* ]] ; then
|
||||
export CTARGET=${CATEGORY#cross-}
|
||||
fi
|
||||
fi
|
||||
|
||||
is_crosscompile() {
|
||||
[[ ${CHOST} != ${CTARGET} ]]
|
||||
}
|
||||
|
||||
# Why SLOT 2.2 you ask yourself while sippin your tea ?
|
||||
# Everyone knows 2.2 > 0, duh.
|
||||
SLOT="2.2"
|
||||
|
||||
# General: We need a new-enough binutils/gcc to match upstream baseline.
|
||||
# arch: we need to make sure our binutils/gcc supports TLS.
|
||||
COMMON_DEPEND="
|
||||
nscd? ( selinux? (
|
||||
audit? ( sys-process/audit )
|
||||
caps? ( sys-libs/libcap )
|
||||
) )
|
||||
suid? ( caps? ( sys-libs/libcap ) )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=app-misc/pax-utils-0.1.10
|
||||
!<sys-apps/sandbox-1.6
|
||||
!<sys-apps/portage-2.1.2"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
!sys-kernel/ps3-sources
|
||||
sys-apps/gentoo-functions
|
||||
!sys-libs/nss-db"
|
||||
|
||||
if [[ ${CATEGORY} == cross-* ]] ; then
|
||||
DEPEND+=" !crosscompile_opts_headers-only? (
|
||||
>=${CATEGORY}/binutils-2.24
|
||||
>=${CATEGORY}/gcc-4.7
|
||||
)"
|
||||
[[ ${CATEGORY} == *-linux* ]] && DEPEND+=" ${CATEGORY}/linux-headers"
|
||||
else
|
||||
DEPEND+="
|
||||
>=sys-devel/binutils-2.24
|
||||
>=sys-devel/gcc-4.7
|
||||
virtual/os-headers"
|
||||
RDEPEND+=" vanilla? ( !sys-libs/timezone-data )"
|
||||
PDEPEND+=" !vanilla? ( sys-libs/timezone-data )"
|
||||
fi
|
||||
|
||||
upstream_uris() {
|
||||
echo mirror://gnu/glibc/$1 ftp://sourceware.org/pub/glibc/{releases,snapshots}/$1 mirror://gentoo/$1
|
||||
}
|
||||
gentoo_uris() {
|
||||
local devspace="HTTP~vapier/dist/URI HTTP~azarah/glibc/URI HTTP~tamiko/distfiles/URI"
|
||||
devspace=${devspace//HTTP/https://dev.gentoo.org/}
|
||||
echo mirror://gentoo/$1 ${devspace//URI/$1}
|
||||
}
|
||||
SRC_URI=$(
|
||||
[[ -z ${EGIT_REPO_URIS} ]] && upstream_uris ${P}.tar.xz
|
||||
[[ -n ${PATCH_VER} ]] && gentoo_uris ${P}-patches-${PATCH_VER}.tar.bz2
|
||||
)
|
||||
SRC_URI+=" ${GCC_BOOTSTRAP_VER:+multilib? ( $(gentoo_uris gcc-${GCC_BOOTSTRAP_VER}-multilib-bootstrap.tar.bz2) )}"
|
||||
|
||||
src_unpack() {
|
||||
[[ -n ${GCC_BOOTSTRAP_VER} ]] && use multilib && unpack gcc-${GCC_BOOTSTRAP_VER}-multilib-bootstrap.tar.bz2
|
||||
|
||||
toolchain-glibc_src_unpack
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
toolchain-glibc_src_prepare
|
||||
|
||||
cd "${S}"
|
||||
|
||||
epatch "${FILESDIR}"/2.19/${PN}-2.19-ia64-gcc-4.8-reloc-hack.patch #503838
|
||||
|
||||
if use hardened ; then
|
||||
# We don't enable these for non-hardened as the output is very terse --
|
||||
# it only states that a crash happened. The default upstream behavior
|
||||
# includes backtraces and symbols.
|
||||
einfo "Installing Hardened Gentoo SSP and FORTIFY_SOURCE handler"
|
||||
cp "${FILESDIR}"/2.20/glibc-2.20-gentoo-stack_chk_fail.c debug/stack_chk_fail.c || die
|
||||
cp "${FILESDIR}"/2.25/glibc-2.25-gentoo-chk_fail.c debug/chk_fail.c || die
|
||||
|
||||
if use debug ; then
|
||||
# Allow SIGABRT to dump core on non-hardened systems, or when debug is requested.
|
||||
sed -i \
|
||||
-e '/^CFLAGS-backtrace.c/ iCPPFLAGS-stack_chk_fail.c = -DSSP_SMASH_DUMPS_CORE' \
|
||||
-e '/^CFLAGS-backtrace.c/ iCPPFLAGS-chk_fail.c = -DSSP_SMASH_DUMPS_CORE' \
|
||||
debug/Makefile || die
|
||||
fi
|
||||
fi
|
||||
|
||||
case $(gcc-fullversion) in
|
||||
4.8.[0-3]|4.9.0)
|
||||
eerror "You need to switch to a newer compiler; gcc-4.8.[0-3] and gcc-4.9.0 miscompile"
|
||||
eerror "glibc. See https://bugs.gentoo.org/547420 for details."
|
||||
die "need to switch compilers #547420"
|
||||
;;
|
||||
esac
|
||||
}
|
Loading…
Reference in new issue