git: cabbdbaff99b - main - archivers/ppmd-7z: Remove

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 11 Sep 2022 20:24:39 UTC
The branch main has been updated by yuri:

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

commit cabbdbaff99b3be5b0e0d488a85e0d3a94f59e32
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-09-11 20:21:44 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-09-11 20:21:44 +0000

    archivers/ppmd-7z: Remove
    
    Reasons:
    (1) It has multiple vulnerabilities
    (2) It is unmaintained
    (3) It has a superior functional replacement 7-zip that is maintained
    
    ppmd-7z's real name is p7zip on SourceForge: https://sourceforge.net/p/sevenzip/bugs/
---
 MOVED                       |  1 +
 archivers/Makefile          |  1 -
 archivers/ppmd-7z/Makefile  | 39 ---------------------------------------
 archivers/ppmd-7z/distinfo  |  2 --
 archivers/ppmd-7z/pkg-descr |  3 ---
 5 files changed, 1 insertion(+), 45 deletions(-)

diff --git a/MOVED b/MOVED
index 88caeef9c1b1..f98b17b5c7cb 100644
--- a/MOVED
+++ b/MOVED
@@ -17553,3 +17553,4 @@ www/mediawiki136||2022-09-04|Has expired: Upstream no longer maintained
 games/sopwith|games/sdl-sopwith|2022-09-04|Moved to match upstream name
 graphics/drm-fbsd13-kmod|graphics/drm-510-kmod|2022-09-07|Obsolete, use graphics/drm-510-kmod
 graphics/drm-54-kmod|graphics/drm-510-kmod|2022-09-07|Obsolete, use graphics/drm-510-kmod
+archivers/ppmd-7z|archivers/7-zip|2022-09-11|ppmd-7z was a mis-named p7zip project that is unmaintained and has numerous vulnerabilities, users should use 7-zip instead
diff --git a/archivers/Makefile b/archivers/Makefile
index 95dad8fef030..4e7afc62a86a 100644
--- a/archivers/Makefile
+++ b/archivers/Makefile
@@ -173,7 +173,6 @@
     SUBDIR += pixz
     SUBDIR += plzip
     SUBDIR += ppmd
-    SUBDIR += ppmd-7z
     SUBDIR += ppunpack
     SUBDIR += pxz
     SUBDIR += py-acefile
diff --git a/archivers/ppmd-7z/Makefile b/archivers/ppmd-7z/Makefile
deleted file mode 100644
index 28beb7b622c4..000000000000
--- a/archivers/ppmd-7z/Makefile
+++ /dev/null
@@ -1,39 +0,0 @@
-PORTNAME=	ppmd
-PORTVERSION=	9.04
-CATEGORIES=	archivers
-MASTER_SITES=	SF/p7zip/p7zip/${PORTVERSION}
-PKGNAMESUFFIX=	-7z
-DISTNAME=	p7zip_${DISTVERSION}_src_all
-
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	High-ratio PPMD compressor
-WWW=		https://www.7-zip.org/sdk.html
-
-LICENSE=	LGPL21+ UNRAR
-LICENSE_COMB=	multi
-LICENSE_NAME_UNRAR=	unRAR license
-LICENSE_FILE=	${WRKSRC}/DOCS/License.txt
-LICENSE_FILE_UNRAR=	${WRKSRC}/DOCS/unRarLicense.txt
-LICENSE_FILE_LGPL21+ =	${WRKSRC}/DOCS/copying.txt
-LICENSE_PERMS_UNRAR=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
-
-USES=		cpe tar:bzip2 gmake
-WRKSRC=		${WRKDIR}/p7zip_${DISTVERSION}
-BUILD_WRKSRC=	${WRKSRC}/CPP/7zip/Compress/PPMD_Alone
-MAKEFILE=	makefile
-PLIST_FILES=	bin/${PKGBASE}
-MAKE_ARGS=	PROG=${PORTNAME} CXX="${CXX}" LIB="-pthread"
-TEST_TARGET=	test
-CPE_VENDOR=	7-zip
-CPE_PRODUCT=	p7zip
-
-post-patch:
-	@${REINPLACE_CMD} -e '/bool Open(LPCTSTR fileName, DWORD creationDisposition)/,/}/d'\
-		${WRKSRC}/CPP/7zip/Common/FileStreams.h
-	@${REINPLACE_CMD} -e 's|^CFLAGS =|CFLAGS +=|;s|-o |${CFLAGS} -o |'\
-			${BUILD_WRKSRC}/${MAKEFILE}
-
-do-install:
-	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PKGBASE}
-
-.include <bsd.port.mk>
diff --git a/archivers/ppmd-7z/distinfo b/archivers/ppmd-7z/distinfo
deleted file mode 100644
index 5274bc30afb0..000000000000
--- a/archivers/ppmd-7z/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (p7zip_9.04_src_all.tar.bz2) = ddfbb6795a14bcab1f9622096fe9385c239b43c3f6a9a80d85021849f738f9ab
-SIZE (p7zip_9.04_src_all.tar.bz2) = 3759021
diff --git a/archivers/ppmd-7z/pkg-descr b/archivers/ppmd-7z/pkg-descr
deleted file mode 100644
index 128ec35efe85..000000000000
--- a/archivers/ppmd-7z/pkg-descr
+++ /dev/null
@@ -1,3 +0,0 @@
-Simple command line implementation of PPMD compression algorithm. It
-is based on code by Dmitry Shkarin (archivers/ppmd) but reworked by
-Igor Pavlov and bundled with 7zip.