The zziplib provides read access to zipped files in a zip-archive,

using compression based solely on free algorithms provided by zlib.
It also provides a functionality to overlay the archive filesystem
with the filesystem of the operating system environment.

help and ok merdely@
This commit is contained in:
eric 2007-12-10 21:22:48 +00:00
parent 0406da7914
commit e3fd9ebdb9
9 changed files with 254 additions and 0 deletions

View File

@ -0,0 +1,38 @@
# $OpenBSD: Makefile,v 1.1.1.1 2007/12/10 21:22:48 eric Exp $
COMMENT= lightweight library for extracting data from zip files
DISTNAME= zziplib-0.13.49
CATEGORIES= archivers
SHARED_LIBS += zzip 13.49 \
zzipfseeko 13.49 \
zzipmmapped 13.49 \
zzipwrap 13.49
HOMEPAGE= http://zziplib.sourceforge.net/
MAINTAINER= Giovanni Bechis <g.bechis@snb.it>
# LGPL/MPL license
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c z
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=zziplib/}
EXTRACT_SUFX= .tar.bz2
CONFIGURE_STYLE= gnu
CONFIUGRE_ARGS= --without-debug
USE_LIBTOOL= Yes
BUILD_DEPENDS= ::archivers/zip
post-install:
cd ${WRKDIST}/docs && ar x ${WRKDIST}/docs/zziplib-manpages.ar
${INSTALL_MAN} ${WRKDIST}/docs/*.3 ${PREFIX}/man/man3/
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (zziplib-0.13.49.tar.bz2) = X3uI67K81+gEQyhILQeWYQ==
RMD160 (zziplib-0.13.49.tar.bz2) = O6ZIgCmO2vGSqadzJigQ/wjXEOQ=
SHA1 (zziplib-0.13.49.tar.bz2) = coJfy6uTN314Zqjmqd/e9T8DQ/o=
SHA256 (zziplib-0.13.49.tar.bz2) = 9XxOM+ss3YemwvAb+keUNA++YeoaHPx9rDtmceHdIq8=
SIZE (zziplib-0.13.49.tar.bz2) = 654842

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-Makefile_in,v 1.1.1.1 2007/12/10 21:22:48 eric Exp $
--- Makefile.in.orig Tue May 8 12:59:06 2007
+++ Makefile.in Tue May 8 12:59:18 2007
@@ -233,8 +233,8 @@ AUTOMAKE_OPTIONS = 1.4 foreign dist-bzip2
ACLOCAL_AMFLAGS = -I m4
WANT_AUTOMAKE = 1.7
WANT_AUTOCONF = 2.57
-DIST_SUBDIRS = zzip zzipwrap bins test docs SDL
-SUBDIRS = zzip zzipwrap bins test docs @SDL@
+DIST_SUBDIRS = zzip zzipwrap bins test SDL
+SUBDIRS = zzip zzipwrap bins test @SDL@
MSVC8 = msvc8/README.TXT msvc8/zip.exe msvc8/test1.zip msvc8/test.zip \
msvc8/zzdir.vcproj msvc8/zzipself.vcproj msvc8/zzip.vcproj \
msvc8/zziplib.sln msvc8/zzipsetstub.sln msvc8/zzobfuscated.sln \

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-configure,v 1.1.1.1 2007/12/10 21:22:48 eric Exp $
--- configure.orig Fri Dec 7 17:55:08 2007
+++ configure Fri Dec 7 17:59:23 2007
@@ -24686,7 +24686,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
- ac_cv_cflags_no_writable_strings=`echo $ac_arg | -e 's,.*% *,,'` ; break
+ ac_cv_cflags_no_writable_strings=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5

View File

@ -0,0 +1,28 @@
$OpenBSD: patch-zzip_Makefile_in,v 1.1.1.1 2007/12/10 21:22:48 eric Exp $
--- zzip/Makefile.in.orig Sun Mar 18 17:24:38 2007
+++ zzip/Makefile.in Fri Dec 7 13:09:01 2007
@@ -173,7 +173,7 @@ PERL = @PERL@
PKG_CONFIG = @PKG_CONFIG@
PYTHON = @PYTHON@
RANLIB = @RANLIB@
-RELEASE_INFO = @RELEASE_INFO@
+RELEASE_INFO =
RESOLVES = @RESOLVES@
SDL = @SDL@
SET_MAKE = @SET_MAKE@
@@ -688,15 +688,6 @@ install-data-local : install-zzipHEADERS
$(DESTDIR)$(includedir)/zzip.h >$(DESTDIR)$(includedir)/zzip-io.h
install-exec-local:
- @ for i in . $(DESTDIR)$(libdir)/libzzip*.so.13 \
- ; do test -d $$i && continue ; lib=`basename "$$i" .so.13` \
- ; echo "$(DESTDIR)$(libdir): ln -s $$lib.so.13 $$lib.so.10" \
- ; (cd $(DESTDIR)$(libdir) && ln -s $$lib.so.13 $$lib.so.10) \
- ; echo "$(DESTDIR)$(libdir): ln -s $$lib.so.13 $$lib.so.11" \
- ; (cd $(DESTDIR)$(libdir) && ln -s $$lib.so.13 $$lib.so.11) \
- ; echo "$(DESTDIR)$(libdir): ln -s $$lib.so.13 $$lib.so.12" \
- ; (cd $(DESTDIR)$(libdir) && ln -s $$lib.so.13 $$lib.so.12) \
- ; done ; true
uninstall-local :
(cd $(DESTDIR)$(includedir) && rm zziplib.h zzip.h zzip-io.h)

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-zzipwrap_Makefile_in,v 1.1.1.1 2007/12/10 21:22:48 eric Exp $
--- zzipwrap/Makefile.in.orig Mon May 7 17:01:56 2007
+++ zzipwrap/Makefile.in Mon May 7 17:02:06 2007
@@ -171,7 +171,7 @@ PERL = @PERL@
PKG_CONFIG = @PKG_CONFIG@
PYTHON = @PYTHON@
RANLIB = @RANLIB@
-RELEASE_INFO = @RELEASE_INFO@
+RELEASE_INFO =
RESOLVES = @RESOLVES@
SDL = @SDL@
SET_MAKE = @SET_MAKE@

View File

@ -0,0 +1,4 @@
The zziplib provides read access to zipped files in a zip-archive,
using compression based solely on free algorithms provided by zlib.
It also provides a functionality to overlay the archive filesystem
with the filesystem of the operating system environment.

View File

@ -0,0 +1,5 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2007/12/10 21:22:48 eric Exp $
@lib lib/libzzip.so.${LIBzzip_VERSION}
@lib lib/libzzipfseeko.so.${LIBzzipfseeko_VERSION}
@lib lib/libzzipmmapped.so.${LIBzzipmmapped_VERSION}
@lib lib/libzzipwrap.so.${LIBzzipwrap_VERSION}

136
archivers/zziplib/pkg/PLIST Normal file
View File

@ -0,0 +1,136 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/12/10 21:22:48 eric Exp $
%%SHARED%%
bin/unzip-mem
bin/unzzip
bin/unzzipcat
bin/unzzipcat-mem
bin/unzzipcat-seeko
bin/unzzipdir
bin/unzzipdir-mem
bin/zzcat
bin/zzdir
bin/zzxorcat
bin/zzxorcopy
bin/zzxordir
include/zzip/
include/zzip-io.h
include/zzip.h
include/zzip/_config.h
include/zzip/_msvc.h
include/zzip/autoconf.h
include/zzip/conf.h
include/zzip/fetch.h
include/zzip/file.h
include/zzip/format.h
include/zzip/fseeko.h
include/zzip/info.h
include/zzip/lib.h
include/zzip/memdisk.h
include/zzip/mmapped.h
include/zzip/plugin.h
include/zzip/stdint.h
include/zzip/types.h
include/zzip/wrap.h
include/zzip/write.h
include/zzip/zzip.h
include/zziplib.h
lib/libzzip.a
lib/libzzip.la
lib/libzzipfseeko.a
lib/libzzipfseeko.la
lib/libzzipmmapped.a
lib/libzzipmmapped.la
lib/libzzipwrap.a
lib/libzzipwrap.la
lib/pkgconfig/
lib/pkgconfig/zzip-zlib-config.pc
lib/pkgconfig/zzipfseeko.pc
lib/pkgconfig/zziplib.pc
lib/pkgconfig/zzipmmapped.pc
lib/pkgconfig/zzipwrap.pc
@man man/man3/__zzip_fetch_disk_trailer.3
@man man/man3/__zzip_parse_root_directory.3
@man man/man3/__zzip_try_open.3
@man man/man3/zzip_close.3
@man man/man3/zzip_closedir.3
@man man/man3/zzip_compr_str.3
@man man/man3/zzip_dir_alloc.3
@man man/man3/zzip_dir_alloc_ext_io.3
@man man/man3/zzip_dir_close.3
@man man/man3/zzip_dir_fdopen.3
@man man/man3/zzip_dir_fdopen_ext_io.3
@man man/man3/zzip_dir_free.3
@man man/man3/zzip_dir_open.3
@man man/man3/zzip_dir_open_ext_io.3
@man man/man3/zzip_dir_read.3
@man man/man3/zzip_dir_real.3
@man man/man3/zzip_dir_stat.3
@man man/man3/zzip_dirfd.3
@man man/man3/zzip_dirhandle.3
@man man/man3/zzip_disk_close.3
@man man/man3/zzip_disk_entry_fopen.3
@man man/man3/zzip_disk_entry_strdup_comment.3
@man man/man3/zzip_disk_entry_strdup_name.3
@man man/man3/zzip_disk_entry_to_data.3
@man man/man3/zzip_disk_entry_to_file_header.3
@man man/man3/zzip_disk_fclose.3
@man man/man3/zzip_disk_feof.3
@man man/man3/zzip_disk_findfile.3
@man man/man3/zzip_disk_findfirst.3
@man man/man3/zzip_disk_findmatch.3
@man man/man3/zzip_disk_findnext.3
@man man/man3/zzip_disk_fopen.3
@man man/man3/zzip_disk_fread.3
@man man/man3/zzip_disk_init.3
@man man/man3/zzip_disk_mmap.3
@man man/man3/zzip_disk_munmap.3
@man man/man3/zzip_disk_new.3
@man man/man3/zzip_disk_open.3
@man man/man3/zzip_entry_data_offset.3
@man man/man3/zzip_entry_fclose.3
@man man/man3/zzip_entry_feof.3
@man man/man3/zzip_entry_ffile.3
@man man/man3/zzip_entry_findfile.3
@man man/man3/zzip_entry_findfirst.3
@man man/man3/zzip_entry_findmatch.3
@man man/man3/zzip_entry_findnext.3
@man man/man3/zzip_entry_fopen.3
@man man/man3/zzip_entry_fread.3
@man man/man3/zzip_entry_fread_file_header.3
@man man/man3/zzip_entry_free.3
@man man/man3/zzip_entry_strdup_name.3
@man man/man3/zzip_errno.3
@man man/man3/zzip_error.3
@man man/man3/zzip_fclose.3
@man man/man3/zzip_file_close.3
@man man/man3/zzip_file_open.3
@man man/man3/zzip_file_read.3
@man man/man3/zzip_file_real.3
@man man/man3/zzip_file_stat.3
@man man/man3/zzip_fopen.3
@man man/man3/zzip_fread.3
@man man/man3/zzip_freopen.3
@man man/man3/zzip_fstat.3
@man man/man3/zzip_get_default_io.3
@man man/man3/zzip_inflate_init.3
@man man/man3/zzip_init_io.3
@man man/man3/zzip_open.3
@man man/man3/zzip_open_ext_io.3
@man man/man3/zzip_open_shared_io.3
@man man/man3/zzip_opendir.3
@man man/man3/zzip_opendir_ext_io.3
@man man/man3/zzip_read.3
@man man/man3/zzip_readdir.3
@man man/man3/zzip_realdir.3
@man man/man3/zzip_realfd.3
@man man/man3/zzip_rewind.3
@man man/man3/zzip_rewinddir.3
@man man/man3/zzip_seek.3
@man man/man3/zzip_seekdir.3
@man man/man3/zzip_seterror.3
@man man/man3/zzip_strerror.3
@man man/man3/zzip_strerror_of.3
@man man/man3/zzip_tell.3
@man man/man3/zzip_telldir.3
share/aclocal/
share/aclocal/zziplib.m4