Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Nov 2010 09:23:13 GMT
From:      KOMATSU Shinichiro <koma2@lovepeers.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/152006: New Port: archivers/unzip: Slave port of unzip with WITH_ICONV=yes set
Message-ID:  <201011070923.oA79NDAN098304@www.freebsd.org>
Resent-Message-ID: <201011070930.oA79UAtS032293@freefall.freebsd.org>

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

>Number:         152006
>Category:       ports
>Synopsis:       New Port: archivers/unzip: Slave port of unzip with WITH_ICONV=yes set
>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:   Sun Nov 07 09:30:10 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     KOMATSU Shinichiro
>Release:        FreeBSD 7.3-RELEASE-p2 amd64
>Organization:
>Environment:
FreeBSD 7.3-RELEASE-p2 amd64
>Description:
It is desirable for non-latin1 users that unzip package is built with WITH_ICONV=yes,
so I made a slave port. 

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff --exclude=CVS -urN ports/archivers/unzip/Makefile ports.new/archivers/unzip/Makefile
--- ports/archivers/unzip/Makefile	2010-09-20 15:14:24.000000000 +0900
+++ ports.new/archivers/unzip/Makefile	2010-11-07 13:07:22.000000000 +0900
@@ -26,6 +26,8 @@
 PORTDOCS=	README WHERE
 MAN1=		${UNZIP_NAME}.1 funzip.1 unzipsfx.1 zipgrep.1 zipinfo.1
 
+CONFLICTS=	unzip-iconv-[0-9]* ko-unzip-[0-9]* ru-unzip-[0-9]* zh-unzip-[0-9]*
+
 LOCAL_UNZIP=	${CFLAGS} -DACORN_FTYPE_NFS -DWILD_STOP_AT_DIR \
 		-DUNICODE_SUPPORT -DUTF8_MAYBE_NATIVE -D_MBCS \
 		-DLARGE_FILE_SUPPORT
diff --exclude=CVS -urN ports/archivers/unzip-iconv/Makefile ports.new/archivers/unzip-iconv/Makefile
--- ports/archivers/unzip-iconv/Makefile	1970-01-01 09:00:00.000000000 +0900
+++ ports.new/archivers/unzip-iconv/Makefile	2010-11-07 12:58:19.000000000 +0900
@@ -0,0 +1,19 @@
+# New ports collection makefile for:	unzip-iconv
+# Date created:				Nov  7 2010
+# Whom:					KOMATSU Shinichiro <koma2@lovepeers.org>
+#
+# $FreeBSD$
+#
+
+PKGNAMESUFFIX=	-iconv
+
+MAINTAINER=	koma2@lovepeers.org
+COMMENT=	Unzip with iconv patches
+
+MASTERDIR=	${.CURDIR}/../unzip
+
+WITH_ICONV=	yes
+
+CONFLICTS=	unzip-[0-9]* ko-unzip-[0-9]* ru-unzip-[0-9]* zh-unzip-[0-9]*
+
+.include "${MASTERDIR}/Makefile"
diff --exclude=CVS -urN ports/chinese/unzip/Makefile ports.new/chinese/unzip/Makefile
--- ports/chinese/unzip/Makefile	2005-07-26 06:58:09.000000000 +0900
+++ ports.new/chinese/unzip/Makefile	2010-11-07 13:00:56.000000000 +0900
@@ -9,7 +9,7 @@
 
 MAINTAINER=	ports@FreeBSD.org
 
-CONFLICTS=	unzip-[0-9]* ko-unzip-[0-9]* ru-unzip-[0-9]*
+CONFLICTS=	unzip-[0-9]* unzip-iconv-[0-9]* ko-unzip-[0-9]* ru-unzip-[0-9]*
 
 MASTERDIR=	${.CURDIR}/../../archivers/unzip
 
diff --exclude=CVS -urN ports/korean/unzip/Makefile ports.new/korean/unzip/Makefile
--- ports/korean/unzip/Makefile	2009-11-07 06:16:02.000000000 +0900
+++ ports.new/korean/unzip/Makefile	2010-11-07 13:00:38.000000000 +0900
@@ -9,7 +9,7 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	ZIP archive extractor with localized patches
 
-CONFLICTS=	unzip-[0-9]* ru-unzip-[0-9]* zh-unzip-[0-9]*
+CONFLICTS=	unzip-[0-9]* unzip-iconv-[0-9]* ru-unzip-[0-9]* zh-unzip-[0-9]*
 
 EXTRA_PATCHES=	${.CURDIR}/files/patch-*
 MASTERDIR=	${.CURDIR}/../../archivers/unzip
diff --exclude=CVS -urN ports/russian/unzip/Makefile ports.new/russian/unzip/Makefile
--- ports/russian/unzip/Makefile	2009-12-08 21:23:41.000000000 +0900
+++ ports.new/russian/unzip/Makefile	2010-11-07 13:01:13.000000000 +0900
@@ -10,7 +10,7 @@
 MAINTAINER=	den@FreeBSD.org
 COMMENT=	Unzip with CP866 and KOI8-R support
 
-CONFLICTS=	unzip-[0-9]* zh-unzip-[0-9]* ko-unzip-[0-9]*
+CONFLICTS=	unzip-[0-9]* unzip-iconv-[0-9]* zh-unzip-[0-9]* ko-unzip-[0-9]*
 
 EXTRA_PATCHES=	${.CURDIR}/files/patch-ebcdic.h
 


>Release-Note:
>Audit-Trail:
>Unformatted:



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