tags 387756 + pending
thanks

Dear maintainer,

I've prepared an NMU for crack (versioned as 5.0a-9.2) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should delay it longer.

Regards.

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Funny van Dannen: Freundinnen
diff -u crack-5.0a/Crack.make crack-5.0a/Crack.make
--- crack-5.0a/Crack.make
+++ crack-5.0a/Crack.make
@@ -141,7 +141,7 @@
 # Hierarchy
 ###
 
-for dir in run run/bin
+for dir in lib lib/bin
 do
 	test -d $dir || mkdir $dir || exit 1
 done
@@ -172,7 +172,7 @@
 echo "Stamp: $bdname"
 echo ""
 
-bindir=run/bin/$bdname
+bindir=lib/bin/$bdname
 
 
 ###
diff -u crack-5.0a/debian/changelog crack-5.0a/debian/changelog
--- crack-5.0a/debian/changelog
+++ crack-5.0a/debian/changelog
@@ -1,3 +1,13 @@
+crack (5.0a-9.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix "Do not expect the /var/run/ content to persist":
+    apply patch from Georgios M. Zarkadas that moves the contents of /var/run
+    to /var/lib. (Closes: #387756)
+  * Move doc-base files to crack-common package (lintian error).
+
+ -- gregor herrmann <gre...@debian.org>  Wed, 11 Apr 2012 17:52:13 +0200
+
 crack (5.0a-9.1) unstable; urgency=low
 
   * Non-maintainer upload.
diff -u crack-5.0a/debian/rules crack-5.0a/debian/rules
--- crack-5.0a/debian/rules
+++ crack-5.0a/debian/rules
@@ -35,12 +35,12 @@
 	chmod 755 Crack.make
 	./Crack.make 
 	# this is the crypt version, move it to other place
-	mv run/bin/debian/ run/bin/debian-crypt
+	mv lib/bin/debian/ lib/bin/debian-crypt
 	# To build the MD5 version
 	mv src/libdes src/libdes.orig
 	cd src/util && cp elcid.c elcid.c.orig && cp elcid.c,bsd elcid.c
 	./Crack.make
-	mv run/bin/debian/ run/bin/debian-md5
+	mv lib/bin/debian/ lib/bin/debian-md5
 	# Now restore it to the previous situation
 	mv src/libdes.orig src/libdes
 	cd src/util && cp elcid.c.orig elcid.c
@@ -59,7 +59,7 @@
 	 cd src/util && cp elcid.c.orig elcid.c ;\
 	fi
 	-$(MAKE) spotless
-	-rm -rf run
+	-rm -rf lib
 
 	dh_clean
 
@@ -82,16 +82,16 @@
 	cd  debian/crack-common/usr/share/Crack/ && ln -s /etc/Crack conf
 	chmod a+x  debian/crack-common/usr/share/Crack/Crack  debian/crack-common/usr/share/Crack/Reporter
 	# For the DES version
-	cp -a run/bin/debian-crypt/* debian/crack/usr/lib/Crack
-	cd debian/crack/usr/share/Crack && ln -s /var/run/Crack run
+	cp -a lib/bin/debian-crypt/* debian/crack/usr/lib/Crack
+	cd debian/crack/usr/share/Crack && ln -s /var/lib/Crack run
 
-	cd debian/crack/var/run/Crack/bin/ && ln -s /usr/lib/Crack debian
+	cd debian/crack/var/lib/Crack/bin/ && ln -s /usr/lib/Crack debian
 	install -m755 debian/Crack debian/Crack-Reporter debian/crack/usr/sbin/
 	# For the MD5 version
-	cp -a run/bin/debian-md5/* debian/crack-md5/usr/lib/Crack
-	cd debian/crack-md5/usr/share/Crack && ln -s /var/run/Crack run
+	cp -a lib/bin/debian-md5/* debian/crack-md5/usr/lib/Crack
+	cd debian/crack-md5/usr/share/Crack && ln -s /var/lib/Crack run
 
-	cd debian/crack-md5/var/run/Crack/bin/ && ln -s /usr/lib/Crack debian
+	cd debian/crack-md5/var/lib/Crack/bin/ && ln -s /usr/lib/Crack debian
 	install -m755 debian/Crack debian/Crack-Reporter debian/crack-md5/usr/sbin/
 # Could change into this the previous statements:
 #	dh_movefiles
diff -u crack-5.0a/debian/crack.dirs crack-5.0a/debian/crack.dirs
--- crack-5.0a/debian/crack.dirs
+++ crack-5.0a/debian/crack.dirs
@@ -5 +5 @@
-var/run/Crack/bin
+var/lib/Crack/bin
diff -u crack-5.0a/debian/crack-md5.dirs crack-5.0a/debian/crack-md5.dirs
--- crack-5.0a/debian/crack-md5.dirs
+++ crack-5.0a/debian/crack-md5.dirs
@@ -5 +5 @@
-var/run/Crack/bin
+var/lib/Crack/bin
diff -u crack-5.0a/debian/Crack.8 crack-5.0a/debian/Crack.8
--- crack-5.0a/debian/Crack.8
+++ crack-5.0a/debian/Crack.8
@@ -114,7 +114,7 @@
 .SH FILES
 .I /usr/share/Crack
 Location of the Crack program and scripts.
-.I /var/run/Crack/
+.I /var/lib/Crack/
 Location for the temporary files used by Crack.
 
 .SH "SEE ALSO"
diff -u crack-5.0a/debian/postrm crack-5.0a/debian/postrm
--- crack-5.0a/debian/postrm
+++ crack-5.0a/debian/postrm
@@ -10,6 +10,7 @@
         ;;
 	purge)
 # If the user has run crack there is stuff in here
+	[ -d /var/lib/Crack ] && rm -rf /var/lib/Crack
 	[ -d /usr/share/Crack ] && rm -rf /usr/share/Crack
 	[ -d /etc/Crack ] && rm -rf /etc/Crack
         ;;
reverted:
--- crack-5.0a/debian/crack.doc-base.crack-faq
+++ crack-5.0a.orig/debian/crack.doc-base.crack-faq
@@ -1,14 +0,0 @@
-Document: crack-faq
-Title: Crack FAQ
-Author:  Alec Muffett
-Abstract: This document includes Frequently Asked Questions
- for Crack (the password guessing program).
-Section: admin
-
-
-Format: text
-Files: /usr/share/doc/crack-common/c50-faq.txt.gz
-
-Format: HTML
-Index: /usr/share/doc/crack-common/c50-faq.html
-Files: /usr/share/doc/crack-common/c50-faq.html
reverted:
--- crack-5.0a/debian/crack.doc-base.crack
+++ crack-5.0a.orig/debian/crack.doc-base.crack
@@ -1,14 +0,0 @@
-Document: crack
-Title: Crack Manual
-Author:  Alec Muffett
-Abstract: This manual describes what crack is
- and how it can be used to test for vulnerable passwords.
-Section: admin
-
-
-Format: text
-Files: /usr/share/doc/crack-common/manual.txt.gz
-
-Format: HTML
-Index: /usr/share/doc/crack-common/manual.html
-Files: /usr/share/doc/crack-common/manual.html
only in patch2:
unchanged:
--- crack-5.0a.orig/Makefile
+++ crack-5.0a/Makefile
@@ -39,17 +39,17 @@
 tidy: clean
 	-scripts/plaster
 	-scripts/fbmerge
-	-rm -f run/[DIEGTKM]*
-	-rm -f run/dict/gecos.*
-	-rm -f run/dict/gcperm.*
+	-rm -f lib/[DIEGTKM]*
+	-rm -f lib/dict/gecos.*
+	-rm -f lib/dict/gcperm.*
 
 spotless: tidy
-	-rm -rf run/bin
+	-rm -rf lib/bin
 
 rmdict:
-	-rm -rf run/dict
+	-rm -rf lib/dict
 
 clobber: spotless rmdict
-	-cat run/F-merged >> F-merged.save
-	-rm -rf run
+	-cat lib/F-merged >> F-merged.save
+	-rm -rf lib
 	( cd extra ; make clean )
only in patch2:
unchanged:
--- crack-5.0a.orig/debian/crack-common.doc-base.crack
+++ crack-5.0a/debian/crack-common.doc-base.crack
@@ -0,0 +1,14 @@
+Document: crack
+Title: Crack Manual
+Author:  Alec Muffett
+Abstract: This manual describes what crack is
+ and how it can be used to test for vulnerable passwords.
+Section: admin
+
+
+Format: text
+Files: /usr/share/doc/crack-common/manual.txt.gz
+
+Format: HTML
+Index: /usr/share/doc/crack-common/manual.html
+Files: /usr/share/doc/crack-common/manual.html
only in patch2:
unchanged:
--- crack-5.0a.orig/debian/crack-common.doc-base.crack-faq
+++ crack-5.0a/debian/crack-common.doc-base.crack-faq
@@ -0,0 +1,14 @@
+Document: crack-faq
+Title: Crack FAQ
+Author:  Alec Muffett
+Abstract: This document includes Frequently Asked Questions
+ for Crack (the password guessing program).
+Section: admin
+
+
+Format: text
+Files: /usr/share/doc/crack-common/c50-faq.txt.gz
+
+Format: HTML
+Index: /usr/share/doc/crack-common/c50-faq.html
+Files: /usr/share/doc/crack-common/c50-faq.html

Attachment: signature.asc
Description: Digital signature

Reply via email to