diff options
author | dillo <dillo> | 2008-05-06 08:35:15 +0000 |
---|---|---|
committer | dillo <dillo> | 2008-05-06 08:35:15 +0000 |
commit | 0aca66d45367a4944d54e8d05410b8a51f6be21f (patch) | |
tree | 58f3d0905272ee4190ae9083d60b3bd8d5b2c841 /archivers | |
parent | 6641366482cee8ba1fbb41d7fb976c8705b8f9c5 (diff) | |
download | pkgsrc-0aca66d45367a4944d54e8d05410b8a51f6be21f.tar.gz |
Initiail import of torrentzip 0.2, a program that brings zip archives
into ``normal form'': If the contained files are identical, the
produced zip archive will always be the same, byte-wise.
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/torrentzip/DESCR | 3 | ||||
-rw-r--r-- | archivers/torrentzip/Makefile | 27 | ||||
-rw-r--r-- | archivers/torrentzip/PLIST | 4 | ||||
-rw-r--r-- | archivers/torrentzip/distinfo | 6 | ||||
-rw-r--r-- | archivers/torrentzip/patches/patch-aa | 13 |
5 files changed, 53 insertions, 0 deletions
diff --git a/archivers/torrentzip/DESCR b/archivers/torrentzip/DESCR new file mode 100644 index 00000000000..7c024be6486 --- /dev/null +++ b/archivers/torrentzip/DESCR @@ -0,0 +1,3 @@ +TorrentZip (trrntzip) is a replacement for MameZip. The goal of +the program is to use standard values when creating zips to create +identical files over multiple systems. diff --git a/archivers/torrentzip/Makefile b/archivers/torrentzip/Makefile new file mode 100644 index 00000000000..ccfd3480fa7 --- /dev/null +++ b/archivers/torrentzip/Makefile @@ -0,0 +1,27 @@ +# $NetBSD: Makefile,v 1.1.1.1 2008/05/06 08:35:15 dillo Exp $ +# + +DISTNAME= trrntzip_v02_src +PKGNAME= torrentzip-0.2 +CATEGORIES= archivers +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=trrntzip/} + +MAINTAINER= dillo@NetBSD.org +HOMEPAGE= http://www.sourceforge.net/trrntzip/ +COMMENT= Create identical zip archives from identical files + +USE_TOOLS+= aclocal autoconf automake autoheader +GNU_CONFIGURE= yes +PKG_DESTDIR_SUPPORT= user-destdir +INSTALLATION_DIRS= share/doc/torrentzip + +WRKSRC= ${WRKDIR}/trrntzip + +pre-configure: + cd ${WRKSRC} && sh autogen.sh + +post-install: + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/torrentzip + +.include "../../devel/zlib/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/archivers/torrentzip/PLIST b/archivers/torrentzip/PLIST new file mode 100644 index 00000000000..618fe155613 --- /dev/null +++ b/archivers/torrentzip/PLIST @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2008/05/06 08:35:15 dillo Exp $ +bin/trrntzip +share/doc/torrentzip/README +@dirrm share/doc/torrentzip diff --git a/archivers/torrentzip/distinfo b/archivers/torrentzip/distinfo new file mode 100644 index 00000000000..75d93f0f394 --- /dev/null +++ b/archivers/torrentzip/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2008/05/06 08:35:15 dillo Exp $ + +SHA1 (trrntzip_v02_src.tar.gz) = ad2487d7e9edc6608358104df8367da3d535fd2b +RMD160 (trrntzip_v02_src.tar.gz) = 1a6718babc3cfb42e99fadbb53360ecb4f15b5b9 +Size (trrntzip_v02_src.tar.gz) = 46971 bytes +SHA1 (patch-aa) = 639626aab0ab5f3a359cde057d83f0291f1476cb diff --git a/archivers/torrentzip/patches/patch-aa b/archivers/torrentzip/patches/patch-aa new file mode 100644 index 00000000000..e49f3030a1a --- /dev/null +++ b/archivers/torrentzip/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2008/05/06 08:35:15 dillo Exp $ + +--- src/trrntzip.c.orig 2005-05-02 15:38:40.000000000 +0200 ++++ src/trrntzip.c +@@ -782,7 +782,7 @@ RecursiveMigrate (const char *pszPath, W + + if (strstr (szTmpBuf, ".zip\0") && !(istat.st_mode & S_IWUSR)) + { +- chmod (direntp->d_name, S_IWUSR); ++ chmod (direntp->d_name, S_IRUSR|S_IWUSR); + mig.cEncounteredZips++; + + if (!mig.fProcessLog) |