pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/detox



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sat Mar  6 08:07:10 UTC 2021

Modified Files:
        pkgsrc/sysutils/detox: Makefile PLIST distinfo
Added Files:
        pkgsrc/sysutils/detox/patches: patch-Makefile.in
Removed Files:
        pkgsrc/sysutils/detox/patches: patch-aa

Log Message:
detox: update to 1.4.1.

Update HOMEPAGE, from author in PR 56041.

1.4.1

Fixed a memory overflow bug while reading files from the command line, using
a patch from David Tardon, which was passed on by UsernameRandomlyGenerated.
[#56] #sf-patch-3

1.4.0

Added

    Regression tests for basic functionality, based on old custom scripts.
    Regression tests confirming fixes for previously fixed issues: #14, #19.

Changed

    Removed one check for . and .. when traversing a directory tree. #12
    Regenerated config file parser.
    Updated the safe filter to translate new lines, carriage returns, and tabs
    into underscores. #9 #11 #17

Fixed

    The examples in detox.1 no longer say -c when they mean -f. #30
    The command synopsis in detox.1 and inline-detox.1 no longer adds a dash
    before the sequence and configfile. #30

1.3.3

Fix version identifier in detox binary.

1.3.2

Fixed

    Table based UTF-8 translation no longer mangles characters. [#14]

1.3.1

Fixed

    Merged fix for Debian #861537, written by Vasily Kolobkov, passed on by
    Zenaan Harkness, Quentin Guittard, and Joao Eriberto Mota Filho. This
    addresses an issue with detox generating malformed characters during
    translation. #14

1.3.0

    Migrated from configure.in and Makefile.in to the full autoconf suite. [#1]
    Remove detox_path.h, in favor of command line defines. [#1]
    Removed libpopt support. [#2]
    Fixed the way inline-detox is generated. [#6]
    Merged parse_option_*.[ch] and file*.[ch]. [#1, #2, #6]
    Added --inline as an option to detox, to enable inline mode on the main
    binary. [#6]


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/sysutils/detox/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/sysutils/detox/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/sysutils/detox/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/detox/patches/patch-Makefile.in
cvs rdiff -u -r1.2 -r0 pkgsrc/sysutils/detox/patches/patch-aa

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/detox/Makefile
diff -u pkgsrc/sysutils/detox/Makefile:1.11 pkgsrc/sysutils/detox/Makefile:1.12
--- pkgsrc/sysutils/detox/Makefile:1.11 Fri Mar 20 11:58:20 2020
+++ pkgsrc/sysutils/detox/Makefile      Sat Mar  6 08:07:10 2021
@@ -1,24 +1,23 @@
-# $NetBSD: Makefile,v 1.11 2020/03/20 11:58:20 nia Exp $
-#
+# $NetBSD: Makefile,v 1.12 2021/03/06 08:07:10 wiz Exp $
 
-DISTNAME=              detox-1.2.0
+DISTNAME=              detox-1.4.1
 CATEGORIES=            sysutils
-MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=detox/}
-EXTRACT_SUFX=          .tar.bz2
+MASTER_SITES=          ${MASTER_SITE_GITHUB:=dharple/}
+GITHUB_RELEASE=                v${PKGVERSION_NOREV}
 
 MAINTAINER=            bartosz.kuzma%gmail.com@localhost
-HOMEPAGE=              http://detox.sourceforge.net/
+HOMEPAGE=              https://github.com/dharple/detox
 COMMENT=               Removes non-standard characters from filenames
+LICENSE=               modified-bsd
 
 GNU_CONFIGURE=         yes
-USE_TOOLS+=            lex:run gmake
-INSTALL_TARGET=                install-base install-unsafe-config
+USE_TOOLS+=            lex:run
 
 EGDIR=                 ${PREFIX}/share/examples/detox
+INSTALLATION_DIRS+=    share/examples/detox
 CONF_FILES=            ${EGDIR}/detoxrc ${PKG_SYSCONFDIR}/detoxrc
 
 post-install:
-       ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
-       ${INSTALL_DATA} ${WRKSRC}/detoxrc ${DESTDIR}${EGDIR}/detoxrc
+       mv ${DESTDIR}${PREFIX}/etc/detoxrc* ${DESTDIR}${PREFIX}/share/examples/detox
 
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/sysutils/detox/PLIST
diff -u pkgsrc/sysutils/detox/PLIST:1.3 pkgsrc/sysutils/detox/PLIST:1.4
--- pkgsrc/sysutils/detox/PLIST:1.3     Sun Jun 14 18:16:03 2009
+++ pkgsrc/sysutils/detox/PLIST Sat Mar  6 08:07:10 2021
@@ -1,9 +1,16 @@
-@comment $NetBSD: PLIST,v 1.3 2009/06/14 18:16:03 joerg Exp $
+@comment $NetBSD: PLIST,v 1.4 2021/03/06 08:07:10 wiz Exp $
 bin/detox
 bin/inline-detox
 man/man1/detox.1
+man/man1/inline-detox.1
 man/man5/detox.tbl.5
 man/man5/detoxrc.5
 share/detox/iso8859_1.tbl
+share/detox/iso8859_1.tbl.sample
+share/detox/safe.tbl
+share/detox/safe.tbl.sample
 share/detox/unicode.tbl
+share/detox/unicode.tbl.sample
+share/doc/detox/README.md
 share/examples/detox/detoxrc
+share/examples/detox/detoxrc.sample

Index: pkgsrc/sysutils/detox/distinfo
diff -u pkgsrc/sysutils/detox/distinfo:1.4 pkgsrc/sysutils/detox/distinfo:1.5
--- pkgsrc/sysutils/detox/distinfo:1.4  Wed Sep 18 12:16:22 2019
+++ pkgsrc/sysutils/detox/distinfo      Sat Mar  6 08:07:10 2021
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.4 2019/09/18 12:16:22 maya Exp $
+$NetBSD: distinfo,v 1.5 2021/03/06 08:07:10 wiz Exp $
 
-SHA1 (detox-1.2.0.tar.bz2) = cfb88a1adefaf4ee3933baf9a6530c102baa47ce
-RMD160 (detox-1.2.0.tar.bz2) = 02eb1a5ebc28f6f6e024d58b998758d156002a70
-SHA512 (detox-1.2.0.tar.bz2) = 48c0060ed0538c26aeba444bf327f1e52ea47d0e696577deeb43304dfb960ee5abe984651948bfc67c51d7f15f9051df2a208acfe53a5778a7471460e87f639a
-Size (detox-1.2.0.tar.bz2) = 86118 bytes
-SHA1 (patch-aa) = b1a3855a2cbf9d1d3325f22c00bdccd772ad768a
+SHA1 (detox-1.4.1.tar.gz) = ae027ff07ead367611b9dad22b5f2924e2f665a2
+RMD160 (detox-1.4.1.tar.gz) = a5ac0d281676b23666faacb33fc895275f674c57
+SHA512 (detox-1.4.1.tar.gz) = d9121ecfa4d50bbc0a880a551239c8e0578c9039234a5f0c230d81feb9ee2452b2dc6239a5b055df24053838574bf92f3780b98134c230c147442dedd467ea9c
+Size (detox-1.4.1.tar.gz) = 142503 bytes
+SHA1 (patch-Makefile.in) = 30967611a73577c6586480e474d332268e349ce9

Added files:

Index: pkgsrc/sysutils/detox/patches/patch-Makefile.in
diff -u /dev/null pkgsrc/sysutils/detox/patches/patch-Makefile.in:1.1
--- /dev/null   Sat Mar  6 08:07:10 2021
+++ pkgsrc/sysutils/detox/patches/patch-Makefile.in     Sat Mar  6 08:07:10 2021
@@ -0,0 +1,21 @@
+$NetBSD: patch-Makefile.in,v 1.1 2021/03/06 08:07:10 wiz Exp $
+
+NetBSD's cp does not support '-n'.
+
+--- Makefile.in.orig   2021-02-24 14:33:19.000000000 +0000
++++ Makefile.in
+@@ -950,10 +950,10 @@ uninstall-man: uninstall-man1 uninstall-
+ 
+ 
+ install-data-hook:
+-      cp -an $(DESTDIR)$(sysconfdir)/detoxrc.sample $(DESTDIR)$(sysconfdir)/detoxrc && \
+-      cp -an $(DESTDIR)$(pkgdatadir)/iso8859_1.tbl.sample $(DESTDIR)$(pkgdatadir)/iso8859_1.tbl && \
+-      cp -an $(DESTDIR)$(pkgdatadir)/safe.tbl.sample $(DESTDIR)$(pkgdatadir)/safe.tbl && \
+-      cp -an $(DESTDIR)$(pkgdatadir)/unicode.tbl.sample $(DESTDIR)$(pkgdatadir)/unicode.tbl
++      cp -a $(DESTDIR)$(sysconfdir)/detoxrc.sample $(DESTDIR)$(sysconfdir)/detoxrc && \
++      cp -a $(DESTDIR)$(pkgdatadir)/iso8859_1.tbl.sample $(DESTDIR)$(pkgdatadir)/iso8859_1.tbl && \
++      cp -a $(DESTDIR)$(pkgdatadir)/safe.tbl.sample $(DESTDIR)$(pkgdatadir)/safe.tbl && \
++      cp -a $(DESTDIR)$(pkgdatadir)/unicode.tbl.sample $(DESTDIR)$(pkgdatadir)/unicode.tbl
+ 
+ .PHONY: force-install
+ force-install: install



Home | Main Index | Thread Index | Old Index