commit: 8ff7927a5376a2f44b9daf88e1d5fefb039a0814 Author: Jory A. Pratt <anarchy <AT> gentoo <DOT> org> AuthorDate: Mon Nov 9 22:56:15 2015 +0000 Commit: Jory Pratt <anarchy <AT> gentoo <DOT> org> CommitDate: Mon Nov 9 22:56:15 2015 +0000 URL: https://gitweb.gentoo.org/dev/anarchy.git/commit/?id=8ff7927a
Major cleanup of obsolete packages app-text/openlp/Manifest | 2 - app-text/openlp/openlp-2.0.4.ebuild | 41 --- games-fps/urbanterror/Manifest | 11 - .../files/urbanterror-4.2.021-build.patch | 75 ------ games-fps/urbanterror/urbanterror-4.2.023.ebuild | 158 ------------ media-libs/libpng/Manifest | 5 - .../libpng/files/libpng-1.6.2-flashing-image.patch | 115 --------- .../libpng/files/libpng-1.6.2-noexecstack.patch | 29 --- media-libs/libpng/libpng-1.6.2.ebuild | 56 ---- media-tv/kodi/Manifest | 7 - media-tv/kodi/files/kodi-15.1-gcc-5.patch | 172 ------------- media-tv/kodi/files/kodi-15.1-texturepacker.patch | 25 -- media-tv/kodi/files/kodi-9999-no-arm-flags.patch | 16 -- media-tv/kodi/kodi-15.1.ebuild | 284 --------------------- media-tv/kodi/metadata.xml | 29 --- net-irc/hexchat/Manifest | 2 - net-irc/hexchat/hexchat-2.10.2.ebuild | 171 ------------- net-libs/libiscsi/Manifest | 2 - net-libs/libiscsi/libiscsi-1.14.0.ebuild | 46 ---- sys-apps/coreutils/Manifest | 5 - sys-apps/coreutils/coreutils-8.21.ebuild | 182 ------------- .../files/coreutils-8.21-xattr-support.patch | 70 ----- sys-auth/polkit/Manifest | 4 - sys-auth/polkit/files/polkit-0.110-W_define.patch | 23 -- .../files/polkit-0.110-sm_17.0-updates.patch | 238 ----------------- sys-auth/polkit/polkit-0.110.ebuild | 117 --------- sys-libs/pam/Manifest | 4 - sys-libs/pam/files/pam-1.1.7-typo.patch | 12 - sys-libs/pam/pam-1.1.7.ebuild | 182 ------------- sys-process/audit/Manifest | 9 - sys-process/audit/audit-2.2.2.ebuild | 180 ------------- .../audit/files/audit-2.1.3-ia64-compile-fix.patch | 212 --------------- sys-process/audit/files/audit-2.1.3-python.patch | 24 -- sys-process/audit/files/audit.rules-2.1.3 | 26 -- sys-process/audit/files/audit.rules.stop.post | 13 - sys-process/audit/files/audit.rules.stop.pre | 16 -- sys-process/audit/files/auditd-conf.d-2.1.3 | 23 -- sys-process/audit/files/auditd-init.d-2.2.2 | 100 -------- 38 files changed, 2686 deletions(-) diff --git a/app-text/openlp/Manifest b/app-text/openlp/Manifest deleted file mode 100644 index ddc54be..0000000 --- a/app-text/openlp/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST OpenLP-2.0.4.tar.gz 5805304 SHA256 ffb66cf67b04bf0070444fd4c61fbddb5ba9e411c4fb7b4225b84418e9c25d96 SHA512 314d1ed3ff5c8ff8cf11709941fa95515a899632c210ee67bc9f08c853a8d2bd5f61743a5b2b438fdddebc3cced53fbddd1d1f93e3a4c7b1324a1af3a4e4b2c1 WHIRLPOOL 8125fd331e092daa71093e46bdf99680b5acadfae9b7dde65f0dabe7d25e55c926b98bb69807d419274218c9161b2985c06357129bf928d0fa1ed1058eaf7660 -EBUILD openlp-2.0.4.ebuild 1072 SHA256 1dd67a3655d5e1b08af925f1dad86a76dc5e9cc2ac379566219096a371dd5990 SHA512 034aa96775b4fc22b7c427f7d03906e580cf15056c78ccb1181a5210945d6bdcb5f9733f85285e912107dfd42ec97de0b8b030d7bf87cf5a6785c321c8fc17df WHIRLPOOL c1cc9e7af2fb0f5600c6177f6ced91a5a97c141a44cb9b04de93bd5b7a4fa6ec30d994711b628bb96fe914dba14852a0db82ee9106d518407509d598f4495f89 diff --git a/app-text/openlp/openlp-2.0.4.ebuild b/app-text/openlp/openlp-2.0.4.ebuild deleted file mode 100644 index 281ed17..0000000 --- a/app-text/openlp/openlp-2.0.4.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 ) -PYTHON_REQ_USE='sqlite' - -inherit distutils-r1 - -DESCRIPTION="Free church presentation software" -HOMEPAGE="http://openlp.org/" -SRC_URI="mirror://sourceforge/${PN}/${PV}/OpenLP-${PV}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - dev-python/beautifulsoup:python-2[${PYTHON_USEDEP}] - dev-python/chardet[${PYTHON_USEDEP}] - dev-python/lxml[${PYTHON_USEDEP}] - dev-python/mako[${PYTHON_USEDEP}] - dev-python/pyenchant[${PYTHON_USEDEP}] - dev-python/pyodbc - dev-python/PyQt4[X,multimedia,phonon,webkit,${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - dev-python/sip[${PYTHON_USEDEP}] - dev-python/sqlalchemy[${PYTHON_USEDEP}] - dev-python/sqlalchemy-migrate[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND}" - -S=${WORKDIR}/OpenLP-${PV} - -python_install_all() { - distutils-r1_python_install_all - domenu resources/openlp.desktop - dosym openlp.pyw /usr/bin/openlp - doicon -s scalable resources/images/openlp.svg -} diff --git a/games-fps/urbanterror/Manifest b/games-fps/urbanterror/Manifest deleted file mode 100644 index c7877b3..0000000 --- a/games-fps/urbanterror/Manifest +++ /dev/null @@ -1,11 +0,0 @@ -AUX urbanterror-4.2.021-build.patch 2186 SHA256 2c430b077978c7289c2515dab5cd898b3ab0de32aa99be426047b7461ff196f9 SHA512 1c93d6e7365b77d39014af7a6e15e934cfbaf544ef688e8c84fefaca63ee8e68733ca3115611464fc097b8c9171c00df13976472976c510433dc35ac3855a2b3 WHIRLPOOL a3cefa6451b88d2a1537b711d32dea2fd253ca92a794896ec842b069189eb519fdd59b829573966d024e7a19bc3355d7d7d41028718a2b3c1bf65c8de2b89b8c -DIST UrbanTerror-4.2.017-to-4.2.018.zip 9485349 SHA256 9d8a4cb258a60b2f464daaa998d9d26244f339fac562fb0c3cb4e00683968163 SHA512 a64e996a8538219ecc4300e25a31c14471593588e236ce4585c65d97b7306db7208f31549c08636657f1bd52142d7ba3aa2e72ab60a375d7a46949b6c18dac48 WHIRLPOOL 239595f7f75cc4fb9976c817a08eaa77e9413a913106b581459c84438babfe68c62ebb9775359c3dad460aeea48afaacd136d318ce9d0aa4abc0bd25ab92736c -DIST UrbanTerror-4.2.018-to-4.2.019.zip 220929569 SHA256 79f1bd49cc7c84fc7d24d7219a1057ecca932de2f583b310f40af1052b494ab1 SHA512 1ad7dd8e35daf1688f2c2919108946ae19d59c4d1e267b7186287cd9c01b373db8d4a71fa44d9bede7f964badef904ed3947ff0ab66e858d8b8c1bee6db609e0 WHIRLPOOL 85e005c52821a45f4d89acc5649de2377c6b7979fe2467b77300f6fe8f5ce190132dd723b50c4e7c6ff4a3ab0daee0eba1dbf88c2afd846159a4a6ace778c544 -DIST UrbanTerror-4.2.019-to-4.2.020.zip 11159789 SHA256 fef6c8d096912d79aee4bf8fb5d68db0c7a39c97df112190aa68e8f0ce8c5e27 SHA512 59efb23b92926b5649c324d2b4a203b4caf1b77e4d40816a49abcbc9ae92d0206123034676470bc0eab1bea62e7d384dfa566b699e9e9ffacedad0fd3900e4e8 WHIRLPOOL f7b679fca1ed15628f1cdf9d3632ffb8f37b09f1b3e095598ee3d49e119964157836650c9eaacbae7b9bc95e570556a983efee180172a1e714c9121579ccbc11 -DIST UrbanTerror-4.2.020-to-4.2.021.zip 11984899 SHA256 054437b0da8e71bbaa2d964627dd41837add365116708a29a1ae481284df17f7 SHA512 9c8774d7e6e0317f8381130870a69aecefcd9d929525d0029ed9c5dc93d19fe3f85857d0c7bc9be64e936a061b2f30a242b685df27961175670eb29a0b3b6370 WHIRLPOOL a9fee3c0fda7f688c8c5664c82e6e2a4542d1496c72ff8cd572d238fa0af63fc398b9005de54093e07781abacc678c3df4cf725b348d01d1fca59fdb4f0fcb58 -DIST UrbanTerror-4.2.021-to-4.2.022.zip 15258009 SHA256 65898bc3a9c9678f9223aa9031aef9e276fb62b40aaa6deab2df5f5ddf04fb38 SHA512 a792970f6ea193ce41cdb38632d54904c4a61a8156f0647a5cb35082c4a6602057060ad131833545a44679010edf67fb263be3f701a415c8e81e7ccb628a6505 WHIRLPOOL 30b14d895f4a5c41a044da2e8718f4f89709daee931d874214c9f2037447a171d29ab10cb259e48d74208abe5248ee3cccf07cd2edf2f6b7b3f551f177689e40 -DIST UrbanTerror-4.2.022-to-4.2.023.zip 15296685 SHA256 71d34f4245c264dd729d40cf76c1471c89606891f88fda28e007ebe6a052dde9 SHA512 2b35a34cf478939b850fd6f9b2f4a46f55259f32574799968ec4595c8e7c8930910ac6958bf03c99d63516cc4a41dbd6faaad4207326e42a19981561d25aff0e WHIRLPOOL bc13ec862ad829a5b417b114d50cc3f3dc1701b3c6fd136bafa0e2a68f0bbe44d03ea33a832e4882ab7cf63f3202b1ff6f62660bc69273542165d8e7f1e36d2f -DIST UrbanTerror42_full017.zip 1701599483 SHA256 d7849509c91c11e986ef6d47f51e7711ec53100ff42bef44095c32d91c65d7c2 SHA512 5363a21d6e21090a823eb21b82ac089640602151292f2985b6d26fc061e891e3bcadc5b0d4751f829cf6b9fe664bc619706e0e008210734bc1ef6afea3d46f96 WHIRLPOOL ee7553949f882c795eadc36dba57c923d3c49bc768aac128bfaae999bf9466c551df71946a9e8856210e5dea42c32887cb96d30f1339bba117bf9ee0c35c7edd -DIST urbanterror-4.2.023.tar.gz 12637911 SHA256 17c79f4ed1adc0859a20f0b19ab75f04e1e7ff518c882b5cd68199b44acff90f SHA512 c0b3fb0d53889561124ea034bd2b579c3b56489e751adf9479b86c54855b4f0917589a41caa7c1a534afee59983f77394a1c76dc92534dc84116a5566c19e8e5 WHIRLPOOL 68fa26a7a0ea19a1b7b3ced968515e1b326a9f7acabc30096b15880a772c4ca4faa764fb1fd4ab07d616718c550284af88cd03deeb8b11b7003b96336413d3ee -DIST urbanterror.svg 1592 SHA256 0d7eb12a8fe8380e0d89199621414dd56ecdfe8a8b99eec5b95d925294521de9 SHA512 ff789b35d9b1a2282485495b0d1918c7169906aeac094e7a33c7d77cd51d4787733400e1b9851ce19b38e886508d5fdd09f6cfc96b37a5b41bd0cf403e456b98 WHIRLPOOL 281413cfeb881466c2d8b882d0aa4dcf19013630a462775345c69e78a0cb86c7efed14f5d22b453c89648da682ab5e98e3579a1c975994a8e90b9fb22c37892c -EBUILD urbanterror-4.2.023.ebuild 4230 SHA256 bd441e7e0f2398f0db9d5fbd1149e1f3255bb760851aa4254a12ed4e44bbe483 SHA512 25779cc2bad6d071f2c7131c2c2074f40a0f11363e92bf540b8bf757627e9f880023c470e6cf83df54e43c82ef344b48eb2a6bf3cd156b0290fc14af7e1c7b45 WHIRLPOOL 5638534904faa0db5d0e6c22efaeaf6bb7df73063b5715b09816ce442b561c6fb8942b289c182f6e99da97c5892a683f354318d0a379945261439cdd602cc966 diff --git a/games-fps/urbanterror/files/urbanterror-4.2.021-build.patch b/games-fps/urbanterror/files/urbanterror-4.2.021-build.patch deleted file mode 100644 index daa7e32..0000000 --- a/games-fps/urbanterror/files/urbanterror-4.2.021-build.patch +++ /dev/null @@ -1,75 +0,0 @@ -Author: hasufell <[email protected]> -Date: Wed Jul 10 01:25:27 2013 +0200 - - respect CFLAGS/LDFLAGS - ---- a/Makefile -+++ b/Makefile -@@ -213,7 +213,7 @@ - endif - endif - -- BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes -pipe -+ BASE_CFLAGS = -Wall -Wimplicit -Wstrict-prototypes - - ifeq ($(USE_OPENAL),1) - BASE_CFLAGS += -DUSE_OPENAL=1 -@@ -239,19 +239,15 @@ - BASE_CFLAGS += -I/usr/X11R6/include - endif - -- OPTIMIZE = -O3 -ffast-math -funroll-loops -fomit-frame-pointer -+ OPTIMIZE = - - ifeq ($(ARCH),x86_64) -- OPTIMIZE = -O3 -fomit-frame-pointer -ffast-math -funroll-loops \ -- -falign-loops=2 -falign-jumps=2 -falign-functions=2 \ -- -fstrength-reduce -+ OPTIMIZE = - # experimental x86_64 jit compiler! you need GNU as - HAVE_VM_COMPILED = true - else - ifeq ($(ARCH),i386) -- OPTIMIZE = -O3 -march=i586 -fomit-frame-pointer -ffast-math \ -- -funroll-loops -falign-loops=2 -falign-jumps=2 \ -- -falign-functions=2 -fstrength-reduce -+ OPTIMIZE = - HAVE_VM_COMPILED=true - else - ifeq ($(ARCH),ppc) -@@ -265,7 +261,7 @@ - BASE_CFLAGS += -DNO_VM_COMPILED - endif - -- DEBUG_CFLAGS = $(BASE_CFLAGS) -g -O0 -+ DEBUG_CFLAGS = $(BASE_CFLAGS) $(OPTIMIZE) - - RELEASE_CFLAGS=$(BASE_CFLAGS) -DNDEBUG $(OPTIMIZE) - -@@ -274,7 +270,7 @@ - SHLIBLDFLAGS=-shared $(LDFLAGS) - - THREAD_LDFLAGS=-lpthread -- LDFLAGS=-ldl -lm -+ LDFLAGS+=-ldl -lm - - ifeq ($(USE_SDL),1) - CLIENT_LDFLAGS=$(shell sdl-config --libs) -@@ -1158,13 +1154,13 @@ - - $(B)/Quake3-UrT.$(ARCH)$(BINEXT): $(Q3OBJ) $(Q3POBJ) $(LIBSDLMAIN) - $(echo_cmd) "LD $@" -- $(Q)$(CC) -o $@ $(Q3OBJ) $(Q3POBJ) $(CLIENT_LDFLAGS) \ -- $(LDFLAGS) $(LIBSDLMAIN) -+ $(Q)$(CC) $(CFLAGS) -o $@ $(Q3OBJ) $(Q3POBJ) \ -+ $(LDFLAGS) $(CLIENT_LDFLAGS) $(LIBSDLMAIN) - - $(B)/Quake3-UrT-smp.$(ARCH)$(BINEXT): $(Q3OBJ) $(Q3POBJ_SMP) $(LIBSDLMAIN) - $(echo_cmd) "LD $@" -- $(Q)$(CC) -o $@ $(Q3OBJ) $(Q3POBJ_SMP) $(CLIENT_LDFLAGS) \ -- $(THREAD_LDFLAGS) $(LDFLAGS) $(LIBSDLMAIN) -+ $(Q)$(CC) $(CFLAGS) -o $@ $(Q3OBJ) $(Q3POBJ_SMP) \ -+ $(LDFLAGS) $(THREAD_LDFLAGS) $(CLIENT_LDFLAGS) $(LIBSDLMAIN) - - ifneq ($(strip $(LIBSDLMAIN)),) - ifneq ($(strip $(LIBSDLMAINSRC)),) diff --git a/games-fps/urbanterror/urbanterror-4.2.023.ebuild b/games-fps/urbanterror/urbanterror-4.2.023.ebuild deleted file mode 100644 index 4f6c2f8..0000000 --- a/games-fps/urbanterror/urbanterror-4.2.023.ebuild +++ /dev/null @@ -1,158 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/urbanterror/urbanterror-4.2.021.ebuild,v 1.1 2014/11/20 20:13:51 hasufell Exp $ - -EAPI=5 - -inherit check-reqs eutils gnome2-utils games pax-utils - -ENGINE_PV=${PV} -FULL_P=UrbanTerror42_full017 -UPDATE_PV=${PV:0:3}.${FULL_P#*full} -DESCRIPTION="Hollywood tactical shooter based on the ioquake3 engine" -HOMEPAGE="http://www.urbanterror.info/home/" -SRC_URI="http://up.barbatos.fr/urt/${FULL_P}.zip - https://github.com/Barbatos/ioq3-for-UrbanTerror-4/archive/release-${ENGINE_PV}.tar.gz -> ${PN}-${ENGINE_PV}.tar.gz - http://upload.wikimedia.org/wikipedia/en/5/56/Urbanterror.svg -> ${PN}.svg" - -# fetch updates -if [[ ${FULL_P#*full} != ${PV#*.} ]] ; then - UPDATE_I=${UPDATE_PV:5:2} - while [[ ${UPDATE_I} -lt ${PV:5:2} ]] ; do - SRC_URI="${SRC_URI} http://up.barbatos.fr/urt/UrbanTerror-${PV:0:5}${UPDATE_I}-to-${PV:0:5}$(( ${UPDATE_I} + 1)).zip" - UPDATE_I=$(( ${UPDATE_I} + 1)) - done -fi -unset UPDATE_I - -LICENSE="GPL-2 Q3AEULA-20000111 urbanterror-4.2-maps" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+altgamma +curl debug dedicated openal pax_kernel +sdl server smp vorbis" -RESTRICT="mirror" - -RDEPEND=" - !dedicated? ( - virtual/opengl - curl? ( net-misc/curl ) - openal? ( media-libs/openal ) - sdl? ( media-libs/libsdl[X,sound,joystick,opengl,video] ) - !sdl? ( x11-libs/libX11 - x11-libs/libXext - x11-libs/libXxf86dga - x11-libs/libXxf86vm ) - vorbis? ( media-libs/libogg - media-libs/libvorbis ) - )" -DEPEND="${RDEPEND} - app-arch/unzip - dedicated? ( curl? ( net-misc/curl ) )" - -S=${WORKDIR}/ioq3-for-UrbanTerror-4-release-${ENGINE_PV} -S_DATA=${WORKDIR}/UrbanTerror42 - -CHECKREQS_DISK_BUILD="3300M" -CHECKREQS_DISK_USR="1550M" - -pkg_pretend() { - check-reqs_pkg_pretend - - if ! use dedicated ; then - if ! use sdl && ! use openal ; then - ewarn - ewarn "Sound support disabled. Enable 'sdl' or 'openal' useflag." - ewarn - fi - fi -} - -src_unpack() { - local UPDATE_I - default - # apply updates - if [[ ${FULL_P#*full} != ${PV##*.} ]] ; then - UPDATE_I=${UPDATE_PV:5:2} - while [[ ${UPDATE_I} -lt ${PV:5:2} ]] ; do - cp -dRpf \ - "${WORKDIR}"/UrbanTerror-${PV:0:5}${UPDATE_I}-to-${PV:0:5}$((${UPDATE_I} + 1))/* \ - "${S_DATA}"/ || die - UPDATE_I=$(( ${UPDATE_I} + 1)) - done - fi -} - -src_prepare() { - epatch "${FILESDIR}"/${PN}-4.2.021-build.patch -} - -src_compile() { - buildit() { use $1 && echo 1 || echo 0 ; } - nobuildit() { use $1 && echo 0 || echo 1 ; } - - emake \ - ARCH=$(usex amd64 "x86_64" "i386") \ - DEFAULT_BASEDIR="${GAMES_DATADIR}/${PN}" \ - BUILD_CLIENT=$(nobuildit dedicated) \ - BUILD_CLIENT_SMP=$(usex smp "$(nobuildit dedicated)" "0") \ - BUILD_SERVER=$(usex dedicated "1" "$(buildit server)") \ - USE_SDL=$(buildit sdl) \ - USE_OPENAL=$(buildit openal) \ - USE_OPENAL_DLOPEN=0 \ - USE_CURL=$(buildit curl) \ - USE_CURL_DLOPEN=0 \ - USE_CODEC_VORBIS=$(buildit vorbis) \ - USE_ALTGAMMA=$(buildit altgamma) \ - USE_LOCAL_HEADERS=0 \ - Q="" \ - $(usex debug "debug" "release") -} - -src_install() { - local my_arch=$(usex amd64 "x86_64" "i386") - - dodoc ChangeLog README md4-readme.txt - dodoc "${S_DATA}"/q3ut4/readme42.txt - insinto "${GAMES_DATADIR}"/${PN}/q3ut4 - doins "${S_DATA}"/q3ut4/*.pk3 - - if use !dedicated ; then - newgamesbin build/$(usex debug "debug" "release")-linux-${my_arch}/Quake3-UrT$(usex smp "-smp" "").${my_arch} ${PN} - doicon -s scalable "${DISTDIR}"/${PN}.svg - make_desktop_entry ${PN} "UrbanTerror" - fi - - if use dedicated || use server ; then - newgamesbin build/$(usex debug "debug" "release")-linux-${my_arch}/Quake3-UrT-Ded.${my_arch} ${PN}-dedicated - docinto examples - dodoc "${S_DATA}"/q3ut4/{server_example.cfg,mapcycle_example.txt} - fi - - prepgamesdirs - - if use pax_kernel; then - pax-mark m "${D}""${GAMES_BINDIR}"/${PN} || die - fi - -} - -pkg_preinst() { - games_pkg_preinst - use dedicated || gnome2_icon_savelist -} - -pkg_postinst() { - games_pkg_postinst - use dedicated || gnome2_icon_cache_update - - if use openal && ! use dedicated ; then - einfo - elog "You might need to set:" - elog " seta s_useopenal \"1\"" - elog "in your ~/.q3a/q3ut4/q3config.cfg for openal to work." - einfo - fi -} - -pkg_postrm() { - use dedicated || gnome2_icon_cache_update -} diff --git a/media-libs/libpng/Manifest b/media-libs/libpng/Manifest deleted file mode 100644 index b6d6068..0000000 --- a/media-libs/libpng/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -AUX libpng-1.6.2-flashing-image.patch 3630 SHA256 46d4367b05993e142c7affcbf7bc15846920a6431adc432c00436e3910d677dc SHA512 ffb7244e3e0aa2a35a0ed7602b3452dea5a894a2bf587b302d06bda0e025aae091f318eccb21dd2df8ce3b7e6cf3d811b41d705c3712d34d5cb1229a53d27760 WHIRLPOOL ddde5cebf77194c8ae0347ef32b2dd4cf4ebe213230a5be39775f9e7a6ffd948c38a054c180d59eefa9e188813d7e28eec8b4abe4dabf29b6646470086e4cb05 -AUX libpng-1.6.2-noexecstack.patch 880 SHA256 3c2ad9b7cd4300f0c8f7dbee45fa249775d5dc7b3ca13bd32562594246a94055 SHA512 c9f540c5b61b677e819f927303677bffecf294fb714d3951cac5b4f89060e9518e5ff45f7ae403021883a136934b13e8ef994216a42762e279f934172210bfa8 WHIRLPOOL af318b17812a03fe9f2ab0986c6f5d981f11a5b7e1e97d3224b2c5db43e3c9a8ac6427f921f331b15b2014c9b3e20bc6942c9fa7b636fac63573305caf219b6b -DIST libpng-1.6.2-apng.patch.gz 9571 SHA256 10dd088c443f8d233884bd73b8258d005c92fb0cf35d350ce5dc9ebac7b4eed8 SHA512 f2d1078b40494ecdfff125c0855049bd4a8db667fd4f2dd727a5768363a1a755f43d66147228dd8d5cbbd7148ee51adc74afe6175f8e4075ef3536141a95b898 WHIRLPOOL 9f12de4a838661633205a082c72128b54e14a9454bd705e8b8df951e8eaaa42dbe75c1ff91e4b73037649d319c67577c25f3dab50bcef5fb8c8dcdb2062870cc -DIST libpng-1.6.2.tar.xz 836536 SHA256 1c97a90bc22107e50f04f77a0115f4ec890d5c6a373ac4c560e8fb87259e92de SHA512 01b1699a2ac1e687631f413458e7534b71f63b673c95b0d6e3501904a1b6e8aa82d8b4495033f4a90278963c1d4c40d81a7a17e976caf87690a23fb191ef75b3 WHIRLPOOL fb04df108af35bd789ef224addfedd0cb04959ae31899e4f3dbd1e9376e4242a93f34ad4c8fd8507bf13872b49f8a01b23bb7bc2129041a09be17434ceee993e -EBUILD libpng-1.6.2.ebuild 1697 SHA256 0f4b660336482a1f616475844dc2ae749c61c84c80a1abd233e37975fa0928e3 SHA512 93841af51edebc1ac26ce5a2f79eccc52180c6697669752195fc805b593a08cbb485319619fc93d460c17922446319045102e4cf959e124a3028450aec326d1d WHIRLPOOL 1483d921764e3c1f6dee38c511b17073314743d74132866842a8ae5198a66a37464cb70a30106de3f6b3bba35fa6de01e04eb6500589592686b1d4cd5e865f5b diff --git a/media-libs/libpng/files/libpng-1.6.2-flashing-image.patch b/media-libs/libpng/files/libpng-1.6.2-flashing-image.patch deleted file mode 100644 index fe27f32..0000000 --- a/media-libs/libpng/files/libpng-1.6.2-flashing-image.patch +++ /dev/null @@ -1,115 +0,0 @@ -diff --git a/pngrutil.c b/pngrutil.c -index 01c3679..9c10e26 100644 ---- a/pngrutil.c -+++ b/pngrutil.c -@@ -18,8 +18,6 @@ - - #ifdef PNG_READ_SUPPORTED - --#define png_strtod(p,a,b) strtod(a,b) -- - png_uint_32 PNGAPI - png_get_uint_31(png_const_structrp png_ptr, png_const_bytep buf) - { -@@ -4165,6 +4163,75 @@ png_read_finish_row(png_structrp png_ptr) - } - #endif /* PNG_SEQUENTIAL_READ_SUPPORTED */ - -+#ifdef PNG_READ_OPTIMIZE_WINDOWBITS_SUPPORTED -+/* This is the code to to select a windowBits value to match the smallest -+ * possible sliding window needed to contain the entire uncompressed image. -+ */ -+static unsigned int -+required_window_bits(png_alloc_size_t data_size) -+{ -+ unsigned int windowBits = 15; -+ if (data_size <= 16384) /* else windowBits must be 15 */ -+ { -+ unsigned int half_z_window_size = 1U << (windowBits-1); /* 16384 */ -+ -+ do -+ { -+ half_z_window_size >>= 1; -+ --windowBits; -+ } -+ while (windowBits > 8 && data_size <= half_z_window_size); -+ } -+ return windowBits; -+} -+/* This is used below to find the size of an image to pass to png_deflate_claim, -+ * so it only needs to be accurate if the size is less than 16384 bytes (the -+ * point at which a lower LZ window size can be used.) -+ * -+ * To do: merge this with png_image_size() in pngwutil.c and put the result -+ * in png.c as a PNG_INTERNAL_FUNCTION. -+ */ -+static png_alloc_size_t -+png_read_image_size(png_structrp png_ptr) -+{ -+ /* Only return sizes up to the maximum of a png_uint_32, do this by limiting -+ * the width and height used to 15 bits. -+ */ -+ png_uint_32 h = png_ptr->height; -+ -+ if (png_ptr->rowbytes < 32768 && h < 32768) -+ { -+ if (png_ptr->interlaced) -+ { -+ /* Interlacing makes the image larger because of the replication of -+ * both the filter byte and the padding to a byte boundary. -+ */ -+ png_uint_32 w = png_ptr->width; -+ unsigned int pd = png_ptr->pixel_depth; -+ png_alloc_size_t cb_base; -+ int pass; -+ -+ for (cb_base=0, pass=0; pass<=6; ++pass) -+ { -+ png_uint_32 pw = PNG_PASS_COLS(w, pass); -+ -+ if (pw > 0) -+ cb_base += (PNG_ROWBYTES(pd, pw)+1) * PNG_PASS_ROWS(h, pass); -+ } -+ -+ return cb_base; -+ } -+ -+ else -+ return (png_ptr->rowbytes+1) * h; -+ } -+ -+ else -+ return 0xffffffffU; -+} -+ -+#endif /* PNG_READ_OPTIMIZE_WINDOWBITS_SUPPORTED */ -+ - void /* PRIVATE */ - png_read_start_row(png_structrp png_ptr) - { -@@ -4449,14 +4515,19 @@ defined(PNG_USER_TRANSFORM_PTR_SUPPORTED) - png_free(png_ptr, buffer); - } - -- /* Finally claim the zstream for the inflate of the IDAT data, use the bits -- * value from the stream (note that this will result in a fatal error if the -- * IDAT stream has a bogus deflate header window_bits value, but this should -- * not be happening any longer!) -+ /* Finally claim the zstream for the inflate of the IDAT data, using the -+ * windowBts predicted from the uncompressed data size, not the value from -+ * the stream. If READ_OPTIMIZE_WINDOWBITS_SUPPORTED is not defined, then -+ * simply use a 32kbyte window (windowBits=15). - */ -- if (png_inflate_claim(png_ptr, png_IDAT, 0) != Z_OK) -+#ifdef PNG_READ_OPTIMIZE_WINDOWBITS_SUPPORTED -+ if (png_inflate_claim(png_ptr, png_IDAT, -+ required_window_bits(png_read_image_size(png_ptr))) != Z_OK) -+#else -+ if (png_inflate_claim(png_ptr, png_IDAT, 15) != Z_OK) -+#endif - png_error(png_ptr, png_ptr->zstream.msg); - - png_ptr->flags |= PNG_FLAG_ROW_INIT; - } - #endif /* PNG_READ_SUPPORTED */ - diff --git a/media-libs/libpng/files/libpng-1.6.2-noexecstack.patch b/media-libs/libpng/files/libpng-1.6.2-noexecstack.patch deleted file mode 100644 index e7fca51..0000000 --- a/media-libs/libpng/files/libpng-1.6.2-noexecstack.patch +++ /dev/null @@ -1,29 +0,0 @@ -This patch is only for the 1.6.2 release, see bug #465010#c39 - ---- a/arm/filter_neon.S -+++ b/arm/filter_neon.S -@@ -16,11 +16,11 @@ - #define PNG_VERSION_INFO_ONLY - #include "../pngpriv.h" - --#if defined(PNG_FILTER_OPTIMIZATIONS) && defined(__arm__) && \ -- defined(__ARM_NEON__) - #if defined(__linux__) && defined(__ELF__) - .section .note.GNU-stack,"",%progbits /* mark stack as non-executable */ - #endif -+#if defined(PNG_FILTER_OPTIMIZATIONS) && defined(__arm__) && \ -+ defined(__ARM_NEON__) - - #ifdef __ELF__ - # define ELF ---- a/configure -+++ b/configure -@@ -12812,7 +12812,7 @@ fi - # Because GCC by default assembles code with an executable stack, even though it - # compiles C code with a non-executable stack, it is necessary to do a fixup - # here (this may by GCC specific) --AM_CCASFLAGS=-Wa,--noexecstack -+AM_CCASFLAGS= - - - # Check whether --enable-arm-neon was given. diff --git a/media-libs/libpng/libpng-1.6.2.ebuild b/media-libs/libpng/libpng-1.6.2.ebuild deleted file mode 100644 index 90beb1d..0000000 --- a/media-libs/libpng/libpng-1.6.2.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/libpng-1.6.2.ebuild,v 1.2 2013/05/03 14:51:11 ssuominen Exp $ - -EAPI=5 - -inherit eutils libtool multilib - -DESCRIPTION="Portable Network Graphics library" -HOMEPAGE="http://www.libpng.org/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz - apng? ( mirror://sourceforge/apng/${P}-apng.patch.gz )" - -LICENSE="libpng" -SLOT="0/16" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" -IUSE="apng neon static-libs" - -RDEPEND="sys-libs/zlib:=" -DEPEND="${RDEPEND} - app-arch/xz-utils" - -DOCS=( ANNOUNCE CHANGES libpng-manual.txt README TODO ) - -src_prepare() { - epatch "${FILESDIR}"/${P}-noexecstack.patch #465010#c39 - epatch "${FILESDIR}"/${P}-flashing-image.patch - - if use apng; then - epatch "${WORKDIR}"/${PN}-*-apng.patch - # Don't execute symbols check with apng patch wrt #378111 - sed -i -e '/^check/s:scripts/symbols.chk::' Makefile.in || die - fi - elibtoolize -} - -src_configure() { - econf \ - $(use_enable static-libs static) \ - --enable-arm-neon=$(usex neon on off) -} - -src_install() { - default - prune_libtool_files --all -} - -pkg_preinst() { - has_version ${CATEGORY}/${PN}:1.5 && return 0 - preserve_old_lib /usr/$(get_libdir)/libpng15$(get_libname 15) -} - -pkg_postinst() { - has_version ${CATEGORY}/${PN}:1.5 && return 0 - preserve_old_lib_notify /usr/$(get_libdir)/libpng15$(get_libname 15) -} diff --git a/media-tv/kodi/Manifest b/media-tv/kodi/Manifest deleted file mode 100644 index 7197787..0000000 --- a/media-tv/kodi/Manifest +++ /dev/null @@ -1,7 +0,0 @@ -AUX kodi-15.1-gcc-5.patch 6890 SHA256 503e296e1911c28fd99579c02f56c2a3965aeb18378f552dbcef5e63382a0b8d SHA512 8c0f8925b2d70f2c0e186be43b80749a1998e0fd6b6131ceb8189e3efffff1de2662078666a5cc76b4a1790d99cfa7b7ab839d907febac37d4c30999124334e1 WHIRLPOOL 4f4f070f798c8e26908cdb0b63ada53459133308d67979b903a29c905799f49ff5dd5b46c8338f32f2a42e0812cbaf55cb217374542a4abb6596251ebc786582 -AUX kodi-15.1-texturepacker.patch 723 SHA256 4e0843a63d9d2386029b4cb34734491efbf4999b9b121bfb774e8c203be8bdcb SHA512 357d293cbc5d03b8f93f1822c68bdc5a74a28ca37e2191f42be70973b85a29fef14b29473d537a2ca0fd069018a6bd196db27509768feb71e7b58462ea241f0a WHIRLPOOL d22fa29b83d81e66200834697f0541f58e156c7e26963a165ec9a13348aefd574d1963cce8e80207e0dfbeb8ea937f82e473b0114040ca1f0ea6ee6e51ce067e -AUX kodi-9999-no-arm-flags.patch 478 SHA256 5eb086595c1d645f1f10e6cb53179d7f9732b67d3cd58f2fc5558de50eee4d68 SHA512 672ad8512939d7362bbb0933998dfc0f316bce8407c305e36aad3509336bce3b28388799e83a9de9db446a1345000343e3d051099a60240e2f8c701c118f7eee WHIRLPOOL 8868b9e74175f539fe12260c987d2531c27c5d33d0532eab526ea7f9ebd797d953c1f75686a92f43ccf582323dab3c374cbe0aaee1fdb818251a116ee774af8b -DIST kodi-15.1-generated-addons.tar.xz 73988 SHA256 97f0236542044a909d982cbf9a031f76395a59a1d4a79187c1102845579ed8f2 SHA512 559c188471c84503840b8b2010b73f15cf083367a1e1d0d5cfe7c144e36821a07c6fff1ff379ad8e8b254bc0cc2555c0a17ae998003adf86b051febde97bf2f1 WHIRLPOOL 01b76391d6aa7c624ad23329c962416cdf4662b96e99724bb566d7ed20b08b1525acd4f12671eef04ac10e5255d097f7c2452d2bfd87f7dfd3f4c1cd621fe2a6 -DIST kodi-15.1.tar.gz 61477835 SHA256 72b2610d8fbff807128d74429f25bf6716ba880c27c2c5d9fad012ec7fc70705 SHA512 b597253aa51d3d446ecb85ffe163362b5e55717d6fee16eab81725b9cdf0a5a9e4a2291aa526b9e63fbb34ef206100df30c9368684e2ddedc49e35f140d604f0 WHIRLPOOL 3596c00f9d25193e1e84cdfbf7fe5a6e6bdcce37caa710b8dd2b0b7aaa043164410459009dc793991373886abed8755298ee8803edf7b90227509d0c3578b8b9 -EBUILD kodi-15.1.ebuild 7895 SHA256 bd6e987d49721e397c14cba3e6b75a26ee42c019169fde86ea90364a4604079c SHA512 8de96ecd16e6237ed78ed54cf7eedeec01a037bb7fe448b69b87f9d9c0d5a9e565867e67b43d42dd82f3efcb87964e5848d4785e51080a602ac0a906d399f26e WHIRLPOOL 74290574bad8851dd9c2cf179cc6d6746c4720e521064e646d77e78ca23b3f78062067122f3eba238adf7d986f126f2d3d21bbd12966aca7694539c897925d63 -MISC metadata.xml 1363 SHA256 7a84053a0098a072ad36501caa9510eb4ae1ccd452044fe12a35f25308db7975 SHA512 f15de59f24fc15b6f4449f868f62151ebef3a90c4640072c3e19ce527825006f105a1eda2fb16f4341f228505adc2e3a3d2b582ad43784355e565f4435f61309 WHIRLPOOL c1f9d69ff1a2a2ae4155b725bdc1706a46abedf78c973859ef85aa84fc0afc5b0e0a6bc70799c1224b7cd70c1a95028701aa44aa77178ae39b586ad8dc2049a8 diff --git a/media-tv/kodi/files/kodi-15.1-gcc-5.patch b/media-tv/kodi/files/kodi-15.1-gcc-5.patch deleted file mode 100644 index b96cc82..0000000 --- a/media-tv/kodi/files/kodi-15.1-gcc-5.patch +++ /dev/null @@ -1,172 +0,0 @@ -fix from upstream - -From 38693b251f5d80a7414b077e02c1636af65afb3d Mon Sep 17 00:00:00 2001 -From: Craig Andrews <[email protected]> -Date: Thu, 30 Jul 2015 23:06:41 -0400 -Subject: [PATCH] [rsxs] Use stdbool.h from GCC 5.2.0 - ---- - xbmc/screensavers/rsxs-0.9/lib/stdbool_.h | 137 +++++++++--------------------- - 1 file changed, 38 insertions(+), 99 deletions(-) - -diff --git a/xbmc/screensavers/rsxs-0.9/lib/stdbool_.h b/xbmc/screensavers/rsxs-0.9/lib/stdbool_.h -index efa80ba..a951510 100644 ---- a/xbmc/screensavers/rsxs-0.9/lib/stdbool_.h -+++ b/xbmc/screensavers/rsxs-0.9/lib/stdbool_.h -@@ -1,115 +1,54 @@ --/* Copyright (C) 2001, 2002, 2003, 2006 Free Software Foundation, Inc. -- Written by Bruno Haible <[email protected]>, 2001. -+/* Copyright (C) 1998-2015 Free Software Foundation, Inc. - -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 2, or (at your option) -- any later version. -+This file is part of GCC. - -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -+GCC is free software; you can redistribute it and/or modify -+it under the terms of the GNU General Public License as published by -+the Free Software Foundation; either version 3, or (at your option) -+any later version. - -- You should have received a copy of the GNU General Public License -- along with this program; if not, write to the Free Software Foundation, -- Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -+GCC is distributed in the hope that it will be useful, -+but WITHOUT ANY WARRANTY; without even the implied warranty of -+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+GNU General Public License for more details. - --#ifndef _STDBOOL_H --#define _STDBOOL_H -- --/* ISO C 99 <stdbool.h> for platforms that lack it. */ -- --/* Usage suggestions: -- -- Programs that use <stdbool.h> should be aware of some limitations -- and standards compliance issues. -- -- Standards compliance: -+Under Section 7 of GPL version 3, you are granted additional -+permissions described in the GCC Runtime Library Exception, version -+3.1, as published by the Free Software Foundation. - -- - <stdbool.h> must be #included before 'bool', 'false', 'true' -- can be used. -+You should have received a copy of the GNU General Public License and -+a copy of the GCC Runtime Library Exception along with this program; -+see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -+<http://www.gnu.org/licenses/>. */ - -- - You cannot assume that sizeof (bool) == 1. -+/* -+ * ISO C Standard: 7.16 Boolean type and values <stdbool.h> -+ */ - -- - Programs should not undefine the macros bool, true, and false, -- as C99 lists that as an "obsolescent feature". -- -- Limitations of this substitute, when used in a C89 environment: -- -- - <stdbool.h> must be #included before the '_Bool' type can be used. -- -- - You cannot assume that _Bool is a typedef; it might be a macro. -+#ifndef _STDBOOL_H -+#define _STDBOOL_H - -- - In C99, casts and automatic conversions to '_Bool' or 'bool' are -- performed in such a way that every nonzero value gets converted -- to 'true', and zero gets converted to 'false'. This doesn't work -- with this substitute. With this substitute, only the values 0 and 1 -- give the expected result when converted to _Bool' or 'bool'. -+#ifndef __cplusplus - -- Also, it is suggested that programs use 'bool' rather than '_Bool'; -- this isn't required, but 'bool' is more common. */ -+#define bool _Bool -+#define true 1 -+#define false 0 - -+#else /* __cplusplus */ - --/* 7.16. Boolean type and values */ -+/* Supporting _Bool in C++ is a GCC extension. */ -+#define _Bool bool - --/* BeOS <sys/socket.h> already #defines false 0, true 1. We use the same -- definitions below, but temporarily we have to #undef them. */ --#ifdef __BEOS__ --# include <OS.h> /* defines bool but not _Bool */ --# undef false --# undef true -+#if __cplusplus < 201103L -+/* Defining these macros in C++98 is a GCC extension. */ -+#define bool bool -+#define false false -+#define true true - #endif - --/* For the sake of symbolic names in gdb, we define true and false as -- enum constants, not only as macros. -- It is tempting to write -- typedef enum { false = 0, true = 1 } _Bool; -- so that gdb prints values of type 'bool' symbolically. But if we do -- this, values of type '_Bool' may promote to 'int' or 'unsigned int' -- (see ISO C 99 6.7.2.2.(4)); however, '_Bool' must promote to 'int' -- (see ISO C 99 6.3.1.1.(2)). So we add a negative value to the -- enum; this ensures that '_Bool' promotes to 'int'. */ --#if defined __cplusplus || defined __BEOS__ -- /* A compiler known to have 'bool'. */ -- /* If the compiler already has both 'bool' and '_Bool', we can assume they -- are the same types. */ --# if !@HAVE__BOOL@ --typedef bool _Bool; --# endif --#else --# if !defined __GNUC__ -- /* If @HAVE__BOOL@: -- Some HP-UX cc and AIX IBM C compiler versions have compiler bugs when -- the built-in _Bool type is used. See -- http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html -- http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html -- http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html -- Similar bugs are likely with other compilers as well; this file -- wouldn't be used if <stdbool.h> was working. -- So we override the _Bool type. -- If !@HAVE__BOOL@: -- Need to define _Bool ourselves. As 'signed char' or as an enum type? -- Use of a typedef, with SunPRO C, leads to a stupid -- "warning: _Bool is a keyword in ISO C99". -- Use of an enum type, with IRIX cc, leads to a stupid -- "warning(1185): enumerated type mixed with another type". -- The only benefit of the enum type, debuggability, is not important -- with these compilers. So use 'signed char' and no typedef. */ --# define _Bool signed char --enum { false = 0, true = 1 }; --# else -- /* With this compiler, trust the _Bool type if the compiler has it. */ --# if !@HAVE__BOOL@ --typedef enum { _Bool_must_promote_to_int = -1, false = 0, true = 1 } _Bool; --# endif --# endif --#endif --#define bool _Bool -+#endif /* __cplusplus */ - --/* The other macros must be usable in preprocessor directives. */ --#define false 0 --#define true 1 --#define __bool_true_false_are_defined 1 -+/* Signal that all the definitions are present. */ -+#define __bool_true_false_are_defined 1 - --#endif /* _STDBOOL_H */ -+#endif /* stdbool.h */ --- -2.4.4 - diff --git a/media-tv/kodi/files/kodi-15.1-texturepacker.patch b/media-tv/kodi/files/kodi-15.1-texturepacker.patch deleted file mode 100644 index 19309c5..0000000 --- a/media-tv/kodi/files/kodi-15.1-texturepacker.patch +++ /dev/null @@ -1,25 +0,0 @@ ---- tools/depends/native/TexturePacker/Makefile -+++ tools/depends/native/TexturePacker/Makefile -@@ -9,14 +9,10 @@ - - ifeq ($(NATIVEPLATFORM),) - PLATFORM = native -- EXTRA_CONFIGURE = --enable-static - else - PLATFORM = $(NATIVEPLATFORM) - endif - --ifeq ($(NATIVE_OS), linux) -- EXTRA_CONFIGURE = --enable-static --endif - ifeq ($(NATIVE_OS), android) - EXTRA_CONFIGURE = --enable-static - endif -@@ -35,7 +35,6 @@ all: .installed-$(PLATFORM) - $(PLATFORM): ../libsquish-native/.installed-$(PLATFORM) - -rm -rf $(PLATFORM)/*; mkdir -p $(PLATFORM) - cd $(PLATFORM); cp -a $(SOURCE)/* . -- cd $(PLATFORM); ./autogen.sh - cd $(PLATFORM); ./configure --prefix=$(PREFIX) $(EXTRA_CONFIGURE) EXTRA_DEFINES="$(NATIVE_ARCH_DEFINES)" - - diff --git a/media-tv/kodi/files/kodi-9999-no-arm-flags.patch b/media-tv/kodi/files/kodi-9999-no-arm-flags.patch deleted file mode 100644 index 64c1cfb..0000000 --- a/media-tv/kodi/files/kodi-9999-no-arm-flags.patch +++ /dev/null @@ -1,16 +0,0 @@ -http://bugs.gentoo.org/400617 - -do not force any particular ABI or FPU or SIMD compiler flags for arm -targets. let the toolchain and user CFLAGS control that. - ---- a/configure.ac -+++ b/configure.ac -@@ -571,7 +571,7 @@ - elif test "$target_platform" = "target_raspberry_pi"; then - ARCH="arm" - use_arch="arm" --elif test "$use_arch" = "arm"; then -+elif false; then - CFLAGS="$CFLAGS -mno-apcs-stack-check" - CXXFLAGS="$CXXFLAGS -mno-apcs-stack-check" - FFMPEG_EXTRACFLAGS="" diff --git a/media-tv/kodi/kodi-15.1.ebuild b/media-tv/kodi/kodi-15.1.ebuild deleted file mode 100644 index 5ecba7b..0000000 --- a/media-tv/kodi/kodi-15.1.ebuild +++ /dev/null @@ -1,284 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="5" - -# Does not work with py3 here -# It might work with py:2.5 but I didn't test that -PYTHON_COMPAT=( python2_7 ) -PYTHON_REQ_USE="sqlite" - -inherit eutils linux-info python-single-r1 multiprocessing autotools - -CODENAME="Isengard" -case ${PV} in -9999) - EGIT_REPO_URI="git://github.com/xbmc/xbmc.git" - inherit git-r3 - ;; -*|*_p*) - MY_PV=${PV/_p/_r} - MY_P="${PN}-${MY_PV}" - SRC_URI="http://mirrors.kodi.tv/releases/source/${MY_PV}-${CODENAME}.tar.gz -> ${P}.tar.gz - https://github.com/xbmc/xbmc/archive/${PV}-${CODENAME}.tar.gz -> ${P}.tar.gz - !java? ( http://mirrors.kodi.tv/releases/source/${MY_P}-generated-addons.tar.xz )" - KEYWORDS="~amd64 ~x86" - - S=${WORKDIR}/xbmc-${PV}-${CODENAME} - ;; -esac - -DESCRIPTION="Kodi is a free and open source media-player and entertainment hub" -HOMEPAGE="http://kodi.tv/ http://kodi.wiki/" - -LICENSE="GPL-2" -SLOT="0" -IUSE="airplay alsa avahi bluetooth bluray caps cec css dbus debug +fishbmc gles goom java joystick midi mysql nfs +opengl profile +projectm pulseaudio +rsxs rtmp +samba sftp +spectrum test +texturepacker udisks upnp upower +usb vaapi vdpau +waveform webserver +X" -REQUIRED_USE=" - rsxs? ( X ) - udisks? ( dbus ) - upower? ( dbus ) -" - -COMMON_DEPEND="${PYTHON_DEPS} - app-arch/bzip2 - app-arch/unzip - app-arch/zip - app-i18n/enca - airplay? ( app-pda/libplist ) - dev-libs/boost - dev-libs/expat - dev-libs/fribidi - dev-libs/libcdio[-minimal] - cec? ( >=dev-libs/libcec-3.0 ) - dev-libs/libpcre[cxx] - dev-libs/libxml2 - dev-libs/libxslt - >=dev-libs/lzo-2.04 - dev-libs/tinyxml[stl] - dev-libs/yajl - dev-python/simplejson[${PYTHON_USEDEP}] - media-fonts/corefonts - media-fonts/roboto - alsa? ( media-libs/alsa-lib ) - media-libs/flac - media-libs/fontconfig - media-libs/freetype - media-libs/jasper - media-libs/jbigkit - >=media-libs/libass-0.9.7 - bluray? ( media-libs/libbluray ) - css? ( media-libs/libdvdcss ) - texturepacker? ( media-libs/giflib ) - media-libs/libmad - media-libs/libmodplug - media-libs/libmpeg2 - media-libs/libogg - media-libs/libpng - projectm? ( media-libs/libprojectm ) - media-libs/libsamplerate - joystick? ( media-libs/libsdl2 ) - >=media-libs/taglib-1.8 - media-libs/libvorbis - media-libs/tiff - pulseaudio? ( media-sound/pulseaudio ) - media-sound/wavpack - >=media-video/ffmpeg-2.6:=[encode] - rtmp? ( media-video/rtmpdump ) - avahi? ( net-dns/avahi ) - nfs? ( net-fs/libnfs ) - webserver? ( net-libs/libmicrohttpd[messages] ) - sftp? ( net-libs/libssh[sftp] ) - net-misc/curl - samba? ( >=net-fs/samba-3.4.6[smbclient(+)] ) - bluetooth? ( net-wireless/bluez ) - dbus? ( sys-apps/dbus ) - caps? ( sys-libs/libcap ) - sys-libs/zlib - virtual/jpeg - usb? ( virtual/libusb ) - mysql? ( virtual/mysql ) - opengl? ( - virtual/glu - virtual/opengl - >=media-libs/glew-1.5.6 - ) - gles? ( - media-libs/mesa[gles2] - ) - vaapi? ( x11-libs/libva[opengl] ) - vdpau? ( - || ( x11-libs/libvdpau >=x11-drivers/nvidia-drivers-180.51 ) - media-video/ffmpeg[vdpau] - ) - X? ( - x11-apps/xdpyinfo - x11-apps/mesa-progs - x11-libs/libXinerama - x11-libs/libXrandr - x11-libs/libXrender - )" -RDEPEND="${COMMON_DEPEND} - !media-tv/xbmc - udisks? ( sys-fs/udisks:0 ) - upower? ( || ( sys-power/upower sys-power/upower-pm-utils ) )" -DEPEND="${COMMON_DEPEND} - app-arch/xz-utils - dev-lang/swig - dev-util/gperf - X? ( x11-proto/xineramaproto ) - dev-util/cmake - x86? ( dev-lang/nasm ) - java? ( virtual/jre ) - test? ( dev-cpp/gtest )" -# Force java for latest git version to avoid having to hand maintain the -# generated addons package. #488118 -[[ ${PV} == "9999" ]] && DEPEND+=" virtual/jre" - -CONFIG_CHECK="~IP_MULTICAST" -ERROR_IP_MULTICAST=" -In some cases Kodi needs to access multicast addresses. -Please consider enabling IP_MULTICAST under Networking options. -" - -pkg_setup() { - check_extra_config - python-single-r1_pkg_setup -} - -src_unpack() { - [[ ${PV} == "9999" ]] && git-r3_src_unpack || default -} - -src_prepare() { - epatch "${FILESDIR}"/${PN}-9999-no-arm-flags.patch #400617 - epatch "${FILESDIR}"/${P}-texturepacker.patch - epatch "${FILESDIR}"/${P}-gcc-5.patch #544760 - - # some dirs ship generated autotools, some dont - multijob_init - local d dirs=( - tools/depends/native/TexturePacker/src/configure - $(printf 'f:\n\t@echo $(BOOTSTRAP_TARGETS)\ninclude bootstrap.mk\n' | emake -f - f) - ) - for d in "${dirs[@]}" ; do - [[ -e ${d} ]] && continue - pushd ${d/%configure/.} >/dev/null || die - AT_NOELIBTOOLIZE="yes" AT_TOPLEVEL_EAUTORECONF="yes" \ - multijob_child_init eautoreconf - popd >/dev/null - done - multijob_finish - elibtoolize - - [[ ${PV} == "9999" ]] && emake -f codegenerator.mk - - # Disable internal func checks as our USE/DEPEND - # stuff handles this just fine already #408395 - export ac_cv_lib_avcodec_ff_vdpau_vc1_decode_picture=yes - - # Fix the final version string showing as "exported" - # instead of the SVN revision number. - export HAVE_GIT=no GIT_REV=${EGIT_VERSION:-exported} - - # avoid long delays when powerkit isn't running #348580 - sed -i \ - -e '/dbus_connection_send_with_reply_and_block/s:-1:3000:' \ - xbmc/linux/*.cpp || die - - epatch_user #293109 - - # Tweak autotool timestamps to avoid regeneration - find . -type f -exec touch -r configure {} + -} - -src_configure() { - # Disable documentation generation - export ac_cv_path_LATEX=no - # Avoid help2man - export HELP2MAN=$(type -P help2man || echo true) - # No configure flage for this #403561 - export ac_cv_lib_bluetooth_hci_devid=$(usex bluetooth) - # Requiring java is asine #434662 - [[ ${PV} != "9999" ]] && export ac_cv_path_JAVA_EXE=$(which $(usex java java true)) - - econf \ - --docdir=/usr/share/doc/${PF} \ - --disable-ccache \ - --disable-optimizations \ - --with-ffmpeg=shared \ - $(use_enable alsa) \ - $(use_enable airplay) \ - $(use_enable avahi) \ - $(use_enable bluray libbluray) \ - $(use_enable caps libcap) \ - $(use_enable cec libcec) \ - $(use_enable css dvdcss) \ - $(use_enable dbus) \ - $(use_enable debug) \ - $(use_enable fishbmc) \ - $(use_enable gles) \ - $(use_enable goom) \ - $(use_enable joystick) \ - $(use_enable midi mid) \ - $(use_enable mysql) \ - $(use_enable nfs) \ - $(use_enable opengl gl) \ - $(use_enable profile profiling) \ - $(use_enable projectm) \ - $(use_enable pulseaudio pulse) \ - $(use_enable rsxs) \ - $(use_enable rtmp) \ - $(use_enable samba) \ - $(use_enable sftp ssh) \ - $(use_enable spectrum) \ - $(use_enable usb libusb) \ - $(use_enable test gtest) \ - $(use_enable texturepacker) \ - $(use_enable upnp) \ - $(use_enable vaapi) \ - $(use_enable vdpau) \ - $(use_enable waveform) \ - $(use_enable webserver) \ - $(use_enable X x11) -} - -src_compile() { - emake V=1 -} - -src_install() { - default - rm "${ED}"/usr/share/doc/*/{LICENSE.GPL,copying.txt}* - - domenu tools/Linux/kodi.desktop - newicon media/icon48x48.png kodi.png - - # Remove optional addons (platform specific). - local disabled_addons=( - repository.pvr-{android,ios,osx{32,64},win32}.xbmc.org - visualization.dxspectrum - visualization.vortex - ) - rm -rf "${disabled_addons[@]/#/${ED}/usr/share/kodi/addons/}" - - # Remove fonconfig settings that are used only on MacOSX. - # Can't be patched upstream because they just find all files and install - # them into same structure like they have in git. - rm -rf "${ED}"/usr/share/kodi/system/players/dvdplayer/etc - - # Replace bundled fonts with system ones - # teletext.ttf: unknown - # bold-caps.ttf: unknown - # roboto: roboto-bold, roboto-regular - # arial.ttf: font mashed from droid/roboto, not removed wrt bug#460514 - rm -rf "${ED}"/usr/share/kodi/addons/skin.confluence/fonts/Roboto-* - dosym /usr/share/fonts/roboto/Roboto-Regular.ttf \ - /usr/share/kodi/addons/skin.confluence/fonts/Roboto-Regular.ttf - dosym /usr/share/fonts/roboto/Roboto-Bold.ttf \ - /usr/share/kodi/addons/skin.confluence/fonts/Roboto-Bold.ttf - - python_domodule tools/EventClients/lib/python/xbmcclient.py - python_newscript "tools/EventClients/Clients/Kodi Send/kodi-send.py" kodi-send -} diff --git a/media-tv/kodi/metadata.xml b/media-tv/kodi/metadata.xml deleted file mode 100644 index eb04085..0000000 --- a/media-tv/kodi/metadata.xml +++ /dev/null @@ -1,29 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<herd>xbox</herd> -<use> - <flag name='airplay'>enable AirPlay support</flag> - <flag name='bluray'>Enable playback of Blu-ray filesystems</flag> - <flag name='cec'>Enable support for HDMI-CEC devices via libcec</flag> - <flag name='fishbmc'>Enable fishBMC visualization plugin</flag> - <flag name='gles'>Enable support for GLES</flag> - <flag name='goom'>Enable GOOM visualization plugin</flag> - <flag name='midi'>Support MIDI files</flag> - <flag name='nfs'>Enable NFS client support</flag> - <flag name='projectm'>Enable projectM visualization plugin</flag> - <flag name='pvr'>Enable MythTV support</flag> - <flag name='rtmp'>Enable Real Time Messaging Protocol using librtmp</flag> - <flag name='rsxs'>Enable really slick X screensavers</flag> - <flag name='sftp'>Support browsing files over SFTP</flag> - <flag name='spectrum'>Enable spectrum visualization plugin</flag> - <flag name='texturepacker'>Support packing skin textures</flag> - <flag name='waveform'>Enable waveform visualization plugin</flag> - <flag name='webserver'>Enable internal webserver</flag> - <flag name='xrandr'>Support X randr extension</flag> -</use> -<upstream> - <bugs-to>http://trac.kodi.tv/</bugs-to> - <remote-id type="github">xbmc/xbmc</remote-id> -</upstream> -</pkgmetadata> diff --git a/net-irc/hexchat/Manifest b/net-irc/hexchat/Manifest deleted file mode 100644 index 7ff6f39..0000000 --- a/net-irc/hexchat/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST hexchat-2.10.2.tar.xz 1529732 SHA256 87ebf365c576656fa3f23f51d319b3a6d279e4a932f2f8961d891dd5a5e1b52c SHA512 799be6ca02d4f7bad98c005e0fb7dba151717b52841d7f2dd3ed86b80a20de934825a1e58aab4621ac751a605103e68e368a95e9709c48f52b9e5333e5e290ab WHIRLPOOL 5d8dcd59941a145544bbde2e761db092e801036d6879a0eb3a8b48ece43c02c78df88c889304ac1b4594e89cd68fccc02cd1239d6b60b4a0c13a5156f28154a7 -EBUILD hexchat-2.10.2.ebuild 4455 SHA256 b92137efe4f2c499722db65a926faa7b461abd3529f6a02c8c2903e840ca4e80 SHA512 6b7a1f0f3de64a6fb3aa5a1005824f3097b95c9bf1d5a1a71cdb3e47cf62ac45220a7a2a50408f7ad9e02cc0ddea1dcb1fdb1a52b3c71f584f7e78c00e433600 WHIRLPOOL 7886635e8bad1ce14ce985340278a10212f13e0a2bc1098fe6801b6fb24c3f603500e55cf45c1a24a62d8fc52acf9c5524c844b716fe725a44b449a8e0a87f6a diff --git a/net-irc/hexchat/hexchat-2.10.2.ebuild b/net-irc/hexchat/hexchat-2.10.2.ebuild deleted file mode 100644 index f4e4f69..0000000 --- a/net-irc/hexchat/hexchat-2.10.2.ebuild +++ /dev/null @@ -1,171 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/hexchat/hexchat-2.10.1.ebuild,v 1.6 2014/11/21 12:28:37 klausman Exp $ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_3 python3_4 ) -inherit eutils fdo-mime gnome2-utils mono-env multilib python-single-r1 - -DESCRIPTION="Graphical IRC client based on XChat" -HOMEPAGE="http://hexchat.github.io/" -SRC_URI="http://dl.hexchat.org/hexchat/${P}.tar.xz" - -LICENSE="GPL-2 plugin-fishlim? ( MIT )" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux" -IUSE="dbus +gtk ipv6 libcanberra libnotify libproxy nls ntlm perl +plugins plugin-checksum plugin-doat plugin-fishlim plugin-sysinfo python spell ssl theme-manager" -REQUIRED_USE="plugins? ( python? ( ${PYTHON_REQUIRED_USE} ) )" - -DEPEND="dev-libs/glib:2 - dbus? ( >=dev-libs/dbus-glib-0.98 ) - gtk? ( x11-libs/gtk+:2 ) - libcanberra? ( media-libs/libcanberra ) - libproxy? ( net-libs/libproxy ) - libnotify? ( x11-libs/libnotify ) - nls? ( virtual/libintl ) - ntlm? ( net-libs/libntlm ) - plugins? ( - perl? ( >=dev-lang/perl-5.8.0 ) - plugin-sysinfo? ( sys-apps/pciutils ) - python? ( ${PYTHON_DEPS} ) - ) - spell? ( app-text/iso-codes ) - ssl? ( dev-libs/openssl:0 ) - theme-manager? ( dev-lang/mono )" -RDEPEND="${DEPEND} - spell? ( app-text/enchant )" -DEPEND="${DEPEND} - app-arch/xz-utils - virtual/pkgconfig - nls? ( dev-util/intltool ) - theme-manager? ( dev-util/monodevelop )" - -pkg_setup() { - use plugins && use python && python-single-r1_pkg_setup - if use theme-manager ; then - mono-env_pkg_setup - export XDG_CACHE_HOME="${T}/.cache" - fi - - if use !plugins ; then - local myplugins - - use perl && myplugins+="perl\n" - use python && myplugins+="python\n" - use plugin-checksum && myplugins+="plugin-checksum\n" - use plugin-doat && myplugins+="plugin-doat\n" - use plugin-fishlim && myplugins+="plugin-fishlim\n" - use plugin-sysinfo && myplugins+="plugin-sysinfo\n" - - if [[ ${myplugins} ]] ; then - ewarn "The following plugins/interfaces have been disabled, because" - ewarn "\"plugins\" USE flag is disabled. Check metadata.xml" - ewarn "to get more information or run \"equery u hexchat\"." - ewarn "\n${myplugins}" - fi - fi -} - -src_prepare() { - epatch_user -} - -src_configure() { - econf \ - $(use_enable nls) \ - $(use_enable libproxy socks) \ - $(use_enable ipv6) \ - $(use_enable ssl openssl) \ - $(use_enable gtk gtkfe) \ - $(use_enable !gtk textfe) \ - $(usex plugins \ - "$(usex python "--enable-python=${EPYTHON}" "--disable-python")" \ - "--disable-python" \ - ) \ - $(usex plugins \ - "$(use_enable perl)" \ - "--disable-perl" \ - ) \ - $(use_enable plugins plugin) \ - $(usex plugins \ - "$(use_enable plugin-checksum checksum)" \ - "--disable-checksum" \ - ) \ - $(usex plugins \ - "$(use_enable plugin-doat doat)" \ - "--disable-doat" \ - ) \ - $(usex plugins \ - "$(use_enable plugin-fishlim fishlim)" \ - "--disable-fishlim" \ - ) \ - $(usex plugins \ - "$(use_enable plugin-sysinfo sysinfo)" \ - "--disable-sysinfo" \ - ) \ - $(use_enable dbus) \ - $(use_enable libnotify) \ - $(use_enable libcanberra) \ - $(use_enable ntlm) \ - $(use_enable libproxy) \ - $(use_enable spell isocodes) \ - --enable-minimal-flags \ - $(use_with theme-manager) -} - -src_install() { - emake DESTDIR="${D}" \ - UPDATE_ICON_CACHE=true \ - UPDATE_MIME_DATABASE=true \ - UPDATE_DESKTOP_DATABASE=true \ - install - dodoc readme.md - prune_libtool_files --all -} - -pkg_preinst() { - if use gtk ; then - gnome2_icon_savelist - fi -} - -pkg_postinst() { - if use gtk ; then - gnome2_icon_cache_update - einfo - else - einfo - elog "You have disabled the gtk USE flag. This means you don't have" - elog "the GTK-GUI for HexChat but only a text interface called \"hexchat-text\"." - elog - fi - - if use theme-manager ; then - fdo-mime_desktop_database_update - fdo-mime_mime_database_update - elog "Themes are available at:" - elog " http://hexchat.org/themes.html" - elog - fi - - einfo - elog "optional dependencies:" - elog " media-sound/sox (sound playback if you don't have libcanberra" - elog " enabled)" - elog " x11-plugins/hexchat-javascript (javascript support)" - elog " x11-themes/sound-theme-freedesktop (default BEEP sound," - elog " needs libcanberra enabled)" - einfo -} - -pkg_postrm() { - if use gtk ; then - gnome2_icon_cache_update - fi - - if use theme-manager ; then - fdo-mime_desktop_database_update - fdo-mime_mime_database_update - fi -} diff --git a/net-libs/libiscsi/Manifest b/net-libs/libiscsi/Manifest deleted file mode 100644 index 7feda67..0000000 --- a/net-libs/libiscsi/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST libiscsi-1.14.0.tar.gz 218899 SHA256 98e11538706865d699e39c749bc79b18e091a3b0cac1e3ac465da3eb392802e7 SHA512 665a16254bfcaee0172a0290827dc87badf3de2f876ebc396341f73bb7b6462c45e90378d1da31b1804b1b5527a08cab5baa0a687bce4e660b21312c8dffca06 WHIRLPOOL 33baca4ace86d047b19e711f308d9e89c1bbfb6991ee0fb01813031cbe4dc806f06b5202267e9ff37bd1f1064e4b927496b92b19a490d093195be8dc9ccf87da -EBUILD libiscsi-1.14.0.ebuild 980 SHA256 fc72e36f1d5b69e20dd7d6fe2dd59add5cd0d05679c3c5c5d09034acd2c3d9ce SHA512 fb446c3d922232dd75d242482678124e19f5af80ca17cf07064209e765ef1ff46c9c2299d656e01ec0e9190d4ddac55cf41ccc0413160df65220ed3c194a05db WHIRLPOOL e8694f283d2939ec422c3ef3adc9a4c1eed3287513c37b2681a7fc957a9cc93ea83e1a20a8c03096b72f230df7ff78097a1aeb95a4d9bc5160db42f896aef543 diff --git a/net-libs/libiscsi/libiscsi-1.14.0.ebuild b/net-libs/libiscsi/libiscsi-1.14.0.ebuild deleted file mode 100644 index 88f5194..0000000 --- a/net-libs/libiscsi/libiscsi-1.14.0.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libiscsi/libiscsi-1.9.0-r1.ebuild,v 1.3 2013/06/25 12:58:51 ago Exp $ - -EAPI=5 - -AUTOTOOLS_AUTORECONF="1" -inherit eutils autotools-utils - -if [[ ${PV} = *9999* ]]; then - inherit git-2 - SRC_URI="" - EGIT_REPO_URI="git://github.com/sahlberg/libiscsi.git" - KEYWORDS="" -else - SRC_URI="https://github.com/sahlberg/libiscsi/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 x86" -fi - -DESCRIPTION="iscsi client library and utilities" -HOMEPAGE="https://github.com/sahlberg/libiscsi" - -LICENSE="GPL-2 LGPL-2" -SLOT="0" -IUSE="" - -DEPEND="" -RDEPEND="${DEPEND}" - -QA_FLAGS_IGNORED="usr/bin/ld_iscsi.so" - -myeconfargs=( "--disable-werror" ) - -src_prepare() { - - epatch_user - - autotools-utils_src_prepare -} - -src_configure() { - autotools-utils_src_configure - - # Must ensure include dir is in BUILD_DIR - cp -R "${ECONF_SOURCE}"/include "${BUILD_DIR}" -} diff --git a/sys-apps/coreutils/Manifest b/sys-apps/coreutils/Manifest deleted file mode 100644 index 86fe84b..0000000 --- a/sys-apps/coreutils/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -AUX coreutils-8.21-xattr-support.patch 2101 SHA256 7e39f642ac71bb2bcb531c021a9af6daca9eda6c2a66060539ab20614cb3443f SHA512 b8273ea5371172ad88ed4bdb3423788de1b99d4a92d2a996fa2e0fb324c88fd7daaa2d749d1d972c10199d614bc898ce740c4ee8b6eb3e3dd867f11f7ecf3b8d WHIRLPOOL 3a187c117b6f4e852703c432036f0fb3c84cd43588d7ae128780a83d76d93e9be3c5dabd8266a6cdff2492a28e73324c8e142faf5c9e09ac9070befcf5f5571d -DIST coreutils-8.21-man.tar.xz 42464 SHA256 0ab87b22a715505051ffb6d94ff01fb45988ba353f0a7c248e7a1c9d79e69815 SHA512 846a995f4ddc2bd20a1a9970fc476db3d3f0f4584fbde981940b81f0c3f4065c0ced7cae71c8518bed9e880143ce734bc98bae5b84da8600e26c32b194176013 WHIRLPOOL a5c424b24223d26a90ddf9b03839fb4311e4e89a408ff982d7b493ea3962dd88e305ecd08c799b554dfe74c19eb37f1f97307a94a4f7c79c84ae8b5f5bd26b12 -DIST coreutils-8.21-patches-1.0.tar.xz 6480 SHA256 3a10abca6e41e654837583b582a831c220a02ad9a6dc2bec66e60f7038a2f632 SHA512 4f19712c2c50cbe3f3abd1c48decd063df250d72344c02796f24a43eac9d6f543be64cb7f48e3716e92db964d93b8cfc08e860f7f79726ccada796fefbe7ddd8 WHIRLPOOL 72fb7908728ffc33d9f6bd360e1bc0d990573c01c2974de5ed842ba15224e9ad137ec24d727659748350886b53ee6da71f3773cf6a5c36bd091919090200294a -DIST coreutils-8.21.tar.xz 5357988 SHA256 adaa44bdab3fa5eb352e80d8a31fdbf957b78653d0c2cd30d63e161444288e18 SHA512 cf0e5a393b486dd7fd46600dc2928bd2303250f3bce7b2f0de1bb3bf7b0cc3f6e29001b23fda5bbabe7686bf78917cfabe1f81abb602ab41cd406b45021fd229 WHIRLPOOL 4aa93529fc41f52841d82169fc5d8b10095462d24b46a97bff78c1abda865af5cb248cfbb67495c2618b338dd05e33fecf68a677c9ca268abf97eb5d0f1f05ef -EBUILD coreutils-8.21.ebuild 6067 SHA256 4384281c8e531069472c07814fba78836d1b0e369f56d87a5a10f8f7249fb086 SHA512 cad77d770ccd691d026b8a9ad9a6cbf0d07509ef8b65cf9fae6ead40f93077ef46464d52fb766d06919ee4f8bb5b77347e5d664fcb4ed34c43a81b4d8be29d55 WHIRLPOOL 8405f03e89879d9762839a283882833422d57e17e5179792712b6d9d92ec58239550152bc120000c4a637c6919ed40bcc6e50986ee0fcac9478e5f47789ec05e diff --git a/sys-apps/coreutils/coreutils-8.21.ebuild b/sys-apps/coreutils/coreutils-8.21.ebuild deleted file mode 100644 index 78e07e1..0000000 --- a/sys-apps/coreutils/coreutils-8.21.ebuild +++ /dev/null @@ -1,182 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/coreutils-8.21.ebuild,v 1.3 2013/04/28 01:07:58 vapier Exp $ - -EAPI="3" - -inherit eutils flag-o-matic toolchain-funcs - -PATCH_VER="1.0" -DESCRIPTION="Standard GNU file utilities (chmod, cp, dd, dir, ls...), text utilities (sort, tr, head, wc..), and shell utilities (whoami, who,...)" -HOMEPAGE="http://www.gnu.org/software/coreutils/" -SRC_URI="mirror://gnu-alpha/coreutils/${P}.tar.xz - mirror://gnu/${PN}/${P}.tar.xz - mirror://gentoo/${P}.tar.xz - mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz - http://dev.gentoo.org/~vapier/dist/${P}-patches-${PATCH_VER}.tar.xz - mirror://gentoo/${P}-man.tar.xz - http://dev.gentoo.org/~vapier/dist/${P}-man.tar.xz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~arm-linux ~x86-linux" -IUSE="acl caps gmp nls selinux static userland_BSD vanilla xattr" - -LIB_DEPEND="acl? ( sys-apps/acl[static-libs] ) - caps? ( sys-libs/libcap ) - gmp? ( dev-libs/gmp[static-libs] ) - xattr? ( !userland_BSD? ( sys-apps/attr[static-libs] ) )" -RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs]} ) - selinux? ( sys-libs/libselinux ) - nls? ( virtual/libintl ) - !app-misc/realpath - !<sys-apps/util-linux-2.13 - !sys-apps/stat - !net-mail/base64 - !sys-apps/mktemp - !<app-forensics/tct-1.18-r1 - !<net-fs/netatalk-2.0.3-r4 - !<sci-chemistry/ccp4-6.1.1" -DEPEND="${RDEPEND} - static? ( ${LIB_DEPEND} ) - app-arch/xz-utils" - -src_prepare() { - if ! use vanilla ; then - use_if_iuse unicode || rm -f "${WORKDIR}"/patch/000_all_coreutils-i18n.patch - EPATCH_SUFFIX="patch" \ - PATCHDIR="${WORKDIR}/patch" \ - EPATCH_EXCLUDE="001_all_coreutils-gen-progress-bar.patch" \ - epatch - - epatch "${FILESDIR}/${PN}-8.21-xattr-support.patch" - fi - - # Since we've patched many .c files, the make process will try to - # re-build the manpages by running `./bin --help`. When doing a - # cross-compile, we can't do that since 'bin' isn't a native bin. - # Also, it's not like we changed the usage on any of these things, - # so let's just update the timestamps and skip the help2man step. - set -- man/*.x - touch ${@/%x/1} - - # Avoid perl dep for compiled in dircolors default #348642 - if ! has_version dev-lang/perl ; then - touch src/dircolors.h - touch ${@/%x/1} - fi -} - -src_configure() { - local myconf='' - if tc-is-cross-compiler && [[ ${CHOST} == *linux* ]] ; then - export fu_cv_sys_stat_statfs2_bsize=yes #311569 - export gl_cv_func_realpath_works=yes #416629 - fi - - export gl_cv_func_mknod_works=yes #409919 - use static && append-ldflags -static && sed -i '/elf_sys=yes/s:yes:no:' configure #321821 - use selinux || export ac_cv_{header_selinux_{context,flash,selinux}_h,search_setfilecon}=no #301782 - use userland_BSD && myconf="${myconf} -program-prefix=g --program-transform-name=s/stat/nustat/" - # kill/uptime - procps - # groups/su - shadow - # hostname - net-tools - econf \ - --with-packager="Gentoo" \ - --with-packager-version="${PVR} (p${PATCH_VER:-0})" \ - --with-packager-bug-reports="http://bugs.gentoo.org/" \ - --enable-install-program="arch" \ - --enable-no-install-program="groups,hostname,kill,su,uptime" \ - --enable-largefile \ - $(use caps || echo --disable-libcap) \ - $(use_enable nls) \ - $(use_enable acl) \ - $(use_enable xattr) \ - $(use_with gmp) \ - ${myconf} -} - -src_test() { - # Non-root tests will fail if the full path isnt - # accessible to non-root users - chmod -R go-w "${WORKDIR}" - chmod a+rx "${WORKDIR}" - - # coreutils tests like to do `mount` and such with temp dirs - # so make sure /etc/mtab is writable #265725 - # make sure /dev/loop* can be mounted #269758 - mkdir -p "${T}"/mount-wrappers - mkwrap() { - local w ww - for w in "$@" ; do - ww="${T}/mount-wrappers/${w}" - cat <<-EOF > "${ww}" - #!${EPREFIX}/bin/sh - exec env SANDBOX_WRITE="\${SANDBOX_WRITE}:/etc/mtab:/dev/loop" $(type -P $w) "\$@" - EOF - chmod a+rx "${ww}" - done - } - mkwrap mount umount - - addwrite /dev/full - #export RUN_EXPENSIVE_TESTS="yes" - #export FETISH_GROUPS="portage wheel" - env PATH="${T}/mount-wrappers:${PATH}" \ - emake -j1 -k check || die "make check failed" -} - -src_install() { - emake install DESTDIR="${D}" || die - dodoc AUTHORS ChangeLog* NEWS README* THANKS TODO - - insinto /etc - newins src/dircolors.hin DIR_COLORS || die - - if [[ ${USERLAND} == "GNU" ]] ; then - cd "${ED}"/usr/bin - dodir /bin - # move critical binaries into /bin (required by FHS) - local fhs="cat chgrp chmod chown cp date dd df echo false ln ls - mkdir mknod mv pwd rm rmdir stty sync true uname" - mv ${fhs} ../../bin/ || die "could not move fhs bins" - # move critical binaries into /bin (common scripts) - local com="basename chroot cut dir dirname du env expr head mkfifo - mktemp readlink seq sleep sort tail touch tr tty vdir wc yes" - mv ${com} ../../bin/ || die "could not move common bins" - # create a symlink for uname in /usr/bin/ since autotools require it - local x - for x in ${com} uname ; do - dosym /bin/${x} /usr/bin/${x} || die - done - else - # For now, drop the man pages, collides with the ones of the system. - rm -rf "${ED}"/usr/share/man - fi - -} - -pkg_postinst() { - ewarn "Make sure you run 'hash -r' in your active shells." - ewarn "You should also re-source your shell settings for LS_COLORS" - ewarn " changes, such as: source /etc/profile" - - # /bin/dircolors sometimes sticks around #224823 - if [ -e "${EROOT}/usr/bin/dircolors" ] && [ -e "${EROOT}/bin/dircolors" ] ; then - if strings "${EROOT}/bin/dircolors" | grep -qs "GNU coreutils" ; then - einfo "Deleting orphaned GNU /bin/dircolors for you" - rm -f "${EROOT}/bin/dircolors" - fi - fi - - # Help out users using experimental filesystems - if grep -qs btrfs "${EROOT}"/etc/fstab /proc/mounts ; then - case $(uname -r) in - 2.6.[12][0-9]|2.6.3[0-7]*) - ewarn "You are running a system with a buggy btrfs driver." - ewarn "Please upgrade your kernel to avoid silent corruption." - ewarn "See: https://bugs.gentoo.org/353907" - ;; - esac - fi -} diff --git a/sys-apps/coreutils/files/coreutils-8.21-xattr-support.patch b/sys-apps/coreutils/files/coreutils-8.21-xattr-support.patch deleted file mode 100644 index 99c2e30..0000000 --- a/sys-apps/coreutils/files/coreutils-8.21-xattr-support.patch +++ /dev/null @@ -1,70 +0,0 @@ -From: Anthony G. Basile <[email protected]> - -Preserve extended attributes by default when doing cp, mv or -install when built with --enable-xattr. - -diff --git a/src/cp.c b/src/cp.c -index e235b32..2bab87f 100644 ---- a/src/cp.c -+++ b/src/cp.c -@@ -784,9 +784,14 @@ cp_option_init (struct cp_options *x) - x->explicit_no_preserve_mode = false; - x->preserve_security_context = false; - x->require_preserve_context = false; -+#if USE_XATTR -+ x->preserve_xattr = true; -+ x->require_preserve_xattr = true; -+#else - x->preserve_xattr = false; -- x->reduce_diagnostics = false; - x->require_preserve_xattr = false; -+#endif -+ x->reduce_diagnostics = false; - - x->data_copy_required = true; - x->require_preserve = false; -diff --git a/src/install.c b/src/install.c -index a5ed7a8..03bdac3 100644 ---- a/src/install.c -+++ b/src/install.c -@@ -280,7 +280,13 @@ cp_option_init (struct cp_options *x) - x->data_copy_required = true; - x->require_preserve = false; - x->require_preserve_context = false; -+#if USE_XATTR -+ x->preserve_xattr = true; -+ x->require_preserve_xattr = true; -+#else -+ x->preserve_xattr = false; - x->require_preserve_xattr = false; -+#endif - x->recursive = false; - x->sparse_mode = SPARSE_AUTO; - x->symbolic_link = false; -@@ -296,7 +302,6 @@ cp_option_init (struct cp_options *x) - x->open_dangling_dest_symlink = false; - x->update = false; - x->preserve_security_context = false; -- x->preserve_xattr = false; - x->verbose = false; - x->dest_info = NULL; - x->src_info = NULL; -diff --git a/src/mv.c b/src/mv.c -index 1cfcd82..b9aec6e 100644 ---- a/src/mv.c -+++ b/src/mv.c -@@ -124,8 +124,13 @@ cp_option_init (struct cp_options *x) - x->data_copy_required = true; - x->require_preserve = false; /* FIXME: maybe make this an option */ - x->require_preserve_context = false; -+#if USE_XATTR - x->preserve_xattr = true; -+ x->require_preserve_xattr = true; -+#else -+ x->preserve_xattr = false; - x->require_preserve_xattr = false; -+#endif - x->recursive = true; - x->sparse_mode = SPARSE_AUTO; /* FIXME: maybe make this an option */ - x->symbolic_link = false; - diff --git a/sys-auth/polkit/Manifest b/sys-auth/polkit/Manifest deleted file mode 100644 index f134d7a..0000000 --- a/sys-auth/polkit/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -AUX polkit-0.110-W_define.patch 810 SHA256 75a47bbf04e328a8622996d40128752c6951ce434c404cca87ad3838b848874b SHA512 e17cb4867c0d16c04e4d68dfb95eb58f27cf64e1b8c6b36fa24c876c78bee990bb07a08bb7c335e333797075911639b8c6049909e7948bc86fd07e1abce2be88 WHIRLPOOL 74610ba53eb185f3963fe6dfdddcb2eb4aaa4bf23057939dcfde0d4ada296c7f904a2d45e470a0f0cdae9919c6f51512ee45ea7cb623eb3367439abeac2cb538 -AUX polkit-0.110-sm_17.0-updates.patch 11657 SHA256 1aa6ed9dd62616e04f03e3d560aaecc26c94f13f6c43db000ca846cbc5a3937c SHA512 cd946b04e03f9f9c4db12f099246b2a108b84c3adaf0aaae2a3a579a8d9c2540829907b747b4cecbcd2d115832884c6777d0f1000d3abb9358936199c9a24005 WHIRLPOOL 330cb172918fa44228b5cb0f8021befb95e550e0920a9be318cc9f89a237be691ed7ef545f56924cc9f5aad42dd1f5228d9ed20e6c21465e95989f6efdcbb15e -DIST polkit-0.110.tar.gz 1390215 SHA256 8e5c5044bb968643b7fa379f287fb10582615df760ad2f1cb84be6e19fafe6e8 SHA512 f2630a84c21216edfc69f56092ba1b127b7765dcf4fe29a7f2f81d7163c11c643a931b215847a3fc6434c482cf12a48fef2f0e2c007d587c8bbb2fbca74eda67 WHIRLPOOL 1a4928733cdab6c9dfa186643959f15d395f6d6cba0a3790a9716282d331ceed3e962e58dc39ed2c40474238fc4d4c9e54662b20d0055059c512d42eed85631b -EBUILD polkit-0.110.ebuild 2945 SHA256 00e79da568078c60cc512dd269731360e44e03ded3a7587f6b99aaed19067785 SHA512 073973830bf7f05ada0ac116f26db5ba5c63fb0ab888bee41e908cf67a8f662ee55f8a2555cf39c6ddaad738bd38902f6d6a5c9c1157947cd6cefe96579785f8 WHIRLPOOL 8e405e21d70bb848cbdeff8d13ec5cc602845e92ac11b13e8f673cb84faeed0675b5268b2dadee9aa78b9e4839ae729e34b13a06cf44f4cce06ddcac7d09f727 diff --git a/sys-auth/polkit/files/polkit-0.110-W_define.patch b/sys-auth/polkit/files/polkit-0.110-W_define.patch deleted file mode 100644 index 8e502b8..0000000 --- a/sys-auth/polkit/files/polkit-0.110-W_define.patch +++ /dev/null @@ -1,23 +0,0 @@ -http://bugs.freedesktop.org/show_bug.cgi?id=62220 - -Failure to compile on SH4 arch because <sys/wait.h> is missing for #define's of: -WIFEXITED, WEXITSTATUS, WIFSIGNALED, WTERMSIG - -Errors are like this: - -polkitbackendjsauthority.c:1509:3: warning: implicit declaration of function 'WIFEXITED' [-Wimplicit-function-declaration] -polkitbackendjsauthority.c:1509:3: warning: nested extern declaration of 'WIFEXITED' [-Wnested-externs] - -polkitbackendjsauthority.c:(.text+0x3008): undefined reference to `WIFEXITED' -polkitbackendjsauthority.c:(.text+0x3010): undefined reference to `WIFEXITED' - ---- src/polkitbackend/polkitbackendjsauthority.c -+++ src/polkitbackend/polkitbackendjsauthority.c -@@ -20,6 +20,7 @@ - */ - - #include "config.h" -+#include <sys/wait.h> - #include <errno.h> - #include <pwd.h> - #include <grp.h> diff --git a/sys-auth/polkit/files/polkit-0.110-sm_17.0-updates.patch b/sys-auth/polkit/files/polkit-0.110-sm_17.0-updates.patch deleted file mode 100644 index d182d80..0000000 --- a/sys-auth/polkit/files/polkit-0.110-sm_17.0-updates.patch +++ /dev/null @@ -1,238 +0,0 @@ -diff -urN a/configure.ac b/configure.ac ---- a/configure.ac 2013-04-01 13:01:16.129562906 -0500 -+++ b/configure.ac 2013-04-01 13:01:58.213560028 -0500 -@@ -125,7 +125,7 @@ - AC_SUBST(GLIB_CFLAGS) - AC_SUBST(GLIB_LIBS) - --PKG_CHECK_MODULES(LIBJS, [mozjs185]) -+PKG_CHECK_MODULES(LIBJS, [mozjs-17.0]) - AC_SUBST(LIBJS_CFLAGS) - AC_SUBST(LIBJS_LIBS) - -diff -urN a/src/polkitbackend/Makefile.am b/src/polkitbackend/Makefile.am ---- a/src/polkitbackend/Makefile.am 2013-04-01 13:01:16.120562906 -0500 -+++ b/src/polkitbackend/Makefile.am 2013-04-01 13:01:58.213560028 -0500 -@@ -57,6 +57,7 @@ - # Note: We don't include $(LIBJS_LIBS) here since it's dlopen()'ed in polkitbackendjsauthority.c - # - libpolkit_backend_1_la_LIBADD = \ -+ $(LIBJS_LIBS) \ - $(GLIB_LIBS) \ - $(LIBSYSTEMD_LOGIN_LIBS) \ - $(top_builddir)/src/polkit/libpolkit-gobject-1.la \ -diff -urN a/src/polkitbackend/polkitbackendjsauthority.c b/src/polkitbackend/polkitbackendjsauthority.c ---- a/src/polkitbackend/polkitbackendjsauthority.c 2013-04-01 13:01:16.119562906 -0500 -+++ b/src/polkitbackend/polkitbackendjsauthority.c 2013-04-01 13:01:48.033560724 -0500 -@@ -138,36 +138,35 @@ - - /* ---------------------------------------------------------------------------------------------------- */ - --static JSBool (*dJS_CallFunctionName)(JSContext *cx, JSObject *obj, const char *name, uintN argc, jsval *argv, jsval *rval); --static JSObject *(*dJS_CompileFile)(JSContext *cx, JSObject *obj, const char *filename); --static JSBool (*dJS_ConvertArguments)(JSContext *cx, uintN argc, jsval *argv, const char *format, ...); -+static JSBool (*dJS_CallFunctionName)(JSContext *cx, JSObject *obj, const char *name, unsigned argc, jsval *argv, jsval *rval); -+static JSObject *(*dJS_CompileUTF8File)(JSContext *cx, JSObject *obj, const char *filename); -+static JSBool (*dJS_ConvertArguments)(JSContext *cx, unsigned argc, jsval *argv, const char *format, ...); - static JSBool (*dJS_ConvertStub)(JSContext *cx, JSObject *obj, JSType type, jsval *vp); - static JSBool (*dJS_DefineFunctions)(JSContext *cx, JSObject *obj, JSFunctionSpec *fs); --static JSObject *(*dJS_DefineObject)(JSContext *cx, JSObject *obj, const char *name, JSClass *clasp, JSObject *proto, uintN attrs); -+static JSObject *(*dJS_DefineObject)(JSContext *cx, JSObject *obj, const char *name, JSClass *clasp, JSObject *proto, unsigned attrs); - static void (*dJS_DestroyContext)(JSContext *cx); - #define dJS_DestroyRuntime dJS_Finish - static void (*dJS_Finish)(JSRuntime *rt); - static char *(*dJS_EncodeString)(JSContext *cx, JSString *str); - static JSBool (*dJS_EnumerateStub)(JSContext *cx, JSObject *obj); - static JSBool (*dJS_EvaluateScript)(JSContext *cx, JSObject *obj, -- const char *bytes, uintN length, -- const char *filename, uintN lineno, -+ const char *bytes, unsigned length, -+ const char *filename, unsigned lineno, - jsval *rval); - static JSBool (*dJS_ExecuteScript)(JSContext *cx, JSObject *obj, JSObject *scriptObj, jsval *rval); --static void (*dJS_FinalizeStub)(JSContext *cx, JSObject *obj); - static void (*dJS_free)(JSContext *cx, void *p); - static void (*dJS_GC)(JSContext *cx); --static JSBool (*dJS_GetArrayLength)(JSContext *cx, JSObject *obj, jsuint *lengthp); -+static JSBool (*dJS_GetArrayLength)(JSContext *cx, JSObject *obj, guint32 *lengthp); - static void *(*dJS_GetContextPrivate)(JSContext *cx); --static JSBool (*dJS_GetElement)(JSContext *cx, JSObject *obj, jsint index, jsval *vp); -+static JSBool (*dJS_GetElement)(JSContext *cx, JSObject *obj, gint32 index, jsval *vp); - static const jschar *(*dJS_GetStringCharsZ)(JSContext *cx, JSString *str); - static JSBool (*dJS_InitStandardClasses)(JSContext *cx, JSObject *obj); - static void (*dJS_MaybeGC)(JSContext *cx); --static JSObject *(*dJS_NewArrayObject)(JSContext *cx, jsint length, jsval *vector); --static JSObject *(*dJS_NewCompartmentAndGlobalObject)(JSContext *cx, JSClass *clasp, JSPrincipals *principals); -+static JSObject *(*dJS_NewArrayObject)(JSContext *cx, gint32 length, jsval *vector); -+static JSObject *(*dJS_NewGlobalObject)(JSContext *cx, JSClass *clasp, JSPrincipals *principals); - static JSContext *(*dJS_NewContext)(JSRuntime *rt, size_t stackChunkSize); - #define dJS_NewRuntime dJS_Init --static JSRuntime *(*dJS_Init)(uint32 maxbytes); -+static JSRuntime *(*dJS_Init)(guint32 maxbytes); - static JSString *(*dJS_NewStringCopyZ)(JSContext *cx, const char *s); - static JSBool (*dJS_PropertyStub)(JSContext *cx, JSObject *obj, jsid id, jsval *vp); - static void (*dJS_ReportError)(JSContext *cx, const char *format, ...); -@@ -176,13 +175,13 @@ - static void (*dJS_SetContextPrivate)(JSContext *cx, void *data); - static JSErrorReporter (*dJS_SetErrorReporter)(JSContext *cx, JSErrorReporter er); - JSOperationCallback (*dJS_SetOperationCallback)(JSContext *cx, JSOperationCallback callback); --static uint32 (*dJS_SetOptions)(JSContext *cx, uint32 options); -+static guint32 (*dJS_SetOptions)(JSContext *cx, guint32 options); - static void (*dJS_SetPendingException)(JSContext *cx, jsval v); - static JSBool (*dJS_SetProperty)(JSContext *cx, JSObject *obj, const char *name, jsval *vp); - static JSVersion (*dJS_SetVersion)(JSContext *cx, JSVersion version); - static void (*dJS_ShutDown)(void); - static JSBool (*dJS_StrictPropertyStub)(JSContext *cx, JSObject *obj, jsid id, JSBool strict, jsval *vp); --static void (*dJS_TriggerOperationCallback)(JSContext *cx); -+static void (*dJS_TriggerOperationCallback)(JSRuntime *rt); - - #define DJS_SYMBOL(x) {#x, (void*) &d ## x} - static const struct { -@@ -190,7 +189,7 @@ - gpointer *ptr; - } djs_symbols[] = { - DJS_SYMBOL(JS_CallFunctionName), -- DJS_SYMBOL(JS_CompileFile), -+ DJS_SYMBOL(JS_CompileUTF8File), - DJS_SYMBOL(JS_ConvertArguments), - DJS_SYMBOL(JS_ConvertStub), - DJS_SYMBOL(JS_DefineFunctions), -@@ -201,7 +200,6 @@ - DJS_SYMBOL(JS_EnumerateStub), - DJS_SYMBOL(JS_EvaluateScript), - DJS_SYMBOL(JS_ExecuteScript), -- DJS_SYMBOL(JS_FinalizeStub), - DJS_SYMBOL(JS_free), - DJS_SYMBOL(JS_GC), - DJS_SYMBOL(JS_GetArrayLength), -@@ -211,7 +209,7 @@ - DJS_SYMBOL(JS_InitStandardClasses), - DJS_SYMBOL(JS_MaybeGC), - DJS_SYMBOL(JS_NewArrayObject), -- DJS_SYMBOL(JS_NewCompartmentAndGlobalObject), -+ DJS_SYMBOL(JS_NewGlobalObject), - DJS_SYMBOL(JS_NewContext), - DJS_SYMBOL(JS_Init), /* Macro: JS_NewRuntime */ - DJS_SYMBOL(JS_NewStringCopyZ), -@@ -239,7 +237,7 @@ - guint n; - const gchar *library_name; - -- library_name = "libmozjs185.so.1.0"; -+ library_name = "libmozjs-17.0.so"; - module = g_module_open (library_name, 0); - if (module == NULL) - goto out; -@@ -278,9 +276,9 @@ - static JSClass js_global_class = {0}; - static JSClass js_polkit_class = {0}; - --static JSBool js_polkit_log (JSContext *cx, uintN argc, jsval *vp); --static JSBool js_polkit_spawn (JSContext *cx, uintN argc, jsval *vp); --static JSBool js_polkit_user_is_in_netgroup (JSContext *cx, uintN argc, jsval *vp); -+static JSBool js_polkit_log (JSContext *cx, unsigned argc, jsval *vp); -+static JSBool js_polkit_spawn (JSContext *cx, unsigned argc, jsval *vp); -+static JSBool js_polkit_user_is_in_netgroup (JSContext *cx, unsigned argc, jsval *vp); - - static JSFunctionSpec js_polkit_functions[] = - { -@@ -388,7 +386,7 @@ - const gchar *filename = l->data; - JSObject *script; - -- script = dJS_CompileFile (authority->priv->cx, -+ script = dJS_CompileUTF8File (authority->priv->cx, - authority->priv->js_global, - filename); - if (script == NULL) -@@ -562,7 +560,6 @@ - js_global_class.enumerate = dJS_EnumerateStub; - js_global_class.resolve = dJS_ResolveStub; - js_global_class.convert = dJS_ConvertStub; -- js_global_class.finalize = dJS_FinalizeStub; - - js_polkit_class.name = "Polkit"; - js_polkit_class.flags = 0; -@@ -573,9 +570,8 @@ - js_polkit_class.enumerate = dJS_EnumerateStub; - js_polkit_class.resolve = dJS_ResolveStub; - js_polkit_class.convert = dJS_ConvertStub; -- js_polkit_class.finalize = dJS_FinalizeStub; - -- authority->priv->js_global = dJS_NewCompartmentAndGlobalObject (authority->priv->cx, -+ authority->priv->js_global = dJS_NewGlobalObject (authority->priv->cx, - &js_global_class, - NULL); - if (authority->priv->js_global == NULL) -@@ -789,7 +785,7 @@ - jsvals[n] = STRING_TO_JSVAL (jsstr); - } - -- array_object = dJS_NewArrayObject (authority->priv->cx, (jsint) len, jsvals); -+ array_object = dJS_NewArrayObject (authority->priv->cx, (gint32) len, jsvals); - - value_jsval = OBJECT_TO_JSVAL (array_object); - dJS_SetProperty (authority->priv->cx, obj, name, &value_jsval); -@@ -805,7 +801,7 @@ - gint32 value) - { - jsval value_jsval; -- value_jsval = INT_TO_JSVAL ((int32) value); -+ value_jsval = INT_TO_JSVAL ((gint32) value); - dJS_SetProperty (authority->priv->cx, obj, name, &value_jsval); - } - -@@ -1060,7 +1056,7 @@ - PolkitBackendJsAuthority *authority = POLKIT_BACKEND_JS_AUTHORITY (user_data); - - /* Supposedly this is thread-safe... */ -- dJS_TriggerOperationCallback (authority->priv->cx); -+ dJS_TriggerOperationCallback (authority->priv->rt); - - /* keep source around so we keep trying to kill even if the JS bit catches the exception - * thrown in js_operation_callback() -@@ -1113,7 +1109,7 @@ - static JSBool - call_js_function_with_runaway_killer (PolkitBackendJsAuthority *authority, - const char *function_name, -- uintN argc, -+ unsigned argc, - jsval *argv, - jsval *rval) - { -@@ -1352,7 +1348,7 @@ - - static JSBool - js_polkit_log (JSContext *cx, -- uintN argc, -+ unsigned argc, - jsval *vp) - { - /* PolkitBackendJsAuthority *authority = POLKIT_BACKEND_JS_AUTHORITY (dJS_GetContextPrivate (cx)); */ -@@ -1435,7 +1431,7 @@ - - static JSBool - js_polkit_spawn (JSContext *cx, -- uintN js_argc, -+ unsigned js_argc, - jsval *vp) - { - /* PolkitBackendJsAuthority *authority = POLKIT_BACKEND_JS_AUTHORITY (dJS_GetContextPrivate (cx)); */ -@@ -1446,7 +1442,7 @@ - gint exit_status; - GError *error = NULL; - JSString *ret_jsstr; -- jsuint array_len; -+ guint32 array_len; - gchar **argv = NULL; - GMainContext *context = NULL; - GMainLoop *loop = NULL; -@@ -1553,7 +1549,7 @@ - - static JSBool - js_polkit_user_is_in_netgroup (JSContext *cx, -- uintN argc, -+ unsigned argc, - jsval *vp) - { - /* PolkitBackendJsAuthority *authority = POLKIT_BACKEND_JS_AUTHORITY (dJS_GetContextPrivate (cx)); */ diff --git a/sys-auth/polkit/polkit-0.110.ebuild b/sys-auth/polkit/polkit-0.110.ebuild deleted file mode 100644 index fac0903..0000000 --- a/sys-auth/polkit/polkit-0.110.ebuild +++ /dev/null @@ -1,117 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 -inherit autotools eutils multilib pam pax-utils systemd user - -DESCRIPTION="Policy framework for controlling privileges for system-wide services" -HOMEPAGE="http://www.freedesktop.org/wiki/Software/polkit" -SRC_URI="http://www.freedesktop.org/software/${PN}/releases/${P}.tar.gz" - -LICENSE="LGPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm ia64 ~mips ppc ppc64 s390 sh sparc x86" -IUSE="examples gtk +introspection kde nls pam selinux systemd" - -RDEPEND=">=dev-lang/spidermonkey-1.8.5-r1[-debug] - >=dev-libs/glib-2.32 - >=dev-libs/expat-2 - introspection? ( >=dev-libs/gobject-introspection-1 ) - pam? ( - sys-auth/pambase - virtual/pam - ) - selinux? ( sec-policy/selinux-policykit ) - systemd? ( sys-apps/systemd )" -DEPEND="${RDEPEND} - app-text/docbook-xml-dtd:4.1.2 - app-text/docbook-xsl-stylesheets - dev-libs/libxslt - dev-util/intltool - virtual/pkgconfig" -PDEPEND=" - gtk? ( || ( - >=gnome-extra/polkit-gnome-0.105 - lxde-base/lxpolkit - ) ) - kde? ( sys-auth/polkit-kde-agent ) - pam? ( - systemd? ( sys-auth/pambase[systemd] ) - !systemd? ( sys-auth/pambase[consolekit] ) - ) - !systemd? ( >=sys-auth/consolekit-0.4.5_p2012[policykit] )" - -QA_MULTILIB_PATHS=" - usr/lib/polkit-1/polkit-agent-helper-1 - usr/lib/polkit-1/polkitd" - -pkg_setup() { - local u=polkitd - local g=polkitd - local h=/var/lib/polkit-1 - - enewgroup ${g} - enewuser ${u} -1 -1 ${h} ${g} - esethome ${u} ${h} -} - -src_prepare() { - epatch "${FILESDIR}"/${P}-W_define.patch - epatch "${FILESDIR}"/${P}-sm_17.0-updates.patch - - sed -i -e 's|unix-group:wheel|unix-user:0|' src/polkitbackend/*-default.rules || die #401513 - - eautoreconf -} - -src_configure() { - econf \ - --localstatedir="${EPREFIX}"/var \ - --disable-static \ - --enable-man-pages \ - --disable-gtk-doc \ - $(use_enable systemd libsystemd-login) \ - $(use_enable introspection) \ - --disable-examples \ - $(use_enable nls) \ - "$(systemd_with_unitdir)" \ - --with-authfw=$(usex pam pam shadow) \ - $(use pam && echo --with-pam-module-dir="$(getpam_mod_dir)") \ - --with-os-type=gentoo -} - -src_compile() { - default - - # Required for polkitd on hardened/PaX due to spidermonkey's JIT - local f='src/polkitbackend/.libs/polkitd test/polkitbackend/.libs/polkitbackendjsauthoritytest' - if has_version '>=dev-lang/spidermonkey-1.8.7[jit]'; then - pax-mark m ${f} - elif has_version '<dev-lang/spidermonkey-1.8.7'; then - pax-mark mr ${f} - fi -} - -src_install() { - emake DESTDIR="${D}" install - - dodoc docs/TODO HACKING NEWS README - - fowners -R polkitd:root /{etc,usr/share}/polkit-1/rules.d - - diropts -m0700 -o polkitd -g polkitd - keepdir /var/lib/polkit-1 - - if use examples; then - insinto /usr/share/doc/${PF}/examples - doins src/examples/{*.c,*.policy*} - fi - - prune_libtool_files -} - -pkg_postinst() { - chown -R polkitd:root "${EROOT}"/{etc,usr/share}/polkit-1/rules.d - chown -R polkitd:polkitd "${EROOT}"/var/lib/polkit-1 -} diff --git a/sys-libs/pam/Manifest b/sys-libs/pam/Manifest deleted file mode 100644 index da82022..0000000 --- a/sys-libs/pam/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -AUX pam-1.1.7-typo.patch 622 SHA256 50b397aa326f6b476d1762c4c94f4af88f1d39912789d83ed5e10e8657dfc938 SHA512 2d1cd74096671db690303b023061ae419f9bf064ec5c3a702382f5ce64a2b40207bc1a2a20a8095bcce6cd00aa643ba7af108f9e55d2f4344db0b64e00c3685a WHIRLPOOL 39b54c8cc96545eb4c6b7cdc8fa289b1d28322da52d29ce4c8d1cbe760153a9b14a50619c2a7d1a2f1f402fe70c0efe2aebf5a71555d702c897cccc37de2046c -DIST Linux-PAM-1.1.7-docs.tar.bz2 147833 SHA256 4b0d4824888c509214a216487caa636ee8a456268b3a51f7ba7920175e9ac24d SHA512 5085bcfbdba810baebaf98576421b221667dd595b690554ebeae5b9771b12b21c03ecb521b3b97e87fc6ab05567bf604ecae53f27a9c5340f01f9231553f51e2 WHIRLPOOL f5a1d151597f23c1c490262f6796d4df7a6533cf0f093d5f47b3ea6c37d2691caff4a78545e2d4f41a8b3db3d8a414c8e39d39e1c29813fd4fd9bb777af699a3 -DIST Linux-PAM-1.1.7.tar.bz2 1149359 SHA256 7fef52d86f16f8b39b13211dc3092b8eeb5bc2890e64e64cb7731629c6438e63 SHA512 9ef6ab41691bdd756899134347564b7dc21db620d09ac1b542657512870ba126e0a97c4e124d1afd9de21c060ffeaa2727ebcedb87a8ad2c2ad8d4c447f5093f WHIRLPOOL 43f40361deb671c276ae423dffe13cab7c0002f3d4c3396c08a3a15d02d82f53aa9bd60a46f01010fbbb2fd911be7bba7f12a6d9b463e89780845e2da0e6cdf2 -EBUILD pam-1.1.7.ebuild 5580 SHA256 3db2e68535f8d7fb29c1de66bc3de2ab913eedb772580eedf26ac2c5eb42171c SHA512 46591fff2cedddf57a527c4bf77e046ccd620dc68a8f5efef4d1b1fbe81ab7d826c86d802a8fa63f7a074e4049cd72f3bbc50d41b1f231bf00bad46270a2b371 WHIRLPOOL c9ba543d95d4106dcf542b2cab729eaf16dddf00f8a98e1ad9907b95e466c21401bcc411e2ea25cdaf9c5db2536a1e2e5712ee629bc9e5426e47881aa423efae diff --git a/sys-libs/pam/files/pam-1.1.7-typo.patch b/sys-libs/pam/files/pam-1.1.7-typo.patch deleted file mode 100644 index 2271575..0000000 --- a/sys-libs/pam/files/pam-1.1.7-typo.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -urN a/modules/pam_unix/pam_unix_passwd.c b/modules/pam_unix/pam_unix_passwd.c ---- a/modules/pam_unix/pam_unix_passwd.c 2013-08-29 07:09:08.000000000 -0500 -+++ b/modules/pam_unix/pam_unix_passwd.c 2013-09-12 18:45:01.873601155 -0500 -@@ -255,7 +255,7 @@ - close(fds[0]); /* close here to avoid possible SIGPIPE above */ - close(fds[1]); - /* wait for helper to complete: */ -- while ((rc=waitpid(child, &retval, 0) < 0 && errno == EINTR); -+ while ((rc=waitpid(child, &retval, 0)) < 0 && errno == EINTR); - if (rc<0) { - pam_syslog(pamh, LOG_ERR, "unix_update waitpid failed: %m"); - retval = PAM_AUTHTOK_ERR; diff --git a/sys-libs/pam/pam-1.1.7.ebuild b/sys-libs/pam/pam-1.1.7.ebuild deleted file mode 100644 index efb8a67..0000000 --- a/sys-libs/pam/pam-1.1.7.ebuild +++ /dev/null @@ -1,182 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-1.1.7.ebuild,v 1.1 2013/09/12 08:34:08 flameeyes Exp $ - -EAPI=5 - -inherit libtool multilib eutils pam toolchain-funcs flag-o-matic db-use autotools-utils - -MY_PN="Linux-PAM" -MY_P="${MY_PN}-${PV}" - -HOMEPAGE="https://fedorahosted.org/linux-pam/" -DESCRIPTION="Linux-PAM (Pluggable Authentication Modules)" - -SRC_URI="http://www.linux-pam.org/library/${MY_P}.tar.bz2 - http://www.linux-pam.org/documentation/${MY_P}-docs.tar.bz2" - -LICENSE="|| ( BSD GPL-2 )" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux" -IUSE="cracklib nls elibc_FreeBSD selinux vim-syntax audit test elibc_glibc debug berkdb nis" - -RDEPEND="nls? ( virtual/libintl ) - cracklib? ( >=sys-libs/cracklib-2.8.3 ) - audit? ( sys-process/audit ) - selinux? ( >=sys-libs/libselinux-1.28 ) - berkdb? ( sys-libs/db ) - elibc_glibc? ( - >=sys-libs/glibc-2.7 - nis? ( || ( >=net-libs/libtirpc-0.2.2-r1 <sys-libs/glibc-2.14 ) ) - )" -DEPEND="${RDEPEND} - >=sys-devel/libtool-2 - sys-devel/flex - nls? ( sys-devel/gettext ) - virtual/pkgconfig" -PDEPEND="sys-auth/pambase - vim-syntax? ( app-vim/pam-syntax )" -RDEPEND="${RDEPEND} - !<sys-apps/openrc-0.11.8 - !sys-auth/openpam - !sys-auth/pam_userdb" - -S="${WORKDIR}/${MY_P}" - -check_old_modules() { - local retval="0" - - if sed -e 's:#.*::' "${EROOT}"/etc/pam.d/* 2>/dev/null | fgrep -q pam_stack.so; then - eerror "" - eerror "Your current setup is using the pam_stack module." - eerror "This module is deprecated and no longer supported, and since version" - eerror "0.99 is no longer installed, nor provided by any other package." - eerror "The package will be built (to allow binary package builds), but will" - eerror "not be installed." - eerror "Please replace pam_stack usage with proper include directive usage," - eerror "following the PAM Upgrade guide at the following URL" - eerror " http://www.gentoo.org/proj/en/base/pam/upgrade-0.99.xml" - eerror "" - - retval=1 - fi - - if sed -e 's:#.*::' "${EROOT}"/etc/pam.d/* 2>/dev/null | egrep -q 'pam_(pwdb|console)'; then - eerror "" - eerror "Your current setup is using one or more of the following modules," - eerror "that are not built or supported anymore:" - eerror "pam_pwdb, pam_console" - eerror "If you are in real need for these modules, please contact the maintainers" - eerror "of PAM through http://bugs.gentoo.org/ providing information about its" - eerror "use cases." - eerror "Please also make sure to read the PAM Upgrade guide at the following URL:" - eerror " http://www.gentoo.org/proj/en/base/pam/upgrade-0.99.xml" - eerror "" - - retval=1 - fi - - return $retval -} - -pkg_pretend() { - # do not error out, this is just a warning, one could build a binpkg - # with old modules enabled. - check_old_modules -} - -src_prepare() { - epatch "${FILESDIR}"/${PN}-1.1.7-typo.patch - elibtoolize -} - -src_configure() { - # Disable automatic detection of libxcrypt; we _don't_ want the - # user to link libxcrypt in by default, since we won't track the - # dependency and allow to break PAM this way. - export ac_cv_header_xcrypt_h=no - - local myeconfargs=( - --htmldir="${EPREFIX}"/usr/share/doc/${PF}/html - --libdir="${EPREFIX}"/usr/$(get_libdir) \ - --enable-securedir="${EPREFIX}"/$(get_libdir)/security - --enable-isadir="${EPREFIX}"/$(get_libdir)/security - $(use_enable nls) - $(use_enable selinux) - $(use_enable cracklib) - $(use_enable audit) - $(use_enable debug) - $(use_enable berkdb db) - $(use_enable nis) - --with-db-uniquename=-$(db_findver sys-libs/db) - --disable-prelude - ) - - if use hppa || use elibc_FreeBSD; then - myeconfargs+=( --disable-pie ) - fi - - autotools-utils_src_configure -} - -src_compile() { - autotools-utils_src_compile sepermitlockdir="${EPREFIX}/run/sepermit" -} - -DOCS=( CHANGELOG ChangeLog README AUTHORS Copyright NEWS ) - -src_install() { - autotools-utils_src_install sepermitlockdir="${EPREFIX}/run/sepermit" - - # Need to be suid - fperms u+s /sbin/unix_chkpwd - - gen_usr_ldscript -a pam pamc pam_misc - - # create extra symlinks just in case something depends on them... - local lib - for lib in pam pamc pam_misc; do - if ! [[ -f "${ED}"/$(get_libdir)/lib${lib}$(get_libname) ]]; then - dosym lib${lib}$(get_libname 0) /$(get_libdir)/lib${lib}$(get_libname) - fi - done - - docinto modules - for dir in modules/pam_*; do - newdoc "${dir}"/README README."$(basename "${dir}")" - done - - prune_libtool_files --all - - if use selinux; then - dodir /usr/lib/tmpfiles.d - cat - > "${D}"/usr/lib/tmpfiles.d/${CATEGORY}:${PN}:${SLOT}.conf <<EOF -d /run/sepermit 0755 root root -EOF - fi -} - -pkg_preinst() { - check_old_modules || die "deprecated PAM modules still used" -} - -pkg_postinst() { - ewarn "Some software with pre-loaded PAM libraries might experience" - ewarn "warnings or failures related to missing symbols and/or versions" - ewarn "after any update. While unfortunate this is a limit of the" - ewarn "implementation of PAM and the software, and it requires you to" - ewarn "restart the software manually after the update." - ewarn "" - ewarn "You can get a list of such software running a command like" - ewarn " lsof / | egrep -i 'del.*libpam\\.so'" - ewarn "" - ewarn "Alternatively, simply reboot your system." - if [ -x "${ROOT}"/var/log/tallylog ] ; then - elog "" - elog "Because of a bug present up to version 1.1.1-r2, you have" - elog "an executable /var/log/tallylog file. You can safely" - elog "correct it by running the command" - elog " chmod -x /var/log/tallylog" - elog "" - fi -} diff --git a/sys-process/audit/Manifest b/sys-process/audit/Manifest deleted file mode 100644 index e0452c6..0000000 --- a/sys-process/audit/Manifest +++ /dev/null @@ -1,9 +0,0 @@ -AUX audit-2.1.3-ia64-compile-fix.patch 7173 SHA256 af8f2764b5675fb364901dd6ce9477655b1bde9de9a9436c1a7e40793a0ad560 SHA512 be1f0fd8933e962b11818bace04a14f89afd40c20d9e3ecc839c210fc946e851bb8ba0ce0eae9267023397f77c5a1a3c8b574b9285c0351f534a24f5c9a2a512 WHIRLPOOL f6a7a3b740f39485874a874bbfdea85e087fdcde817a91526e37cddbb85d6e4536add47179021fc7245bafb74b7ad4f3286de55108cb950aee2e1d7217ef19e3 -AUX audit-2.1.3-python.patch 1353 SHA256 de214516fc107d8bfb19fcaf39d87776d9655a153e8e8b993a725f34dbe91ce5 SHA512 01e071c4219e1ea186207be883e08811021465cf18cdc2d18dcd1c61be372f2061b7f18f104dfb21ae94d363153f81133e768ddac8953703198bcda257f827eb WHIRLPOOL 4555e5b2f00a7470bb52a0813fcadf85e334f181f68414011629e95b7143bc07c83e94aa814bd4b6fc91a3add1b18444d97b24ecb7590e1884d663cf9bcf6203 -AUX audit.rules-2.1.3 1126 SHA256 8bf7f9cac7d2a47d3ff51d2a2b227588820831b5ef7c2e3d058b097d4d65eeb0 SHA512 be4a064ab9b9edfc02df3c2d3a29c4e8ffd031ce10adcf274a548ecd414b95b2aeebc54cf5aef9c04dcc121adea7b8fe63b7d153cd80f552e5f0605459a83901 WHIRLPOOL 7295ba3bc78394f4882f24fa8f3acd62fbd08543e618a260a308b2b8b350ced41d7fa9ce19a791fb0bb879a09dd4153a6e869f64ab927c7d4e2683e5f47b36d5 -AUX audit.rules.stop.post 573 SHA256 4c2e0be1a63b6800396e31153a899d4e3f2db1cee41b4dd271064dc97521edfe SHA512 a2cb699892aef006b102613b3b96ea24533437cd0927933f5520cccf28a088beef74a0ffcc74d402d4a4882fac2e59714ff537e310990956a6f56aacacaf13fd WHIRLPOOL bc13f844437980cd7d0ee4e8a1f0ad6a5e1ec1be8cd5159adb761c1f64c99f73dff6541a265e1b06fbce53988714ffbb2b0b61f91eb1fcbf081fbdeb30e8148d -AUX audit.rules.stop.pre 547 SHA256 ec2c402d3d2b886c680259145696ad46c451dd1aed533906fdac69e30123c35f SHA512 8f0746b215a6ef1207beea2f3f73d536cfc0df58bfa55362c27c8b7ba56bf23eba2ebcf897f68b65b998c9fb090ea5d21b1d5dabc05cf0ac6e07c83f8459792d WHIRLPOOL a0563754ab170d22e78a2148afb006c55a243c809e8349a84cdafc7120446c4659bb5525338c5765a95f565ec61802cd91c308686cef3707a098bf78ab3f7ac9 -AUX auditd-conf.d-2.1.3 853 SHA256 f64186229238dd589b1fa5f72503000628b8f4f6655bdc3105b2fdbb17f6458f SHA512 3a47f7e091dc60f563d9be0027a4d1723485e7235178ffef544d39dd69de98a6283537a5649f9e2e5703a43202f77c7ff26608a653ad9d283f04bb2058fe1f45 WHIRLPOOL 29d16ead845aff5f9aac396697af2d7dd80ab39fa70fa35cc41187e9a9b43dddc0c0fdd469ffdf66a72ec1602b4faedde8158d911e95025701514c024fc6e3d9 -AUX auditd-init.d-2.2.2 2410 SHA256 f3acdda61185331b240b85bc01e20260a368180b088dd6d5c9a770fa9abf17fd SHA512 e118197cd26af56aead953bb0c7ab49073159cfbed40904728f91eaa002d6d7a82a04352c32774a8bc607fe0a33a0a20d40fe35799f94e1c567779306b3422e2 WHIRLPOOL 4caf66da11b98aca963dd1e56fea4dae4a8b32bc84eff50ac9b9021833632c1794a801465a861890b83ef2de6eb3a3537c5ad1c71ad3ab923588439731da7c2e -DIST audit-2.2.2.tar.gz 907066 SHA256 8bc2b45a5f08f5df6cebcd5543f24b7e68e28b64da4b23f08de2c6616384302b SHA512 98d83162e69816611dfac3d3ecc19235403ea5809d7a5cd9f13444c2085f03e46657802addb58ee31c251749f89417926ae40bcd99a77d64f062712830fde9bb WHIRLPOOL f127d3b9645d4e679a83767d688b83c7d59d4a35a166bc9f5038df89852768b695bc0c30e26fea0930aa29fed4583aa5218a42d5898d2a7c542e04cf58b9a9e9 -EBUILD audit-2.2.2.ebuild 4666 SHA256 7441b1f64fda91544a034496f5e1975593861377ebbc844963354a34ee2fce24 SHA512 85b175407a068624ede430e669c544de203cb12934b1df4d8124027c880f99603e590750825a93b2e0587bb25e31250e6f80e75ab3defded7fa9a305efc3f878 WHIRLPOOL 775203d4d663d5dad73b0f38bf16353ddae5e2c0c526d7fe505d3ff5b671ca0f58967372fb1a8479c6dc6053ff119431158c076c177690cbc31ec5541db8a135 diff --git a/sys-process/audit/audit-2.2.2.ebuild b/sys-process/audit/audit-2.2.2.ebuild deleted file mode 100644 index 2f76ef6..0000000 --- a/sys-process/audit/audit-2.2.2.ebuild +++ /dev/null @@ -1,180 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/audit/audit-2.2.2.ebuild,v 1.2 2012/12/22 07:36:33 robbat2 Exp $ - -EAPI="4" -PYTHON_DEPEND="python? 2" -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*" - -inherit autotools multilib toolchain-funcs python linux-info eutils - -DESCRIPTION="Userspace utilities for storing and processing auditing records" -HOMEPAGE="http://people.redhat.com/sgrubb/audit/" -SRC_URI="http://people.redhat.com/sgrubb/audit/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" -IUSE="ldap prelude python" -# Testcases are pretty useless as they are built for RedHat users/groups and -# kernels. -RESTRICT="test" - -RDEPEND="ldap? ( net-nds/openldap ) - prelude? ( dev-libs/libprelude ) - sys-libs/libcap-ng" -DEPEND="${RDEPEND} - python? ( dev-lang/swig ) - >=sys-kernel/linux-headers-2.6.34" -# Do not use os-headers as this is linux specific - -CONFIG_CHECK="~AUDIT" -PYTHON_DIRS="bindings/python swig" - -pkg_setup() { - linux-info_pkg_setup - use python && python_pkg_setup -} - -src_prepare() { - # Do not build GUI tools - sed -i \ - -e '/AC_CONFIG_SUBDIRS.*system-config-audit/d' \ - "${S}"/configure.ac || die - sed -i \ - -e 's,system-config-audit,,g' \ - "${S}"/Makefile.am || die - rm -rf "${S}"/system-config-audit - - if ! use ldap; then - sed -i \ - -e '/^AC_OUTPUT/s,audisp/plugins/zos-remote/Makefile,,g' \ - "${S}"/configure.ac || die - sed -i \ - -e '/^SUBDIRS/s,zos-remote,,g' \ - "${S}"/audisp/plugins/Makefile.am || die - fi - - # Don't build static version of Python module. - epatch "${FILESDIR}"/${PN}-2.1.3-python.patch - - # glibc/kernel upstreams suck with both defining ia64_fpreg - # This patch is a horribly workaround that is only valid as long as you - # don't need the OTHER definitions in fpu.h. - epatch "${FILESDIR}"/${PN}-2.1.3-ia64-compile-fix.patch - - # Python bindings are built/installed manually. - sed -e "/^SUBDIRS =/s/ python//" -i bindings/Makefile.am - sed -e "/^SUBDIRS .*=/s/ swig//" -i Makefile.am - - # Regenerate autotooling - eautoreconf - - # Disable byte-compilation of Python modules. - echo "#!/bin/sh" > py-compile - - # Bug 352198: Avoid parallel build fail - cd "${S}"/src/mt - [[ ! -s private.h ]] && ln -s ../../lib/private.h . -} - -src_configure() { - #append-flags -D'__attribute__(x)=' - econf --sbindir=/sbin $(use_with prelude) -} - -src_compile_python() { - python_copy_sources ${PYTHON_DIRS} - - building() { - emake \ - PYTHON_VERSION="$(python_get_version)" \ - pyexecdir="$(python_get_sitedir)" - } - local dir - for dir in ${PYTHON_DIRS}; do - python_execute_function -s --source-dir ${dir} building - done -} - -src_compile() { - default - use python && src_compile_python -} - -src_install_python() { - installation() { - emake \ - DESTDIR="${D}" \ - PYTHON_VERSION="$(python_get_version)" \ - pyexecdir="$(python_get_sitedir)" \ - install - } - local dir - for dir in ${PYTHON_DIRS}; do - python_execute_function -s --source-dir ${dir} installation - done -} - -src_install() { - emake DESTDIR="${D}" install || die - use python && src_install_python - - dodoc AUTHORS ChangeLog README* THANKS TODO - docinto contrib - dodoc contrib/{*.rules,avc_snap,skeleton.c} - docinto contrib/plugin - dodoc contrib/plugin/* - - newinitd "${FILESDIR}"/auditd-init.d-2.2.2 auditd - newconfd "${FILESDIR}"/auditd-conf.d-2.1.3 auditd - - # things like shadow use this so we need to be in / - gen_usr_ldscript -a audit auparse - - [ -f "${D}"/sbin/audisp-remote ] && \ - mkdir -p "${D}"/usr/sbin && \ - mv "${D}"/{sbin,usr/sbin}/audisp-remote || die - - # remove RedHat garbage - rm -r "${D}"/etc/{rc.d,sysconfig} || die - - # Gentoo rules - insinto /etc/audit/ - newins "${FILESDIR}"/audit.rules-2.1.3 audit.rules - doins "${FILESDIR}"/audit.rules.stop* - - # audit logs go here - keepdir /var/log/audit/ - - # Security - lockdown_perms "${D}" - - # Don't install .la files in Python directories. - use python && python_clean_installation_image -} - -pkg_preinst() { - # Preserve from the audit-1 series - preserve_old_lib /$(get_libdir)/libau{dit,parse}.so.0 -} - -pkg_postinst() { - lockdown_perms "${ROOT}" - use python && python_mod_optimize audit.py - # Preserve from the audit-1 series - preserve_old_lib_notify /$(get_libdir)/libau{dit,parse}.so.0 -} - -pkg_postrm() { - use python && python_mod_cleanup audit.py -} - -lockdown_perms() { - # upstream wants these to have restrictive perms - basedir="$1" - chmod 0750 "${basedir}"/sbin/au{ditctl,report,dispd,ditd,search,trace} 2>/dev/null - chmod 0750 "${basedir}"/var/log/audit/ 2>/dev/null - chmod 0640 "${basedir}"/etc/{audit/,}{auditd.conf,audit.rules*} 2>/dev/null -} diff --git a/sys-process/audit/files/audit-2.1.3-ia64-compile-fix.patch b/sys-process/audit/files/audit-2.1.3-ia64-compile-fix.patch deleted file mode 100644 index 3ec60fb..0000000 --- a/sys-process/audit/files/audit-2.1.3-ia64-compile-fix.patch +++ /dev/null @@ -1,212 +0,0 @@ -diff -Nuar -X exclude audit-2.1.3.orig/configure.ac audit-2.1.3/configure.ac ---- audit-2.1.3.orig/configure.ac 2011-08-15 17:30:58.000000000 +0000 -+++ audit-2.1.3/configure.ac 2012-12-18 20:03:22.000000000 +0000 -@@ -79,6 +79,9 @@ - esac - fi - -+AC_CHECK_HEADER([asm/ptrace.h], [AC_DEFINE([HAVE_ASM_PTRACE_H],[],[Define to 1 if you have asm/ptrace.h])], []) -+AC_CHECK_HEADER([linux/ptrace.h], [AC_DEFINE([HAVE_LINUX_PTRACE_H],[],[Define to 1 if you have linux/ptrace.h])], []) -+ - #gssapi - AC_ARG_ENABLE(gssapi_krb5, - [AS_HELP_STRING([--enable-gssapi-krb5],[Enable GSSAPI Kerberos 5 support @<:@default=no@:>@])], -diff -Nuar -X exclude audit-2.1.3.orig/src/auditctl.c audit-2.1.3/src/auditctl.c ---- audit-2.1.3.orig/src/auditctl.c 2011-08-15 17:31:00.000000000 +0000 -+++ audit-2.1.3/src/auditctl.c 2012-12-18 20:21:21.000000000 +0000 -@@ -22,6 +22,7 @@ - */ - - #include "config.h" -+#include "fixup.h" - #include <stdio.h> - #include <stdlib.h> - #include <string.h> /* strdup needs xopen define */ -diff -Nuar -X exclude audit-2.1.3.orig/src/auditd-config.c audit-2.1.3/src/auditd-config.c ---- audit-2.1.3.orig/src/auditd-config.c 2011-08-15 17:31:00.000000000 +0000 -+++ audit-2.1.3/src/auditd-config.c 2012-12-18 20:21:23.000000000 +0000 -@@ -22,6 +22,7 @@ - */ - - #include "config.h" -+#include "fixup.h" - #include <stdio.h> - #include <unistd.h> - #include <sys/stat.h> -diff -Nuar -X exclude audit-2.1.3.orig/src/auditd-dispatch.c audit-2.1.3/src/auditd-dispatch.c ---- audit-2.1.3.orig/src/auditd-dispatch.c 2011-08-15 17:31:00.000000000 +0000 -+++ audit-2.1.3/src/auditd-dispatch.c 2012-12-18 20:21:27.000000000 +0000 -@@ -22,6 +22,7 @@ - */ - - #include "config.h" -+#include "fixup.h" - #include <unistd.h> - #include <sys/uio.h> - #include <fcntl.h> -diff -Nuar -X exclude audit-2.1.3.orig/src/auditd-event.c audit-2.1.3/src/auditd-event.c ---- audit-2.1.3.orig/src/auditd-event.c 2011-08-15 17:31:00.000000000 +0000 -+++ audit-2.1.3/src/auditd-event.c 2012-12-18 20:21:29.000000000 +0000 -@@ -22,6 +22,7 @@ - */ - - #include "config.h" -+#include "fixup.h" - #include <stdio.h> - #include <stdlib.h> - #include <unistd.h> -diff -Nuar -X exclude audit-2.1.3.orig/src/auditd-listen.c audit-2.1.3/src/auditd-listen.c ---- audit-2.1.3.orig/src/auditd-listen.c 2011-08-15 17:31:00.000000000 +0000 -+++ audit-2.1.3/src/auditd-listen.c 2012-12-18 20:21:31.000000000 +0000 -@@ -22,6 +22,7 @@ - */ - - #include "config.h" -+#include "fixup.h" - #include <stdio.h> - #include <unistd.h> - #include <sys/stat.h> -diff -Nuar -X exclude audit-2.1.3.orig/src/auditd-reconfig.c audit-2.1.3/src/auditd-reconfig.c ---- audit-2.1.3.orig/src/auditd-reconfig.c 2011-08-15 17:31:00.000000000 +0000 -+++ audit-2.1.3/src/auditd-reconfig.c 2012-12-18 20:21:33.000000000 +0000 -@@ -22,6 +22,7 @@ - */ - - #include "config.h" -+#include "fixup.h" - #include <pthread.h> - #include <signal.h> - #include <stdlib.h> -diff -Nuar -X exclude audit-2.1.3.orig/src/auditd-sendmail.c audit-2.1.3/src/auditd-sendmail.c ---- audit-2.1.3.orig/src/auditd-sendmail.c 2011-08-15 17:31:00.000000000 +0000 -+++ audit-2.1.3/src/auditd-sendmail.c 2012-12-18 20:21:34.000000000 +0000 -@@ -22,6 +22,7 @@ - */ - - #include "config.h" -+#include "fixup.h" - #include <stdio.h> - #include <unistd.h> // for access() - #include <string.h> -diff -Nuar -X exclude audit-2.1.3.orig/src/auditd.c audit-2.1.3/src/auditd.c ---- audit-2.1.3.orig/src/auditd.c 2011-08-15 17:31:00.000000000 +0000 -+++ audit-2.1.3/src/auditd.c 2012-12-18 20:21:38.000000000 +0000 -@@ -22,6 +22,7 @@ - */ - - #include "config.h" -+#include "fixup.h" - #include <stdio.h> - #include <sys/types.h> - #include <unistd.h> -diff -Nuar -X exclude audit-2.1.3.orig/src/autrace.c audit-2.1.3/src/autrace.c ---- audit-2.1.3.orig/src/autrace.c 2011-08-15 17:31:00.000000000 +0000 -+++ audit-2.1.3/src/autrace.c 2012-12-18 20:21:43.000000000 +0000 -@@ -21,6 +21,7 @@ - */ - - #include "config.h" -+#include "fixup.h" - #include <stdio.h> - #include <string.h> - #include <sys/wait.h> -diff -Nuar -X exclude audit-2.1.3.orig/src/delete_all.c audit-2.1.3/src/delete_all.c ---- audit-2.1.3.orig/src/delete_all.c 2011-08-15 17:31:00.000000000 +0000 -+++ audit-2.1.3/src/delete_all.c 2012-12-18 20:21:48.000000000 +0000 -@@ -20,6 +20,7 @@ - * Steve Grubb <[email protected]> - */ - #include "config.h" -+#include "fixup.h" - #include <stdio.h> - #include <string.h> - #include <errno.h> -diff -Nuar -X exclude audit-2.1.3.orig/lib/fixup.h audit-2.1.3/lib/fixup.h ---- audit-2.1.3.orig/lib/fixup.h 1970-01-01 00:00:00.000000000 +0000 -+++ audit-2.1.3/lib/fixup.h 2012-12-18 20:21:02.000000000 +0000 -@@ -0,0 +1,17 @@ -+#ifndef _AUDIT_IA64_FIXUP_H_ -+#define _AUDIT_IA64_FIXUP_H_ -+ -+#ifdef __ia64__ /* what a pos */ -+# include <linux/types.h> -+# define _ASM_IA64_FPU_H -+#endif -+#include <signal.h> -+/* -+#ifdef HAVE_ASM_PTRACE_H -+# include <asm/ptrace.h> -+#endif -+#ifdef HAVE_LINUX_PTRACE_H -+# include <linux/ptrace.h> -+#endif -+*/ -+#endif ---- audit-2.1.3/src/ausearch.c 2012-12-22 03:09:54.000000000 +0000 -+++ audit-2.1.3/src/ausearch.c 2012-12-22 03:10:02.000000000 +0000 -@@ -22,6 +22,7 @@ - */ - - #include "config.h" -+#include "fixup.h" - #include <stdio.h> - #include <stdio_ext.h> - #include <string.h> -diff -Nuar audit-2.1.3.orig/audisp/audispd.c audit-2.1.3/audisp/audispd.c ---- audit-2.1.3.orig/audisp/audispd.c 2011-08-15 17:30:59.000000000 +0000 -+++ audit-2.1.3/audisp/audispd.c 2012-12-22 03:25:15.000000000 +0000 -@@ -21,6 +21,7 @@ - */ - - #include "config.h" -+#include "fixup.h" - #include <stdio.h> - #include <unistd.h> - #include <stdlib.h> -diff -Nuar audit-2.1.3.orig/audisp/plugins/prelude/audisp-prelude.c audit-2.1.3/audisp/plugins/prelude/audisp-prelude.c ---- audit-2.1.3.orig/audisp/plugins/prelude/audisp-prelude.c 2011-08-15 17:30:59.000000000 +0000 -+++ audit-2.1.3/audisp/plugins/prelude/audisp-prelude.c 2012-12-22 03:25:20.000000000 +0000 -@@ -21,6 +21,8 @@ - * - */ - -+#include "config.h" -+#include "fixup.h" - #include <stdio.h> - #include <stdlib.h> - #include <signal.h> -diff -Nuar audit-2.1.3.orig/audisp/plugins/remote/audisp-remote.c audit-2.1.3/audisp/plugins/remote/audisp-remote.c ---- audit-2.1.3.orig/audisp/plugins/remote/audisp-remote.c 2011-08-15 17:30:59.000000000 +0000 -+++ audit-2.1.3/audisp/plugins/remote/audisp-remote.c 2012-12-22 03:25:22.000000000 +0000 -@@ -22,6 +22,7 @@ - */ - - #include "config.h" -+#include "fixup.h" - #include <stdio.h> - #include <signal.h> - #include <syslog.h> -diff -Nuar audit-2.1.3.orig/contrib/plugin/audisp-example.c audit-2.1.3/contrib/plugin/audisp-example.c ---- audit-2.1.3.orig/contrib/plugin/audisp-example.c 2011-08-15 17:31:02.000000000 +0000 -+++ audit-2.1.3/contrib/plugin/audisp-example.c 2012-12-22 03:25:27.000000000 +0000 -@@ -37,6 +37,8 @@ - */ - - #define _GNU_SOURCE -+#include "config.h" -+#include "fixup.h" - #include <stdio.h> - #include <signal.h> - #include <string.h> -diff -Nuar audit-2.1.3.orig/contrib/skeleton.c audit-2.1.3/contrib/skeleton.c ---- audit-2.1.3.orig/contrib/skeleton.c 2011-08-15 17:31:02.000000000 +0000 -+++ audit-2.1.3/contrib/skeleton.c 2012-12-22 03:25:40.000000000 +0000 -@@ -7,6 +7,8 @@ - * gcc skeleton.c -o skeleton -laudit - */ - -+#include "config.h" -+#include "fixup.h" - #include <stdio.h> - #include <sys/types.h> - #include <sys/uio.h> diff --git a/sys-process/audit/files/audit-2.1.3-python.patch b/sys-process/audit/files/audit-2.1.3-python.patch deleted file mode 100644 index a9feec1..0000000 --- a/sys-process/audit/files/audit-2.1.3-python.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -Nuar --exclude '*.orig' audit-2.1.3.orig/bindings/python/Makefile.am audit-2.1.3/bindings/python/Makefile.am ---- audit-2.1.3.orig/bindings/python/Makefile.am 2011-08-15 17:31:01.000000000 +0000 -+++ audit-2.1.3/bindings/python/Makefile.am 2011-09-10 19:01:36.974983756 +0000 -@@ -27,5 +27,6 @@ - - auparse_la_SOURCES = auparse_python.c - auparse_la_CPPFLAGS = -I$(top_srcdir)/auparse $(AM_CPPFLAGS) -I/usr/include/python$(PYTHON_VERSION) -fno-strict-aliasing --auparse_la_LDFLAGS = -module -avoid-version -Wl,-z,relro -+auparse_la_CFLAGS = -shared -+auparse_la_LDFLAGS = -module -avoid-version -shared -Wl,-z,relro - auparse_la_LIBADD = ../../auparse/libauparse.la ../../lib/libaudit.la -diff -Nuar --exclude '*.orig' audit-2.1.3.orig/swig/Makefile.am audit-2.1.3/swig/Makefile.am ---- audit-2.1.3.orig/swig/Makefile.am 2011-08-15 17:31:03.000000000 +0000 -+++ audit-2.1.3/swig/Makefile.am 2011-09-10 19:02:14.095067690 +0000 -@@ -28,7 +28,8 @@ - pyexec_PYTHON = audit.py - pyexec_LTLIBRARIES = _audit.la - pyexec_SOLIBRARIES = _audit.so --_audit_la_LDFLAGS = -module -avoid-version -Wl,-z,relro -+_audit_la_CFLAGS = -shared -+_audit_la_LDFLAGS = -module -avoid-version -shared -Wl,-z,relro - _audit_la_HEADERS: $(top_builddir)/config.h - _audit_la_DEPENDENCIES =${top_srcdir}/lib/libaudit.h ${top_builddir}/lib/libaudit.la - nodist__audit_la_SOURCES = audit_wrap.c diff --git a/sys-process/audit/files/audit.rules-2.1.3 b/sys-process/audit/files/audit.rules-2.1.3 deleted file mode 100644 index b2b4f02..0000000 --- a/sys-process/audit/files/audit.rules-2.1.3 +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/audit/files/audit.rules-2.1.3,v 1.1 2011/09/11 02:58:55 robbat2 Exp $ -# -# This file contains the auditctl rules that are loaded -# whenever the audit daemon is started via the initscripts. -# The rules are simply the parameters that would be passed -# to auditctl. - -# First rule - delete all -# This is to clear out old rules, so we don't append to them. --D - -# Feel free to add below this line. See auditctl man page - -# The following rule would cause all of the syscalls listed to be ignored in logging. --a exit,never -F arch=b32 -S read -S write -S open -S fstat -S mmap -S brk -S munmap -S nanosleep -S fcntl -S close -S dup2 -S rt_sigaction -S stat --a exit,never -F arch=b64 -S read -S write -S open -S fstat -S mmap -S brk -S munmap -S nanosleep -S fcntl -S close -S dup2 -S rt_sigaction -S stat - -# The following rule would cause the capture of all systems not caught above. -# -a exit,always -S all - -# Increase the buffers to survive stress events --b 8192 - -# vim:ft=conf: diff --git a/sys-process/audit/files/audit.rules.stop.post b/sys-process/audit/files/audit.rules.stop.post deleted file mode 100644 index 34db08c..0000000 --- a/sys-process/audit/files/audit.rules.stop.post +++ /dev/null @@ -1,13 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/audit/files/audit.rules.stop.post,v 1.1 2006/06/22 07:41:46 robbat2 Exp $ -# -# This file contains the auditctl rules that are loaded immediately after the -# audit deamon is stopped via the initscripts. -# The rules are simply the parameters that would be passed -# to auditctl. - -# Not used for the default Gentoo configuration as of v1.2.3 -# Paranoid security types might wish to reconfigure kauditd here. - -# vim:ft=conf: diff --git a/sys-process/audit/files/audit.rules.stop.pre b/sys-process/audit/files/audit.rules.stop.pre deleted file mode 100644 index c5fb4f9..0000000 --- a/sys-process/audit/files/audit.rules.stop.pre +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/audit/files/audit.rules.stop.pre,v 1.2 2011/09/11 02:58:55 robbat2 Exp $ -# -# This file contains the auditctl rules that are loaded immediately before the -# audit deamon is stopped via the initscripts. -# The rules are simply the parameters that would be passed -# to auditctl. - -# auditd is stopping, don't capture events anymore --D - -# Disable kernel generating audit events --e 0 - -# vim:ft=conf: diff --git a/sys-process/audit/files/auditd-conf.d-2.1.3 b/sys-process/audit/files/auditd-conf.d-2.1.3 deleted file mode 100644 index b5f389e..0000000 --- a/sys-process/audit/files/auditd-conf.d-2.1.3 +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/audit/files/auditd-conf.d-2.1.3,v 1.1 2011/09/11 02:58:55 robbat2 Exp $ - -# Configuration options for auditd -# -f for foreground mode -# There are some other options as well, but you'll have to look in the source -# code to find them as they aren't ready for use yet. -EXTRAOPTIONS='' - -# Audit rules file to run after starting auditd -RULEFILE_STARTUP=/etc/audit/audit.rules - -# Audit rules file to run before and after stopping auditd -RULEFILE_STOP_PRE=/etc/audit/audit.rules.stop.pre -RULEFILE_STOP_POST=/etc/audit/audit.rules.stop.post - -# If you want to enforce a certain locale for auditd, -# uncomment one of the next lines: -#AUDITD_LANG=none -AUDITD_LANG=C -#AUDITD_LANG=en_US -#AUDITD_LANG=en_US.UTF-8 diff --git a/sys-process/audit/files/auditd-init.d-2.2.2 b/sys-process/audit/files/auditd-init.d-2.2.2 deleted file mode 100644 index 0b10dd9..0000000 --- a/sys-process/audit/files/auditd-init.d-2.2.2 +++ /dev/null @@ -1,100 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/audit/files/auditd-init.d-2.1.3,v 1.1 2011/09/11 02:58:55 robbat2 Exp $ - -extra_started_commands='reload reload_auditd reload_rules' -description='Linux Auditing System' -description_reload='Reload daemon configuration and rules' -description_reload_rules='Reload daemon rules' -description_reload_auditd='Reload daemon configuration' - -name='auditd' -pidfile='/run/auditd.pid' -command='/sbin/auditd' - -start_auditd() { - # Env handling taken from the upstream init script - if [ -z "$AUDITD_LANG" -o "$AUDITD_LANG" = "none" -o "$AUDITD_LANG" = "NONE" ]; then - unset LANG LC_TIME LC_ALL LC_MESSAGES LC_NUMERIC LC_MONETARY LC_COLLATE - else - LANG="$AUDITD_LANG" - LC_TIME="$AUDITD_LANG" - LC_ALL="$AUDITD_LANG" - LC_MESSAGES="$AUDITD_LANG" - LC_NUMERIC="$AUDITD_LANG" - LC_MONETARY="$AUDITD_LANG" - LC_COLLATE="$AUDITD_LANG" - export LANG LC_TIME LC_ALL LC_MESSAGES LC_NUMERIC LC_MONETARY LC_COLLATE - fi - unset HOME MAIL USER USERNAME - - ebegin "Starting ${name}" - start-stop-daemon \ - --start --quiet --pidfile ${pidfile} \ - --exec ${command} -- ${EXTRAOPTIONS} - local ret=$? - eend $ret - return $ret -} - -stop_auditd() { - ebegin "Stopping ${name}" - start-stop-daemon --stop --quiet --pidfile ${pidfile} - local ret=$? - eend $ret - return $ret -} - - -loadfile() { - local rules="$1" - if [ -n "${rules}" -a -f "${rules}" ]; then - einfo "Loading audit rules from ${rules}" - /sbin/auditctl -R "${rules}" 1>/dev/null - return $? - else - return 0 - fi -} - -start() { - start_auditd - local ret=$? - if [ $ret -eq 0 -a "${RC_CMD}" != "restart" ]; then - if [ ! -d "/run/lock/subsys" ]; then - mkdir -p /run/lock/subsys - fi - touch /run/lock/subsys/${name} - loadfile "${RULEFILE_STARTUP}" - fi - return $ret -} - -reload_rules() { - loadfile "${RULEFILE_STARTUP}" -} - -reload_auditd() { - [ -f ${pidfile} ] && kill -HUP `cat ${pidfile}` -} - -reload() { - reload_auditd - reload_rules -} - -stop() { - [ "${RC_CMD}" != "restart" ] && loadfile "${RULEFILE_STOP_PRE}" - stop_auditd - rm -f /var/lock/subsys/${name} - local ret=$? - [ "${RC_CMD}" != "restart" ] && loadfile "${RULEFILE_STOP_POST}" - return $ret -} - -# This is a special case, we do not want to touch the rules at all -restart() { - stop_auditd - start_auditd -}
