Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jan 2021 10:46:24 +0000 (UTC)
From:      Rodrigo Osorio <rodrigo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r561631 - head/archivers/kzip
Message-ID:  <202101151046.10FAkOUa079436@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rodrigo
Date: Fri Jan 15 10:46:23 2021
New Revision: 561631
URL: https://svnweb.freebsd.org/changeset/ports/561631

Log:
  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

Modified:
  head/archivers/kzip/Makefile
  head/archivers/kzip/distinfo

Modified: head/archivers/kzip/Makefile
==============================================================================
--- head/archivers/kzip/Makefile	Fri Jan 15 10:21:59 2021	(r561630)
+++ head/archivers/kzip/Makefile	Fri Jan 15 10:46:23 2021	(r561631)
@@ -2,28 +2,32 @@
 # $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

Modified: head/archivers/kzip/distinfo
==============================================================================
--- head/archivers/kzip/distinfo	Fri Jan 15 10:21:59 2021	(r561630)
+++ head/archivers/kzip/distinfo	Fri Jan 15 10:46:23 2021	(r561631)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101151046.10FAkOUa079436>