pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pxz: Remove pxz, imported as pkgsrc/archivers/pxz



Module Name:	pkgsrc-wip
Committed By:	Ryo ONODERA <ryoon%NetBSD.org@localhost>
Pushed By:	ryoon
Date:		Sat Apr 17 01:22:42 2021 +0900
Changeset:	f46444d60cd575e67a343cdf639dc39138341d6b

Removed Files:
	pxz/DESCR
	pxz/Makefile
	pxz/PLIST
	pxz/distinfo
	pxz/patches/patch-pxz.c

Log Message:
pxz: Remove pxz, imported as pkgsrc/archivers/pxz

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f46444d60cd575e67a343cdf639dc39138341d6b

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 pxz/DESCR               |  5 -----
 pxz/Makefile            | 21 --------------------
 pxz/PLIST               |  3 ---
 pxz/distinfo            |  7 -------
 pxz/patches/patch-pxz.c | 53 -------------------------------------------------
 5 files changed, 89 deletions(-)

diffs:
diff --git a/pxz/DESCR b/pxz/DESCR
deleted file mode 100644
index 1010f58275..0000000000
--- a/pxz/DESCR
+++ /dev/null
@@ -1,5 +0,0 @@
-Parallel XZ is a compression utility that takes advantage of running LZMA
-compression of different parts of an input file on multiple cores and
-processors simultaneously.
-Its primary goal is to utilize all resources to speed up compression time
-with minimal possible influence on compression ratio.
diff --git a/pxz/Makefile b/pxz/Makefile
deleted file mode 100644
index 1de1a87d0e..0000000000
--- a/pxz/Makefile
+++ /dev/null
@@ -1,21 +0,0 @@
-# $NetBSD: Makefile,v 1.1 2015/06/16 18:28:35 ishit Exp $
-
-GITHUB_PROJECT=	pxz
-GITHUB_TAG=	124382a6d0832b13b7c091f72264f8f3f463070a
-DISTNAME=	pxz-4.999.9beta
-CATEGORIES=	archivers
-MASTER_SITES=	${MASTER_SITE_GITHUB:=jnovy/}
-
-MAINTAINER=	ryoon%NetBSD.org@localhost
-HOMEPAGE=	https://jnovy.fedorapeople.org/pxz/
-COMMENT=	Parallel LZMA compressor using liblzma
-LICENSE=	gnu-gpl-v2
-
-INSTALLATION_DIRS+=	bin ${PKGMANDIR}/man1
-
-do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/pxz ${DESTDIR}${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/pxz.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
-
-.include "../../archivers/xz/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/pxz/PLIST b/pxz/PLIST
deleted file mode 100644
index 4e3ee31ca3..0000000000
--- a/pxz/PLIST
+++ /dev/null
@@ -1,3 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2015/06/16 18:28:35 ishit Exp $
-bin/pxz
-man/man1/pxz.1
diff --git a/pxz/distinfo b/pxz/distinfo
deleted file mode 100644
index 1fe9b335d6..0000000000
--- a/pxz/distinfo
+++ /dev/null
@@ -1,7 +0,0 @@
-$NetBSD: distinfo,v 1.3 2015/06/20 19:25:53 ishit Exp $
-
-SHA1 (pxz-4.999.9beta-124382a6d0832b13b7c091f72264f8f3f463070a.tar.gz) = 403d83c0b0e1430491857fbd88c4ade12891c8ce
-RMD160 (pxz-4.999.9beta-124382a6d0832b13b7c091f72264f8f3f463070a.tar.gz) = e68c7d049e9714a0b1f177395c6ebafc104c283f
-SHA512 (pxz-4.999.9beta-124382a6d0832b13b7c091f72264f8f3f463070a.tar.gz) = 7675e3839764afc27e737d596080440d98c45e27b355036551acb5a1c09851abf26c419d431a62d5c635e5c11c3e638980e7516c1c774cc991b3ededef4b388a
-Size (pxz-4.999.9beta-124382a6d0832b13b7c091f72264f8f3f463070a.tar.gz) = 12291 bytes
-SHA1 (patch-pxz.c) = 23009478fbf4796805828bfb59bfeb912a49a895
diff --git a/pxz/patches/patch-pxz.c b/pxz/patches/patch-pxz.c
deleted file mode 100644
index a7c28694e5..0000000000
--- a/pxz/patches/patch-pxz.c
+++ /dev/null
@@ -1,53 +0,0 @@
-$NetBSD: patch-pxz.c,v 1.3 2015/06/20 19:25:53 ishit Exp $
-
-fixed complie error.
-fixed CVE. 
-
-cf. FreeBSD's ports
-cf. Debian's deb fix CVE patch
-
---- pxz.c.orig	2019-05-07 15:08:53.000000000 +0000
-+++ pxz.c
-@@ -23,11 +23,17 @@
- 
- #include <string.h>
- #include <stdio.h>
-+#if !defined(__FreeBSD__) && !defined(__NetBSD__)
- #include <stdio_ext.h>
-+#endif
- #include <stdlib.h>
- #include <inttypes.h>
- #include <unistd.h>
-+#if defined(__FreeBSD__) || defined(__NetBSD__)
-+#include <err.h>
-+#else
- #include <error.h>
-+#endif
- #include <errno.h>
- #include <sys/stat.h>
- #include <sys/mman.h>
-@@ -42,6 +48,10 @@
- #include <omp.h>
- #endif
- 
-+#if defined(__FreeBSD__) || defined(__NetBSD__)
-+#define error errc
-+#endif
-+
- #ifndef XZ_BINARY
- #define XZ_BINARY "xz"
- #endif
-@@ -132,6 +142,13 @@ const struct option long_opts[] = {
- 	{ NULL,             0,                 NULL,   0 }
- };
- 
-+#if defined(__FreeBSD__) || defined(__NetBSD__)
-+static size_t __fpending (FILE *fp)
-+{
-+	return (fp->_p - fp->_bf._base);
-+}
-+#endif
-+
- void __attribute__((noreturn)) run_xz( char **argv, char **envp ) {
- 	execve(XZ_BINARY, argv, envp);
- 	error(0, errno, "execution of "XZ_BINARY" binary failed");


Home | Main Index | Thread Index | Old Index