summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Longinotti <chtekk@gentoo.org>2007-03-16 16:54:50 +0000
committerLuca Longinotti <chtekk@gentoo.org>2007-03-16 16:54:50 +0000
commit2edb4a9ed14b30f103c4c736e47808c4a867323e (patch)
tree91013c2ffe36e32e66da1b22b83b78de2cb1a25b /dev-php4/suhosin/suhosin-0.9.18.ebuild
parentKeyworded ~sparc wrt #171038 (diff)
downloadgentoo-2-2edb4a9ed14b30f103c4c736e47808c4a867323e.tar.gz
gentoo-2-2edb4a9ed14b30f103c4c736e47808c4a867323e.tar.bz2
gentoo-2-2edb4a9ed14b30f103c4c736e47808c4a867323e.zip
Vbump.
(Portage version: 2.1.2.2)
Diffstat (limited to 'dev-php4/suhosin/suhosin-0.9.18.ebuild')
-rw-r--r--dev-php4/suhosin/suhosin-0.9.18.ebuild39
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-php4/suhosin/suhosin-0.9.18.ebuild b/dev-php4/suhosin/suhosin-0.9.18.ebuild
new file mode 100644
index 000000000000..1311776bc588
--- /dev/null
+++ b/dev-php4/suhosin/suhosin-0.9.18.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php4/suhosin/suhosin-0.9.18.ebuild,v 1.1 2007/03/16 16:54:50 chtekk Exp $
+
+PHP_EXT_NAME="suhosin"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+
+inherit php-ext-source-r1
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+
+DESCRIPTION="Suhosin is an advanced protection system for PHP installations."
+HOMEPAGE="http://www.suhosin.org/"
+SRC_URI="http://www.hardened-php.net/suhosin/_media/${P}.tgz"
+LICENSE="PHP-3"
+SLOT="0"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+need_php_by_category
+
+pkg_setup() {
+ has_php
+ require_php_with_use unicode
+}
+
+src_install() {
+ php-ext-source-r1_src_install
+ dodoc-php CREDITS
+
+ for inifile in ${PHPINIFILELIST} ; do
+ insinto "${inifile/${PHP_EXT_NAME}.ini/}"
+ insopts -m644
+ doins "suhosin.ini"
+ done
+}