git: 771bc70e98f8 - main - archivers/pxz: Remove expired port

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Sun, 04 Aug 2024 12:38:34 UTC
The branch main has been updated by rene:

URL: https://cgit.FreeBSD.org/ports/commit/?id=771bc70e98f8f5fd22cdc694c9764baed66b02f4

commit 771bc70e98f8f5fd22cdc694c9764baed66b02f4
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2024-08-04 12:38:29 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2024-08-04 12:38:29 +0000

    archivers/pxz: Remove expired port
    
    2024-07-31 archivers/pxz: Superseded by xz (Utils), support for multithreading is available since 2014
---
 MOVED                           |  1 +
 archivers/Makefile              |  1 -
 archivers/pxz/Makefile          | 37 ---------------------------------
 archivers/pxz/distinfo          |  3 ---
 archivers/pxz/files/patch-pxz.c | 45 -----------------------------------------
 archivers/pxz/pkg-descr         |  5 -----
 6 files changed, 1 insertion(+), 91 deletions(-)

diff --git a/MOVED b/MOVED
index 900aae747b2f..d60bd2415c19 100644
--- a/MOVED
+++ b/MOVED
@@ -3409,3 +3409,4 @@ multimedia/hypnotix||2024-08-04|Has expired: Depends on expired www/py-imdbpy (u
 net/bird||2024-08-04|Has expired: Upstream EOL was for the end of 2023
 sysutils/unieject||2024-08-04|Has expired: Abandonware, upstream repo deprecated May 17, 2020
 www/tomcat85||2024-08-04|Has expired: Upstream EOL reaches on 2024-03-31, some time after 2024-06-30 distfiles will be archived. Migrate to www/tomcat9
+archivers/pxz||2024-08-04|Has expired: Superseded by xz (Utils), support for multithreading is available since 2014
diff --git a/archivers/Makefile b/archivers/Makefile
index 538098670875..8a15221fb38a 100644
--- a/archivers/Makefile
+++ b/archivers/Makefile
@@ -181,7 +181,6 @@
     SUBDIR += plzip
     SUBDIR += ppmd
     SUBDIR += ppunpack
-    SUBDIR += pxz
     SUBDIR += py-acefile
     SUBDIR += py-bitshuffle
     SUBDIR += py-blosc2
diff --git a/archivers/pxz/Makefile b/archivers/pxz/Makefile
deleted file mode 100644
index 3d0c9c47b832..000000000000
--- a/archivers/pxz/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-PORTNAME=	pxz
-PORTVERSION=	0.20220509
-CATEGORIES=	archivers
-
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	Parallel LZMA compressor using liblzma
-WWW=		https://jnovy.fedorapeople.org/pxz/
-
-LICENSE=	GPLv2
-LICENSE_FILE=	${WRKSRC}/COPYING
-
-DEPRECATED=	Superseded by xz (Utils), support for multithreading is available since 2014
-EXPIRATION_DATE=2024-07-31
-
-USES=		cpe tar:xz
-PLIST_FILES=	bin/pxz share/man/man1/pxz.1.gz
-
-USE_GITHUB=	yes
-GH_ACCOUNT=	jnovy
-GH_PROJECT=	pxz
-GH_TAGNAME=	136e5c2
-
-CPE_VENDOR=	pxz_project
-
-MAKE_ENV+=	BINDIR=${PREFIX}/bin \
-		MANDIR=${PREFIX}/share/man
-
-MAKE_ARGS+=	CC="${CC}"
-
-.if !exists(/usr/include/omp.h)
-USES+=		compiler:gcc-c++11-lib
-.endif
-
-post-install:
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pxz
-
-.include <bsd.port.mk>
diff --git a/archivers/pxz/distinfo b/archivers/pxz/distinfo
deleted file mode 100644
index 2bede1d5d3c5..000000000000
--- a/archivers/pxz/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1657059037
-SHA256 (jnovy-pxz-0.20220509-136e5c2_GH0.tar.gz) = f41d1b36b4dddb5da5c1165cee2fb91f50dce76d0f5f861c3a4ce37187fb6c57
-SIZE (jnovy-pxz-0.20220509-136e5c2_GH0.tar.gz) = 12369
diff --git a/archivers/pxz/files/patch-pxz.c b/archivers/pxz/files/patch-pxz.c
deleted file mode 100644
index 8c70d31c3ff3..000000000000
--- a/archivers/pxz/files/patch-pxz.c
+++ /dev/null
@@ -1,45 +0,0 @@
---- pxz.c.orig	2022-05-09 09:16:27 UTC
-+++ pxz.c
-@@ -23,11 +23,17 @@
- 
- #include <string.h>
- #include <stdio.h>
-+#ifndef __FreeBSD__
- #include <stdio_ext.h>
-+#endif
- #include <stdlib.h>
- #include <inttypes.h>
- #include <unistd.h>
-+#ifdef __FreeBSD__
-+#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
- 
-+#ifdef __FreeBSD__
-+#define error errc
-+#endif
-+
- #ifndef XZ_BINARY
- #define XZ_BINARY "xz"
- #endif
-@@ -131,6 +141,13 @@ const struct option long_opts[] = {
- 	{ "version",        no_argument,       NULL,  'V' },
- 	{ NULL,             0,                 NULL,   0 }
- };
-+
-+#ifdef __FreeBSD__
-+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);
diff --git a/archivers/pxz/pkg-descr b/archivers/pxz/pkg-descr
deleted file mode 100644
index 1010f58275d2..000000000000
--- a/archivers/pxz/pkg-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.