Mercurial > hg > portage
changeset 337:e9bee0cb5018
Automated merge with http://hoho.dyndns.org/hg/portage
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Wed, 11 Apr 2012 02:37:47 +0200 |
parents | 969a66f2de7d (current diff) eb14375a9741 (diff) |
children | 90ae974540be |
files | layman/.keep_app-portage_layman-0 net-misc/rabbitmq-server/Manifest |
diffstat | 59 files changed, 2729 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.hgignore Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,2 @@ +^layman/ +\.orig$
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app-admin/jailkit/Manifest Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,11 @@ +AUX jailkit 277 RMD160 3008e6f78a67af2eb318988c034f58197c54abc1 SHA1 a365679a5c9f80db63c3737f979c5b1c99d8f5d4 SHA256 58a7fcdaae6b1706d0183c826b4ff5856c99f24ba41eaf7956b42ff8e35388a7 +AUX jailkit-2.11-ldflags.patch 1885 RMD160 4a1b7bbabb29f9852e9988945ba1047b33443dad SHA1 afbf0aa87f43f881aafc4ee9f6c54c606063d1ad SHA256 a4c32f8ede109b5bdf8b40c32fe18d7c60fef9da9aeb55f86ffae1db0b4bd1a7 +AUX jailkit-2.11-noshells.patch 514 RMD160 5583bcdfb602d6f682db2e125bde2507fd2ebb1a SHA1 4c6c722093ae6d7616269ff48ed402db06533b57 SHA256 1dac48a765603f506e1cc0a0d876fb32ed5121cb64cf12dd5ffec31136880ae3 +AUX jailkit-2.11-pyc.patch 354 RMD160 d0a548409b74ed94fcb9537850ebba96954917b3 SHA1 c55581b9216680aeec54d5e12da4f988052c4777 SHA256 7ec99db35b9483446601495d2ae481df52611e6f52926d3cd18ffbd569a5fd70 +AUX jailkit-2.13-ldflags.patch 1885 RMD160 4a1b7bbabb29f9852e9988945ba1047b33443dad SHA1 afbf0aa87f43f881aafc4ee9f6c54c606063d1ad SHA256 a4c32f8ede109b5bdf8b40c32fe18d7c60fef9da9aeb55f86ffae1db0b4bd1a7 +AUX jailkit-2.13-noshells.patch 514 RMD160 5583bcdfb602d6f682db2e125bde2507fd2ebb1a SHA1 4c6c722093ae6d7616269ff48ed402db06533b57 SHA256 1dac48a765603f506e1cc0a0d876fb32ed5121cb64cf12dd5ffec31136880ae3 +AUX jailkit-2.13-pyc.patch 354 RMD160 d0a548409b74ed94fcb9537850ebba96954917b3 SHA1 c55581b9216680aeec54d5e12da4f988052c4777 SHA256 7ec99db35b9483446601495d2ae481df52611e6f52926d3cd18ffbd569a5fd70 +DIST jailkit-2.11.tar.bz2 110684 RMD160 2d04fa253fc4b419c05137e4618ef18c51c88a19 SHA1 6344b79a2093699115d22668a08e052e75f655e3 SHA256 e774de4ebfa261c82c6fc9e6294a5b5f88d871d26ba0ca4f6d7ccc7308f17de2 +DIST jailkit-2.13.tar.bz2 113352 RMD160 b9224b9b5108842d7345f32ee7daa10110b6ae84 SHA1 ebe77105308d53b254cf9a0cc1dbccd1729c8308 SHA256 ffebd6d1414f0575bd14410063b007409a0662743ef72b60aaa1500249b14f67 +EBUILD jailkit-2.11.ebuild 887 RMD160 2e457e785e5047d654d90ecdf0b089867e87ce4e SHA1 6448166e336586f6e4e3adcca23920dd98d2afe4 SHA256 0d2583c4098860c9c3fcb469d17b918ee1c3b85f84db8a3214cfe1e37ba2a75f +EBUILD jailkit-2.13.ebuild 887 RMD160 2e457e785e5047d654d90ecdf0b089867e87ce4e SHA1 6448166e336586f6e4e3adcca23920dd98d2afe4 SHA256 0d2583c4098860c9c3fcb469d17b918ee1c3b85f84db8a3214cfe1e37ba2a75f
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app-admin/jailkit/files/jailkit Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,18 @@ +#!/sbin/runscript + +JK_SOCKETD="/usr/sbin/jk_socketd" + +depend() { + need logger +} + +start() { + ebegin "Starting jk_socketd" + start-stop-daemon --start --exec ${JK_SOCKETD} + eend $? +} +stop() { + ebegin "Stopping jk_socketd" + start-stop-daemon --stop --exec ${JK_SOCKETD} + eend $? +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app-admin/jailkit/files/jailkit-2.11-ldflags.patch Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,46 @@ +diff --git a/configure.ac b/configure.ac +index e77ea24..1814f2a 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -142,7 +142,7 @@ AC_CHECK_FUNCS( + [cap_get_proc],, + AC_CHECK_LIB([cap], [cap_get_proc], + AC_DEFINE(HAVE_CAP_GET_PROC) +- LDFLAGS="$LDLAGS -lcap", ++ LIBS="$LIBS -lcap", + ) + ) + +diff --git a/src/Makefile.in b/src/Makefile.in +index 49449b6..f55150f 100644 +--- a/src/Makefile.in ++++ b/src/Makefile.in +@@ -67,22 +67,22 @@ OBJS = $(SRCS:.c=.o) + all: ${BINARIES} + + jk_chrootlaunch: jk_chrootlaunch.o jk_lib.o utils.o +- $(CC) $(DEFS) $(LDFLAGS) $(LIBS) -o $@ jk_chrootlaunch.o jk_lib.o utils.o ++ $(CC) $(DEFS) $(LDFLAGS) -o $@ jk_chrootlaunch.o jk_lib.o utils.o $(LIBS) + + jk_socketd: jk_socketd.o jk_lib.o utils.o iniparser.o +- $(CC) $(DEFS) $(LDFLAGS) $(LIBS) -o $@ jk_socketd.o jk_lib.o utils.o iniparser.o ++ $(CC) $(DEFS) $(LDFLAGS) -o $@ jk_socketd.o jk_lib.o utils.o iniparser.o $(LIBS) + + jk_lsh: jk_lsh.o iniparser.o jk_lib.o utils.o wordexp.o +- $(CC) $(DEFS) $(LDFLAGS) $(LIBS) -o $@ jk_lsh.o iniparser.o jk_lib.o utils.o wordexp.o ++ $(CC) $(DEFS) $(LDFLAGS) -o $@ jk_lsh.o iniparser.o jk_lib.o utils.o wordexp.o $(LIBS) + + jk_chrootsh: jk_chrootsh.o iniparser.o jk_lib.o utils.o passwdparser.o +- $(CC) $(DEFS) $(LDFLAGS) $(LIBS) -o $@ jk_chrootsh.o iniparser.o jk_lib.o utils.o passwdparser.o ++ $(CC) $(DEFS) $(LDFLAGS) -o $@ jk_chrootsh.o iniparser.o jk_lib.o utils.o passwdparser.o $(LIBS) + + jk_uchroot: jk_uchroot.o iniparser.o jk_lib.o utils.o +- $(CC) $(DEFS) $(LDFLAGS) $(LIBS) -o $@ jk_uchroot.o iniparser.o jk_lib.o utils.o ++ $(CC) $(DEFS) $(LDFLAGS) -o $@ jk_uchroot.o iniparser.o jk_lib.o utils.o $(LIBS) + + jk_procmailwrapper: jk_procmailwrapper.o jk_lib.o utils.o +- $(CC) $(DEFS) $(LDFLAGS) $(LIBS) -o $@ jk_procmailwrapper.o jk_lib.o utils.o ++ $(CC) $(DEFS) $(LDFLAGS) -o $@ jk_procmailwrapper.o jk_lib.o utils.o $(LIBS) + + clean: + rm -f ${BINARIES}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app-admin/jailkit/files/jailkit-2.11-noshells.patch Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,17 @@ +diff --git a/Makefile.in b/Makefile.in +index 69a9229..eccdbf4 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -69,12 +69,6 @@ install: + @cd man/ && $(MAKE) install + # test if the jk_chrootsh is already in /etc/shells + # this previously had @echo but that fails on FreeBSD +- if test -w /etc/shells; then \ +- if ! grep ${prefix}/sbin/jk_chrootsh /etc/shells ; then \ +- echo "appending ${prefix}/sbin/jk_chroots to /etc/shells";\ +- echo ${prefix}/sbin/jk_chrootsh >> /etc/shells ;\ +- fi \ +- fi + + + uninstall:
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app-admin/jailkit/files/jailkit-2.11-pyc.patch Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,12 @@ +diff --git a/py/Makefile.in b/py/Makefile.in +index 925cd12..7ffb1a2 100644 +--- a/py/Makefile.in ++++ b/py/Makefile.in +@@ -67,7 +67,6 @@ install: all + done + ${INSTALL} -d -m 755 ${DESTDIR}${PYLIBDIR} + ${INSTALL} -m 0644 jk_lib.py ${DESTDIR}${PYLIBDIR}/ +- ${INSTALL} -m 0644 jk_lib.pyc ${DESTDIR}${PYLIBDIR}/ + + uninstall: + for file in ${PY_BINS}; do \
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app-admin/jailkit/files/jailkit-2.13-ldflags.patch Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,46 @@ +diff --git a/configure.ac b/configure.ac +index e77ea24..1814f2a 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -142,7 +142,7 @@ AC_CHECK_FUNCS( + [cap_get_proc],, + AC_CHECK_LIB([cap], [cap_get_proc], + AC_DEFINE(HAVE_CAP_GET_PROC) +- LDFLAGS="$LDLAGS -lcap", ++ LIBS="$LIBS -lcap", + ) + ) + +diff --git a/src/Makefile.in b/src/Makefile.in +index 49449b6..f55150f 100644 +--- a/src/Makefile.in ++++ b/src/Makefile.in +@@ -67,22 +67,22 @@ OBJS = $(SRCS:.c=.o) + all: ${BINARIES} + + jk_chrootlaunch: jk_chrootlaunch.o jk_lib.o utils.o +- $(CC) $(DEFS) $(LDFLAGS) $(LIBS) -o $@ jk_chrootlaunch.o jk_lib.o utils.o ++ $(CC) $(DEFS) $(LDFLAGS) -o $@ jk_chrootlaunch.o jk_lib.o utils.o $(LIBS) + + jk_socketd: jk_socketd.o jk_lib.o utils.o iniparser.o +- $(CC) $(DEFS) $(LDFLAGS) $(LIBS) -o $@ jk_socketd.o jk_lib.o utils.o iniparser.o ++ $(CC) $(DEFS) $(LDFLAGS) -o $@ jk_socketd.o jk_lib.o utils.o iniparser.o $(LIBS) + + jk_lsh: jk_lsh.o iniparser.o jk_lib.o utils.o wordexp.o +- $(CC) $(DEFS) $(LDFLAGS) $(LIBS) -o $@ jk_lsh.o iniparser.o jk_lib.o utils.o wordexp.o ++ $(CC) $(DEFS) $(LDFLAGS) -o $@ jk_lsh.o iniparser.o jk_lib.o utils.o wordexp.o $(LIBS) + + jk_chrootsh: jk_chrootsh.o iniparser.o jk_lib.o utils.o passwdparser.o +- $(CC) $(DEFS) $(LDFLAGS) $(LIBS) -o $@ jk_chrootsh.o iniparser.o jk_lib.o utils.o passwdparser.o ++ $(CC) $(DEFS) $(LDFLAGS) -o $@ jk_chrootsh.o iniparser.o jk_lib.o utils.o passwdparser.o $(LIBS) + + jk_uchroot: jk_uchroot.o iniparser.o jk_lib.o utils.o +- $(CC) $(DEFS) $(LDFLAGS) $(LIBS) -o $@ jk_uchroot.o iniparser.o jk_lib.o utils.o ++ $(CC) $(DEFS) $(LDFLAGS) -o $@ jk_uchroot.o iniparser.o jk_lib.o utils.o $(LIBS) + + jk_procmailwrapper: jk_procmailwrapper.o jk_lib.o utils.o +- $(CC) $(DEFS) $(LDFLAGS) $(LIBS) -o $@ jk_procmailwrapper.o jk_lib.o utils.o ++ $(CC) $(DEFS) $(LDFLAGS) -o $@ jk_procmailwrapper.o jk_lib.o utils.o $(LIBS) + + clean: + rm -f ${BINARIES}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app-admin/jailkit/files/jailkit-2.13-noshells.patch Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,17 @@ +diff --git a/Makefile.in b/Makefile.in +index 69a9229..eccdbf4 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -69,12 +69,6 @@ install: + @cd man/ && $(MAKE) install + # test if the jk_chrootsh is already in /etc/shells + # this previously had @echo but that fails on FreeBSD +- if test -w /etc/shells; then \ +- if ! grep ${prefix}/sbin/jk_chrootsh /etc/shells ; then \ +- echo "appending ${prefix}/sbin/jk_chroots to /etc/shells";\ +- echo ${prefix}/sbin/jk_chrootsh >> /etc/shells ;\ +- fi \ +- fi + + + uninstall:
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app-admin/jailkit/files/jailkit-2.13-pyc.patch Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,12 @@ +diff --git a/py/Makefile.in b/py/Makefile.in +index 925cd12..7ffb1a2 100644 +--- a/py/Makefile.in ++++ b/py/Makefile.in +@@ -67,7 +67,6 @@ install: all + done + ${INSTALL} -d -m 755 ${DESTDIR}${PYLIBDIR} + ${INSTALL} -m 0644 jk_lib.py ${DESTDIR}${PYLIBDIR}/ +- ${INSTALL} -m 0644 jk_lib.pyc ${DESTDIR}${PYLIBDIR}/ + + uninstall: + for file in ${PY_BINS}; do \
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app-admin/jailkit/jailkit-2.11.ebuild Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,36 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +inherit autotools eutils + +DESCRIPTION="Allows you to easily put programs and users in a chrooted environment" +HOMEPAGE="http://olivier.sessink.nl/jailkit/" +SRC_URI="http://olivier.sessink.nl/${PN}/${P}.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +src_prepare() { + epatch \ + "${FILESDIR}/${P}-ldflags.patch" \ + "${FILESDIR}/${P}-pyc.patch" \ + "${FILESDIR}/${P}-noshells.patch" + eautoreconf +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + doinitd "${FILESDIR}/jailkit" || die "doinit install failed" +} + +pkg_postinst() { + ebegin "Updating /etc/shells" + { grep -v "^/usr/sbin/jk_chrootsh$" "${ROOT}"etc/shells; echo "/usr/sbin/jk_chrootsh"; } > "${T}"/shells + mv -f "${T}"/shells "${ROOT}"etc/shells + eend $? +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app-admin/jailkit/jailkit-2.13.ebuild Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,36 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +inherit autotools eutils + +DESCRIPTION="Allows you to easily put programs and users in a chrooted environment" +HOMEPAGE="http://olivier.sessink.nl/jailkit/" +SRC_URI="http://olivier.sessink.nl/${PN}/${P}.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +src_prepare() { + epatch \ + "${FILESDIR}/${P}-ldflags.patch" \ + "${FILESDIR}/${P}-pyc.patch" \ + "${FILESDIR}/${P}-noshells.patch" + eautoreconf +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + doinitd "${FILESDIR}/jailkit" || die "doinit install failed" +} + +pkg_postinst() { + ebegin "Updating /etc/shells" + { grep -v "^/usr/sbin/jk_chrootsh$" "${ROOT}"etc/shells; echo "/usr/sbin/jk_chrootsh"; } > "${T}"/shells + mv -f "${T}"/shells "${ROOT}"etc/shells + eend $? +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app-crypt/truecrypt/Manifest Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,8 @@ +AUX truecrypt-6.1-64bit.patch 664 RMD160 0f6b1ef68746290670a805b9483de5625041e3b6 SHA1 a9290da440cdc9c42caec10c4fc9eeedb8b2a3a1 SHA256 f41bc0c1cbd9a7c64b4142f839e362e787de31abd5623fce75c2d734189e82f5 +AUX truecrypt-6.1-bool.patch 883 RMD160 1b9b91f239bd504371f73a96d04fea5a33ca2f62 SHA1 87c470f2f338ef6234846b3ed3606d37416a9ace SHA256 58f364a135d124210bb4f65a5d38a7b59efa3db4afaaf6159d4344ca798c881a +AUX truecrypt-6.1-external-wx.patch 391 RMD160 742f8d7a239211738d30b0da6efdd790e88e34f2 SHA1 8d3cf5bcbc7d55ef74c3b52d34dbd370584b69fe SHA256 668e4460f0daeb1e896b7b6d6673b741db12d82e04eb503a1e2c7924ed819331 +DIST pkcs11.h 9578 RMD160 038002de5e6ed90174051bc5f96a12c51e5f87f0 SHA1 4a87fd021aed6304bccf3987107812b9d701dfe9 SHA256 1563d877b6f8868b8eb8687358162bfb7f868104ed694beb35ae1c5cf1a58b9b +DIST pkcs11f.h 29258 RMD160 c47b5818f84e42aa9d11dfe250a6da2cca14cb77 SHA1 853ad63da8961ac309bac902d270d3497a8e3356 SHA256 5ae6a4f32ca737e02def3bf314c9842fb89be82bf00b6f4022a97d8d565522b8 +DIST pkcs11t.h 70934 RMD160 da30e5792b7b56b4f3651f65f548c23e1ac96eac SHA1 1909623adf647589c7d7e8f49672936c8e03d500 SHA256 8ce68616304684f92a7e267bcc8f486441e92a5cbdfcfd97e69ac9a0b436fb7b +DIST truecrypt-6.1a.tar.gz 1773482 RMD160 d3753af8fee062e4d4c554145cddc9590b1d9ccf SHA1 f2fb1c8cd18b4452529edb53479418a5c1460a58 SHA256 a2bb8273edcb3c3d10d9819daac853f940033deb1f9726986311356bd5b88c4a +EBUILD truecrypt-6.1a.ebuild 2724 RMD160 478e4476ea376050310d8a0d8b32502550f402cb SHA1 d0898cd36a0d45247c6347b8881ee34f6024aeb5 SHA256 5951a886dc2237cdf30b76aadc4adf2b17454bd6b8b48d26d2cc33e953aed422
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app-crypt/truecrypt/files/truecrypt-6.1-64bit.patch Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,15 @@ +diff -urNp truecrypt-6.1-source.orig/Makefile truecrypt-6.1-source/Makefile +--- truecrypt-6.1-source.orig/Makefile 2008-11-11 12:43:29.000000000 +0300 ++++ truecrypt-6.1-source/Makefile 2008-11-11 13:34:37.000000000 +0300 +@@ -50,7 +50,11 @@ C_CXX_FLAGS += -I$(PKCS11_INC) + endif + + C_CXX_FLAGS += -DBOOL=int -DFALSE=0 -DTRUE=1 ++ifeq "$(origin USE64BIT)" "command line" ++C_CXX_FLAGS += -D__int8=char -D__int16=short -D__int32=int '-D__int64=long' # Tested in PlatformTest ++else + C_CXX_FLAGS += -D__int8=char -D__int16=short -D__int32=int '-D__int64=long long' # Tested in PlatformTest ++endif + + export LFLAGS := + export PKG_CONFIG_PATH ?= /usr/local/lib/pkgconfig
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app-crypt/truecrypt/files/truecrypt-6.1-bool.patch Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,25 @@ +diff -urNp truecrypt-6.1-source.orig/Common/Crypto.h truecrypt-6.1-source/Common/Crypto.h +--- truecrypt-6.1-source.orig/Common/Crypto.h 2008-11-11 23:12:53.000000000 +0300 ++++ truecrypt-6.1-source/Common/Crypto.h 2008-11-11 23:14:33.000000000 +0300 +@@ -29,6 +29,10 @@ + + #include "Tcdefs.h" + ++#ifndef BOOL ++#define BOOL BOOL1 ++#endif ++ + #ifdef __cplusplus + extern "C" { + #endif +diff -urNp truecrypt-6.1-source.orig/Makefile truecrypt-6.1-source/Makefile +--- truecrypt-6.1-source.orig/Makefile 2008-11-11 23:12:53.000000000 +0300 ++++ truecrypt-6.1-source/Makefile 2008-11-11 23:13:32.000000000 +0300 +@@ -50,6 +50,7 @@ C_CXX_FLAGS += -I$(PKCS11_INC) + endif + + C_CXX_FLAGS += -DBOOL=int -DFALSE=0 -DTRUE=1 ++C_CXX_FLAGS += -DBOOL1=int + ifeq "$(origin USE64BIT)" "command line" + C_CXX_FLAGS += -D__int8=char -D__int16=short -D__int32=int '-D__int64=long' # Tested in PlatformTest + else
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app-crypt/truecrypt/files/truecrypt-6.1-external-wx.patch Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,11 @@ +diff -urNp truecrypt-6.1-source.orig/Main/Main.make truecrypt-6.1-source/Main/Main.make +--- truecrypt-6.1-source.orig/Main/Main.make 2008-11-11 14:05:16.000000000 +0300 ++++ truecrypt-6.1-source/Main/Main.make 2008-11-11 15:53:16.000000000 +0300 +@@ -76,6 +76,7 @@ WX_CONFIG_LIBS := base + else + WX_CONFIG_LIBS := adv,core,base + endif ++WX_CONFIG_LIBS = + + ifeq "$(TC_BUILD_CONFIG)" "Release" +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app-crypt/truecrypt/truecrypt-6.1a.ebuild Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,105 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils toolchain-funcs multilib wxwidgets + +MY_P="${P}.tar.gz" + +DESCRIPTION="Free open-source disk encryption software" +HOMEPAGE="http://www.truecrypt.org/" +#SRC_URI="TrueCrypt ${PV} Source.tar.gz" +SRC_URI="${P}.tar.gz + pkcs11.h + pkcs11f.h + pkcs11t.h" + +LICENSE="truecrypt-collective-1.4" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="X" +RESTRICT="mirror fetch bindist" + +RDEPEND="sys-fs/fuse + =x11-libs/wxGTK-2.8*" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${P}-source" + +pkg_nofetch() { + einfo "Please download tar.gz source from:" + einfo "http://www.truecrypt.org/downloads2.php" + einfo "Then put the file in ${DISTDIR}/${MY_P}" + einfo "Please download RSA Security Inc. PKCS #11 Cryptographic Token Interface (Cryptoki) 2.20" + einfo "header files:" + einfo "ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/pkcs11.h" + einfo "ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/pkcs11f.h" + einfo "ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/pkcs11t.h" + einfo "Then put files in ${DISTDIR}" +} + +pkg_setup() { + WX_GTK_VER="2.8" + if use X; then + need-wxwidgets unicode + else + need-wxwidgets base-unicode + fi +} + +src_unpack() { + unpack ${MY_P} + cd "${S}" + + epatch "${FILESDIR}/${PN}-6.1-64bit.patch" + epatch "${FILESDIR}/${PN}-6.1-bool.patch" + epatch "${FILESDIR}/${PN}-6.1-external-wx.patch" +} + +src_compile() { + local EXTRA + use amd64 && EXTRA="${EXTRA} USE64BIT=1" + use X || EXTRA="${EXTRA} NOGUI=1" + if has_version '<sys-libs/glibc-2.7'; then + if [ "$(gcc-version)" = "4.3" ]; then + elog "You are trying to compile ${P} using >=sys-devel/gcc-4.3 and <sys-libs/glibc-2.7" + elog "In this case compiling will failed if not -O0 optimization flag used." + elog "Therefore ${P} will compliling with -O0 flag." + elog "Otherwise you could install >=sys-libs/glibc-2.7 or use <sys-devel/gcc-4.3" + CFLAGS="${CFLAGS} -O0" + CXXFLAGS="${CXXFLAGS} -O0" + fi + fi + emake \ + ${EXTRA} \ + PKCS11_INC="${DISTDIR}" \ + NOSTRIP=1 \ + VERBOSE=1 \ + NOTEST=1 \ + CC="$(tc-getCC)" \ + AR="$(tc-getAR)" \ + CXX="$(tc-getCXX)" \ + RANLIB="$(tc-getRANLIB)" \ + EXTRA_CFLAGS="${CFLAGS}" \ + EXTRA_CXXFLAGS="${CXXFLAGS}" \ + EXTRA_LDFLAGS="${LDFLAGS}" \ + WX_CONFIG="${WX_CONFIG}" \ + WX_CONFIG_EXTRA="" \ + || die +} + +src_test() { + "${S}/Main/truecrypt" --text --test +} + +src_install() { + dobin Main/truecrypt + dodoc Readme.txt 'Release/Setup Files/TrueCrypt User Guide.pdf' + insinto "/$(get_libdir)/rcscripts/addons" + newins "${FILESDIR}/${PN}-stop.sh" "${PN}-stop.sh" +} + +pkg_postinst() { + elog "potential legal problems - use at own risk" + elog "http://lists.freedesktop.org/archives/distributions/2008-October/000276.html" +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dev-java/ant-bin/Manifest Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,2 @@ +DIST apache-ant-1.8.1-bin.tar.gz 8264796 RMD160 9b84de42f30997f845d73939002f8ea8e9981a84 SHA1 6fc40553c10f9d5a2b57b8b19ba07aeed7fe9fea SHA256 069f1bf786a6bf26c2a0bdd72f74850f12a407389bc566ff9c0dfaafb9f6c8fe +EBUILD ant-bin-1.8.1.ebuild 789 RMD160 df07e1f8de916638e591da647d182146bf9dbda9 SHA1 dfb20b28a0bdfac841c4ee468776eb8ccd08d26e SHA256 02780337a27676b8e4cdca92e0279b57f0afd39b615cf98ee85876f23d3c3562
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dev-java/ant-bin/ant-bin-1.8.1.ebuild Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,36 @@ + +inherit java-pkg-2 + +DESCRIPTION="Java-based build tool similar to 'make' that uses XML configuration files." +HOMEPAGE="http://ant.apache.org/" + +MY_P="apache-ant-1.8.1" +SRC_URI="mirror://apache/ant/binaries/${MY_P}-bin.tar.gz" +LICENSE="Apache-2.0" +KEYWORDS="~amd64 ~ppc ~x86" + +SLOT="0" +RDEPEND=">=virtual/jdk-1.5" +IUSE="" + +S="${WORKDIR}/${MY_P}" +ANT_SHARE="/usr/share/${PN}" + +src_unpack() { + unpack ${A} + + rm -v "${S}"/bin/*.bat || die + rm -v "${S}"/bin/*.cmd || die +} + +src_install() { + dodir "${ANT_SHARE}" + cp -Rp bin etc lib fetch.xml get-m2.xml "${D}/${ANT_SHARE}" || die "failed to copy" + + java-pkg_regjar "${D}/${ANT_SHARE}"/lib/*.jar + + dodoc INSTALL KEYS LICENSE NOTICE README WHATSNEW || die + + dodir /usr/bin + dosym "${ANT_SHARE}/bin/ant" /usr/bin/ant +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dev-java/jrockit-jdk-bin/Manifest Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,12 @@ +AUX jrockit-jdk-bin-1.6.env 644 RMD160 11837c6f9475b6c36353687d4a3492f97ba96a62 SHA1 d3b3718b1cd3c0858983ac5d3a3708925ad7a1c3 SHA256 9dcce217e023f750648313d8455f984d548dad7ece4b6b3a79654b67da888379 +MD5 4abbf0dafb3c13e8f5aea75fba42ce59 files/jrockit-jdk-bin-1.6.env 644 +RMD160 11837c6f9475b6c36353687d4a3492f97ba96a62 files/jrockit-jdk-bin-1.6.env 644 +SHA256 9dcce217e023f750648313d8455f984d548dad7ece4b6b3a79654b67da888379 files/jrockit-jdk-bin-1.6.env 644 +DIST jrockit-R27.3.1-jdk1.6.0_01-linux-ia32.bin 108013278 RMD160 3bc37892bc5150dd59f8339b4c78612d9c8dbc4d SHA1 8c5ca933d726224f5b78a6c48c21165ec5568930 SHA256 a2a7f49fb5b2d0052d171c92877d757739881841c61c631192149f57e2803390 +EBUILD jrockit-jdk-bin-1.6.0.01.ebuild 3456 RMD160 9f4c0cd3737e0a336c7f81f932b5cc447e41b42d SHA1 0f303a37718c299f21878952bddfb2d7b5ac37bc SHA256 ca9dbb17ba1a1b343ad0602b9e04a5a35c158c3b40ec9fca8223d0a0de9ef493 +MD5 f1d557f7b674879029a6c954754419d7 jrockit-jdk-bin-1.6.0.01.ebuild 3456 +RMD160 9f4c0cd3737e0a336c7f81f932b5cc447e41b42d jrockit-jdk-bin-1.6.0.01.ebuild 3456 +SHA256 ca9dbb17ba1a1b343ad0602b9e04a5a35c158c3b40ec9fca8223d0a0de9ef493 jrockit-jdk-bin-1.6.0.01.ebuild 3456 +MD5 0a25dd3c0e25871c1e97c1a882c42c89 files/digest-jrockit-jdk-bin-1.6.0.01 316 +RMD160 069d2719d7acd1332e3c2010f777de71e70866e0 files/digest-jrockit-jdk-bin-1.6.0.01 316 +SHA256 e069ea2884b16a62aa60fc35f1c978ef0416fcf8e8a7e7f55e2bb0667bafa457 files/digest-jrockit-jdk-bin-1.6.0.01 316
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dev-java/jrockit-jdk-bin/files/jrockit-jdk-bin-1.6.env Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,13 @@ +VERSION="WebLogic JRockit @PV@" +JAVA_HOME=/opt/@P@ +JDK_HOME=/opt/@P@ +JAVAC=${JAVA_HOME}/bin/javac +PATH="${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin" +ROOTPATH="${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin" +LDPATH="/opt/@P@/jre/lib" +MANPATH="/opt/@P@/man/" +PROVIDES_TYPE="JDK JRE" +PROVIDES_VERSION="1.6" +BOOTCLASSPATH="${JAVA_HOME}/jre/lib/jrockit.jar:${JAVA_HOME}/jre/lib/managementapi.jar:${JAVA_HOME}/jre/lib/rt.jar:${JAVA_HOME}/jre/lib/i18n.jar:${JAVA_HOME}/jre/lib/sunrsasign.jar:${JAVA_HOME}/jre/lib/jsse.jar:${JAVA_HOME}/jre/lib/jce.jar:${JAVA_HOME}/jre/lib/charsets.jar" +GENERATION="2" +ENV_VARS="JAVA_HOME JDK_HOME JAVAC PATH ROOTPATH LDPATH MANPATH"
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dev-java/jrockit-jdk-bin/jrockit-jdk-bin-1.6.0.01.ebuild Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,113 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header$ + +# WARNING: This is the default VM on ia64, so treat this ebuild +# with proper care. + +# The stripping of symbols seems to mess up the BEA code. Not sure why. +RESTRICT="strip fetch" + +inherit java-vm-2 versionator + +PV_MAJOR="$(get_version_component_range 1-3 ${PV})" +PV_EXTRA="$(get_version_component_range 4 ${PV})" +UPSTREAM_RELEASE="27.3.1" + +SRC_URI_BASE="jrockit-R${UPSTREAM_RELEASE}-jdk${PV_MAJOR}_${PV_EXTRA}-linux-" +#SRC_URI="x86? ( ${SRC_URI_BASE}ia32.bin ) +# amd64? ( ${SRC_URI_BASE}x64.bin ) +# ia64? ( ${SRC_URI_BASE}ipf.bin )" +SRC_URI="x86? ( ${SRC_URI_BASE}ia32.bin )" + +DESCRIPTION="BEA WebLogic's J2SE Development Kit, R${UPSTREAM_RELEASE}" + +HOMEPAGE="http://commerce.bea.com/products/weblogicjrockit/jrockit_prod_fam.jsp" + +LICENSE="jrockit" +SLOT="1.6" +KEYWORDS="-* ~amd64 ~ia64 ~x86" +IUSE="doc examples" + +DEPEND="app-arch/unzip" +RDEPEND="doc? ( =dev-java/java-sdk-docs-1.5.0* )" +JAVA_PROVIDE="jdbc-stdext jdbc-rowset" + +QA_TEXTRELS_amd64="opt/${P}/mercuryprofiler/lib/sparc-sunos/libprobejni.so + opt/${P}/mercuryprofiler/lib/x86-linux/libprobejni.so" + +# not working for some reason... +# because it probably needs WX_LOAD and not EXECSTACK +QA_EXECSTACK_amd64="opt/${P}/mercuryprofiler/bin/sparc-sunos/systemmetrics + opt/${P}/mercuryprofiler/lib/sparc-sunos/libprobejni.so" + +QA_TEXTRELS_x86="opt/${P}/jre/lib/i386/jrockit/libjvm.so +opt/${P}/jre/lib/i386/motif21/libmawt.so +opt/${P}/jre/lib/i386/libjmapi.so +opt/${P}/mercuryprofiler/lib/x86-linux/libjvmti.so +opt/${P}/mercuryprofiler/lib/x86-linux/libprobejni.so +opt/${P}/mercuryprofiler/lib/sparc-sunos64/libjvmti.so +opt/${P}/mercuryprofiler/lib/sparc-sunos64/libprobejni.so +opt/${P}/mercuryprofiler/lib/sparc-sunos/libjvmti.so +opt/${P}/mercuryprofiler/lib/sparc-sunos/libprobejni.so" + +QA_EXECSTACK_x86="opt/${P}/bin/* +opt/${P}/jre/bin/* +opt/${P}/jre/lib/i386/jrockit/libjvm.so +opt/${P}/jre/lib/i386/libnet.so" + +QA_WX_LOAD_x86="opt/${P}/mercuryprofiler/bin/sparc-sunos/systemmetrics +opt/${P}/mercuryprofiler/bin/sparc-sunos/reference_sort +opt/${P}/mercuryprofiler/lib/sparc-sunos64/libjvmti.so +opt/${P}/mercuryprofiler/lib/sparc-sunos64/libprobejni.so +opt/${P}/mercuryprofiler/lib/sparc-sunos/libjvmti.so +opt/${P}/mercuryprofiler/lib/sparc-sunos/libprobejni.so" + +pkg_nofetch() { + einfo "Please download ${A} from:" + einfo ${HOMEPAGE} + einfo "and move it to ${DISTDIR}" +} + +src_unpack() { + # unpack cannot determine file format + # unzip to get more zips + unzip ${DISTDIR}/${A} || die + + mkdir ${S} || die + + # this is ugly but don't see any better way + # empty jre dir is part of the zip + unzip *sdk_no_jre.zip -d ${S} || die + # remove so it doesn't affect next unzip + rm *sdk_no_jre.zip || die + # unpack the jre into its dir + unzip *jre.zip -d ${S}/jre || die +} + +src_install() { + local dirs="bin include jre lib missioncontrol src.zip" + + insinto "/opt/${P}" + for i in ${dirs} ; do + doins -r $i || die + done + + if use examples; then + doins -r demo || die + doins -r sample || die + fi + + newdoc README.txt README || die + dodoc LICENSE || die + + chmod +x ${D}/opt/${P}/bin/* ${D}/opt/${P}/jre/bin/* || die "Could not chmod" + set_java_env +} + +pkg_postinst () { + # Set as default VM if none exists + java-vm-2_pkg_postinst + elog "Please review the license agreement in /usr/share/doc/${PF}/LICENSE" + elog "If you do not agree to the terms of this license, please uninstall this package" +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dev-java/sun-jdk/files/sun-jdk-1.4.env Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,17 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jdk/files/sun-jdk-1.4.env,v 1.1 2006/06/25 20:06:24 nichoj Exp $ + +VERSION="Sun JDK @PV@" +JAVA_HOME=/opt/@P@ +JDK_HOME=/opt/@P@ +JAVAC=${JAVA_HOME}/bin/javac +PATH="${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin:${JAVA_HOME}/jre/javaws" +ROOTPATH="${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin:${JAVA_HOME}/jre/javaws" +LDPATH="${JAVA_HOME}/jre/lib/@PLATFORM@/:${JAVA_HOME}/jre/lib/@PLATFORM@/native_threads/:${JAVA_HOME}/jre/lib/@PLATFORM@/classic/:${JAVA_HOME}/jre/lib/@PLATFORM@/server/" +MANPATH="/opt/@P@/man" +PROVIDES_TYPE="JDK JRE" +PROVIDES_VERSION="1.4" +BOOTCLASSPATH="${JAVA_HOME}/jre/lib/rt.jar:${JAVA_HOME}/jre/lib/i18n.jar:${JAVA_HOME}/jre/lib/sunrsasign.jar:${JAVA_HOME}/jre/lib/jsse.jar:${JAVA_HOME}/jre/lib/jce.jar:${JAVA_HOME}/jre/lib/charsets.jar" +GENERATION="2" +ENV_VARS="JAVA_HOME JDK_HOME JAVAC PATH ROOTPATH LDPATH MANPATH"
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dev-lang/php/Manifest Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,11 @@ +AUX 20php5-envd 145 RMD160 8c81fb7dc1d1ddf16fd956d748514db3bcb27603 SHA1 f1cef57c0def8e2c5422aaf136f40b4ff47801d2 SHA256 efaae9e6ae5f7010e073c2ab6d8a9dda009f0707c7d7b0c027e142c94f7041a4 +AUX 70_mod_php5.conf-apache2 348 RMD160 9f3f49a52ebf92c2650501c5ceb6f95ce4bb2e76 SHA1 62992e793446b4a9a64900d1ecba7bae06873382 SHA256 5bb8a45570582b4389a7d3feea0398e1c13ed4ced96e559b9406ed8c965dea8c +AUX eblits/src_compile-v1.eblit 1283 RMD160 83fbb374e2dfaa9d164e6b32b57c268ed06bf519 SHA1 09124cbc9008bfb72eb24cd24b2319d22df52c2c SHA256 5ec76ae24304c5f803a615a98394c219018da1b1ce2018f92f6ac8c5becf6c99 +AUX eblits/src_configure-v521.eblit 10844 RMD160 90513f59b5f17d680004d3e74581d9eedc8af490 SHA1 a369e2cf7816799f7e2bead8b6eccc2115d0ecdc SHA256 ad875ca45e9ad975c0d7a3cbedc27c5035aa048d7aa935221a15e47cbca63c3d +AUX eblits/src_install-v2.eblit 5237 RMD160 d1368ba2f7dfe52e8440afea6c5056fd738f5c10 SHA1 b0df591e1b093bdf08414e21a47bfcf5f09b09ac SHA256 860bf8ada8a4900d6a4bdd29bab3e65aff29ba8ddbbba4bec50d9d29c6990ca4 +AUX eblits/src_prepare-v2.eblit 2604 RMD160 379dbca3e2ae8c1f09f608220ec9c98d099cb792 SHA1 42afae4e07633535ecea49817f5badd559f10ff1 SHA256 fe7534260fb81a012b8021b5d555756ce8733ad192bf51cedd94f12963811790 +AUX eblits/src_test-v1.eblit 1557 RMD160 2afc2b505f2b4bd786635e5b7e997248e93009c3 SHA1 070c2b58b55fc2cec939d7a333057506413e8e99 SHA256 81e9ecf94793377e42508d9e57cd7ab3faff78bce722b84b63999a23bdb2098a +DIST php-5.2.17.tar.bz2 9092312 RMD160 567fa8d718b93fb83a89494c83a8bec224ac99e9 SHA1 d68f3b09f766990d815a3c4c63c157db8dab8095 SHA256 e81beb13ec242ab700e56f366e9da52fd6cf18961d155b23304ca870e53f116c +DIST php-patchset-5.2.17-r0.tar.bz2 8369 RMD160 544af4eb2de8e4478e675810f18a5b494b59709b SHA1 7b3c56437b435f60f72f7af08112e77c01e2f827 SHA256 fb159a02faf5120dd9bc620bd3f3094735f181aa6893273bb7dd29771b8b23b2 +DIST suhosin-patch-5.2.16-0.9.7.patch.gz 23069 RMD160 b28b70faf136b3e04c5b483da0f4c2279378f43a SHA1 fec10b2b81582d06bb0d0a96ea55c525afc8ab29 SHA256 aae115a318d80b3f32cedf876e7a8e4b932febb1b0c743c0b398003ebe122f91 +EBUILD php-5.2.17.ebuild 11400 RMD160 442ce96fc819167fe093b1ff754da17b98812805 SHA1 e808e9b24dcfee8f75e8ea465b964a965151f513 SHA256 1e82c08f4348f02817a0932030ecfaa741de1933edda9e884042b9a83aa6b267
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dev-lang/php/files/20php5-envd Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,2 @@ +MANPATH="/usr/lib/php5/man/" +CONFIG_PROTECT_MASK="/etc/php/cli-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/apache2-php5/ext-active/"
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dev-lang/php/files/70_mod_php5.conf-apache2 Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,14 @@ +<IfDefine PHP5> + # Load the module first + <IfModule !mod_php5.c> + LoadModule php5_module modules/libphp5.so + </IfModule> + + # Set it to handle the files + <IfModule mod_mime.c> + AddHandler application/x-httpd-php .php .php5 .phtml + AddHandler application/x-httpd-php-source .phps + </IfModule> + + DirectoryIndex index.php index.phtml +</IfDefine>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dev-lang/php/files/eblits/src_compile-v1.eblit Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,60 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/files/eblits/src_compile-v1.eblit,v 1.6 2010/08/14 19:37:31 mabi Exp $ + +eblit-php-src_compile() { + # snmp seems to run during src_compile, too (bug #324739) + addpredict /usr/share/snmp/mibs/.index + + SAPI_DIR="${WORKDIR}/sapis" + + for sapi in ${SAPIS} ; do + use "${sapi}" || continue + + php_sapi_build "${sapi}" + php_sapi_copy "${sapi}" + done +} + +php_sapi_build() { + mkdir -p "${SAPI_DIR}/$1" + + cd "${WORKDIR}/sapis-build/$1" + emake || die "emake failed" +} + +php_sapi_copy() { + local sapi="$1" + local source="" + + case "$sapi" in + cli) + source="sapi/cli/php" + ;; + cgi) + source="sapi/cgi/php-cgi" + ;; + fpm) + source="sapi/fpm/php-fpm" + ;; + embed) + source="libs/libphp${PHP_MV}.so" + ;; + + apache2) + # apache2 is a special case; the necessary files + # (yes, multiple) are copied by make install, not + # by the ebuild; that's the reason, why apache2 has + # to be the last sapi + emake INSTALL_ROOT="${SAPI_DIR}/${sapi}/" install-sapi + ;; + + *) + die "unhandled sapi in php_sapi_copy" + ;; + esac + + if [[ "${source}" ]] ; then + cp "$source" "${SAPI_DIR}/$sapi" || die "Unable to copy ${sapi} SAPI" + fi +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dev-lang/php/files/eblits/src_configure-v521.eblit Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,273 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/files/eblits/src_configure-v521.eblit,v 1.1 2010/10/08 18:25:10 olemarkus Exp $ + +eblit-php-src_configure() { + export CFLAGS="${CFLAGS} -D_GNU_SOURCE" + PHP_DESTDIR="/usr/$(get_libdir)/php${SLOT}" + + # This is a global variable and should be in caps. It isn't because the + # phpconfutils eclass relies on exactly this name... + my_conf=" + --prefix="${PHP_DESTDIR}" + --mandir="${PHP_DESTDIR}"/man + --infodir="${PHP_DESTDIR}"/info + --libdir="${PHP_DESTDIR}"/lib + --with-libdir=$(get_libdir) + --without-pear + $(use_enable threads maintainer-zts)" + + phpconfutils_init + + # extension USE flag shared + phpconfutils_extension_enable "bcmath" "bcmath" 1 + phpconfutils_extension_with "bz2" "bzip2" 1 + phpconfutils_extension_enable "calendar" "calendar" 1 + phpconfutils_extension_disable "ctype" "ctype" 0 + phpconfutils_extension_with "curl" "curl" 1 + phpconfutils_extension_with "curlwrappers" "curlwrappers" 0 + phpconfutils_extension_enable "dbase" "dbase" 1 + phpconfutils_extension_disable "dom" "xml" 0 + phpconfutils_extension_enable "exif" "exif" 1 + phpconfutils_extension_with "fbsql" "frontbase" 1 + phpconfutils_extension_with "fdftk" "fdftk" 1 "/opt/fdftk-6.0" + phpconfutils_extension_disable "filter" "filter" 0 + phpconfutils_extension_enable "ftp" "ftp" 1 + phpconfutils_extension_with "gettext" "nls" 1 + phpconfutils_extension_with "gmp" "gmp" 1 + phpconfutils_extension_disable "hash" "hash" 0 + phpconfutils_extension_without "iconv" "iconv" 0 + phpconfutils_extension_disable "ipv6" "ipv6" 0 + phpconfutils_extension_disable "json" "json" 0 + phpconfutils_extension_with "kerberos" "kerberos" 0 "/usr" + phpconfutils_extension_disable "libxml" "xml" 0 + phpconfutils_extension_enable "mbstring" "unicode" 1 + phpconfutils_extension_with "mcrypt" "crypt" 1 + phpconfutils_extension_with "mhash" "mhash" 1 + phpconfutils_extension_with "msql" "msql" 1 + phpconfutils_extension_with "mssql" "mssql" 1 + phpconfutils_extension_with "ncurses" "ncurses" 1 + phpconfutils_extension_with "openssl" "ssl" 0 + phpconfutils_extension_with "openssl-dir" "ssl" 0 "/usr" + phpconfutils_extension_enable "pcntl" "pcntl" 1 + phpconfutils_extension_without "pcre-regex" "pcre" 0 + phpconfutils_extension_disable "pdo" "pdo" 0 + phpconfutils_extension_with "pgsql" "postgres" 1 + phpconfutils_extension_disable "posix" "posix" 0 + phpconfutils_extension_with "pspell" "spell" 1 + phpconfutils_extension_with "recode" "recode" 1 + phpconfutils_extension_disable "reflection" "reflection" 0 + phpconfutils_extension_disable "simplexml" "simplexml" 0 + phpconfutils_extension_enable "shmop" "sharedmem" 0 + phpconfutils_extension_with "snmp" "snmp" 1 + phpconfutils_extension_enable "soap" "soap" 1 + phpconfutils_extension_enable "sockets" "sockets" 1 + phpconfutils_extension_disable "spl" "spl" 0 + phpconfutils_extension_with "sybase-ct" "sybase-ct" 1 + phpconfutils_extension_enable "sysvmsg" "sysvipc" 1 + phpconfutils_extension_enable "sysvsem" "sysvipc" 1 + phpconfutils_extension_enable "sysvshm" "sysvipc" 1 + phpconfutils_extension_with "tidy" "tidy" 1 + phpconfutils_extension_disable "tokenizer" "tokenizer" 0 + phpconfutils_extension_enable "wddx" "wddx" 1 + phpconfutils_extension_disable "xml" "xml" 0 + phpconfutils_extension_disable "xmlreader" "xmlreader" 0 + phpconfutils_extension_disable "xmlwriter" "xmlwriter" 0 + phpconfutils_extension_with "xmlrpc" "xmlrpc" 1 + phpconfutils_extension_with "xsl" "xsl" 1 + phpconfutils_extension_enable "zip" "zip" 1 + phpconfutils_extension_with "zlib" "zlib" 1 + phpconfutils_extension_enable "debug" "debug" 0 + + # DBA support + if use cdb || use berkdb || use flatfile || use gdbm || use inifile \ + || use qdbm ; then + my_conf="${my_conf} --enable-dba${shared}" + fi + + # DBA drivers support + phpconfutils_extension_with "cdb" "cdb" 0 + phpconfutils_extension_with "db4" "berkdb" 0 + phpconfutils_extension_enable "flatfile" "flatfile" 0 + phpconfutils_extension_with "gdbm" "gdbm" 0 + phpconfutils_extension_enable "inifile" "inifile" 0 + phpconfutils_extension_with "qdbm" "qdbm" 0 + + # Support for the GD graphics library + if use gd-external ; then + phpconfutils_extension_with "freetype-dir" "truetype" 0 "/usr" + phpconfutils_extension_with "t1lib" "truetype" 0 "/usr" + phpconfutils_extension_enable "gd-jis-conv" "cjk" 0 + phpconfutils_extension_with "gd" "gd-external" 1 "/usr" + else + phpconfutils_extension_with "freetype-dir" "truetype" 0 "/usr" + phpconfutils_extension_with "t1lib" "truetype" 0 "/usr" + phpconfutils_extension_enable "gd-jis-conv" "cjk" 0 + phpconfutils_extension_with "jpeg-dir" "gd" 0 "/usr" + phpconfutils_extension_with "png-dir" "gd" 0 "/usr" + phpconfutils_extension_with "xpm-dir" "xpm" 0 "/usr" + # enable gd last, so configure can pick up the previous settings + phpconfutils_extension_with "gd" "gd" 0 + fi + + # IMAP support + if use imap ; then + phpconfutils_extension_with "imap" "imap" 1 + phpconfutils_extension_with "imap-ssl" "ssl" 0 + fi + + phpconfutils_extension_with "interbase" "interbase" 0 "/opt" + phpconfutils_extension_with "interbase" "firebird" 0 "/usr" + + # LDAP support + if use ldap ; then + if use oci8 ; then + phpconfutils_extension_with "ldap" "ldap" 1 "${ORACLE_HOME}" + else + phpconfutils_extension_with "ldap" "ldap" 1 + phpconfutils_extension_with "ldap-sasl" "ldap-sasl" 0 + fi + fi + + # MySQL support + if use mysql ; then + phpconfutils_extension_with "mysql" "mysql" 1 "/usr" + phpconfutils_extension_with "mysql-sock" "mysql" 0 "/var/run/mysqld/mysqld.sock" + fi + + # MySQLi support + phpconfutils_extension_with "mysqli" "mysqli" 1 "/usr/bin/mysql_config" + + # ODBC support + if use odbc ; then + phpconfutils_extension_with "unixODBC" "odbc" 1 "/usr" + phpconfutils_extension_with "adabas" "adabas" 1 + phpconfutils_extension_with "birdstep" "birdstep" 1 + phpconfutils_extension_with "dbmaker" "dbmaker" 1 + phpconfutils_extension_with "empress" "empress" 1 + if use empress ; then + phpconfutils_extension_with "empress-bcs" "empress-bcs" 0 + fi + phpconfutils_extension_with "esoob" "esoob" 1 + # Needed to run conftest for IBM DB2 + [[ -n ${DB2_HOME} ]] && export LD_LIBRARY_PATH="${DB2_HOME}/`get_libdir`" + phpconfutils_extension_with "ibm-db2" "db2" 1 "${DB2_HOME}" + phpconfutils_extension_with "sapdb" "sapdb" 1 + phpconfutils_extension_with "solid" "solid" 1 + fi + + if use iodbc ; then + phpconfutils_extension_with "iodbc" "iodbc" 1 "/usr" + fi + + # Oracle support + phpconfutils_extension_with "oci8" "oci8" 1 + if use oci8-instant-client ; then + OCI8IC_PKG="$(best_version dev-db/oracle-instantclient-basic | \ + sed -e 's|dev-db/oracle-instantclient-basic-||g' | \ + sed -e 's|-r.*||g')" + + phpconfutils_extension_with "oci8" "oci8-instant-client" 1 \ + "instantclient,/usr/lib/oracle/${OCI8IC_PKG}/client/lib" + fi + + # PDO support + if use pdo ; then + phpconfutils_extension_with "pdo-dblib" "mssql" 1 + phpconfutils_extension_with "pdo-mysql" "mysql" 1 "/usr" + phpconfutils_extension_with "pdo-pgsql" "postgres" 1 + phpconfutils_extension_with "pdo-sqlite" "sqlite" 1 "/usr" + phpconfutils_extension_with "pdo-odbc" "odbc" 1 "unixODBC,/usr" + if use oci8 ; then + phpconfutils_extension_with "pdo-oci" "oci8" 1 + fi + if use oci8-instant-client ; then + phpconfutils_extension_with "pdo-oci" "oci8-instant-client" 1 \ + "instantclient,/usr,${OCI8IC_PKG}" + fi + fi + + # readline/libedit support + phpconfutils_extension_with "readline" "readline" 0 + phpconfutils_extension_with "libedit" "libedit" 0 + + # Session support + if use session ; then + phpconfutils_extension_with "mm" "sharedmem" 0 + else + phpconfutils_extension_disable "session" "session" 0 + fi + + # SQLite support + if use sqlite ; then + phpconfutils_extension_with "sqlite" "sqlite" 0 "/usr" + phpconfutils_extension_enable "sqlite-utf8" "unicode" 0 + else + phpconfutils_extension_without "sqlite" "sqlite" 0 + fi + + if use pic ; then + my_conf="${my_conf} --with-pic" + fi + + + # we use the system copy of pcre + # --with-pcre-regex affects ext/pcre + # --with-pcre-dir affects ext/filter and ext/zip + if use pcre ; then + my_conf="${my_conf} --with-pcre-regex=/usr --with-pcre-dir=/usr" + fi + + # Catch CFLAGS problems + php_check_cflags + + # Support user-passed configuration parameters + my_conf="${my_conf} ${EXTRA_ECONF:-}" + + # Support the Apache2 extras, they must be set globally for all + # SAPIs to work correctly, especially for external PHP extensions + + mkdir -p "${WORKDIR}/sapis-build" + for one_sapi in $SAPIS ; do + use "${one_sapi}" || continue + php_set_ini_dir "${one_sapi}" + + cp -r "${S}" "${WORKDIR}/sapis-build/${one_sapi}" + cd "${WORKDIR}/sapis-build/${one_sapi}" + + sapi_conf="${my_conf} --with-config-file-path=${PHP_INI_DIR} + --with-config-file-scan-dir=${PHP_EXT_INI_DIR_ACTIVE}" + + for sapi in $SAPIS ; do + case "$sapi" in + cli|embed) + if [[ "${one_sapi}" == "${sapi}" ]] ; then + sapi_conf="${sapi_conf} --enable-${sapi}" + else + sapi_conf="${sapi_conf} --disable-${sapi}" + fi + ;; + + cgi) + if [[ "${one_sapi}" == "${sapi}" ]] ; then + sapi_conf+=" --enable-cgi --enable-fastcgi" + use discard-path && sapi_conf+=" --enable-discard-path" + use force-cgi-redirect && sapi_conf+=" --enable-force-cgi-redirect" + else + sapi_conf+=" --disable-${sapi}" + fi + ;; + + apache2) + if [[ "${one_sapi}" == "${sapi}" ]] ; then + sapi_conf="${sapi_conf} --with-apxs2=/usr/sbin/apxs" + else + sapi_conf="${sapi_conf} --without-apxs2" + fi + ;; + esac + done + + econf ${sapi_conf} + done +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dev-lang/php/files/eblits/src_install-v2.eblit Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,165 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/files/eblits/src_install-v2.eblit,v 1.14 2011/12/16 09:02:43 olemarkus Exp $ + +eblit-php-src_install() { + # see bug #324739 for what happens when we don't have that + addpredict /usr/share/snmp/mibs/.index + + # grab the first SAPI that got built and install common files from there + local first_sapi="" + for sapi in $SAPIS ; do + if use $sapi ; then + first_sapi=$sapi + break + fi + done + + # Makefile forgets to create this before trying to write to it... + dodir "${PHP_DESTDIR}/bin" + + # Install php environment (without any sapis) + cd "${WORKDIR}/sapis-build/$first_sapi" + emake INSTALL_ROOT="${D}" \ + install-build install-headers install-programs \ + || die "emake install failed" + + local extension_dir="$("${D}/${PHP_DESTDIR}/bin/php-config" --extension-dir)" + + # And install the modules to it + if use sharedext ; then + insinto "${extension_dir}" + doins "${WORKDIR}/sapis-build/${first_sapi}/modules/"*.so + fi + + # Create the directory where we'll put version-specific php scripts + keepdir /usr/share/php${PHP_MV} + + local sapi="", file="" + local sapi_list="" + + for sapi in ${SAPIS}; do + if use "${sapi}" ; then + einfo "Installing SAPI: ${sapi}" + cd "${WORKDIR}/sapis-build/${sapi}" + # needed each time, php_install_ini would reset it + into "${PHP_DESTDIR}" + file=$(find "${SAPI_DIR}/${sapi}/" -type f | head -n 1) + + if [[ "${file: -3}" == ".so" ]]; then + if [[ "${sapi}" == "apache2" ]]; then + insinto "${PHP_DESTDIR}/apache2/" + newins "${file}" "${file/*\/}" + keepdir "/usr/$(get_libdir)/apache2/modules" + else + dolib.so "${file}" || die "Unable to install ${sapi} sapi" + fi + else + dobin "${file}" || die "Unable to install ${sapi} sapi" + fi + + php_install_ini "${sapi}" + + # construct correct SAPI string for php-config + # thanks to ferringb for the bash voodoo + if [[ "${sapi}" == "apache2" ]]; then + sapi_list="${sapi_list:+${sapi_list} }apache2handler" + else + sapi_list="${sapi_list:+${sapi_list} }${sapi}" + fi + fi + done + + # Install env.d files + newenvd "${FILESDIR}/20php5-envd" \ + "20php${SLOT}" + sed -e "s|/lib/|/$(get_libdir)/|g" -i \ + "${D}/etc/env.d/20php${SLOT}" + sed -e "s|php5|php${SLOT}|g" -i \ + "${D}/etc/env.d/20php${SLOT}" + + # set php-config variable correctly (bug #278439) + sed -e "s:^\(php_sapis=\)\".*\"$:\1\"${sapi_list}\":" -i \ + "${D}/usr/$(get_libdir)/php${SLOT}/bin/php-config" +} + +php_install_ini() { + local phpsapi="${1}" + + # work out where we are installing the ini file + php_set_ini_dir "${phpsapi}" + + local phpinisrc="${PHP_INI_UPSTREAM}-${phpsapi}" + cp "${PHP_INI_UPSTREAM}" "${phpinisrc}" + + # default to allow_url_open=Off, bug 332763 + sed -e 's|^allow_url_fopen .*|allow_url_fopen = Off|g' -i "${phpinisrc}" + + # default to expose_php=Off, bug 300695 + sed -e 's|^expose_php .*|expose_php = Off|g' -i "${phpinisrc}" + + # default to /tmp for save_path, bug #282768 + sed -e 's|^;session.save_path .*$|session.save_path = "/tmp"|g' -i "${phpinisrc}" + + # Set the extension dir + sed -e "s|^extension_dir .*$|extension_dir = ${extension_dir}|g" -i "${phpinisrc}" + + # Set the include path to point to where we want to find PEAR packages + sed -e 's|^;include_path = ".:/php/includes".*|include_path = ".:/usr/share/php'${PHP_MV}':/usr/share/php"|' -i "${phpinisrc}" + + dodir "${PHP_INI_DIR}" + insinto "${PHP_INI_DIR}" + newins "${phpinisrc}" "${PHP_INI_FILE}" + + elog "Installing php.ini for ${phpsapi} into ${PHP_INI_DIR}" + elog + + dodir "${PHP_EXT_INI_DIR}" + dodir "${PHP_EXT_INI_DIR_ACTIVE}" + + # Install any extensions built as shared objects + if use sharedext ; then + insinto "${PHP_EXT_INI_DIR}" + for extension in "${D}/${extension_dir}/"*.so ; do + extension="${extension##*/}" + inifilename="${extension/.so/.ini}" + echo "extension=${extension}" > "${WORKDIR}/sapis-build/${phpsapi}/modules/$inifilename" + doins "${WORKDIR}/sapis-build/${phpsapi}/modules/$inifilename" + dosym "${PHP_EXT_INI_DIR}/${inifilename}" "${PHP_EXT_INI_DIR_ACTIVE}/${inifilename}" + done + fi + + # SAPI-specific handling + if [[ "${sapi}" == "apache2" ]] ; then + insinto "${APACHE_MODULES_CONFDIR}" + newins "${FILESDIR}/70_mod_php${PHP_MV}.conf-apache2" \ + "70_mod_php${PHP_MV}.conf" + fi + + if [[ "${sapi}" == "fpm" ]] ; then + [[ -z ${PHP_FPM_INIT_VER} ]] && PHP_FPM_INIT_VER=3 + [[ -z ${PHP_FPM_CONF_VER} ]] && PHP_FPM_CONF_VER=0 + einfo "Installing FPM CGI config file php-fpm.conf" + insinto ${PHP_INI_DIR} + newins "${FILESDIR}/php-fpm-r${PHP_FPM_CONF_VER}.conf" php-fpm.conf + dodir "/etc/init.d" + insinto "/etc/init.d" + newinitd "${FILESDIR}/php-fpm-r${PHP_FPM_INIT_VER}.init" "php-fpm" + #dosym "${PHP_DESTDIR}/bin/php-fpm" "/usr/bin/php-fpm" + + # Remove bogus /etc/php-fpm.conf.default (bug 359906) + [[ -f "${D}/etc/php-fpm.conf.default" ]] && rm "${D}/etc/php-fpm.conf.default" + fi + + # Install PHP ini files into /usr/share/php + if [[ ${SLOT} == '5.2' ]]; then + newdoc php.ini-dist php.ini-development + newdoc php.ini-recommended php.ini-production + fi + + if [[ ${SLOT} == '5.3' ]]; then + dodoc php.ini-development + dodoc php.ini-production + fi + +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dev-lang/php/files/eblits/src_prepare-v2.eblit Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,71 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/files/eblits/src_prepare-v2.eblit,v 1.3 2011/01/05 11:23:16 mabi Exp $ + +eblit-php-src_prepare() { + # USE=sharedmem (session/mod_mm to be exact) tries to mmap() this path + # ([empty session.save_path]/session_mm_[sapi][gid].sem) + # there is no easy way to circumvent that, all php calls during + # install use -n, so no php.ini file will be used. + # As such, this is the easiest way to get around + addpredict /session_mm_cli250.sem + addpredict /session_mm_cli0.sem + + # kolab support (support for imap annotations) + use kolab && epatch "${WORKDIR}/${PV}/opt/imap-kolab-annotations.patch" + + # Change PHP branding + sed -re "s|^(PHP_EXTRA_VERSION=\").*(\")|\1${PHP_EXTRA_BRANDING}-pl${PR/r/}-gentoo\2|g" \ + -i configure.in || die "Unable to change PHP branding" + + # Apply generic PHP patches + EPATCH_SOURCE="${WORKDIR}/${PV}/generic" EPATCH_SUFFIX="patch" \ + EPATCH_FORCE="yes" \ + EPATCH_MULTI_MSG="Applying generic patches and fixes from upstream..." epatch + + # Patch PHP to show Gentoo as the server platform + sed -e 's/PHP_UNAME=`uname -a | xargs`/PHP_UNAME=`uname -s -n -r -v | xargs`/g' \ + -i configure.in || die "Failed to fix server platform name" + + # Prevent PHP from activating the Apache config, + # as we will do that ourselves + sed -i \ + -e "s,-i -a -n php${PHP_MV},-i -n php${PHP_MV},g" \ + -e "s,-i -A -n php${PHP_MV},-i -n php${PHP_MV},g" \ + configure sapi/apache2filter/config.m4 sapi/apache2handler/config.m4 + + # Patch PHP to support heimdal instead of mit-krb5 + if has_version "app-crypt/heimdal" ; then + sed -e 's|gssapi_krb5|gssapi|g' -i acinclude.m4 \ + || die "Failed to fix heimdal libname" + sed -e 's|PHP_ADD_LIBRARY(k5crypto, 1, $1)||g' -i acinclude.m4 \ + || die "Failed to fix heimdal crypt library reference" + fi + + # Suhosin support + if [[ -n $SUHOSIN_VERSION ]] ; then + if use suhosin ; then + epatch "${WORKDIR}/${SUHOSIN_PATCH}" + fi + else + ewarn "Please note that this version of PHP does not yet come with a suhosin patch" + fi + + + # rebuild the whole autotools stuff as we are heavily patching it + # (suhosin, fastbuild, ...) + + # eaclocal doesn't accept --force, so we try to force re-generation + # this way + rm aclocal.m4 + + # work around divert() issues with newer autoconf, bug #281697 + if has_version '>=sys-devel/autoconf-2.64' ; then + sed -i -r \ + -e 's:^((m4_)?divert)[(]([0-9]*)[)]:\1(600\3):' \ + $(grep -l divert $(find . -name '*.m4') configure.in) || die + fi + eautoreconf --force -W no-cross +} + +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dev-lang/php/files/eblits/src_test-v1.eblit Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,54 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/files/eblits/src_test-v1.eblit,v 1.3 2012/02/06 13:53:17 olemarkus Exp $ + +eblit-php-src_test() { + vecho ">>> Test phase [test]: ${CATEGORY}/${PF}" + PHP_BIN="${WORKDIR}/sapis-build/cli/sapi/cli/php" + if [[ ! -x "${PHP_BIN}" ]] ; then + ewarn "Test phase requires USE=cli, skipping" + return + else + export TEST_PHP_EXECUTABLE="${PHP_BIN}" + fi + + if [[ -x "${WORKDIR}/sapis/cgi/php-cgi" ]] ; then + export TEST_PHP_CGI_EXECUTABLE="${WORKDIR}/sapis/cgi/php-cgi" + fi + + + REPORT_EXIT_STATUS=1 "${TEST_PHP_EXECUTABLE}" -n -d "session.save_path=${T}" \ + "${WORKDIR}/sapis-build/cli/run-tests.php" -n -q -d "session.save_path=${T}" + + for name in ${EXPECTED_TEST_FAILURES}; do + mv "${name}.out" "${name}.out.orig" 2>/dev/null + done + + local failed="$(find -name '*.out')" + if [[ ${failed} != "" ]] ; then + ewarn "The following test cases failed unexpectedly:" + for name in ${failed}; do + ewarn " ${name/.out/}" + done + else + einfo "No unexpected test failures, all fine" + fi + + if [[ ${PHP_SHOW_UNEXPECTED_TEST_PASS} == "1" ]] ; then + local passed="" + for name in ${EXPECTED_TEST_FAILURES}; do + [[ -f "${name}.diff" ]] && continue + passed="${passed} ${name}" + done + if [[ ${passed} != "" ]] ; then + einfo "The following test cases passed unexpectedly:" + for name in ${passed}; do + ewarn " ${passed}" + done + else + einfo "None of the known-to-fail tests passed, all fine" + fi + fi +} + +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dev-lang/php/php-5.2.17.ebuild Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,389 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/Attic/php-5.2.17.ebuild,v 1.18 2012/01/21 09:49:56 olemarkus dead $ + +EAPI=2 + +PHPCONFUTILS_MISSING_DEPS="adabas birdstep db2 dbmaker empress empress-bcs esoob +interbase msql oci8 sapdb solid" + +inherit eutils autotools flag-o-matic versionator depend.apache apache-module db-use phpconfutils php-common-r1 libtool + +#SUHOSIN_VERSION="$PV-0.9.7" +SUHOSIN_VERSION="5.2.16-0.9.7" +EXPECTED_TEST_FAILURES="" + +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86" + +function php_get_uri () +{ + case "${1}" in + "php-pre") + echo "http://downloads.php.net/johannes/${2}" + ;; + "php") + echo "http://www.php.net/distributions/${2}" + ;; + "suhosin") + echo "http://download.suhosin.org/${2}" + ;; + "gentoo") + echo "mirror://gentoo/${2}" + ;; + *) + die "unhandled case in php_get_uri" + ;; + esac +} + +PHP_MV="$(get_major_version)" + +# alias, so we can handle different types of releases (finals, rcs, alphas, +# betas, ...) w/o changing the whole ebuild +PHP_PV="${PV/_rc/RC}" +PHP_RELEASE="php" +PHP_P="${PN}-${PHP_PV}" +PHP_SRC_URI="$(php_get_uri "${PHP_RELEASE}" "${PHP_P}.tar.bz2")" + +PHP_PATCHSET="0" +PHP_PATCHSET_URI=" + $(php_get_uri gentoo "php-patchset-${PV}-r${PHP_PATCHSET}.tar.bz2")" + +if [[ ${SUHOSIN_VERSION} == *-gentoo ]]; then + # in some cases we use our own suhosin patch (very recent version, + # patch conflicts, etc.) + SUHOSIN_TYPE="gentoo" +else + SUHOSIN_TYPE="suhosin" +fi + +if [[ -n ${SUHOSIN_VERSION} ]]; then + SUHOSIN_PATCH="suhosin-patch-${SUHOSIN_VERSION}.patch" + SUHOSIN_URI="$(php_get_uri ${SUHOSIN_TYPE} ${SUHOSIN_PATCH}.gz )" +fi + +SRC_URI=" + ${PHP_SRC_URI} + ${PHP_PATCHSET_URI}" + +if [[ -n ${SUHOSIN_VERSION} ]]; then + SRC_URI="${SRC_URI} + suhosin? ( ${SUHOSIN_URI} )" +fi + +DESCRIPTION="The PHP language runtime engine: CLI, CGI, Apache2 and embed SAPIs." +HOMEPAGE="http://php.net/" +LICENSE="PHP-3" + +# We can build the following SAPIs in the given order +SAPIS="cli cgi embed apache2" + +# Gentoo-specific, common features +IUSE="kolab" + +# SAPIs and SAPI-specific USE flags (cli SAPI is default on): +IUSE="${IUSE} + ${SAPIS/cli/+cli} + threads force-cgi-redirect discard-path" + +IUSE="${IUSE} adabas bcmath berkdb birdstep bzip2 calendar cdb cjk + crypt +ctype curl curlwrappers db2 dbase dbmaker debug doc empress + empress-bcs esoob exif fdftk frontbase +filter firebird + flatfile ftp gd gd-external gdbm gmp +hash +iconv imap inifile + interbase iodbc ipv6 +json kerberos ldap ldap-sasl libedit + mhash msql mssql mysql mysqli ncurses nls oci8 + oci8-instant-client odbc pcntl +pcre pdo pic +posix postgres qdbm + readline recode reflection sapdb +session sharedext sharedmem + +simplexml snmp soap sockets solid spell spl sqlite ssl suhosin + sybase-ct sysvipc tidy +tokenizer truetype unicode wddx + xml xmlreader xmlwriter xmlrpc xpm xsl zip zlib" + +# Enable suhosin if available +[[ -n $SUHOSIN_VERSION ]] && IUSE="${IUSE} suhosin" + +DEPEND=">=app-admin/eselect-php-0.6.2 + pcre? ( >=dev-libs/libpcre-7.9[unicode] ) + adabas? ( >=dev-db/unixODBC-1.8.13 ) + apache2? ( www-servers/apache[threads=] ) + berkdb? ( =sys-libs/db-4* ) + birdstep? ( >=dev-db/unixODBC-1.8.13 ) + bzip2? ( app-arch/bzip2 ) + cdb? ( || ( dev-db/cdb dev-db/tinycdb ) ) + cjk? ( !gd? ( !gd-external? ( + virtual/jpeg + media-libs/libpng + sys-libs/zlib + ) ) ) + crypt? ( >=dev-libs/libmcrypt-2.4 ) + curl? ( >=net-misc/curl-7.10.5 ) + db2? ( >=dev-db/unixODBC-1.8.13 ) + dbmaker? ( >=dev-db/unixODBC-1.8.13 ) + empress? ( >=dev-db/unixODBC-1.8.13 ) + empress-bcs? ( >=dev-db/unixODBC-1.8.13 ) + esoob? ( >=dev-db/unixODBC-1.8.13 ) + exif? ( !gd? ( !gd-external? ( + virtual/jpeg + media-libs/libpng + sys-libs/zlib + ) ) ) + fdftk? ( app-text/fdftk ) + firebird? ( dev-db/firebird ) + gd? ( virtual/jpeg media-libs/libpng sys-libs/zlib ) + gd-external? ( media-libs/gd ) + gdbm? ( >=sys-libs/gdbm-1.8.0 ) + gmp? ( >=dev-libs/gmp-4.1.2 ) + iconv? ( virtual/libiconv ) + imap? ( virtual/imap-c-client[ssl=] ) + iodbc? ( dev-db/libiodbc ) + kerberos? ( virtual/krb5 ) + kolab? ( >=net-libs/c-client-2004g-r1 ) + ldap? ( !oci8? ( >=net-nds/openldap-1.2.11 ) ) + ldap-sasl? ( !oci8? ( dev-libs/cyrus-sasl >=net-nds/openldap-1.2.11 ) ) + libedit? ( || ( sys-freebsd/freebsd-lib dev-libs/libedit ) ) + mhash? ( app-crypt/mhash ) + mssql? ( dev-db/freetds[mssql] ) + mysql? ( virtual/mysql ) + mysqli? ( >=virtual/mysql-4.1 ) + ncurses? ( sys-libs/ncurses ) + nls? ( sys-devel/gettext ) + oci8-instant-client? ( dev-db/oracle-instantclient-basic ) + odbc? ( >=dev-db/unixODBC-1.8.13 ) + postgres? ( dev-db/postgresql-base ) + qdbm? ( dev-db/qdbm ) + readline? ( sys-libs/readline ) + recode? ( app-text/recode ) + sapdb? ( >=dev-db/unixODBC-1.8.13 ) + sharedmem? ( dev-libs/mm ) + simplexml? ( >=dev-libs/libxml2-2.6.8 ) + snmp? ( >=net-analyzer/net-snmp-5.2 ) + soap? ( >=dev-libs/libxml2-2.6.8 ) + solid? ( >=dev-db/unixODBC-1.8.13 ) + spell? ( >=app-text/aspell-0.50 ) + sqlite? ( =dev-db/sqlite-2* pdo? ( =dev-db/sqlite-3* ) ) + ssl? ( >=dev-libs/openssl-0.9.7 ) + sybase-ct? ( dev-db/freetds ) + tidy? ( app-text/htmltidy ) + truetype? ( + =media-libs/freetype-2* + >=media-libs/t1lib-5.0.0 + !gd? ( !gd-external? ( + virtual/jpeg media-libs/libpng sys-libs/zlib ) ) + ) + wddx? ( >=dev-libs/libxml2-2.6.8 ) + xml? ( >=dev-libs/libxml2-2.6.8 ) + xmlrpc? ( >=dev-libs/libxml2-2.6.8 virtual/libiconv ) + xmlreader? ( >=dev-libs/libxml2-2.6.8 ) + xmlwriter? ( >=dev-libs/libxml2-2.6.8 ) + xpm? ( + x11-libs/libXpm + virtual/jpeg + media-libs/libpng sys-libs/zlib + ) + xsl? ( dev-libs/libxslt >=dev-libs/libxml2-2.6.8 ) + zip? ( sys-libs/zlib ) + zlib? ( sys-libs/zlib ) + virtual/mta +" + +php="=${CATEGORY}/${PF}" +RDEPEND="${DEPEND} + truetype? ( || ( $php[gd] $php[gd-external] ) ) + cjk? ( || ( $php[gd] $php[gd-external] ) ) + exif? ( || ( $php[gd] $php[gd-external] ) ) + + xpm? ( $php[gd] ) + gd? ( $php[zlib,-gd-external] ) + gd-external? ( $php[-gd] ) + simplexml? ( $php[xml] ) + soap? ( $php[xml] ) + wddx? ( $php[xml] ) + xmlrpc? ( || ( $php[xml] $php[iconv] ) ) + xmlreader? ( $php[xml] ) + xsl? ( $php[xml] ) + ldap-sasl? ( $php[ldap,-oci8] ) + suhosin? ( $php[unicode] ) + adabas? ( $php[odbc] ) + birdstep? ( $php[odbc] ) + dbmaker? ( $php[odbc] ) + empress-bcs? ( $php[empress] ) + empress? ( $php[odbc] ) + esoob? ( $php[odbc] ) + db2? ( $php[odbc] ) + sapdb? ( $php[odbc] ) + solid? ( $php[odbc] ) + kolab? ( $php[imap] ) + + oci8? ( $php[-oci8-instant-client,-ldap-sasl] ) + oci8-instant-client? ( $php[-oci8] ) + + qdbm? ( $php[-gdbm] ) + readline? ( $php[-libedit] ) + recode? ( $php[-imap,-mysql,-mysqli] ) + firebird? ( $php[-interbase] ) + sharedmem? ( $php[-threads] ) + + !cli? ( !cgi? ( !apache2? ( !embed? ( $php[cli] ) ) ) ) + + filter? ( !dev-php${PHP_MV}/pecl-filter ) + json? ( !dev-php${PHP_MV}/pecl-json ) + zip? ( !dev-php${PHP_MV}/pecl-zip )" + +[[ -n $SUHOSIN_VERSION ]] && RDEPEND="${RDEPEND} suhosin? ( $php[unicode] )" + +DEPEND="${DEPEND} + sys-devel/flex + >=sys-devel/m4-1.4.3 + >=sys-devel/libtool-1.5.18" + +# They are in PDEPEND because we need PHP installed first! +PDEPEND="doc? ( app-doc/php-docs )" + +SLOT="$(get_version_component_range 1-2)" +S="${WORKDIR}/${PHP_P}" + +# Allow users to install production version if they want to +# PHP 5.2 has other filenames for prod and dev versions + +case "${PHP_INI_VERSION}" in + production) + PHP_INI_UPSTREAM="php.ini-recommended" + ;; + development) + PHP_INI_UPSTREAM="php.ini-dist" + ;; + *) + PHP_INI_VERSION="development" + PHP_INI_UPSTREAM="php.ini-dist" + ;; +esac + +PHP_INI_FILE="php.ini" + +want_apache + +# eblit-core +# Usage: <function> [version] [eval] +# Main eblit engine +eblit-core() { + [[ -z $FILESDIR ]] && FILESDIR="$(dirname $EBUILD)/files" + local e v func=$1 ver=$2 eval_=$3 + for v in ${ver:+-}${ver} -${PVR} -${PV} "" ; do + e="${FILESDIR}/eblits/${func}${v}.eblit" + if [[ -e ${e} ]] ; then + . "${e}" + [[ ${eval_} == 1 ]] && eval "${func}() { eblit-run ${func} ${ver} ; }" + return 0 + fi + done + return 1 +} + +# eblit-include +# Usage: [--skip] <function> [version] +# Includes an "eblit" -- a chunk of common code among ebuilds in a given +# package so that its functions can be sourced and utilized within the +# ebuild. +eblit-include() { + local skipable=false r=0 + [[ $1 == "--skip" ]] && skipable=true && shift + [[ $1 == pkg_* ]] && skipable=true + + [[ -z $1 ]] && die "Usage: eblit-include <function> [version]" + eblit-core $1 $2 + r="$?" + ${skipable} && return 0 + [[ "$r" -gt "0" ]] && die "Could not locate requested eblit '$1' in ${FILESDIR}/eblits/" +} + +# eblit-run-maybe +# Usage: <function> +# Runs a function if it is defined in an eblit +eblit-run-maybe() { + [[ $(type -t "$@") == "function" ]] && "$@" +} + +# eblit-run +# Usage: <function> [version] +# Runs a function defined in an eblit +eblit-run() { + eblit-include --skip common "v2" + eblit-include "$@" + eblit-run-maybe eblit-$1-pre + eblit-${PN}-$1 + eblit-run-maybe eblit-$1-post +} + +# eblit-pkg +# Usage: <phase> [version] +# Includes the given functions AND evals them so they're included in the binpkgs +eblit-pkg() { + [[ -z $1 ]] && die "Usage: eblit-pkg <phase> [version]" + eblit-core $1 $2 1 +} + +eblit-pkg pkg_setup v2 + +src_prepare() { eblit-run src_prepare v2 ; } +src_configure() { eblit-run src_configure v521 ; } +src_compile() { eblit-run src_compile v1 ; } +src_install() { eblit-run src_install v2 ; } +src_test() { eblit-run src_test v1 ; } + +#Do not use eblit for this because it will not get sourced when installing from +#binary package (bug #380845) +pkg_postinst() { + # Output some general info to the user + if use apache2 ; then + APACHE2_MOD_DEFINE="PHP5" + APACHE2_MOD_CONF="70_mod_php5" + apache-module_pkg_postinst + fi + + # Create the symlinks for php + for m in ${SAPIS}; do + [[ ${m} == 'embed' ]] && continue; + if use $m ; then + local ci=$(eselect php show $m) + if [[ -z $ci ]]; then + eselect php set $m php${SLOT} + einfo "Switched ${m} to use php:${SLOT}" + einfo + elif [[ $ci != "php${SLOT}" ]] ; then + elog "To switch $m to use php:${SLOT}, run" + elog " eselect php set $m php${SLOT}" + elog + fi + fi + done + + elog "Make sure that PHP_TARGETS in /etc/make.conf includes php${SLOT/./-} in order" + elog "to compile extensions for the ${SLOT} ABI" + elog + if ! use readline && use cli ; then + ewarn "Note that in order to use php interactivly, you need to enable" + ewarn "the readline USE flag or php -a will hang" + fi + elog + elog "This ebuild installed a version of php.ini based on php.ini-${PHP_INI_VERSION} version." + elog "You can chose which version of php.ini to install by default by setting PHP_INI_VERSION to either" + elog "'production' or 'development' in /etc/make.conf" + ewarn "Both versions of php.ini can be found in /usr/share/doc/${PF}" + + # check for not yet migrated old style config dirs + ls "${ROOT}"/etc/php/*-php5 &>/dev/null + if [[ $? -eq 0 ]]; then + ewarn "Make sure to migrate your config files, starting with php-5.3.4 and php-5.2.16 config" + ewarn "files are now kept at ${ROOT}etc/php/{apache2,cli,cgi,fpm}-php5.x" + fi + elog + elog "For more details on how minor version slotting works (PHP_TARGETS) please read the upgrade guide:" + elog "http://www.gentoo.org/proj/en/php/php-upgrading.xml" + elog + + if ( [[ -z SUHOSIN_VERSION ]] && use suhosin && version_is_at_least 5.3.6_rc1 ) ; then + ewarn "The suhosin USE flag now only installs the suhosin patch!" + ewarn "If you want the suhosin extension, make sure you install" + ewarn " dev-php/suhosin" + ewarn + fi +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dev-php/PEAR-XML_Feed_Parser/Manifest Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,2 @@ +DIST XML_Feed_Parser-1.0.3.tgz 77650 RMD160 0e69dca8b4ef5ef7a9776cd63718356f29a4837a SHA1 9d460879e3ca4ec1bba12de093729a44db6ffb4b SHA256 e077bf6e25cc3af102159f3d00848294c8ff7ee27deadca1cf239e1ac1a87463 +EBUILD PEAR-XML_Feed_Parser-1.0.3.ebuild 313 RMD160 910fc685b32de07a9b05879518ea2d881c48bd9e SHA1 f5edecfef8e3f5cbca5e0e4ee6ebc90299cde4f5 SHA256 04d3a1e1ed870cd71149b2db422b8bd34b93d069ca7525a29c946a5f4048181f
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dev-php/PEAR-XML_Feed_Parser/PEAR-XML_Feed_Parser-1.0.3.ebuild Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,12 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit php-pear-r1 + +DESCRIPTION="Provides an unified API for handling Atom/RSS" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE=""
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dev-util/bouml/Manifest Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,2 @@ +DIST bouml_4.4.1.tar.gz 4621079 RMD160 6e532366a3efa399944675c88d63549c695ea0ef SHA1 edef76f9de7e6d74d67778d3c135323b1ac4ab1c SHA256 d73117423d5b79549e5520e8d816c88eecb4400533fd8bffa7584003739fb3d6 +EBUILD bouml-4.4.1.ebuild 863 RMD160 47066bd3274de00e80f41fbe4238b37e65029d8e SHA1 1e8919260fa88786101ace8225f4e68a3b628022 SHA256 84b59c27cd15b4ed4a1b15a712492c547606df27a31990929c3d9a7a76c1fbb5
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dev-util/bouml/bouml-4.4.1.ebuild Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,34 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/bouml/bouml-3.4.ebuild,v 1.1 2007/12/23 21:27:06 ferdy Exp $ + +inherit multilib qt3 + +MY_P="${PN}_${PV}" + +DESCRIPTION="Free UML 2 tool with code generation" +HOMEPAGE="http://bouml.free.fr/" +SRC_URI="http://bouml.free.fr/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-fbsd" +IUSE="" + +DEPEND="x11-libs/qt:3" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_compile() { + find src/ genplugouts/ -type f -name "*.pro" | while read file; do + local subdir="${file%/*}" + eqmake3 "${file}" -o "${subdir}"/Makefile + emake -C "${subdir}" || die "emake failed in ${subdir}" + done +} + +src_install() { + emake BOUML_LIB="/usr/$(get_libdir)/bouml" DESTDIR="${D}" install \ + || die "emake install failed" +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mail-filter/spambayes/Manifest Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,2 @@ +DIST spambayes-1.0.4.tar.gz 697781 RMD160 6dfbaa5cc7eb14d9ddbb68c381580e793cb9c28e SHA1 a7b92eb8465a6ac093d29e64c539ff8348b08c26 SHA256 53c498d98e2f0a88d6edb928e3e1abcf65fc4aee8a98e142175809b9409d30aa +EBUILD spambayes-1.0.4.ebuild 1185 RMD160 c76faeca416fcf186170c1915aab4e284d1afade SHA1 54189565f5a125149516f3f442c5f289b42ef086 SHA256 1afc17bef3bb06791632a2b448d3b0e5ab64c63e39ff0404c33e217b1f1f312f
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mail-filter/spambayes/spambayes-1.0.4.ebuild Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,41 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-filter/spambayes/spambayes-1.0.4.ebuild,v 1.0 2005/04/08 22:22:43 userwaldo Exp $ + +inherit distutils + +DESCRIPTION="An anti-spam filter using on Bayesian filtering" +HOMEPAGE="http://spambayes.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +RESTRICT="nomirror" + +LICENSE="PSF-2.2" +SLOT="0" +KEYWORDS="~x86 ~ppc ~amd64" +IUSE="" + +DEPEND=">=dev-lang/python-2.2.2" + +src_install() { + distutils_src_install + dodoc *.txt || die "doc *.txt files failed" + # someone might have benefits of the other documetation too, + # therefore added. + docinto contrib || die "doc directory, contrib, fail" + dodoc contrib/* || die "doc contrib/* failed" + docinto utilities || die "doc directory, utilities, failed" + dodoc utilities/* || die "doc utilities/* failed" + docinto testtools || die "doc directory, testtools, failed" + dodoc testtools/* || die "doc testtools/* failed" + + exeinto /etc/init.d + newexe ${FILESDIR}/spambayespop3proxy.rc spambayespop3proxy + + insinto /etc + doins ${FILESDIR}/bayescustomize.ini + + keepdir /var/lib/spambayes + +} +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/media-sound/exaile/Manifest Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,2 @@ +DIST exaile-0.3.1.1.tar.gz 1897993 RMD160 38f6d4541ddda4e25c8fcfe2a721e23defeb1b54 SHA1 e83b5e8034f179a8f571fdd8c3493f8f73ea510d SHA256 e785e08dcf4b7392cfd608118732f2365e9cd5374eed7d473e814208f23e1e3c +EBUILD exaile-0.3.1.1.ebuild 1752 RMD160 0001e1861686e57362914573154fbc10c0f88e61 SHA1 db3b9b45bc4e36357c1cf64e1629a9cdcc7ecd98 SHA256 eac49f728ee4e86f183e9f0e583d8a98b75901eb278573f5b288d5595e1fc275
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/media-sound/exaile/exaile-0.3.1.1.ebuild Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,76 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/exaile/Attic/exaile-0.3.1.1.ebuild,v 1.2 2010/08/14 17:33:32 ssuominen dead $ + +EAPI=2 + +PYTHON_DEPEND="2:2.6" +PYTHON_USE_WITH="sqlite" + +inherit fdo-mime multilib python + +DESCRIPTION="a media player aiming to be similar to AmaroK, but for GTK+" +HOMEPAGE="http://www.exaile.org/" +SRC_URI="http://launchpad.net/exaile/0.3.1/${PV}/+download/${P}.tar.gz" + +LICENSE="GPL-2 GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc x86" +IUSE="cddb libnotify nls" + +RDEPEND="dev-python/dbus-python + >=media-libs/mutagen-1.10 + >=dev-python/pygtk-2.14 + >=dev-python/pygobject-2.18 + dev-python/gst-python:0.10 + media-libs/gst-plugins-good:0.10 + media-plugins/gst-plugins-meta:0.10 + libnotify? ( dev-python/notify-python ) + cddb? ( dev-python/cddb-py )" +DEPEND="nls? ( dev-util/intltool + sys-devel/gettext )" + +# Required python 'mox' module missing wrt #315589 +RESTRICT="test" + +pkg_setup() { + python_set_active_version 2 +} + +src_prepare() { + sed -i \ + -e "s:exec python:exec $(PYTHON):" \ + exaile tools/generate-launcher || die +} + +src_compile() { + if use nls; then + emake locale || die + fi +} + +src_install() { + local _no_locale + use nls || _no_locale=_no_locale + + emake PREFIX="/usr" LIBINSTALLDIR="/$(get_libdir)" DESTDIR="${D}" \ + install${_no_locale} || die + + dodoc README + + insinto /usr/share/exaile/data + doins -r data/migrations || die +} + +pkg_postinst() { + python_need_rebuild + python_mod_optimize /usr/$(get_libdir)/${PN} + fdo-mime_desktop_database_update + fdo-mime_mime_database_update +} + +pkg_postrm() { + python_mod_cleanup /usr/$(get_libdir)/${PN} + fdo-mime_desktop_database_update + fdo-mime_mime_database_update +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/net-im/skype/Manifest Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,3 @@ +DIST skype-2.1.0.47.tar.bz2 19748117 RMD160 7b5a3255b6a1db7c622355793ec3e582d9ff2777 SHA1 a0c7918767f01e79c37d4bd4dc085855c111994b SHA256 f4db42b21138ca9d424409f880dd311faa0f5e60003f5bbb82d6006dcfd61971 +DIST skype_static-2.1.0.47.tar.bz2 27323809 RMD160 6e63f345a40bf06d51a9d9d7698bf61992ac93c8 SHA1 aa9a2b6b8bc164ffbaa0141bc0ba7de470792921 SHA256 56b0fa6185661b187a409dc09b99ada3e01fa82aaae5f1048f8a698aa6f86e81 +EBUILD skype-2.1.0.47-r1.ebuild 2946 RMD160 9dd7c2f552fb993c41d90b77863dc90e04cb81b9 SHA1 f9f89a1789c0e4e0ad4214e10223f5b91e809fdd SHA256 9b83733c71538e1192a0665c75ca0e87a1e89217e4de7df6a34232845dd91a73
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/net-im/skype/skype-2.1.0.47-r1.ebuild Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,112 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/www/viewcvs.gentoo.org/raw_cvs/gentoo-x86/net-im/skype/Attic/skype-2.1.0.47-r1.ebuild,v 1.2 2010/01/23 17:17:01 ssuominen dead $ + +EAPI=2 + +inherit eutils qt4 pax-utils + +DESCRIPTION="A P2P-VoiceIP client." +HOMEPAGE="http://www.skype.com/" + +SFILENAME=${PN}_static-${PV}.tar.bz2 +DFILENAME=${P}.tar.bz2 +SRC_URI="!qt-static? ( http://download.skype.com/linux/${DFILENAME} ) + qt-static? ( http://download.skype.com/linux/${SFILENAME} )" + +LICENSE="skype-eula" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="qt-static" + +# http://bugs.gentoo.org/show_bug.cgi?id=299368 +RESTRICT="mirror strip" + +EMUL_VER=20091231 + +RDEPEND="amd64? ( >=app-emulation/emul-linux-x86-xlibs-${EMUL_VER} + >=app-emulation/emul-linux-x86-baselibs-${EMUL_VER} + >=app-emulation/emul-linux-x86-soundlibs-${EMUL_VER} + !qt-static? ( >=app-emulation/emul-linux-x86-qtlibs-${EMUL_VER} ) ) + x86? ( >=media-libs/alsa-lib-1.0.11 + x11-libs/libXScrnSaver + x11-libs/libXv + qt-static? ( media-libs/fontconfig + media-libs/freetype + x11-libs/libICE + x11-libs/libSM + x11-libs/libXcursor + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXi + x11-libs/libXinerama + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libX11 ) + !qt-static? ( x11-libs/qt-gui:4[accessibility,dbus] + x11-libs/qt-dbus:4 + x11-libs/libX11 + x11-libs/libXau + x11-libs/libXdmcp ) )" + +# Required for lrelease command at buildtime +DEPEND="!qt-static? ( x11-libs/qt-core:4 )" + +QA_EXECSTACK="opt/skype/skype" +QA_WX_LOAD="opt/skype/skype" +QA_DT_HASH="opt/skype/skype" +QA_PRESTRIPPED="opt/skype/skype" + +use qt-static && S="${WORKDIR}/${PN}_static-${PV}" + +src_install() { + # remove mprotect() restrictions for PaX usage - see Bug 100507 + # NOTE. Commented out because it's breaking Skype 2.1.0.47. + # pax-mark m "${S}"/skype + + exeinto /opt/${PN} + doexe skype || die + fowners root:audio /opt/skype/skype + make_wrapper skype /opt/${PN}/skype /opt/${PN} /opt/${PN} /usr/bin + + insinto /opt/${PN}/sounds + doins sounds/*.wav || die + + if ! use qt-static ; then + insinto /etc/dbus-1/system.d + doins ${PN}.conf || die + fi + + insinto /opt/${PN}/lang + # + #There have been some issues were lang is not updated from the .ts files + #but if we have qt we can rebuild it + # + if ! use qt-static ; then + lrelease lang/*.ts + fi + + doins lang/*.qm || die + + insinto /opt/${PN}/avatars + doins avatars/*.png || die + + insinto /opt/${PN} + for X in 16 32 48 + do + insinto /usr/share/icons/hicolor/${X}x${X}/apps + newins "${S}"/icons/SkypeBlue_${X}x${X}.png ${PN}.png + done + + dodoc README + + # insinto /usr/share/applications/ + # doins skype.desktop + make_desktop_entry ${PN} "Skype VoIP" ${PN} "Network;InstantMessaging;Telephony" + + #Fix for no sound notifications + dosym /opt/${PN} /usr/share/${PN} + + # TODO: Optional configuration of callto:// in KDE, Mozilla and friends + # doexe skype-callto-handler +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sys-apps/servant/Manifest Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,4 @@ +DIST servant-0.1.5.tar.bz2 77475 RMD160 7dd2946ca1d169faf35192fe6b918e2ca072b6ed SHA1 25b67f1d187e2eb2eb8075ab51d4fe6c7964644e SHA256 8f7ae7d78321564fde4c7a2f65c1093341a962c6dfa78789e2ab728fd041806a +DIST servant-0.1.7.tar.bz2 135551 RMD160 c52e22ba74ebb1fd00c60c48248a1a91ee69117e SHA1 d807a0a1368e4a9803afb016575ce92a73eae3d9 SHA256 e223742e09f67cc8703a2d74f43b91cdb4a3af78872627a6bc9b18a1f88a19d7 +EBUILD servant-0.1.5.ebuild 944 RMD160 2e5750d8c4afa1146f84c0c0a4d3fcf2ae0f68f0 SHA1 dbeea830eb0c9dc5e16896c9f5f7a46eb114540c SHA256 e99673486bf1625fc82fa459ba8e2b0aef5e10189b7c9f61524eeae3a02fac31 +EBUILD servant-0.1.7.ebuild 944 RMD160 2e5750d8c4afa1146f84c0c0a4d3fcf2ae0f68f0 SHA1 dbeea830eb0c9dc5e16896c9f5f7a46eb114540c SHA256 e99673486bf1625fc82fa459ba8e2b0aef5e10189b7c9f61524eeae3a02fac31
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sys-apps/servant/servant-0.1.5.ebuild Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,38 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +DESCRIPTION="Graphical rc-update replacement (Qt4)" + +# Homepage, not used by Portage directly but handy for developer reference +HOMEPAGE="http://www.informatik.uni-bremen.de/~momesana/sys-apps/servant/" +SRC_URI="http://www.informatik.uni-bremen.de/~momesana/sys-apps/servant/${P}.tar.bz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" +DEPEND=">=x11-libs/qt-4.2.0" +S=${WORKDIR}/${PN} + +src_compile() { + qmake || die "qmake failed" + emake || die "emake failed" +} + +src_install() { + dobin ${S}/servant || die "dobin ${S}/servant failed" + + dodoc ${S}/AUTHORS \ + ${S}/COPYING \ + ${S}/ChangeLog \ + ${S}/README \ + ${S}/TODO || die "installing documentation failed" + insinto /usr/share/applnk/System/ + doins ${S}/servant.desktop +} + +pkg_postinst() { + einfo "Send your Bugreports to momesana@yahoo.de" +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sys-apps/servant/servant-0.1.7.ebuild Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,38 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +DESCRIPTION="Graphical rc-update replacement (Qt4)" + +# Homepage, not used by Portage directly but handy for developer reference +HOMEPAGE="http://www.informatik.uni-bremen.de/~momesana/sys-apps/servant/" +SRC_URI="http://www.informatik.uni-bremen.de/~momesana/sys-apps/servant/${P}.tar.bz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" +DEPEND=">=x11-libs/qt-4.2.0" +S=${WORKDIR}/${PN} + +src_compile() { + qmake || die "qmake failed" + emake || die "emake failed" +} + +src_install() { + dobin ${S}/servant || die "dobin ${S}/servant failed" + + dodoc ${S}/AUTHORS \ + ${S}/COPYING \ + ${S}/ChangeLog \ + ${S}/README \ + ${S}/TODO || die "installing documentation failed" + insinto /usr/share/applnk/System/ + doins ${S}/servant.desktop +} + +pkg_postinst() { + einfo "Send your Bugreports to momesana@yahoo.de" +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/www-apps/egroupware/Manifest Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,6 @@ +AUX postinstall-en-1.2.txt 402 RMD160 aefff6af227f9d007afd1b753d97786d66fa7a80 SHA1 72ebcf1a6af140c5b47a9b567f791224d3fbdab8 SHA256 6063f422525dcb597b07a29a54f354452b8962f5487a222c82c75301697a42ba +DIST eGroupware-1.8.002.20111011.tar.bz2 10382653 RMD160 4d7e27540debebcce5ad30d59ab4e3bc5eb2ed17 SHA1 ab9dd75a066599caa895c0665a65918dfe3da832 SHA256 ea2213257661bda34b36f97942fec54456da7bdad1587d97972d5045e15e548b +DIST eGroupware-egw-pear-1.8.002.20111011.tar.bz2 73174 RMD160 2c9694c897f31f6f952d5fbb4c1a166d4f0fbf6a SHA1 7eb480e833e030ac7661c95ca5e9686ceaa632e2 SHA256 dc6d0d6dacedc8cd155ca1628d3efd1b55f2bc24c119bc066b725bcb3363ce85 +DIST eGroupware-gallery-1.8.002.20111011.tar.bz2 10509942 RMD160 129341407ff2c8edca987d0d8b29c2bea56379b6 SHA1 a2859c6d6cbfe71980127fbbdff9a23c80629709 SHA256 49fc81c2b5f89cba592c4ceef50e0ec4fb53052f523d1f2517f6e5222f98b784 +DIST eGroupware-phpfreechat-1.8.002.20111011.tar.bz2 953584 RMD160 436cbe5444fca9c0db96d0d2320b7f0228d1d4ad SHA1 97a990e91fadd2ca582c6bbf15d3c1df3b1b0bb4 SHA256 82c7b73f26137bee438a0734d05d9a57612ef669a8ee7009345914cdd6b4498e +EBUILD egroupware-1.8.002.20111011.ebuild 2694 RMD160 c2ffc3b38c9c2ff1ba4a1470affa3a9beba32c8f SHA1 81194a87931f4ab11dc5beaa7b7381f2b8292145 SHA256 ee461e8818ab7e26923cdf9617da3c7096e2604f4f4d3c7f9ae4b4c93d37e564
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/www-apps/egroupware/egroupware-1.8.002.20111011.ebuild Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,84 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +## +# based on ebuild from bug #284536, depending on dev-php/PEAR-XML_Feed_Parser from #258604 +## + +EAPI="2" + +inherit eutils versionator webapp depend.php + +MY_PN=eGroupware +MY_PV=$(get_version_component_range 1-3) +MY_P=$(get_version_component_range 4-) +#MY_P="${MY_P/p/}" + +DESCRIPTION="Web-based GroupWare suite" +HOMEPAGE="http://www.egroupware.org/" +SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${MY_PV}.${MY_P}.tar.bz2 + mirror://sourceforge/${PN}/${MY_PN}-egw-pear-${MY_PV}.${MY_P}.tar.bz2 + phpfreechat? ( mirror://sourceforge/${PN}/${MY_PN}-phpfreechat-${MY_PV}.${MY_P}.tar.bz2 ) + gallery? ( mirror://sourceforge/${PN}/${MY_PN}-gallery-${MY_PV}.${MY_P}.tar.bz2 )" + +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86" +IUSE="ldap mssql mysql postgres gallery phpfreechat jpgraph" + +#hint: sqlite needed for calendar +RDEPEND=" + dev-lang/php[ctype,imap,ldap?,mssql?,mysql?,pdo,postgres?,session,sqlite3,unicode] + || ( + dev-lang/php[gd] + dev-lang/php[gd-external] + ) + dev-php/PEAR-Auth_SASL + dev-php/PEAR-PEAR + dev-php/PEAR-XML_Feed_Parser + virtual/cron + jpgraph? ( dev-php/jpgraph ) +" +# >dev-php5/jpgraph-1.13 + + +need_httpd_cgi +need_php_httpd + +S=${WORKDIR}/${PN} + +src_prepare() { + esvn_clean + + if use jpgraph; then + einfo "Fixing jpgraph location" + MY_JPGRAPH_VERSION="$(best_version dev-php5/jpgraph)" + MY_JPGRAPH_VERSION="${MY_JPGRAPH_VERSION/'dev-php5/jpgraph-'/}" + sed -i "s|EGW_SERVER_ROOT . '/../jpgraph/src/jpgraph.php'|'/usr/share/php5/jpgraph/jpgraph.php'|" \ + projectmanager/inc/class.projectmanager_ganttchart.inc.php || die + sed -i "s|EGW_SERVER_ROOT . '/../jpgraph/src/jpgraph_gantt.php'|'/usr/share/php5/jpgraph/jpgraph_gantt.php'|" \ + projectmanager/inc/class.projectmanager_ganttchart.inc.php || die + sed -i "s|$jpgraph_path .= SEP.'jpgraph';|$jpgraph_path = dirname('/usr/share/php5/jpgraph/jpgraph.php');|" \ + setup/check_install.php || die + sed -i "s|'unknown';|'${MY_JPGRAPH_VERSION}';\n \$available = version_compare(\$version,\$min_version,'>=');|" \ + setup/check_install.php || die + fi +} + +src_install() { + webapp_src_preinst + insinto "${MY_HTDOCSDIR}" + doins -r . + webapp_serverowned "${MY_HTDOCSDIR}/phpgwapi/images" + webapp_postinst_txt en "${FILESDIR}/postinstall-en-1.2.txt" + webapp_src_install +} + +pkg_postinst() { + if use ldap; then + elog "If you are using LDAP contacts/addressbook, please read the upgrade instructions at" + elog "http://www.egroupware.org/index.php?page_name=wiki&wikipage=ManualSetupUpdate" + elog "before running the egroupware setup" + fi + webapp_pkg_postinst +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/www-apps/egroupware/files/postinstall-en-1.2.txt Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,12 @@ +You are almost done! + +0. Restart your webserver and your database daemon. + +1. Point your browser to the URL http://${VHOST_HOSTNAME}/egroupware/setup +and follow the install/upgrade script. + +Don't forget to read the installation manual, available from +http://egroupware.org/specialpages/index.php?page_name=wiki&wikipage=ManualSetup +It describes the rest of the installation process. + +Enjoy eGroupWare!
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/www-apps/gallery/Manifest Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,2 @@ +DIST gallery-3.0.1.zip 1810327 RMD160 07fe57682b4bce71f952c8673f9c1ebc293b7bd0 SHA1 7a023960a4035aec451a25af4de70090ab4ec924 SHA256 bdff3e0f5f157343f414cdfe000b11c93400d379103529bbc5852d85eb54b64f +EBUILD gallery-3.0.1.ebuild 1522 RMD160 fdfa8646f7b58a95976a0b3d3127282d1c3d961a SHA1 c3f099ac623d58356f13e3c32e9a1f3800987d55 SHA256 231b68b8e83c4cefe5cb27585fc67b708937b126a671cbbf68cfe4a25fd15872
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/www-apps/gallery/gallery-3.0.1.ebuild Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,72 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header $ + +EAPI="2" + +inherit webapp eutils depend.php + +DESCRIPTION="Web based (PHP Script) photo album viewer/creator" +HOMEPAGE="http://gallery.menalto.com/" +SRC_URI="mirror://sourceforge/gallery/${P}.zip" + +LICENSE="GPL-2" +KEYWORDS="~x86 ~amd64" +IUSE="" + +# Build depend is on unzip +DEPEND="app-arch/unzip" + +RDEPEND=" + >=dev-db/mysql-5 + >=dev-lang/php-5.2.3 + >=www-servers/apache-2 + " + +My_PN="${PN}3" +S=${WORKDIR}/${My_PN} + +need_httpd_cgi +need_php_httpd + + +src_install() { + webapp_src_preinst + + INSTALL_DIR="/${My_PN}" + + cp -R * ${D}/${MY_HTDOCSDIR} + + keepdir ${MY_HTDOCSDIR}/var + webapp_serverowned ${MY_HTDOCSDIR}/var + + ewarn "ATTANTION!" + ewarn "gallery3 requires short_open_tag to be On" + ewarn "You need to edit \"/etc/php/apache2-php5.?/php.ini\"" + ewarn "and change short_open_tag to \"On\" and " + ewarn "re-start apache (/etc/init.d/apache2 restart)" + + webapp_src_install +} + +pkg_postinst() { + elog + elog "To start \"gallery3\" just browse to " + elog + elog "http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/gallery3" + elog + elog "and follow the simple instructions." + elog + ewarn "MAKE SURE TO CHANGE YOUR ADMIN PASSWORD!" + elog + elog + elog "Please read the file http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/README" + elog "for additional information." + elog "For example, how to upgrade from gallery2 to gallery3." + elog + elog "For additional information refer to ${HOMEPAGE}, please." + elog + + webapp_pkg_postinst +} +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/www-apps/redaxo/Manifest Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,2 @@ +DIST redaxo4_2_1.zip 2143442 RMD160 18d637be99cf076bf2a9feb59a98357da0db192a SHA1 b8f8a23c2b8b97d2b2eb854fafe3001e22840043 SHA256 4d9daacc0104a47cb05c43ffe6be5445b0ed0d00bee4bea9e58e1ac46fd5d61b +EBUILD redaxo-4.2.1.ebuild 2003 RMD160 6316f835508f1a20d3052c4fc77f218207bb8255 SHA1 76b8a8a4d0b53b5081c55139f88836841f572251 SHA256 a5b22b487dc4f19aae5f089f463613bf516de62754f885ecdaa266cdc689d308
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/www-apps/redaxo/redaxo-4.2.1.ebuild Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,73 @@ + +EAPI=2 +inherit webapp depend.php versionator + +DESCRIPTION="PHP-powered CMS application." +HOMEPAGE="http://www.redaxo.de/" + +# translate redaxo-0.0.0 to redaxo0_0_0 +MY_PV=$(replace_all_version_separators '_') +MY_P=${PN}${MY_PV} +SRC_URI="http://www.redaxo.de/files/${MY_P}.zip" + +LICENSE="GPL" +KEYWORDS="~amd64 ~x86" +DEPEND="app-arch/unzip" +RDEPEND="virtual/httpd-cgi" + +need_php_httpd + +pkg_setup() { + webapp_pkg_setup + + if ! PHPCHECKNODIE="yes" require_php_with_any_use mysql ; then + eerror + eerror "${PHP_PKG} needs to be reinstalled with the mysql USE flag enabled." + die "Reinstall ${PHP_PKG} with the above-stated USE flags." + fi +} + +src_unpack() { + unpack ${A} + + # clean up some cruft that comes as part of the install package + cd ${WORKDIR}/${MY_P} + find . -name .DS_Store -exec rm {} \; + remove_if_exists _lastchanges.txt +} + +src_install() { + webapp_src_preinst + + einfo "Installing application files." + cd ${MY_P} + cp -r . "${D}"${MY_HTDOCSDIR} + + # .htaccess, index.php and the redaxo dir are part of the distro + local SERVEROWNED="index.php files files/_readme.txt files/addons \ + redaxo redaxo/include/clang.inc.php redaxo/include/plugins.inc.php \ + redaxo/include/addons.inc.php redaxo/include/master.inc.php \ + redaxo/include/generated redaxo/include/generated/* \ + redaxo/include/addons/* redaxo/include/addons/import_export/backup \ + redaxo/include/addons/image_resize/config.inc.php" + for SFILES in ${SERVEROWNED}; do + webapp_serverowned ${MY_HTDOCSDIR}/${SFILES} + done + + webapp_src_install +} + +webapp_pkg_postinst() { + einfo "This ebuild does not perform any autoinstall of the package" + einfo "" + einfo "This allows you to install redaxo directly into the top of" + einfo "your document root using:" + einfo "webapp-config -I -h localhost -u root redaxo ${PV}" + einfo "" +} + +function remove_if_exists() { + if [ -f $1 ]; then + rm $1 + fi +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/www-apps/serendipity/Manifest Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,14 @@ +DIST serendipity-1.3.1.tar.gz 4482417 RMD160 40565957b31bad1c41506abf9bb9d8c20eb13d92 SHA1 623d689136fa9e9a5b013046090392b016cf09fa SHA256 6304a5885f3c60188c1d49aa74e85908788ce50e006e9443a649be9f902edcba +DIST serendipity-1.4.1.tar.gz 5278932 RMD160 56eb582c37d9f0a21e0f38f067a3c8f42946ed60 SHA1 03a9511dcd11b08b2fb3d5a129072a1158224b60 SHA256 e950cff732323aaf3243d3a28afd18322cc7ab86daf81b21c2b4a2667d70e6f7 +DIST serendipity-1.4.tar.gz 5277144 RMD160 d03ee511172863433eac3c6b96fc254db0acab4b SHA1 fdafeb0374e8bf9ca4ff1845d13a67fbade54d58 SHA256 c636c4199d26eb262c077997850fa871a160c067404250752e8ca2d0804e098a +DIST serendipity-1.5.1.tar.gz 5337760 RMD160 5a14551f727230e0c134a0aff555c40a0856ece6 SHA1 4f7712835480b24b05de68fc6af2f7c7fb700377 SHA256 5e6dc05208e115c3068f91a91687aa91078f19a36e630104146e2fc8a0ffcbe9 +DIST serendipity-1.5.2.tar.gz 5337799 RMD160 9210d2982b28459929488a46b8cba70efd220cd1 SHA1 58ba1d14d0beb07d538968ddfa7f95419002251b SHA256 75544fd4104a2b1afbac6a80aa8ff0bb5bfc008dcdaa1e4531740d96e00465e5 +DIST serendipity-1.5.5.tar.gz 5338491 RMD160 883c746ef50267b96d5ba9669491d81d6107cb1a SHA1 70c0287630e213e9067be384917233498fe8b745 SHA256 b61bb613eba147a30b3be479a2cf8b218b2475d1f045127964e56fa285bdb657 +DIST serendipity-1.6.tar.gz 5357394 RMD160 486bee0ab9bfc7b215a0cbfa5d9298316c75994e SHA1 7d7fba385d379559bae724907fdb20d6d0426b9e SHA256 c2fb8ba8ccb0a509004151eeb57dcdef78c6e137dfe839fe635042cf36a49365 +EBUILD serendipity-1.3.1.ebuild 1976 RMD160 44845a102490482da1fe3ff4ee2950069b411d47 SHA1 be7d9821dac7feac30927f077dc4765dfd04a5fd SHA256 5a06f6ae838bacdcaa4cfe0ca4f90ff6a10081b6eb20df457cc47e9b0db06f38 +EBUILD serendipity-1.4.1.ebuild 2128 RMD160 fb4e4c13ce065160984fe8a0298448d5f55841da SHA1 5e7cc2e38a87fba7a40801f1ac7fb952ea1b9033 SHA256 227ab84ff8eef17579fe4352610f258ffede0ae18c362b42658c1638e6b64465 +EBUILD serendipity-1.4.ebuild 1976 RMD160 44845a102490482da1fe3ff4ee2950069b411d47 SHA1 be7d9821dac7feac30927f077dc4765dfd04a5fd SHA256 5a06f6ae838bacdcaa4cfe0ca4f90ff6a10081b6eb20df457cc47e9b0db06f38 +EBUILD serendipity-1.5.1.ebuild 2128 RMD160 fb4e4c13ce065160984fe8a0298448d5f55841da SHA1 5e7cc2e38a87fba7a40801f1ac7fb952ea1b9033 SHA256 227ab84ff8eef17579fe4352610f258ffede0ae18c362b42658c1638e6b64465 +EBUILD serendipity-1.5.2.ebuild 2128 RMD160 fb4e4c13ce065160984fe8a0298448d5f55841da SHA1 5e7cc2e38a87fba7a40801f1ac7fb952ea1b9033 SHA256 227ab84ff8eef17579fe4352610f258ffede0ae18c362b42658c1638e6b64465 +EBUILD serendipity-1.5.5.ebuild 2123 RMD160 c88742b8a8429794801e14b7f7ac5577c7711276 SHA1 a0e2a70e846a67344f7d0c5790b105bc7f50646f SHA256 8514b35a5e8e5c321f5e15306e1d12e4d2a7dd492dbfb8e11e86681017ffc998 +EBUILD serendipity-1.6.0.ebuild 2186 RMD160 82580b832ebaa5042f3305c8e2133611f99ad9bb SHA1 63ae04291638adfd508bce9fe6feceb692429b22 SHA256 5bbfdec818f7ebbd2f72444215a571b7663ad94ea3f60854f7a766e6ba3fc177
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/www-apps/serendipity/serendipity-1.3.1.ebuild Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,64 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit webapp depend.php + +DESCRIPTION="PHP-powered, flexible blogging/CMS application." +HOMEPAGE="http://www.s9y.org/" +SRC_URI="mirror://sourceforge/php-blog/${P}.tar.gz" + +LICENSE="BSD" +KEYWORDS="~amd64 ~x86" +IUSE="imagemagick" + +DEPEND="" +RDEPEND="virtual/httpd-cgi + imagemagick? ( media-gfx/imagemagick )" + +need_php_httpd + +S="${WORKDIR}/${PN}" + +pkg_setup() { + webapp_pkg_setup + + if ! PHPCHECKNODIE="yes" require_php_with_any_use mysql mysqli postgres sqlite \ + || ! PHPCHECKNODIE="yes" require_php_with_any_use gd gd-external \ + || ! PHPCHECKNODIE="yes" require_php_with_use iconv pcre unicode zlib ; then + eerror + eerror "${PHP_PKG} needs to be reinstalled at least one of mysql, mysqli," + eerror "postgres or sqlite USE flags enabled for a database backend." + eerror "It must also have either gd or gd-external USE flag enabled." + eerror "It must also have all of iconv pcre unicode zlib USE flags enabled." + die "Reinstall ${PHP_PKG} with the above-stated USE flags." + fi +} + +src_install() { + webapp_src_preinst + + rm docs/INSTALL* + local docs="docs/*" + dodoc ${docs} + rm -rf docs/ + + einfo "Installing application files." + cp -r . "${D}"${MY_HTDOCSDIR} + touch "${D}"${MY_HTDOCSDIR}/.htaccess + touch "${D}"${MY_HTDOCSDIR}/serendipity_config_local.inc.php + + keepdir ${MY_HTDOCSDIR}/archives/ + webapp_configfile ${MY_HTDOCSDIR}/serendipity_config_local.inc.php + #webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt + + # archives, templates_c and uploads need to be writable to PHP + # .htaccess amd serendipity_config_local.inc.php need to be too + # plugins and templates need to be writable for spartacus support. + local SERVEROWNED="serendipity_config_local.inc.php .htaccess archives plugins templates templates_c uploads" + for SFILES in ${SERVEROWNED}; do + webapp_serverowned ${MY_HTDOCSDIR}/${SFILES} + done + + webapp_src_install +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/www-apps/serendipity/serendipity-1.4.1.ebuild Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,64 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit webapp depend.php + +DESCRIPTION="PHP-powered, flexible blogging/CMS application." +HOMEPAGE="http://www.s9y.org/" +SRC_URI="mirror://sourceforge/php-blog/${P}.tar.gz" + +LICENSE="BSD" +KEYWORDS="~amd64 ~x86" +IUSE="imagemagick" + +DEPEND="" +RDEPEND="virtual/httpd-cgi + imagemagick? ( media-gfx/imagemagick )" + +need_php_httpd + +S="${WORKDIR}/${PN}" + +pkg_setup() { + webapp_pkg_setup + + if ! PHPCHECKNODIE="yes" require_php_with_any_use mysql mysqli postgres sqlite \ + || ! PHPCHECKNODIE="yes" require_php_with_any_use gd gd-external \ + || ! PHPCHECKNODIE="yes" require_php_with_use iconv pcre unicode xml zlib ; then + eerror + eerror "${PHP_PKG} needs to be reinstalled at least one of mysql, mysqli," + eerror "postgres or sqlite USE flags enabled for a database backend." + eerror "It must also have either gd or gd-external USE flag enabled." + eerror "It must also have all of iconv pcre unicode xml zlib USE flags enabled." + die "Reinstall ${PHP_PKG} with the above-stated USE flags." + fi +} + +src_install() { + webapp_src_preinst + + rm docs/INSTALL* + local docs="docs/*" + dodoc ${docs} + rm -rf docs/ + + einfo "Installing application files." + cp -r . "${D}"${MY_HTDOCSDIR} + touch "${D}"${MY_HTDOCSDIR}/.htaccess + touch "${D}"${MY_HTDOCSDIR}/serendipity_config_local.inc.php + + keepdir ${MY_HTDOCSDIR}/archives/ + webapp_configfile ${MY_HTDOCSDIR}/serendipity_config_local.inc.php + #webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt + + # archives, templates_c and uploads need to be writable to PHP + # .htaccess amd serendipity_config_local.inc.php need to be too + # plugins and templates need to be writable for spartacus support. + local SERVEROWNED="serendipity_config_local.inc.php .htaccess archives plugins templates templates_c uploads" + for SFILES in ${SERVEROWNED}; do + webapp_serverowned ${MY_HTDOCSDIR}/${SFILES} + done + + webapp_src_install +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/www-apps/serendipity/serendipity-1.4.ebuild Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,64 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit webapp depend.php + +DESCRIPTION="PHP-powered, flexible blogging/CMS application." +HOMEPAGE="http://www.s9y.org/" +SRC_URI="mirror://sourceforge/php-blog/${P}.tar.gz" + +LICENSE="BSD" +KEYWORDS="~amd64 ~x86" +IUSE="imagemagick" + +DEPEND="" +RDEPEND="virtual/httpd-cgi + imagemagick? ( media-gfx/imagemagick )" + +need_php_httpd + +S="${WORKDIR}/${PN}" + +pkg_setup() { + webapp_pkg_setup + + if ! PHPCHECKNODIE="yes" require_php_with_any_use mysql mysqli postgres sqlite \ + || ! PHPCHECKNODIE="yes" require_php_with_any_use gd gd-external \ + || ! PHPCHECKNODIE="yes" require_php_with_use iconv pcre unicode zlib ; then + eerror + eerror "${PHP_PKG} needs to be reinstalled at least one of mysql, mysqli," + eerror "postgres or sqlite USE flags enabled for a database backend." + eerror "It must also have either gd or gd-external USE flag enabled." + eerror "It must also have all of iconv pcre unicode zlib USE flags enabled." + die "Reinstall ${PHP_PKG} with the above-stated USE flags." + fi +} + +src_install() { + webapp_src_preinst + + rm docs/INSTALL* + local docs="docs/*" + dodoc ${docs} + rm -rf docs/ + + einfo "Installing application files." + cp -r . "${D}"${MY_HTDOCSDIR} + touch "${D}"${MY_HTDOCSDIR}/.htaccess + touch "${D}"${MY_HTDOCSDIR}/serendipity_config_local.inc.php + + keepdir ${MY_HTDOCSDIR}/archives/ + webapp_configfile ${MY_HTDOCSDIR}/serendipity_config_local.inc.php + #webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt + + # archives, templates_c and uploads need to be writable to PHP + # .htaccess amd serendipity_config_local.inc.php need to be too + # plugins and templates need to be writable for spartacus support. + local SERVEROWNED="serendipity_config_local.inc.php .htaccess archives plugins templates templates_c uploads" + for SFILES in ${SERVEROWNED}; do + webapp_serverowned ${MY_HTDOCSDIR}/${SFILES} + done + + webapp_src_install +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/www-apps/serendipity/serendipity-1.5.1.ebuild Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,64 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit webapp depend.php + +DESCRIPTION="PHP-powered, flexible blogging/CMS application." +HOMEPAGE="http://www.s9y.org/" +SRC_URI="mirror://sourceforge/php-blog/${P}.tar.gz" + +LICENSE="BSD" +KEYWORDS="~amd64 ~x86" +IUSE="imagemagick" + +DEPEND="" +RDEPEND="virtual/httpd-cgi + imagemagick? ( media-gfx/imagemagick )" + +need_php_httpd + +S="${WORKDIR}/${PN}" + +pkg_setup() { + webapp_pkg_setup + + if ! PHPCHECKNODIE="yes" require_php_with_any_use mysql mysqli postgres sqlite \ + || ! PHPCHECKNODIE="yes" require_php_with_any_use gd gd-external \ + || ! PHPCHECKNODIE="yes" require_php_with_use iconv pcre unicode xml zlib ; then + eerror + eerror "${PHP_PKG} needs to be reinstalled at least one of mysql, mysqli," + eerror "postgres or sqlite USE flags enabled for a database backend." + eerror "It must also have either gd or gd-external USE flag enabled." + eerror "It must also have all of iconv pcre unicode xml zlib USE flags enabled." + die "Reinstall ${PHP_PKG} with the above-stated USE flags." + fi +} + +src_install() { + webapp_src_preinst + + rm docs/INSTALL* + local docs="docs/*" + dodoc ${docs} + rm -rf docs/ + + einfo "Installing application files." + cp -r . "${D}"${MY_HTDOCSDIR} + touch "${D}"${MY_HTDOCSDIR}/.htaccess + touch "${D}"${MY_HTDOCSDIR}/serendipity_config_local.inc.php + + keepdir ${MY_HTDOCSDIR}/archives/ + webapp_configfile ${MY_HTDOCSDIR}/serendipity_config_local.inc.php + #webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt + + # archives, templates_c and uploads need to be writable to PHP + # .htaccess amd serendipity_config_local.inc.php need to be too + # plugins and templates need to be writable for spartacus support. + local SERVEROWNED="serendipity_config_local.inc.php .htaccess archives plugins templates templates_c uploads" + for SFILES in ${SERVEROWNED}; do + webapp_serverowned ${MY_HTDOCSDIR}/${SFILES} + done + + webapp_src_install +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/www-apps/serendipity/serendipity-1.5.2.ebuild Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,64 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit webapp depend.php + +DESCRIPTION="PHP-powered, flexible blogging/CMS application." +HOMEPAGE="http://www.s9y.org/" +SRC_URI="mirror://sourceforge/php-blog/${P}.tar.gz" + +LICENSE="BSD" +KEYWORDS="~amd64 ~x86" +IUSE="imagemagick" + +DEPEND="" +RDEPEND="virtual/httpd-cgi + imagemagick? ( media-gfx/imagemagick )" + +need_php_httpd + +S="${WORKDIR}/${PN}" + +pkg_setup() { + webapp_pkg_setup + + if ! PHPCHECKNODIE="yes" require_php_with_any_use mysql mysqli postgres sqlite \ + || ! PHPCHECKNODIE="yes" require_php_with_any_use gd gd-external \ + || ! PHPCHECKNODIE="yes" require_php_with_use iconv pcre unicode xml zlib ; then + eerror + eerror "${PHP_PKG} needs to be reinstalled at least one of mysql, mysqli," + eerror "postgres or sqlite USE flags enabled for a database backend." + eerror "It must also have either gd or gd-external USE flag enabled." + eerror "It must also have all of iconv pcre unicode xml zlib USE flags enabled." + die "Reinstall ${PHP_PKG} with the above-stated USE flags." + fi +} + +src_install() { + webapp_src_preinst + + rm docs/INSTALL* + local docs="docs/*" + dodoc ${docs} + rm -rf docs/ + + einfo "Installing application files." + cp -r . "${D}"${MY_HTDOCSDIR} + touch "${D}"${MY_HTDOCSDIR}/.htaccess + touch "${D}"${MY_HTDOCSDIR}/serendipity_config_local.inc.php + + keepdir ${MY_HTDOCSDIR}/archives/ + webapp_configfile ${MY_HTDOCSDIR}/serendipity_config_local.inc.php + #webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt + + # archives, templates_c and uploads need to be writable to PHP + # .htaccess amd serendipity_config_local.inc.php need to be too + # plugins and templates need to be writable for spartacus support. + local SERVEROWNED="serendipity_config_local.inc.php .htaccess archives plugins templates templates_c uploads" + for SFILES in ${SERVEROWNED}; do + webapp_serverowned ${MY_HTDOCSDIR}/${SFILES} + done + + webapp_src_install +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/www-apps/serendipity/serendipity-1.5.5.ebuild Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,64 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit webapp depend.php + +DESCRIPTION="PHP-powered, flexible blogging/CMS application." +HOMEPAGE="http://www.s9y.org/" +SRC_URI="mirror://sourceforge/php-blog/${P}.tar.gz" + +LICENSE="BSD" +KEYWORDS="~amd64 ~x86" +IUSE="imagemagick" + +DEPEND="" +RDEPEND="virtual/httpd-cgi + imagemagick? ( media-gfx/imagemagick )" + +need_php_httpd + +S="${WORKDIR}/${PN}" + +pkg_setup() { + webapp_pkg_setup + + if ! PHPCHECKNODIE="yes" require_php_with_any_use mysql mysqli postgres sqlite \ + || ! PHPCHECKNODIE="yes" require_php_with_any_use gd gd-external \ + || ! PHPCHECKNODIE="yes" require_php_with_use iconv unicode xml zlib ; then + eerror + eerror "${PHP_PKG} needs to be reinstalled at least one of mysql, mysqli," + eerror "postgres or sqlite USE flags enabled for a database backend." + eerror "It must also have either gd or gd-external USE flag enabled." + eerror "It must also have all of iconv pcre unicode xml zlib USE flags enabled." + die "Reinstall ${PHP_PKG} with the above-stated USE flags." + fi +} + +src_install() { + webapp_src_preinst + + rm docs/INSTALL* + local docs="docs/*" + dodoc ${docs} + rm -rf docs/ + + einfo "Installing application files." + cp -r . "${D}"${MY_HTDOCSDIR} + touch "${D}"${MY_HTDOCSDIR}/.htaccess + touch "${D}"${MY_HTDOCSDIR}/serendipity_config_local.inc.php + + keepdir ${MY_HTDOCSDIR}/archives/ + webapp_configfile ${MY_HTDOCSDIR}/serendipity_config_local.inc.php + #webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt + + # archives, templates_c and uploads need to be writable to PHP + # .htaccess amd serendipity_config_local.inc.php need to be too + # plugins and templates need to be writable for spartacus support. + local SERVEROWNED="serendipity_config_local.inc.php .htaccess archives plugins templates templates_c uploads" + for SFILES in ${SERVEROWNED}; do + webapp_serverowned ${MY_HTDOCSDIR}/${SFILES} + done + + webapp_src_install +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/www-apps/serendipity/serendipity-1.6.0.ebuild Wed Apr 11 02:37:47 2012 +0200 @@ -0,0 +1,65 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit webapp depend.php versionator + +DESCRIPTION="PHP-powered, flexible blogging/CMS application." +HOMEPAGE="http://www.s9y.org/" +MY_P="${PN}-$(get_version_component_range 1-2)" +SRC_URI="mirror://sourceforge/php-blog/${MY_P}.tar.gz" + +LICENSE="BSD" +KEYWORDS="~amd64 ~x86" +IUSE="imagemagick" + +DEPEND="" +RDEPEND="virtual/httpd-cgi + imagemagick? ( media-gfx/imagemagick )" + +need_php_httpd + +S="${WORKDIR}/${PN}" + +pkg_setup() { + webapp_pkg_setup + + if ! PHPCHECKNODIE="yes" require_php_with_any_use mysql mysqli postgres sqlite \ + || ! PHPCHECKNODIE="yes" require_php_with_any_use gd gd-external \ + || ! PHPCHECKNODIE="yes" require_php_with_use iconv unicode xml zlib ; then + eerror + eerror "${PHP_PKG} needs to be reinstalled at least one of mysql, mysqli," + eerror "postgres or sqlite USE flags enabled for a database backend." + eerror "It must also have either gd or gd-external USE flag enabled." + eerror "It must also have all of iconv pcre unicode xml zlib USE flags enabled." + die "Reinstall ${PHP_PKG} with the above-stated USE flags." + fi +} + +src_install() { + webapp_src_preinst + + rm docs/INSTALL* + local docs="docs/*" + dodoc ${docs} + rm -rf docs/ + + einfo "Installing application files." + cp -r . "${D}"${MY_HTDOCSDIR} + touch "${D}"${MY_HTDOCSDIR}/.htaccess + touch "${D}"${MY_HTDOCSDIR}/serendipity_config_local.inc.php + + keepdir ${MY_HTDOCSDIR}/archives/ + webapp_configfile ${MY_HTDOCSDIR}/serendipity_config_local.inc.php + #webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt + + # archives, templates_c and uploads need to be writable to PHP + # .htaccess amd serendipity_config_local.inc.php need to be too + # plugins and templates need to be writable for spartacus support. + local SERVEROWNED="serendipity_config_local.inc.php .htaccess archives plugins templates templates_c uploads" + for SFILES in ${SERVEROWNED}; do + webapp_serverowned ${MY_HTDOCSDIR}/${SFILES} + done + + webapp_src_install +}