Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Nov 2013 11:35:26 +0900
From:      Takefu <takefu@airport.fm>
To:        freebsd-gnats-submit@freebsd.org
Cc:        ehaupt@FreeBSD.org
Subject:   ports/184366: [PATCH] archivers/unzip: fix portlint(1) compliant
Message-ID:  <5297FD6E.7010506@airport.fm>
Resent-Message-ID: <201311290240.rAT2e0tS007533@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         184366
>Category:       ports
>Synopsis:       [PATCH] archivers/unzip: fix portlint(1) compliant
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 29 02:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Takefu
>Release:        FreeBSD 8.4-RELEASE-p4 i386
>Organization:
FOX Amateur Radio Club
>Environment:
System: FreeBSD RELENG84-ix86.localIPv4.airport.fm 8.4-RELEASE-p4 FreeBSD 8.4-RELEASE-p4 #0: Wed Sep 25 14:55:36 JST 2013
>Description:
fix
  archivers/unzip portlint(1) compliant
  korean/unzip StageDir

Port maintainer (ehaupt@FreeBSD.org) is cc'd.

>How-To-Repeat:
>Fix:

--- unzip-6.0_1.patch begins here ---
diff -ruN /usr/ports/archivers/unzip/Makefile ./Makefile
--- /usr/ports/archivers/unzip/Makefile	2013-10-28 22:26:35.000000000 +0900
+++ ./Makefile	2013-11-29 11:15:13.000000000 +0900
@@ -14,9 +14,9 @@
 COMMENT?=	List, test, and extract compressed files in a ZIP archive

 LICENSE=	Info-ZIP
-LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
 LICENSE_NAME=	Info-ZIP license
 LICENSE_FILE=	${WRKSRC}/LICENSE
+LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept

 CONFLICTS?=	unzip-iconv-[0-9]* zh-unzip-[0-9]* ko-unzip-[0-9]* ru-unzip-[0-9]*

@@ -88,8 +88,8 @@

 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/unzip ${STAGEDIR}${PREFIX}/bin/${UNZIP_NAME}
-.for file in funzip unzipsfx
-	${INSTALL_PROGRAM} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/bin
+.for f in funzip unzipsfx
+	${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin
 .endfor
 	${LN} -sf ${UNZIP_NAME} ${STAGEDIR}${PREFIX}/bin/zipinfo
 	${INSTALL_SCRIPT} ${WRKSRC}/unix/zipgrep ${STAGEDIR}${PREFIX}/bin
@@ -97,7 +97,7 @@
 .for f in ${MAN1:Nunzip.1:Ninfo-unzip.1}
 	${INSTALL_MAN} ${WRKSRC}/man/${f} ${STAGEDIR}${MAN1PREFIX}/man/man1
 .endfor
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for f in ${PORTDOCS}
 	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
diff -ruN /usr/ports/korean/unzip/Makefile ./Makefile
--- /usr/ports/korean/unzip/Makefile	2013-09-21 04:49:59.000000000 +0900
+++ ./Makefile	2013-11-29 11:05:07.000000000 +0900
@@ -11,5 +11,4 @@
 EXTRA_PATCHES=	${.CURDIR}/files/patch-*
 MASTERDIR=	${.CURDIR}/../../archivers/unzip

-NO_STAGE=	yes
 .include "${MASTERDIR}/Makefile"
--- unzip-6.0_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



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