1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

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
This commit is contained in:
Rodrigo Osorio 2021-01-15 10:46:23 +00:00
parent 14e9fa41b1
commit 89f0746331
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=561631
2 changed files with 19 additions and 14 deletions

View File

@ -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
NO_CDROM= License does not allow redistribution
NO_PACKAGE= ${NO_CDROM}
RESTRICTED= ${NO_CDROM}
ONLY_FOR_ARCHS= amd64 i386
USES= linux
LICENSE_PERMS=no-pkg-mirror
NO_CDROM= License does not allow redistribution
RESTRICTED= ${NO_CDROM}
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

View File

@ -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