pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Created wip gzip based on gzip-1.11.
Module Name: pkgsrc-wip
Committed By: Boyd Lynn Gerber <gerberb%zenez.com@localhost>
Pushed By: gerberb
Date: Sat Apr 30 12:20:24 2022 -0600
Changeset: ec6e077f8c40b5d4d1f35d14547d7c2ad3e29184
Added Files:
gzip/DESCR
gzip/Makefile
gzip/PLIST
gzip/distinfo
gzip/patches/patch_xinuos-archivers_gzip_lib-vasnprintf.c
Log Message:
Created wip gzip based on gzip-1.11.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ec6e077f8c40b5d4d1f35d14547d7c2ad3e29184
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
gzip/DESCR | 7 ++++++
gzip/Makefile | 25 ++++++++++++++++++++
gzip/PLIST | 27 ++++++++++++++++++++++
gzip/distinfo | 6 +++++
.../patch_xinuos-archivers_gzip_lib-vasnprintf.c | 19 +++++++++++++++
5 files changed, 84 insertions(+)
diffs:
diff --git a/gzip/DESCR b/gzip/DESCR
new file mode 100644
index 0000000000..954e456a6c
--- /dev/null
+++ b/gzip/DESCR
@@ -0,0 +1,7 @@
+GZIP (GNU zip) is a popular data compression program written by Jean-Loup
+Gailly <gzip%gnu.org@localhost> for the GNU project.
+
+This program was developed as a replacement for compress because of the UNISYS
+and IBM patents covering the LZW algorithm used by compress. These patents
+made it impossible for us to use compress, and we needed a replacement. The
+superior compression ratio of GZIP is just a bonus.
diff --git a/gzip/Makefile b/gzip/Makefile
new file mode 100644
index 0000000000..f15464fd13
--- /dev/null
+++ b/gzip/Makefile
@@ -0,0 +1,25 @@
+
+
+DISTNAME= gzip-1.11
+CATEGORIES= archivers
+#MASTER_SITES= ${MASTER_SITE_GNU:=gzip/}
+#EXTRACT_SUFX= .tar.xz
+MASTER_SITES= ${MASTER_SITE_LOCAL}
+EXTRACT_SUFX= .tar
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://www.gnu.org/software/gzip/gzip.html
+COMMENT= Compress or expand files
+LICENSE= gnu-gpl-v3
+
+CONFLICTS+= gzip-base-[0-9]* gzip-info-[0-9]*
+
+GNU_CONFIGURE= yes
+MAKE_FLAGS+= manlinks=so
+INFO_FILES= yes
+CHECK_PERMS= no # can't depend on checkperms; its distfile is gzipped
+
+#bug 20453 in bug-gzip list, passed onto gnulib
+CONFIGURE_ENV.AIX+= ac_cv_header_wctype_h=no
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/gzip/PLIST b/gzip/PLIST
new file mode 100644
index 0000000000..fc4527ae94
--- /dev/null
+++ b/gzip/PLIST
@@ -0,0 +1,27 @@
+@comment $NetBSD: PLIST,v 1.7 2007/12/21 23:57:41 rillig Exp $
+bin/gunzip
+bin/gzexe
+bin/gzip
+bin/uncompress
+bin/zcat
+bin/zcmp
+bin/zdiff
+bin/zegrep
+bin/zfgrep
+bin/zforce
+bin/zgrep
+bin/zless
+bin/zmore
+bin/znew
+info/gzip.info
+man/man1/gunzip.1
+man/man1/gzexe.1
+man/man1/gzip.1
+man/man1/zcat.1
+man/man1/zcmp.1
+man/man1/zdiff.1
+man/man1/zforce.1
+man/man1/zgrep.1
+man/man1/zless.1
+man/man1/zmore.1
+man/man1/znew.1
diff --git a/gzip/distinfo b/gzip/distinfo
new file mode 100644
index 0000000000..873510bcc8
--- /dev/null
+++ b/gzip/distinfo
@@ -0,0 +1,6 @@
+
+
+SHA512 (gzip-1.11.tar) = 04a186524fa0d35af4cc248550d5b91b6cadfbe1011da7d722617a0d36c3f3bb163e2890cfc10cb74f3ea78a94651a78b7e49bc56115f1297782e83c1b0bb7d0
+SHA1 (gzip-1.11.tar) = e2d91d63d78d4515037e6b26b90cbd46c12abf2e
+Size (gzip-1.11.tar) = 5703680 bytes
+SHA1 (patch_xinuos-archivers_gzip_lib-vasnprintf.c) = 4012b674c04f83f2b3bffdef6107a7836ce21d8e
diff --git a/gzip/patches/patch_xinuos-archivers_gzip_lib-vasnprintf.c b/gzip/patches/patch_xinuos-archivers_gzip_lib-vasnprintf.c
new file mode 100644
index 0000000000..153ac609a1
--- /dev/null
+++ b/gzip/patches/patch_xinuos-archivers_gzip_lib-vasnprintf.c
@@ -0,0 +1,19 @@
+#
+# lib/vasnprintf.c
+# use c9x snprintf
+#
+--- gzip/lib/vasnprintf.c.old 2021-12-02 16:51:39.099686018 +0000
++++ gzip/lib/vasnprintf.c 2021-12-02 17:27:27.821686042 +0000
+@@ -202,7 +202,11 @@
+ # endif
+ # else
+ /* Unix. */
+-# define SNPRINTF snprintf
++# ifdef __sysv5__
++# define SNPRINTF _xsnprintf
++# else
++# define SNPRINTF snprintf
++# endif
+ /* Here we need to call the native snprintf, not rpl_snprintf. */
+ # undef snprintf
+ # endif
Home |
Main Index |
Thread Index |
Old Index