summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcjep <cjep@pkgsrc.org>2002-11-18 16:22:13 +0000
committercjep <cjep@pkgsrc.org>2002-11-18 16:22:13 +0000
commitfde355e1d88c31c974092fedbf3a747deb1842f4 (patch)
tree731375a1ee7c982e4bdfb7dc4cdf9f8267136ef8
parent313d289095ef203196aa1584cc167721ae65c607 (diff)
downloadpkgsrc-fde355e1d88c31c974092fedbf3a747deb1842f4.tar.gz
Initial import of libcomprex 0.3.2 into the NetBSD packages collection
as archivers/libcomprex. The libcomprex library transparently handles automatic compression and decompression of files. The API is similar to C's built-in file access functions, which provides a smooth transition to libcomprex. libcomprex can also open uncompressed files, making it a good replacement for the native file access functions. libcomprex is part of the GNUpdate project. libcomprex is currently in development (so should not be used in stable products).
-rw-r--r--archivers/libcomprex/DESCR10
-rw-r--r--archivers/libcomprex/Makefile18
-rw-r--r--archivers/libcomprex/PLIST178
-rw-r--r--archivers/libcomprex/distinfo6
-rw-r--r--archivers/libcomprex/patches/patch-aa13
-rw-r--r--archivers/libcomprex/patches/patch-ab18
6 files changed, 243 insertions, 0 deletions
diff --git a/archivers/libcomprex/DESCR b/archivers/libcomprex/DESCR
new file mode 100644
index 00000000000..f7393dd21c0
--- /dev/null
+++ b/archivers/libcomprex/DESCR
@@ -0,0 +1,10 @@
+The libcomprex library transparently handles automatic compression and
+decompression of files. The API is similar to C's built-in file access
+functions, which provides a smooth transition to libcomprex.
+libcomprex can also open uncompressed files, making it a good
+replacement for the native file access functions.
+
+libcomprex is part of the GNUpdate project.
+
+libcomprex is currently in development (so should not be used in
+stable products).
diff --git a/archivers/libcomprex/Makefile b/archivers/libcomprex/Makefile
new file mode 100644
index 00000000000..308321ff89e
--- /dev/null
+++ b/archivers/libcomprex/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/11/18 16:22:13 cjep Exp $
+#
+
+DISTNAME= libcomprex-0.3.2
+CATEGORIES= archivers
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gnupdate/}
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.gnupdate.org/components/libcomprex/index.xml
+COMMENT= Library to handle (de)compression of files
+
+USE_BUILDLINK2= YES
+GNU_CONFIGURE= YES
+USE_LIBTOOL= YES
+LIBTOOL_OVERRIDE=${WRKSRC}/libtool
+
+.include "../../www/curl/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/archivers/libcomprex/PLIST b/archivers/libcomprex/PLIST
new file mode 100644
index 00000000000..247235062a6
--- /dev/null
+++ b/archivers/libcomprex/PLIST
@@ -0,0 +1,178 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/11/18 16:22:13 cjep Exp $
+bin/comprex-config
+include/comprex.h
+include/libcomprex/archive.h
+include/libcomprex/archive_io.h
+include/libcomprex/comprex.h
+include/libcomprex/directory.h
+include/libcomprex/file.h
+include/libcomprex/fp.h
+include/libcomprex/fsiter.h
+include/libcomprex/fsnode.h
+include/libcomprex/io.h
+include/libcomprex/module.h
+include/libcomprex/types.h
+include/libcomprex/utils.h
+lib/comprex/archive/libar.a
+lib/comprex/archive/libar.la
+lib/comprex/archive/libar.so
+lib/comprex/archive/libbzip2.a
+lib/comprex/archive/libbzip2.la
+lib/comprex/archive/libbzip2.so
+lib/comprex/archive/libtar.a
+lib/comprex/archive/libtar.la
+lib/comprex/archive/libtar.so
+lib/comprex/archive/libzlib.a
+lib/comprex/archive/libzlib.la
+lib/comprex/archive/libzlib.so
+lib/comprex/scheme/libcurlscm.a
+lib/comprex/scheme/libcurlscm.la
+lib/comprex/scheme/libcurlscm.so
+lib/libcomprex.a
+lib/libcomprex.la
+lib/libcomprex.so
+lib/libcomprex.so.3
+lib/libcomprex.so.3.0
+man/man1/comprex-config.1
+man/man3/cxCleanup.3
+man/man3/cxCleanupModules.3
+man/man3/cxClearErr.3
+man/man3/cxClose.3
+man/man3/cxCloseArchive.3
+man/man3/cxCloseFile.3
+man/man3/cxDestroyArchive.3
+man/man3/cxDestroyDirectory.3
+man/man3/cxDestroyFile.3
+man/man3/cxDestroyFsNode.3
+man/man3/cxDirAddFile.3
+man/man3/cxDirAddSubDir.3
+man/man3/cxDirRemoveFile.3
+man/man3/cxDirRemoveSubDir.3
+man/man3/cxEof.3
+man/man3/cxError.3
+man/man3/cxFixPath.3
+man/man3/cxGetArchiveAccessMode.3
+man/man3/cxGetArchiveFileName.3
+man/man3/cxGetArchiveFileSize.3
+man/man3/cxGetArchiveModule.3
+man/man3/cxGetArchivePath.3
+man/man3/cxGetArchivePhysicalPath.3
+man/man3/cxGetArchiveRoot.3
+man/man3/cxGetArchiveSize.3
+man/man3/cxGetArchiveType.3
+man/man3/cxGetBaseName.3
+man/man3/cxGetBasePath.3
+man/man3/cxGetDirArchive.3
+man/man3/cxGetDirName.3
+man/man3/cxGetDirParent.3
+man/man3/cxGetDirectory.3
+man/man3/cxGetFile.3
+man/man3/cxGetFileArchive.3
+man/man3/cxGetFileCompressedSize.3
+man/man3/cxGetFileCount.3
+man/man3/cxGetFileDate.3
+man/man3/cxGetFileGid.3
+man/man3/cxGetFileMode.3
+man/man3/cxGetFileName.3
+man/man3/cxGetFileParent.3
+man/man3/cxGetFilePath.3
+man/man3/cxGetFilePhysicalPath.3
+man/man3/cxGetFileSize.3
+man/man3/cxGetFileType.3
+man/man3/cxGetFileUid.3
+man/man3/cxGetFirstFile.3
+man/man3/cxGetFirstModule.3
+man/man3/cxGetFirstSubDir.3
+man/man3/cxGetFpAccessMode.3
+man/man3/cxGetFsNodeArchive.3
+man/man3/cxGetFsNodeDate.3
+man/man3/cxGetFsNodeGid.3
+man/man3/cxGetFsNodeMode.3
+man/man3/cxGetFsNodeName.3
+man/man3/cxGetFsNodeParent.3
+man/man3/cxGetFsNodePath.3
+man/man3/cxGetFsNodeType.3
+man/man3/cxGetFsNodeUid.3
+man/man3/cxGetFullFilePath.3
+man/man3/cxGetModule.3
+man/man3/cxGetNextDir.3
+man/man3/cxGetNextFile.3
+man/man3/cxGetPreviousDir.3
+man/man3/cxGetPreviousFile.3
+man/man3/cxGetSubDirCount.3
+man/man3/cxIsArchiveLocal.3
+man/man3/cxIsFileLocal.3
+man/man3/cxIsFsNodeLocal.3
+man/man3/cxLinkModule.3
+man/man3/cxLoadModule.3
+man/man3/cxNewArchive.3
+man/man3/cxNewDirectory.3
+man/man3/cxNewFile.3
+man/man3/cxNewFp.3
+man/man3/cxNewFsNode.3
+man/man3/cxOpenArchive.3
+man/man3/cxOpenArchiveBuffer.3
+man/man3/cxOpenArchiveFromHandle.3
+man/man3/cxOpenArchiveStream.3
+man/man3/cxOpenBuffer.3
+man/man3/cxOpenFile.3
+man/man3/cxOpenFileHandle.3
+man/man3/cxOpenStream.3
+man/man3/cxRead.3
+man/man3/cxRegisterModule.3
+man/man3/cxRewind.3
+man/man3/cxSaveArchive.3
+man/man3/cxSeek.3
+man/man3/cxSetArchiveAccessMode.3
+man/man3/cxSetArchiveFileName.3
+man/man3/cxSetArchiveFileSize.3
+man/man3/cxSetArchiveLocal.3
+man/man3/cxSetArchiveModule.3
+man/man3/cxSetArchivePath.3
+man/man3/cxSetArchivePhysicalPath.3
+man/man3/cxSetArchiveSize.3
+man/man3/cxSetArchiveType.3
+man/man3/cxSetCloseFunc.3
+man/man3/cxSetDirArchive.3
+man/man3/cxSetDirName.3
+man/man3/cxSetDirParent.3
+man/man3/cxSetError.3
+man/man3/cxSetFileArchive.3
+man/man3/cxSetFileCompressedSize.3
+man/man3/cxSetFileDate.3
+man/man3/cxSetFileGid.3
+man/man3/cxSetFileLocal.3
+man/man3/cxSetFileMode.3
+man/man3/cxSetFileName.3
+man/man3/cxSetFileParent.3
+man/man3/cxSetFilePath.3
+man/man3/cxSetFilePhysicalPath.3
+man/man3/cxSetFileSize.3
+man/man3/cxSetFileType.3
+man/man3/cxSetFileUid.3
+man/man3/cxSetFpAccessMode.3
+man/man3/cxSetFsNodeArchive.3
+man/man3/cxSetFsNodeDate.3
+man/man3/cxSetFsNodeGid.3
+man/man3/cxSetFsNodeLocal.3
+man/man3/cxSetFsNodeMode.3
+man/man3/cxSetFsNodeName.3
+man/man3/cxSetFsNodeParent.3
+man/man3/cxSetFsNodePath.3
+man/man3/cxSetFsNodeType.3
+man/man3/cxSetFsNodeUid.3
+man/man3/cxSetReadFunc.3
+man/man3/cxSetSeekFunc.3
+man/man3/cxSetWriteFunc.3
+man/man3/cxSplitPath.3
+man/man3/cxStrError.3
+man/man3/cxTell.3
+man/man3/cxUnlinkModule.3
+man/man3/cxUnloadModule.3
+man/man3/cxWrite.3
+share/aclocal/libcomprex.m4
+${PKGLOCALEDIR}/locale/nl/LC_MESSAGES/libcomprex.mo
+@dirrm lib/comprex/scheme
+@dirrm lib/comprex/archive
+@dirrm lib/comprex
+@dirrm include/libcomprex
diff --git a/archivers/libcomprex/distinfo b/archivers/libcomprex/distinfo
new file mode 100644
index 00000000000..391c6d237ff
--- /dev/null
+++ b/archivers/libcomprex/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/11/18 16:22:13 cjep Exp $
+
+SHA1 (libcomprex-0.3.2.tar.gz) = d98667dbff85147ef0ccf923c8b168f7d6083fe5
+Size (libcomprex-0.3.2.tar.gz) = 558088 bytes
+SHA1 (patch-aa) = 967fdbf14cf06ff1f483df16bfe45226a8b64e5c
+SHA1 (patch-ab) = 851286dfb8a930d839f509cf3ee1dd09945b22c3
diff --git a/archivers/libcomprex/patches/patch-aa b/archivers/libcomprex/patches/patch-aa
new file mode 100644
index 00000000000..67d737a3da8
--- /dev/null
+++ b/archivers/libcomprex/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/11/18 16:22:13 cjep Exp $
+
+--- libcomprex/module.c.orig Sun Jun 23 11:03:30 2002
++++ libcomprex/module.c
+@@ -24,7 +24,7 @@
+ #include <libcomprex/internal.h>
+
+ #ifdef DYNAMIC_MODS
+-# include <ltdl.h>
++# include <libltdl/ltdl.h>
+
+ # define USER_MODULES_COUNT (sizeof(user_modules) / sizeof(*user_modules))
+ # define SYS_MODULES_COUNT (sizeof(system_modules) / sizeof(*system_modules))
diff --git a/archivers/libcomprex/patches/patch-ab b/archivers/libcomprex/patches/patch-ab
new file mode 100644
index 00000000000..e54138affdf
--- /dev/null
+++ b/archivers/libcomprex/patches/patch-ab
@@ -0,0 +1,18 @@
+$NetBSD: patch-ab,v 1.1.1.1 2002/11/18 16:22:13 cjep Exp $
+
+--- tests/Makefile.in.orig Tue Jul 2 10:04:58 2002
++++ tests/Makefile.in
+@@ -231,11 +231,11 @@
+
+ catarchive$(EXEEXT): $(catarchive_OBJECTS) $(catarchive_DEPENDENCIES)
+ @rm -f catarchive$(EXEEXT)
+- $(LINK) $(catarchive_LDFLAGS) $(catarchive_OBJECTS) $(catarchive_LDADD) $(LIBS)
++ $(LINK) $(catarchive_LDFLAGS) $(catarchive_OBJECTS) $(catarchive_LDADD) $(LIBS) $(INTLLIBS)
+
+ catfile$(EXEEXT): $(catfile_OBJECTS) $(catfile_DEPENDENCIES)
+ @rm -f catfile$(EXEEXT)
+- $(LINK) $(catfile_LDFLAGS) $(catfile_OBJECTS) $(catfile_LDADD) $(LIBS)
++ $(LINK) $(catfile_LDFLAGS) $(catfile_OBJECTS) $(catfile_LDADD) $(LIBS) $(INTLLIBS)
+
+ tags: TAGS
+