commit 5920f5d
hovercats
·
2024-05-04 18:39:32 +0000 UTC
parent 5a63550
zip: only install zip
5 files changed,
+8,
-19
+7,
-0
1@@ -9,12 +9,19 @@ done
2 make \
3 prefix=/usr \
4 CC="$CC -static $LDFLAGS $CFLAGS $CXXFLAGS" \
5+ ZIPS='zip$E' \
6 -f unix/Makefile generic
7
8 make \
9 prefix="$1/usr" \
10 MANDIR="$1/usr/share/man/man1" \
11+ ZIPS='zip$E' \
12 -f unix/Makefile install
13
14+# We only build and install zip. Remove redundant manpages
15+for p in zipnote zipsplit zipcloak; do
16+ rm -rf "$1/usr/share/man/man1/$p.1"
17+done
18+
19 # Compress manpages
20 find "$1/usr/share/man" -type f -exec gzip -n -9 {} +
+0,
-1
1@@ -2,4 +2,3 @@ c622bb4295213bc6d94e42a6da58d8bdb32fc6d8f7f37aa078238c31b05c9d9176
2 7c6b1596061daff3d5b0d2b1b2a7d3f133b9912f99f88d1f732d5d1d1ce0b21566
3 2ff1a790bfbe5c70e375ab04a5e2005684cba7c8ce689b419ad4e5a3b882aebfec
4 c0172d5b8405edd064e03d4f6f313215bb3097274ac9dbbb3415f96c633aec02a9
5-a7cf9503e06edcf9e16597345bffd6c9b697fa5c47430653ab756fb5a4c44f7e69
+0,
-16
1@@ -1,16 +0,0 @@
2-From: Christian Spieler
3-Subject: zipnote.c: Close in_file instead of undefined file x
4-Bug-Debian: http://bugs.debian.org/628594
5-X-Debian-version: 3.0-4
6-
7---- a/zipnote.c
8-+++ b/zipnote.c
9-@@ -661,7 +661,7 @@
10- if ((r = zipcopy(z)) != ZE_OK)
11- ziperr(r, "was copying an entry");
12- }
13-- fclose(x);
14-+ fclose(in_file);
15-
16- /* Write central directory and end of central directory with new comments */
17- if ((c = zftello(y)) == (zoff_t)-1) /* get start of central */
+0,
-1
1@@ -2,4 +2,3 @@ https://downloads.sourceforge.net/infozip/zip30.tar.gz
2 patches/zip-3.0-currdir.patch
3 patches/zip-3.0-exec-shield.patch
4 patches/zip-3.0-format-security.patch
5-patches/zipnote.patch
+1,
-1
1@@ -1 +1 @@
2-3.0 2
3+3.0 3