+++ /dev/null
-changelog.Debian
\ No newline at end of file
+php-suhosin-cn (0.9.32.2) stable; urgency=low
+
+ * lintian fixevi
+
+ -- Dinko Korunic <kreator@carnet.hr> Wed, 27 Apr 2011 09:15:09 +0200
+
+php-suhosin-cn (0.9.32.1) stable; urgency=low
+
+ * upgrade paketa za Squeeze
+ * lintian fixevi
+
+ -- Dinko Korunic <kreator@carnet.hr> Wed, 26 Apr 2011 09:15:09 +0200
+
php-suhosin-cn (0.9.27-1) stable; urgency=low
* Upgrade paketa za Lenny
Section: net
Priority: optional
Maintainer: Dinko Korunic <kreator@CARNet.hr>
-Build-Depends: debhelper (>= 4)
-Standards-Version: 3.7.2
+Build-Depends: debhelper (>= 7)
+Standards-Version: 3.9.1
Package: php-suhosin-cn
Architecture: all
-Depends: php5-suhosin (>= 0.9.27-1)
+Depends: php5-suhosin (>= 0.9.32.1-1)
Description: advanced protection module for php5 -- CARNet version
This package provides a module for suhosin functions.
.
--- /dev/null
+Copyright 2011 CARNet
+
+You are free to distribute this software package under the terms of the
+GNU General Public License.
+
+On Debian systems, the complete text of the GNU General Public
+License can be found in the file /usr/share/common-licenses/GPL.
-changelog.CARNet
README.CARNet
--- /dev/null
+#!/bin/sh
+# postinst script for proftpd-cn
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <postinst> `configure' <most-recently-configured-version>
+# * <old-postinst> `abort-upgrade' <new version>
+# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+# <new-version>
+# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+# <failed-install-package> <version> `removing'
+# <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+#
+
+case "$1" in
+ configure|reconfigure)
+ # continue below
+ ;;
+
+ *)
+ exit 0
+ ;;
+esac
+
+# Import CN toolsa
+. /usr/share/carnet-tools/functions.sh
+
+CONF=/etc/php5/conf.d/suhosin.ini
+
+if [ -e "$CONF" ]; then
+ echo "CN: Enabling Suhosin tuneups"
+ cp -a "$CONF" "$CONF.$$"
+ cp-update --comment ';' php-suhosin-cn "$CONF.$$" <<EOF
+suhosin.cookie.max_name_length=1024
+suhosin.cookie.max_vars=1024
+suhosin.get.max_array_depth=1024
+suhosin.get.max_name_length=1024
+suhosin.get.max_value_length=307200
+suhosin.get.max_vars=1024
+suhosin.post.max_array_depth=1024
+suhosin.post.max_name_length=1024
+suhosin.post.max_value_length=307200
+suhosin.post.max_vars=1024
+suhosin.request.max_array_depth=1024
+suhosin.request.max_value_length=307200
+suhosin.request.max_varname_length=1024
+suhosin.request.max_vars=1024
+EOF
+ cp_mv "$CONF.$$" "$CONF"
+fi
+
+# reload Apache
+if apache2ctl configtest 2>/dev/null; then
+ echo "CN: Reloading Apache..."
+ invoke-rc.d apache2 force-reload || true
+else
+ echo "CN: Your Apache2 configuration is either broken or nonexistant"
+fi
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
--- /dev/null
+#!/bin/sh
+# postrm script for monit-cn
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <postrm> `remove'
+# * <postrm> `purge'
+# * <old-postrm> `upgrade' <new-version>
+# * <new-postrm> `failed-upgrade' <old-version>
+# * <new-postrm> `abort-install'
+# * <new-postrm> `abort-install' <old-version>
+# * <new-postrm> `abort-upgrade' <old-version>
+# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+case "$1" in
+ purge)
+ # continue below
+ ;;
+
+ *)
+ exit 0
+ ;;
+esac
+
+# import CN-functions
+. /usr/share/carnet-tools/functions.sh
+
+CONF=/etc/php5/conf.d/suhosin.ini
+
+# remove us from inittab
+echo "CN: Removing Suhosin tuneups"
+cp-update --comment ';' -r php-suhosin-cn "$CONF"
+
+# reload Apache
+if apache2ctl configtest 2>/dev/null; then
+ echo "CN: Reloading Apache..."
+ invoke-rc.d apache2 force-reload || true
+else
+ echo "CN: Your Apache2 configuration is either broken or nonexistant"
+fi
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
#!/usr/bin/make -f
-# Sample debian/rules that uses debhelper.
-# This file is public domain software, originally written by Joey Hess.
-#
-# This version is for packages that are architecture independent.
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-build: build-stamp
-build-stamp:
- dh_testdir
-
- # Add here commands to compile the package.
- #$(MAKE)
-
- touch build-stamp
-
-clean:
- dh_testdir
- dh_testroot
- rm -f build-stamp
-
- # Add here commands to clean up after the build process.
- #-$(MAKE) clean
- #-$(MAKE) distclean
-
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs
-
- # Add here commands to install the package into debian/<packagename>.
- #$(MAKE) prefix=`pwd`/debian/`dh_listpackages`/usr install
-
-# Build architecture-independent files here.
-binary-indep: build install
- dh_testdir
- dh_testroot
- dh_installchangelogs
- dh_installdocs
-# dh_installexamples
-# dh_installmenu
-# dh_installdebconf
-# dh_installlogrotate
-# dh_installemacsen
-# dh_installcatalogs
-# dh_installpam
-# dh_installmime
-# dh_installinit
-# dh_installcron
-# dh_installinfo
-# dh_undocumented
- dh_installman
- dh_link
- dh_compress
- dh_fixperms
-# dh_perl
-# dh_python
- dh_installdeb
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-# Build architecture-dependent files here.
-binary-arch: build install
-# We have nothing to do by default.
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+%:
+ dh $@