NetBSD Problem Report #38940

From www@NetBSD.org  Wed Jun 11 13:06:59 2008
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 15B0963B91E
	for <gnats-bugs@gnats.netbsd.org>; Wed, 11 Jun 2008 13:06:59 +0000 (UTC)
Message-Id: <20080611130658.D07BA63B8BC@narn.NetBSD.org>
Date: Wed, 11 Jun 2008 13:06:58 +0000 (UTC)
From: bartosz.kuzma@gmail.com
Reply-To: bartosz.kuzma@gmail.com
To: gnats-bugs@NetBSD.org
Subject: Update sysutils/detox to 1.2.0
X-Send-Pr-Version: www-1.0

>Number:         38940
>Category:       pkg
>Synopsis:       Update sysutils/detox to 1.2.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 11 13:10:00 +0000 2008
>Closed-Date:    Wed Jun 11 14:01:16 +0000 2008
>Last-Modified:  Wed Jun 11 14:20:01 +0000 2008
>Originator:     Bartosz Kuzma
>Release:        
>Organization:
>Environment:
>Description:
Changes since detox-1.2.0-rc1
 - Added the ability to ignore specific files.
   [sourceforge.net tracker #1253826]
 - Fixed a bug where directories specified on the command line wouldn't
   get translated. [sourceforge.net tracker #1213623]
 - Added support for translating large files.
   [sourceforge.net tracker #1509493]
 - Added inline-detox for stream based detoxification.
>How-To-Repeat:

>Fix:
Apply the following patch and create file patches/patch-ab

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/detox/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- Makefile	27 Jun 2006 16:06:16 -0000	1.4
+++ Makefile	11 Jun 2008 13:03:53 -0000
@@ -1,13 +1,12 @@
 # $NetBSD: Makefile,v 1.4 2006/06/27 16:06:16 minskim Exp $
 #

-DISTNAME=		detox-1.2.0-rc1
-PKGNAME=		${DISTNAME:S/-rc/rc/}
+DISTNAME=		detox-1.2.0
 CATEGORIES=		sysutils
 MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=detox/}
 EXTRACT_SUFX=		.tar.bz2

-MAINTAINER=		bartosz@atom.eu.org
+MAINTAINER=		bartosz.kuzma@gmail.com
 HOMEPAGE=		http://detox.sourceforge.net/
 COMMENT=		Removes non-standard characters from filenames

Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/detox/PLIST,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 PLIST
--- PLIST	1 Dec 2005 03:32:03 -0000	1.1.1.1
+++ PLIST	11 Jun 2008 13:03:53 -0000
@@ -1,5 +1,6 @@
 @comment $NetBSD: PLIST,v 1.1.1.1 2005/12/01 03:32:03 minskim Exp $
 bin/detox
+bin/inline-detox
 man/man1/detox.1
 man/man5/detox.tbl.5
 man/man5/detoxrc.5
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/detox/distinfo,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 distinfo
--- distinfo	1 Dec 2005 03:32:03 -0000	1.1.1.1
+++ distinfo	11 Jun 2008 13:03:53 -0000
@@ -1,6 +1,7 @@
 $NetBSD: distinfo,v 1.1.1.1 2005/12/01 03:32:03 minskim Exp $

-SHA1 (detox-1.2.0-rc1.tar.bz2) = d48025bf0e7a427b42c8411f575d1b0479d86017
-RMD160 (detox-1.2.0-rc1.tar.bz2) = 31fa2ef1c58b8710e11590e7a12bd7184d7b96af
-Size (detox-1.2.0-rc1.tar.bz2) = 74289 bytes
+SHA1 (detox-1.2.0.tar.bz2) = cfb88a1adefaf4ee3933baf9a6530c102baa47ce
+RMD160 (detox-1.2.0.tar.bz2) = 02eb1a5ebc28f6f6e024d58b998758d156002a70
+Size (detox-1.2.0.tar.bz2) = 86118 bytes
 SHA1 (patch-aa) = 31eca361d838b78642873c380ebf497483790cdb
+SHA1 (patch-ab) = bd7d6e748fc206d73d648abcf72b3c58896993fa


patches/patch-ab

$NetBSD$

--- Makefile.in.orig	2006-07-03 18:45:54.000000000 +0200
+++ Makefile.in
@@ -100,13 +100,13 @@ detox_path.h: config.status
 # 

 detox-inline.o: detox.c
-	${CC} -c ${CFLAGS} -DINLINE_MODE $< -o $@
+	${CC} -c ${CFLAGS} -DINLINE_MODE detox.c -o $@

 parse_options_generic-inline.o: parse_options_generic.c
-	${CC} -c ${CFLAGS} -DINLINE_MODE $< -o $@
+	${CC} -c ${CFLAGS} -DINLINE_MODE parse_options_generic.c -o $@

 parse_options_@option_parser@-inline.o: parse_options_@option_parser@.c
-	${CC} -c ${CFLAGS} -DINLINE_MODE $< -o $@
+	${CC} -c ${CFLAGS} -DINLINE_MODE parse_options_@option_parser@.c -o $@

 # This is done by make dep too
 detox.o: detox.c detox_path.h

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: obache@NetBSD.org
State-Changed-When: Wed, 11 Jun 2008 14:01:16 +0000
State-Changed-Why:
Instead of patch-ab (patch-ab try to patch to same as patch-aa though),
use gmake.  Thanks!


From: OBATA Akio <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/38940 CVS commit: pkgsrc/sysutils/detox
Date: Wed, 11 Jun 2008 13:56:29 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	obache
 Date:		Wed Jun 11 13:56:29 UTC 2008

 Modified Files:
 	pkgsrc/sysutils/detox: Makefile PLIST distinfo

 Log Message:
 Update detox to 1.2.0.
 Based on MAINTAINER update request in PR 38940.
 While here, add DESTDIR support.

 Changes since detox-1.2.0-rc1
  - Added the ability to ignore specific files.
    [sourceforge.net tracker #1253826]
  - Fixed a bug where directories specified on the command line wouldn't
    get translated. [sourceforge.net tracker #1213623]
  - Added support for translating large files.
    [sourceforge.net tracker #1509493]
  - Added inline-detox for stream based detoxification.


 To generate a diff of this commit:
 cvs rdiff -r1.4 -r1.5 pkgsrc/sysutils/detox/Makefile
 cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/sysutils/detox/PLIST \
     pkgsrc/sysutils/detox/distinfo

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

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.