Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Mar 2006 01:00:37 +0300 (MSK)
From:      Alexander Zhuravlev <zaa@ulstu.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/94710: [New Port] archivers/libzip C library for reading, creating, and modifying zip archives
Message-ID:  <20060319220037.B51FDB81F@wave.zaa.local>
Resent-Message-ID: <200603200010.k2K0AIxQ033075@freefall.freebsd.org>

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

>Number:         94710
>Category:       ports
>Synopsis:       [New Port] archivers/libzip C library for reading, creating, and modifying zip archives
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 20 00:10:16 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Zhuravlev
>Release:        FreeBSD 6.1-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD wave.zaa.local 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #20: Sun Mar 19 07:18:24 MSK 2006 root@wave.zaa.local:/usr/obj/usr/src/sys/WAVE i386


	
>Description:
	
>How-To-Repeat:

	libzip is a C library for reading, creating, and modifying zip archives. Files
	can be added from data buffers, files, or compressed data copied directly from
	other zip archives. Changes made without closing the archive can be reverted.
	The API is documented by man pages.

>Fix:

	

--- libzip.diff begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	libzip/
#	libzip/distinfo
#	libzip/Makefile
#	libzip/files
#	libzip/files/patch-Makefile.in
#	libzip/pkg-descr
#
echo c - libzip/
mkdir -p libzip/ > /dev/null 2>&1
echo x - libzip/distinfo
sed 's/^X//' >libzip/distinfo << 'END-of-libzip/distinfo'
XMD5 (libzip-0.6.1.tar.gz) = 06b0d48a20a09125085e0856d8f14cff
XSHA256 (libzip-0.6.1.tar.gz) = 5b83539da91db285de99b650f41d9a6c0f298858184f7fcdf6cec1c8f5b995e6
XSIZE (libzip-0.6.1.tar.gz) = 383716
END-of-libzip/distinfo
echo x - libzip/Makefile
sed 's/^X//' >libzip/Makefile << 'END-of-libzip/Makefile'
X# New ports collection makefile for:	libzip
X# Date created:		2006-03-20
X# Whom:			Alexander Zhuravlev <zaa@zaa.pp.ru>
X#
X# $FreeBSD$
X
XPORTNAME=	libzip
XPORTVERSION=	0.6.1
XCATEGORIES=	archivers devel
XMASTER_SITES=	http://www.nih.at/libzip/
X
XMAINTAINER=	zaa@zaa.pp.ru
XCOMMENT=	C library for reading, creating, and modifying zip archives
X
XGNU_CONFIGURE=	yes
XINSTALLS_SHLIB=	yes
X
XCONFIGURE_ARGS=	--with-zlib=/usr
X
XPLIST_FILES=	bin/zipcmp \
X		bin/zipmerge \
X		include/zip.h \
X		lib/libzip.a \
X		lib/libzip.la \
X		lib/libzip.so \
X		lib/libzip.so.0 \
X		libdata/pkgconfig/libzip.pc
X
XMANCOMPRESSED=	no
X
XMAN1=		zipcmp.1 \
X		zipmerge.1
X
XMAN3=		libzip.3 \
X		zip_add.3 \
X		zip_close.3 \
X		zip_delete.3 \
X		zip_error_get.3 \
X		zip_error_get_sys_type.3 \
X		zip_error_to_str.3 \
X		zip_errors.3 \
X		zip_fclose.3 \
X		zip_file_error_get.3 \
X		zip_file_strerror.3 \
X		zip_fopen.3 \
X		zip_fopen_index.3 \
X		zip_fread.3 \
X		zip_get_name.3 \
X		zip_get_num_files.3 \
X		zip_name_locate.3 \
X		zip_open.3 \
X		zip_rename.3 \
X		zip_replace.3 \
X		zip_source_buffer.3 \
X		zip_source_file.3 \
X		zip_source_filep.3 \
X		zip_source_free.3 \
X		zip_source_function.3 \
X		zip_source_zip.3 \
X		zip_stat.3 \
X		zip_stat_index.3 \
X		zip_strerror.3 \
X		zip_unchange.3 \
X		zip_unchange_all.3
X
X.include <bsd.port.mk>
END-of-libzip/Makefile
echo c - libzip/files
mkdir -p libzip/files > /dev/null 2>&1
echo x - libzip/files/patch-Makefile.in
sed 's/^X//' >libzip/files/patch-Makefile.in << 'END-of-libzip/files/patch-Makefile.in'
X--- Makefile.in.orig	Mon Mar 20 00:46:34 2006
X+++ Makefile.in	Mon Mar 20 00:49:48 2006
X@@ -184,7 +184,7 @@ target_alias = @target_alias@
X # not GPL, thus no COPYING
X AUTOMAKE_OPTIONS = foreign
X SUBDIRS = lib src man regress
X-pkgconfigdir = $(libdir)/pkgconfig
X+pkgconfigdir = $(DESTDIR)$(prefix)/libdata/pkgconfig
X pkgconfig_DATA = libzip.pc
X EXTRA_DIST = libzip.pc.in \
X 		libzip-uninstalled.pc.in
END-of-libzip/files/patch-Makefile.in
echo x - libzip/pkg-descr
sed 's/^X//' >libzip/pkg-descr << 'END-of-libzip/pkg-descr'
Xlibzip is a C library for reading, creating, and modifying zip archives. Files
Xcan be added from data buffers, files, or compressed data copied directly from
Xother zip archives. Changes made without closing the archive can be reverted.
XThe API is documented by man pages.
X
XWWW: http://www.nih.at/libzip/
END-of-libzip/pkg-descr
exit
--- libzip.diff ends here ---


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



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