diff options
author | wiz <wiz@pkgsrc.org> | 2020-10-05 15:21:07 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2020-10-05 15:21:07 +0000 |
commit | 959b612d4bc0817e358db65c7b18330132e19aed (patch) | |
tree | aff292c39f53ad34e7a499fc7816a751308ba1c3 /archivers | |
parent | 567523c06b58a9eb4e9ac43665c179509a4513c0 (diff) | |
download | pkgsrc-959b612d4bc0817e358db65c7b18330132e19aed.tar.gz |
torrentzip: update to 1.0.6.
Switch to mono version from new upstream.
Improved zip64 support.
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/torrentzip/DESCR | 5 | ||||
-rw-r--r-- | archivers/torrentzip/Makefile | 35 | ||||
-rw-r--r-- | archivers/torrentzip/PLIST | 6 | ||||
-rw-r--r-- | archivers/torrentzip/distinfo | 13 | ||||
-rw-r--r-- | archivers/torrentzip/patches/patch-aa | 13 | ||||
-rw-r--r-- | archivers/torrentzip/patches/patch-configure.ac | 15 | ||||
-rw-r--r-- | archivers/torrentzip/patches/patch-src_platform.c | 22 |
7 files changed, 29 insertions, 80 deletions
diff --git a/archivers/torrentzip/DESCR b/archivers/torrentzip/DESCR index 7c024be6486..dacf6626956 100644 --- a/archivers/torrentzip/DESCR +++ b/archivers/torrentzip/DESCR @@ -1,3 +1,2 @@ -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. +Torrentzip's goal 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 index 4fa9610878a..a0b53bfab13 100644 --- a/archivers/torrentzip/Makefile +++ b/archivers/torrentzip/Makefile @@ -1,26 +1,29 @@ -# $NetBSD: Makefile,v 1.6 2019/11/02 22:54:28 rillig Exp $ -# +# $NetBSD: Makefile,v 1.7 2020/10/05 15:21:07 wiz Exp $ -DISTNAME= trrntzip_v02_src -PKGNAME= torrentzip-0.2 +DISTNAME= TrrntZip.NET106 +PKGNAME= torrentzip-1.0.6 CATEGORIES= archivers -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=trrntzip/} +MASTER_SITES= https://romvault.com/trrntzip/download/ +EXTRACT_SUFX= .zip MAINTAINER= pkgsrc-users@NetBSD.org -HOMEPAGE= https://sourceforge.net/projects/trrntzip/ -COMMENT= Create identical zip archives from identical files +HOMEPAGE= https://romvault.com/trrntzip/ +COMMENT= Convert zip archives to torrentzip format +LICENSE= apache-2.0 -USE_TOOLS+= aclocal autoconf automake autoheader -GNU_CONFIGURE= yes -INSTALLATION_DIRS= share/doc/torrentzip +DEPENDS+= mono-[0-9]*:../../lang/mono6 -WRKSRC= ${WRKDIR}/trrntzip +WRKSRC= ${WRKDIR} +USE_LANGUAGES= # none -pre-configure: - cd ${WRKSRC} && sh autogen.sh +INSTALLATION_DIRS= bin libexec/torrentzip -post-install: - ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/torrentzip +do-build: + ${ECHO} '#!/bin/sh' > ${WRKDIR}/torrentzip + ${ECHO} "${PREFIX}/bin/mono ${PREFIX}/libexec/torrentzip/TrrntZip.NET.exe "'"$$@"' >> ${WRKSRC}/torrentzip + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/torrentzip ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/TrrntZip.NET.exe ${DESTDIR}${PREFIX}/libexec/torrentzip -.include "../../devel/zlib/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/archivers/torrentzip/PLIST b/archivers/torrentzip/PLIST index 7eff72041f7..52b88963143 100644 --- a/archivers/torrentzip/PLIST +++ b/archivers/torrentzip/PLIST @@ -1,3 +1,3 @@ -@comment $NetBSD: PLIST,v 1.2 2009/06/14 17:28:18 joerg Exp $ -bin/trrntzip -share/doc/torrentzip/README +@comment $NetBSD: PLIST,v 1.3 2020/10/05 15:21:07 wiz Exp $ +bin/torrentzip +libexec/torrentzip/TrrntZip.NET.exe diff --git a/archivers/torrentzip/distinfo b/archivers/torrentzip/distinfo index d694c175bee..e1fd91e0d8a 100644 --- a/archivers/torrentzip/distinfo +++ b/archivers/torrentzip/distinfo @@ -1,9 +1,6 @@ -$NetBSD: distinfo,v 1.4 2017/03/23 17:06:45 joerg Exp $ +$NetBSD: distinfo,v 1.5 2020/10/05 15:21:07 wiz Exp $ -SHA1 (trrntzip_v02_src.tar.gz) = ad2487d7e9edc6608358104df8367da3d535fd2b -RMD160 (trrntzip_v02_src.tar.gz) = 1a6718babc3cfb42e99fadbb53360ecb4f15b5b9 -SHA512 (trrntzip_v02_src.tar.gz) = 802dd1bf55e0a31df75d8195c9d2d5610be8cb7f14d14278eba72b580aff3ad415711999db05a5425303380ebfc82a68896e276319e0ead5635d0a07615ba700 -Size (trrntzip_v02_src.tar.gz) = 46971 bytes -SHA1 (patch-aa) = 639626aab0ab5f3a359cde057d83f0291f1476cb -SHA1 (patch-configure.ac) = f6657e42c74ad4722c852c733c819ebb0c58e8ef -SHA1 (patch-src_platform.c) = ef7d4dae6b40dfea623a882141316ddf80e4c6eb +SHA1 (TrrntZip.NET106.zip) = 6b35fb54590cab45027197c7fb789c98825a3220 +RMD160 (TrrntZip.NET106.zip) = 97715595f70e257a0ba4706c52f44282cf910e45 +SHA512 (TrrntZip.NET106.zip) = aa413d4b9ace603b9b419de4fb3d8adb27c24303ee912434d295640aa5bf907aed4bfff3b759918305e30253c74a5e9aa6a23bbf7dc4e69979ac4feaccd8f092 +Size (TrrntZip.NET106.zip) = 123732 bytes diff --git a/archivers/torrentzip/patches/patch-aa b/archivers/torrentzip/patches/patch-aa deleted file mode 100644 index e49f3030a1a..00000000000 --- a/archivers/torrentzip/patches/patch-aa +++ /dev/null @@ -1,13 +0,0 @@ -$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) diff --git a/archivers/torrentzip/patches/patch-configure.ac b/archivers/torrentzip/patches/patch-configure.ac deleted file mode 100644 index 6fe6a47afd4..00000000000 --- a/archivers/torrentzip/patches/patch-configure.ac +++ /dev/null @@ -1,15 +0,0 @@ -$NetBSD: patch-configure.ac,v 1.1 2013/01/26 23:00:33 wiz Exp $ - -automake-1.13 compat. - ---- configure.ac.orig 2005-04-05 16:12:49.000000000 +0000 -+++ configure.ac -@@ -1,7 +1,7 @@ - AC_INIT([TorrentZip], [0.0], [StatMan, shindakun, Ultrasubmarine, r3nh03k <http://trrntzip.sf.net>], [trrntzip]) - - AM_INIT_AUTOMAKE --AM_CONFIG_HEADER(config.h) -+AC_CONFIG_HEADERS(config.h) - AM_MAINTAINER_MODE - - AC_PROG_CC diff --git a/archivers/torrentzip/patches/patch-src_platform.c b/archivers/torrentzip/patches/patch-src_platform.c deleted file mode 100644 index 3fd417c6d19..00000000000 --- a/archivers/torrentzip/patches/patch-src_platform.c +++ /dev/null @@ -1,22 +0,0 @@ -$NetBSD: patch-src_platform.c,v 1.1 2014/01/09 15:40:55 jperkin Exp $ - -cfmakeraw compatability for SunOS. - ---- src/platform.c.orig 2005-04-17 08:36:15.000000000 +0000 -+++ src/platform.c -@@ -45,7 +45,15 @@ getch (void) - - tcgetattr (1, &t); - t2 = t; -+#ifdef __sun -+ t2.c_iflag &= ~(IMAXBEL|IGNBRK|BRKINT|PARMRK|ISTRIP|INLCR|IGNCR|ICRNL|IXON); -+ t2.c_oflag &= ~OPOST; -+ t2.c_lflag &= ~(ECHO|ECHONL|ICANON|ISIG|IEXTEN); -+ t2.c_cflag &= ~(CSIZE|PARENB); -+ t2.c_cflag |= CS8; -+#else - cfmakeraw (&t2); -+#endif - tcsetattr (1, TCSANOW, &t2); - fread (&c, 1, 1, stdin); - tcsetattr (1, TCSANOW, &t); |