r15186 - in /trunk/libdata-password-perl/debian: changelog patches/ patches/series patches/usr-dict.patch rules

mshuler-guest at users.alioth.debian.org mshuler-guest at users.alioth.debian.org
Tue Feb 19 22:19:10 UTC 2008


Author: mshuler-guest
Date: Tue Feb 19 22:19:07 2008
New Revision: 15186

URL: http://svn.debian.org/wsvn/?sc=1&rev=15186
Log:
Password.pm, README:
- patch /usr/dict/* to /usr/share/dict/* for FHS

Added:
    trunk/libdata-password-perl/debian/patches/
    trunk/libdata-password-perl/debian/patches/series
    trunk/libdata-password-perl/debian/patches/usr-dict.patch
Modified:
    trunk/libdata-password-perl/debian/changelog
    trunk/libdata-password-perl/debian/rules

Modified: trunk/libdata-password-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libdata-password-perl/debian/changelog?rev=15186&op=diff
==============================================================================
--- trunk/libdata-password-perl/debian/changelog (original)
+++ trunk/libdata-password-perl/debian/changelog Tue Feb 19 22:19:07 2008
@@ -1,15 +1,14 @@
 libdata-password-perl (1.07-2) UNRELEASED; urgency=low
 
-  TODO: s/\/usr\/dict/\/usr\/share\/dict/ in man page
+  * Password.pm, README:
+    patch /usr/dict/* to /usr/share/dict/* for FHS
+  * debian/copyright:
+    convert to new format
+  * debian/rules
+    remove commented dh_installexamples
+    delete /usr/lib/perl5 only if it exists
 
-  * debian/copyright
-    - convert to new format
-  * debian/rules
-    - remove commented dh_installexamples
-    - remove redundant dh_installdocs of README
-    - delete /usr/lib/perl5 only if it exists
-
- -- Michael Shuler <michael at pbandjelly.org>  Mon, 18 Feb 2008 18:57:33 -0600
+ -- Michael Shuler <michael at pbandjelly.org>  Tue, 19 Feb 2008 16:00:56 -0600
 
 libdata-password-perl (1.07-1) unstable; urgency=low
 

Added: trunk/libdata-password-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/trunk/libdata-password-perl/debian/patches/series?rev=15186&op=file
==============================================================================
--- trunk/libdata-password-perl/debian/patches/series (added)
+++ trunk/libdata-password-perl/debian/patches/series Tue Feb 19 22:19:07 2008
@@ -1,0 +1,1 @@
+usr-dict.patch

Added: trunk/libdata-password-perl/debian/patches/usr-dict.patch
URL: http://svn.debian.org/wsvn/trunk/libdata-password-perl/debian/patches/usr-dict.patch?rev=15186&op=file
==============================================================================
--- trunk/libdata-password-perl/debian/patches/usr-dict.patch (added)
+++ trunk/libdata-password-perl/debian/patches/usr-dict.patch Tue Feb 19 22:19:07 2008
@@ -1,0 +1,43 @@
+--- libdata-password-perl.orig/Password.pm
++++ libdata-password-perl/Password.pm
+@@ -25,7 +25,9 @@
+ 
+ $MINLEN = 6;
+ $MAXLEN = 8;
+- at DICTIONARIES = qw(/usr/dict/web2 /usr/dict/words /usr/share/dict/words /usr/share/dict/linux.words);
++# Modified for Debian FHS from /usr/dict/* to /usr/share/dict/*
++#@DICTIONARIES = qw(/usr/dict/web2 /usr/dict/words /usr/share/dict/words /usr/share/dict/linux.words);
++ at DICTIONARIES = qw(/usr/share/dict/web2 /usr/share/dict/words /usr/share/dict/linux.words);
+ 
+ sub OpenDictionary {
+ 	foreach my $sym (@DICTIONARIES) {
+@@ -248,11 +250,11 @@
+ 
+ =item *
+ 
+-/usr/dict/web2
++/usr/share/dict/web2
+ 
+ =item *
+ 
+-/usr/dict/words
++/usr/share/dict/words
+ 
+ =item *
+ 
+--- libdata-password-perl.orig/README
++++ libdata-password-perl/README
+@@ -71,9 +71,11 @@
+         set this variable if you are using not *NIX like operating system.
+ 
+ FILES
+-    *   /usr/dict/web2
++    (Modified for Debian FHS from /usr/dict/* to /usr/share/dict/*)
+ 
+-    *   /usr/dict/words
++    *   /usr/share/dict/web2
++
++    *   /usr/share/dict/words
+ 
+     *   /etc/passwd
+ 

Modified: trunk/libdata-password-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libdata-password-perl/debian/rules?rev=15186&op=diff
==============================================================================
--- trunk/libdata-password-perl/debian/rules (original)
+++ trunk/libdata-password-perl/debian/rules Tue Feb 19 22:19:07 2008
@@ -19,8 +19,10 @@
 
 TMP     =$(CURDIR)/debian/$(PACKAGE)
 
+include /usr/share/quilt/quilt.make
+
 build: build-stamp
-build-stamp:
+build-stamp: $(QUILT_STAMPFN)
 	dh_testdir
 
 	# Add commands to compile the package here
@@ -30,7 +32,7 @@
 
 	touch $@
 
-clean:
+clean: unpatch
 	dh_testdir
 	dh_testroot
 
@@ -58,6 +60,7 @@
 binary-indep: build install
 	dh_testdir
 	dh_testroot
+	dh_installdocs README
 	dh_installchangelogs Changes
 	dh_perl
 	dh_compress




More information about the Pkg-perl-cvs-commits mailing list