[Pkg-cracklib-commits] [pkg-cracklib] 06/06: include compiled cracklib dictionary in udeb

Jan Dittberner jandd at alioth.debian.org
Thu Aug 15 06:01:32 UTC 2013


This is an automated email from the git hooks/post-receive script.

jandd pushed a commit to branch master
in repository pkg-cracklib.

commit 852a015fd210f9ea987e4c81058063ef0a587512
Author: Jan Dittberner <jandd at debian.org>
Date:   Wed Aug 14 09:48:38 2013 +0200

    include compiled cracklib dictionary in udeb
---
 debian/changelog |    1 +
 debian/rules     |    5 ++++-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index f91eeae..41d3ca3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ cracklib2 (2.9.0-2) UNRELEASED; urgency=low
   * debian/rules:
     - move sequence before args in dh call
     - copy files for libcrack2-udeb
+    - include compiled cracklib dictionary in udeb
 
  -- Jan Dittberner <jandd at debian.org>  Wed, 14 Aug 2013 08:54:59 +0200
 
diff --git a/debian/rules b/debian/rules
index fc24616..8ced630 100755
--- a/debian/rules
+++ b/debian/rules
@@ -79,11 +79,14 @@ override_dh_auto_install:
 	$(MAKE) -C $(CURDIR)/debian/buildtmp/base DESTDIR=$(CURDIR)/debian/libcrack2 install
 	# copy files for libcrack2-udeb
 	mkdir -p $(CURDIR)/debian/libcrack2-udeb/usr/lib/$(DEB_HOST_MULTIARCH) \
-	         $(CURDIR)/debian/libcrack2-udeb/usr/share/locale
+		 $(CURDIR)/debian/libcrack2-udeb/usr/share/locale \
+		 $(CURDIR)/debian/libcrack2-udeb/var/cache/cracklib
 	cp -P $(CURDIR)/debian/libcrack2/usr/lib/$(DEB_HOST_MULTIARCH)/*.so.* \
 	      $(CURDIR)/debian/libcrack2-udeb/usr/lib/$(DEB_HOST_MULTIARCH)
 	cp -r $(CURDIR)/debian/libcrack2/usr/share/locale/* \
 	      $(CURDIR)/debian/libcrack2-udeb/usr/share/locale
+	$(CURDIR)/debian/buildtmp/base/util/cracklib-packer $(CURDIR)/debian/libcrack2-udeb/var/cache/cracklib/cracklib_dict < \
+	    $(CURDIR)/dicts/cracklib-small
 	# move files to libcrack2-dev
 	mkdir -p $(CURDIR)/debian/libcrack2-dev/usr/lib/$(DEB_HOST_MULTIARCH)
 	mv $(CURDIR)/debian/libcrack2/usr/include \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-cracklib/pkg-cracklib.git



More information about the Pkg-cracklib-commits mailing list