From 89f07463314fc8bc7d528d6b8d52b23066263610 Mon Sep 17 00:00:00 2001 From: Rodrigo Osorio Date: Fri, 15 Jan 2021 10:46:23 +0000 Subject: archivers/kzip: update to v20200115 - Use FreeBSD static binary instead of linux one - Take maintenership for this port - Update Makefile to make portlint happy Major changes: * hardening options enabled during compilation --- archivers/kzip/Makefile | 26 +++++++++++++++----------- archivers/kzip/distinfo | 5 +++-- 2 files changed, 18 insertions(+), 13 deletions(-) (limited to 'archivers') diff --git a/archivers/kzip/Makefile b/archivers/kzip/Makefile index 077128c0898c..96c7a859fab5 100644 --- a/archivers/kzip/Makefile +++ b/archivers/kzip/Makefile @@ -2,29 +2,33 @@ # $FreeBSD$ PORTNAME= kzip -DISTVERSION= 20150319 -CATEGORIES= archivers linux +DISTVERSION= 20200115 +CATEGORIES= archivers MASTER_SITES= http://static.jonof.id.au/dl/kenutils/ -DISTNAME= kzipmix-${DISTVERSION}-linux-static +DISTNAME= kzipmix-${DISTVERSION}-bsd-static -MAINTAINER= ports@FreeBSD.org +MAINTAINER= rodrigo@FreeBSD.org COMMENT= PKZIP-compatible compressor focusing on space over speed +ONLY_FOR_ARCHS= amd64 i386 + +LICENSE_PERMS=no-pkg-mirror + NO_CDROM= License does not allow redistribution -NO_PACKAGE= ${NO_CDROM} RESTRICTED= ${NO_CDROM} -ONLY_FOR_ARCHS= amd64 i386 - -USES= linux NO_BUILD= yes + +.include + +.if ${ARCH} == "amd64" +WRKSRC_SUBDIR= ${ARCH} +.else WRKSRC_SUBDIR= i686 +.endif PLIST_FILES= bin/kzip -post-extract: - @${BRANDELF} -t Linux ${WRKSRC}/kzip-static - do-install: ${INSTALL_PROGRAM} ${WRKSRC}/kzip-static ${STAGEDIR}${PREFIX}/bin/kzip diff --git a/archivers/kzip/distinfo b/archivers/kzip/distinfo index c5ca47b0900f..9b5d1c1c549c 100644 --- a/archivers/kzip/distinfo +++ b/archivers/kzip/distinfo @@ -1,2 +1,3 @@ -SHA256 (kzipmix-20150319-linux-static.tar.gz) = 03da29180960f03515d962e90395543872b53bd22d1b0ea9763f8b4299c20fb7 -SIZE (kzipmix-20150319-linux-static.tar.gz) = 1205749 +TIMESTAMP = 1610703063 +SHA256 (kzipmix-20200115-bsd-static.tar.gz) = c583763646f08788d5929de295662a3b3384f7082029e041f7b6612b7270aff6 +SIZE (kzipmix-20200115-bsd-static.tar.gz) = 803973 -- cgit v1.2.3