diff options
author | Rodrigo Osorio <rodrigo@FreeBSD.org> | 2021-01-15 10:46:23 +0000 |
---|---|---|
committer | Rodrigo Osorio <rodrigo@FreeBSD.org> | 2021-01-15 10:46:23 +0000 |
commit | 89f07463314fc8bc7d528d6b8d52b23066263610 (patch) | |
tree | 1d3bc41c4b5800be4fa69a80a652b5894871743b /archivers | |
parent | Update plugins. (diff) |
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
Notes
Notes:
svn path=/head/; revision=561631
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/kzip/Makefile | 26 | ||||
-rw-r--r-- | archivers/kzip/distinfo | 5 |
2 files changed, 18 insertions, 13 deletions
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 <bsd.port.pre.mk> + +.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 |