summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/changelog9
-rwxr-xr-xdebian/rules3
-rw-r--r--debian/zutils.lintian-overrides3
-rw-r--r--debian/zutils.postrm4
-rw-r--r--debian/zutils.preinst4
5 files changed, 19 insertions, 4 deletions
diff --git a/debian/changelog b/debian/changelog
index f7ebe55..c932ddb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+zutils (0.9~rc2-3) unstable; urgency=low
+
+ * Moving zutils to /bin.
+ * Using quiet for dpkg-divert calls.
+ * Compiling zutils statically for the time being (Closes: #608484).
+ * Correcting wrong configure call in rules.
+
+ -- Daniel Baumann <daniel@debian.org> Sat, 01 Jan 2011 11:55:29 +0100
+
zutils (0.9~rc2-2) unstable; urgency=low
* Updating copyright file.
diff --git a/debian/rules b/debian/rules
index 8e3eaf2..81fcbdc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,9 @@
%:
dh ${@}
+override_dh_auto_configure:
+ LDFLAGS="${LDFLAGS} -static" dh_auto_configure -- --exec-prefix=/
+
override_dh_auto_install:
dh_auto_install
diff --git a/debian/zutils.lintian-overrides b/debian/zutils.lintian-overrides
new file mode 100644
index 0000000..e3a903a
--- /dev/null
+++ b/debian/zutils.lintian-overrides
@@ -0,0 +1,3 @@
+zutils: statically-linked-binary ./bin/zcmp
+zutils: statically-linked-binary ./bin/zdiff
+zutils: statically-linked-binary ./bin/zutils
diff --git a/debian/zutils.postrm b/debian/zutils.postrm
index 7e652bf..d732840 100644
--- a/debian/zutils.postrm
+++ b/debian/zutils.postrm
@@ -6,8 +6,8 @@ case "${1}" in
remove)
for FILE in zcat zcmp zdiff zegrep zfgrep zgrep
do
- dpkg-divert --package zutils --remove --rename --divert /bin/${FILE}.gzip /bin/${FILE}
- dpkg-divert --package zutils --remove --rename --divert /usr/share/man/man1/${FILE}.gzip.1.gz /usr/share/man/man1/${FILE}.1.gz
+ dpkg-divert --package zutils --quiet --remove --rename --divert /bin/${FILE}.gzip /bin/${FILE}
+ dpkg-divert --package zutils --quiet --remove --rename --divert /usr/share/man/man1/${FILE}.gzip.1.gz /usr/share/man/man1/${FILE}.1.gz
done
;;
diff --git a/debian/zutils.preinst b/debian/zutils.preinst
index cca4936..d22c1e5 100644
--- a/debian/zutils.preinst
+++ b/debian/zutils.preinst
@@ -6,8 +6,8 @@ case "${1}" in
install)
for FILE in zcat zcmp zdiff zegrep zfgrep zgrep
do
- dpkg-divert --package zutils --add --rename --divert /bin/${FILE}.gzip /bin/${FILE}
- dpkg-divert --package zutils --add --rename --divert /usr/share/man/man1/${FILE}.gzip.1.gz /usr/share/man/man1/${FILE}.1.gz
+ dpkg-divert --package zutils --quiet --add --rename --divert /bin/${FILE}.gzip /bin/${FILE}
+ dpkg-divert --package zutils --quiet --add --rename --divert /usr/share/man/man1/${FILE}.gzip.1.gz /usr/share/man/man1/${FILE}.1.gz
done
;;