Section: web
Priority: optional
Maintainer: Dragan Dosen <ddosen@ffzg.hr>
-Build-Depends: debhelper (>= 6)
+Build-Depends: debhelper (>= 6), quilt (>= 0.40)
Standards-Version: 3.8.0
Package: squirrelmail-change-pass
--- /dev/null
+Index: squirrelmail-change-pass/config_example.php
+===================================================================
+--- squirrelmail-change-pass.orig/config_example.php 2010-04-23 16:57:15.000000000 +0200
++++ squirrelmail-change-pass/config_example.php 2010-04-23 16:57:40.000000000 +0200
+@@ -5,5 +5,5 @@
+ // The default port is 106
+ #$poppass_port = 106;
+
+- $min_pass_length = 0;
++ $min_pass_length = 8;
+ $max_pass_length = 9999999;
--- /dev/null
+001config.patch
#!/usr/bin/make -f
+include /usr/share/quilt/quilt.make
+
PACKAGE = $(shell dh_listpackages)
TMP = $(CURDIR)/debian/$(PACKAGE)
build:
-clean:
+clean: unpatch
dh_testdir
dh_testroot
dh_clean
rm -f install-stamp
-install: build install-stamp
+install: patch build install-stamp
install-stamp:
dh_testdir
dh_testroot
-path '*/debian/*' -or \
-path '*/doc/*' -or \
-path '*/.git/*' -or \
+ -path '*/.pc/*' -or \
-name 'README' -or \
-name 'config_example.php' \
\) -exec install -D --mode=644 {} $(TMP)/usr/share/squirrelmail/plugins/change_pass/{} \;