From 67821260c713b771b9ac975bcda15a1374a12477 Mon Sep 17 00:00:00 2001 From: Luca Longinotti Date: Sun, 4 Mar 2007 19:02:59 +0000 Subject: [PATCH] Add Suhosin. Package-Manager: portage-2.1.2-r13 --- dev-php5/suhosin/ChangeLog | 10 ++ dev-php5/suhosin/Manifest | 16 +++ dev-php5/suhosin/files/digest-suhosin-0.9.16 | 3 + dev-php5/suhosin/metadata.xml | 5 + dev-php5/suhosin/suhosin-0.9.16.ebuild | 118 +++++++++++++++++++ 5 files changed, 152 insertions(+) create mode 100644 dev-php5/suhosin/ChangeLog create mode 100644 dev-php5/suhosin/Manifest create mode 100644 dev-php5/suhosin/files/digest-suhosin-0.9.16 create mode 100644 dev-php5/suhosin/metadata.xml create mode 100644 dev-php5/suhosin/suhosin-0.9.16.ebuild diff --git a/dev-php5/suhosin/ChangeLog b/dev-php5/suhosin/ChangeLog new file mode 100644 index 000000000000..8748fc262e0f --- /dev/null +++ b/dev-php5/suhosin/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-php5/suhosin +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/suhosin/ChangeLog,v 1.1 2007/03/04 19:02:59 chtekk Exp $ + +*suhosin-0.9.16 (04 Mar 2007) + + 04 Mar 2007; Luca Longinotti +metadata.xml, + +suhosin-0.9.16.ebuild: + Add Suhosin. + diff --git a/dev-php5/suhosin/Manifest b/dev-php5/suhosin/Manifest new file mode 100644 index 000000000000..ee2646c95feb --- /dev/null +++ b/dev-php5/suhosin/Manifest @@ -0,0 +1,16 @@ +DIST suhosin-0.9.16.tgz 102582 RMD160 3d70b08bc7ee397477892719971d13cbe2e82e97 SHA1 c0b1e92ba7a60853775e2441159f23af36d73c75 SHA256 a30b7b9263e94ce95bc4be00fb224ed32e59db071578c9fcbb7105923c6cd5f5 +EBUILD suhosin-0.9.16.ebuild 6274 RMD160 a2d81eeee05a66bdbdb431cbfc836a3a0bf0b3a6 SHA1 1bc369f57e970db30753d0dbbaf0037d59ae55c7 SHA256 02eebf374595e57266716ccf46ea1674089dd6bda09bf1eb04d8fd6d59be60ae +MD5 18250e7871533e0aa367e6511a228140 suhosin-0.9.16.ebuild 6274 +RMD160 a2d81eeee05a66bdbdb431cbfc836a3a0bf0b3a6 suhosin-0.9.16.ebuild 6274 +SHA256 02eebf374595e57266716ccf46ea1674089dd6bda09bf1eb04d8fd6d59be60ae suhosin-0.9.16.ebuild 6274 +MISC ChangeLog 344 RMD160 665821f54c61ca4623cb9337639d0bb8d03b55cc SHA1 83d2a7f919c0807639e68d702af0661d5d79eab0 SHA256 8bbcb338ab9f76e6f18fa2006ed1d5615eee621b6187a121ad706c577410a09d +MD5 869b9ef53da568efed61ef436cc9ed19 ChangeLog 344 +RMD160 665821f54c61ca4623cb9337639d0bb8d03b55cc ChangeLog 344 +SHA256 8bbcb338ab9f76e6f18fa2006ed1d5615eee621b6187a121ad706c577410a09d ChangeLog 344 +MISC metadata.xml 157 RMD160 a98db3a086fae3c09a903dadbc05f60443ec4b1a SHA1 ddaa23cc35eb917bf8962b652442bebb1ce0f440 SHA256 54f8878ca0228e380abbaa4b529806b5533a6b9b51b3b16c0909e906586a91a1 +MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157 +RMD160 a98db3a086fae3c09a903dadbc05f60443ec4b1a metadata.xml 157 +SHA256 54f8878ca0228e380abbaa4b529806b5533a6b9b51b3b16c0909e906586a91a1 metadata.xml 157 +MD5 cc171b17849dc772e5b75efa6d9e7ddd files/digest-suhosin-0.9.16 235 +RMD160 129bd51f4265964ad16545308a77f8b8e71a27e5 files/digest-suhosin-0.9.16 235 +SHA256 32e76ebe2b1e8871b0021b4129ab104844234b8ff3ab9241e59cc22f4f52e8cc files/digest-suhosin-0.9.16 235 diff --git a/dev-php5/suhosin/files/digest-suhosin-0.9.16 b/dev-php5/suhosin/files/digest-suhosin-0.9.16 new file mode 100644 index 000000000000..79f9063b58fc --- /dev/null +++ b/dev-php5/suhosin/files/digest-suhosin-0.9.16 @@ -0,0 +1,3 @@ +MD5 83db16381732218d0d44fe60988dcaaa suhosin-0.9.16.tgz 102582 +RMD160 3d70b08bc7ee397477892719971d13cbe2e82e97 suhosin-0.9.16.tgz 102582 +SHA256 a30b7b9263e94ce95bc4be00fb224ed32e59db071578c9fcbb7105923c6cd5f5 suhosin-0.9.16.tgz 102582 diff --git a/dev-php5/suhosin/metadata.xml b/dev-php5/suhosin/metadata.xml new file mode 100644 index 000000000000..fd3dbe39fa64 --- /dev/null +++ b/dev-php5/suhosin/metadata.xml @@ -0,0 +1,5 @@ + + + + php + diff --git a/dev-php5/suhosin/suhosin-0.9.16.ebuild b/dev-php5/suhosin/suhosin-0.9.16.ebuild new file mode 100644 index 000000000000..d25e6fe41f9f --- /dev/null +++ b/dev-php5/suhosin/suhosin-0.9.16.ebuild @@ -0,0 +1,118 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/suhosin/suhosin-0.9.16.ebuild,v 1.1 2007/03/04 19:02:59 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 + + php-ext-base-r1_addtoinifiles ';;;; Logging Configuration' + php-ext-base-r1_addtoinifiles ';suhosin.log.syslog' 'S_ALL & ~S_SQL' + php-ext-base-r1_addtoinifiles ';suhosin.log.syslog.facility' 'LOG_USER' + php-ext-base-r1_addtoinifiles ';suhosin.log.syslog.priority' 'LOG_ALERT' + php-ext-base-r1_addtoinifiles ';suhosin.log.sapi' 'S_ALL & ~S_SQL' + php-ext-base-r1_addtoinifiles ';suhosin.log.script' '0' + php-ext-base-r1_addtoinifiles ';suhosin.log.phpscript' '0' + php-ext-base-r1_addtoinifiles ';suhosin.log.script.name' '' + php-ext-base-r1_addtoinifiles ';suhosin.log.phpscript.name' '' + php-ext-base-r1_addtoinifiles ';suhosin.log.use-x-forwarded-for' 'Off' + php-ext-base-r1_addtoinifiles ';;;; Executor Options' + php-ext-base-r1_addtoinifiles ';suhosin.executor.max_depth' '0' + php-ext-base-r1_addtoinifiles ';suhosin.executor.include.max_traversal' '0' + php-ext-base-r1_addtoinifiles ';suhosin.executor.include.whitelist' '' + php-ext-base-r1_addtoinifiles ';suhosin.executor.include.blacklist' '' + php-ext-base-r1_addtoinifiles ';suhosin.executor.func.whitelist' '' + php-ext-base-r1_addtoinifiles ';suhosin.executor.func.blacklist' '' + php-ext-base-r1_addtoinifiles ';suhosin.executor.eval.whitelist' '' + php-ext-base-r1_addtoinifiles ';suhosin.executor.eval.blacklist' '' + php-ext-base-r1_addtoinifiles ';suhosin.executor.disable_eval' 'Off' + php-ext-base-r1_addtoinifiles ';suhosin.executor.disable_emodifier' 'Off' + php-ext-base-r1_addtoinifiles ';suhosin.executor.allow_symlink' 'Off' + php-ext-base-r1_addtoinifiles ';;;; Misc Options' + php-ext-base-r1_addtoinifiles ';suhosin.simulation' 'Off' + php-ext-base-r1_addtoinifiles ';suhosin.apc_bug_workaround' 'Off' + php-ext-base-r1_addtoinifiles ';suhosin.sql.bailout_on_error' 'Off' + php-ext-base-r1_addtoinifiles ';suhosin.sql.user_prefix' '' + php-ext-base-r1_addtoinifiles ';suhosin.sql.user_postfix' '' + php-ext-base-r1_addtoinifiles ';suhosin.multiheader' 'Off' + php-ext-base-r1_addtoinifiles ';suhosin.mail.protect' '0' + php-ext-base-r1_addtoinifiles ';suhosin.memory_limit' '0' + php-ext-base-r1_addtoinifiles ';;;; Transparent Encryption Options' + php-ext-base-r1_addtoinifiles ';suhosin.session.encrypt' 'On' + php-ext-base-r1_addtoinifiles ';suhosin.session.cryptkey' '' + php-ext-base-r1_addtoinifiles ';suhosin.session.cryptua' 'On' + php-ext-base-r1_addtoinifiles ';suhosin.session.cryptdocroot' 'On' + php-ext-base-r1_addtoinifiles ';suhosin.session.cryptraddr' '0' + php-ext-base-r1_addtoinifiles ';suhosin.session.checkraddr' '0' + php-ext-base-r1_addtoinifiles ';suhosin.cookie.encrypt' 'On' + php-ext-base-r1_addtoinifiles ';suhosin.cookie.cryptkey' '' + php-ext-base-r1_addtoinifiles ';suhosin.cookie.cryptua' 'On' + php-ext-base-r1_addtoinifiles ';suhosin.cookie.cryptdocroot' 'On' + php-ext-base-r1_addtoinifiles ';suhosin.cookie.cryptraddr' '0' + php-ext-base-r1_addtoinifiles ';suhosin.cookie.checkraddr' '0' + php-ext-base-r1_addtoinifiles ';suhosin.cookie.cryptlist' '' + php-ext-base-r1_addtoinifiles ';suhosin.cookie.plainlist' '' + php-ext-base-r1_addtoinifiles ';;;; Filtering Options' + php-ext-base-r1_addtoinifiles ';suhosin.filter.action' '' + php-ext-base-r1_addtoinifiles ';suhosin.cookie.max_array_depth' '100' + php-ext-base-r1_addtoinifiles ';suhosin.cookie.max_array_index_length' '64' + php-ext-base-r1_addtoinifiles ';suhosin.cookie.max_name_length' '64' + php-ext-base-r1_addtoinifiles ';suhosin.cookie.max_totalname_length' '256' + php-ext-base-r1_addtoinifiles ';suhosin.cookie.max_value_length' '10000' + php-ext-base-r1_addtoinifiles ';suhosin.cookie.max_vars' '100' + php-ext-base-r1_addtoinifiles ';suhosin.cookie.disallow_nul' 'On' + php-ext-base-r1_addtoinifiles ';suhosin.get.max_array_depth' '50' + php-ext-base-r1_addtoinifiles ';suhosin.get.max_array_index_length' '64' + php-ext-base-r1_addtoinifiles ';suhosin.get.max_name_length' '64' + php-ext-base-r1_addtoinifiles ';suhosin.get.max_totalname_length' '256' + php-ext-base-r1_addtoinifiles ';suhosin.get.max_value_length' '512' + php-ext-base-r1_addtoinifiles ';suhosin.get.max_vars' '100' + php-ext-base-r1_addtoinifiles ';suhosin.get.disallow_nul' 'On' + php-ext-base-r1_addtoinifiles ';suhosin.post.max_array_depth' '100' + php-ext-base-r1_addtoinifiles ';suhosin.post.max_array_index_length' '64' + php-ext-base-r1_addtoinifiles ';suhosin.post.max_name_length' '64' + php-ext-base-r1_addtoinifiles ';suhosin.post.max_totalname_length' '256' + php-ext-base-r1_addtoinifiles ';suhosin.post.max_value_length' '65000' + php-ext-base-r1_addtoinifiles ';suhosin.post.max_vars' '200' + php-ext-base-r1_addtoinifiles ';suhosin.post.disallow_nul' 'On' + php-ext-base-r1_addtoinifiles ';suhosin.request.max_array_depth' '100' + php-ext-base-r1_addtoinifiles ';suhosin.request.max_array_index_length' '64' + php-ext-base-r1_addtoinifiles ';suhosin.request.max_totalname_length' '256' + php-ext-base-r1_addtoinifiles ';suhosin.request.max_value_length' '65000' + php-ext-base-r1_addtoinifiles ';suhosin.request.max_vars' '200' + php-ext-base-r1_addtoinifiles ';suhosin.request.max_varname_length' '64' + php-ext-base-r1_addtoinifiles ';suhosin.request.disallow_nul' 'On' + php-ext-base-r1_addtoinifiles ';suhosin.upload.max_uploads' '25' + php-ext-base-r1_addtoinifiles ';suhosin.upload.disallow_elf' 'On' + php-ext-base-r1_addtoinifiles ';suhosin.upload.disallow_binary' 'Off' + php-ext-base-r1_addtoinifiles ';suhosin.upload.remove_binary' 'Off' + php-ext-base-r1_addtoinifiles ';suhosin.upload.verification_script' '' + php-ext-base-r1_addtoinifiles ';suhosin.session.max_id_length' '128' +} -- 2.26.2