pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/archivers/torrentzip torrentzip: update to 1.0.6.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7081d19a6475
branches:  trunk
changeset: 440275:7081d19a6475
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Oct 05 15:21:07 2020 +0000

description:
torrentzip: update to 1.0.6.

Switch to mono version from new upstream.
Improved zip64 support.

diffstat:

 archivers/torrentzip/DESCR                        |   5 +-
 archivers/torrentzip/Makefile                     |  35 ++++++++++++----------
 archivers/torrentzip/PLIST                        |   6 +-
 archivers/torrentzip/distinfo                     |  13 +++-----
 archivers/torrentzip/patches/patch-aa             |  13 --------
 archivers/torrentzip/patches/patch-configure.ac   |  15 ---------
 archivers/torrentzip/patches/patch-src_platform.c |  22 --------------
 7 files changed, 29 insertions(+), 80 deletions(-)

diffs (148 lines):

diff -r 0d86811ceb60 -r 7081d19a6475 archivers/torrentzip/DESCR
--- a/archivers/torrentzip/DESCR        Mon Oct 05 12:50:24 2020 +0000
+++ b/archivers/torrentzip/DESCR        Mon Oct 05 15:21:07 2020 +0000
@@ -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 -r 0d86811ceb60 -r 7081d19a6475 archivers/torrentzip/Makefile
--- a/archivers/torrentzip/Makefile     Mon Oct 05 12:50:24 2020 +0000
+++ b/archivers/torrentzip/Makefile     Mon Oct 05 15:21:07 2020 +0000
@@ -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@localhost
-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
+
+do-build:
+       ${ECHO} '#!/bin/sh' > ${WRKDIR}/torrentzip
+       ${ECHO} "${PREFIX}/bin/mono ${PREFIX}/libexec/torrentzip/TrrntZip.NET.exe "'"$$@"' >> ${WRKSRC}/torrentzip
 
-post-install:
-       ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/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 -r 0d86811ceb60 -r 7081d19a6475 archivers/torrentzip/PLIST
--- a/archivers/torrentzip/PLIST        Mon Oct 05 12:50:24 2020 +0000
+++ b/archivers/torrentzip/PLIST        Mon Oct 05 15:21:07 2020 +0000
@@ -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 -r 0d86811ceb60 -r 7081d19a6475 archivers/torrentzip/distinfo
--- a/archivers/torrentzip/distinfo     Mon Oct 05 12:50:24 2020 +0000
+++ b/archivers/torrentzip/distinfo     Mon Oct 05 15:21:07 2020 +0000
@@ -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 -r 0d86811ceb60 -r 7081d19a6475 archivers/torrentzip/patches/patch-aa
--- a/archivers/torrentzip/patches/patch-aa     Mon Oct 05 12:50:24 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -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 -r 0d86811ceb60 -r 7081d19a6475 archivers/torrentzip/patches/patch-configure.ac
--- a/archivers/torrentzip/patches/patch-configure.ac   Mon Oct 05 12:50:24 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -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 -r 0d86811ceb60 -r 7081d19a6475 archivers/torrentzip/patches/patch-src_platform.c
--- a/archivers/torrentzip/patches/patch-src_platform.c Mon Oct 05 12:50:24 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -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);



Home | Main Index | Thread Index | Old Index