Subject: pkg/37280: Addition of sysutils/rename package
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <mmondor@pulsar-zone.net>
List: pkgsrc-bugs
Date: 11/05/2007 02:35:01
>Number:         37280
>Category:       pkg
>Synopsis:       Addition of sysutils/rename package
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 05 02:35:01 +0000 2007
>Originator:     Matthew Mondor
>Release:        NetBSD 3.1_STABLE
>Organization:
>Environment:
System: NetBSD ginseng.xisop 3.1_STABLE NetBSD 3.1_STABLE (GENERIC_MM) #0: Tue Sep 18 18:46:55 EDT 2007 root@hal.xisop:/usr/obj/sys/arch/i386/compile/GENERIC_MM i386
Architecture: i386
Machine: i386
>Description:
	Here is an included shar archive to add the package.
>How-To-Repeat:
>Fix:


# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	sysutils/rename
#	sysutils/rename/patches
#	sysutils/rename/patches/patch-aa
#	sysutils/rename/Makefile
#	sysutils/rename/DESCR
#	sysutils/rename/distinfo
#	sysutils/rename/PLIST
#
echo c - sysutils/rename
mkdir -p sysutils/rename > /dev/null 2>&1
echo c - sysutils/rename/patches
mkdir -p sysutils/rename/patches > /dev/null 2>&1
echo x - sysutils/rename/patches/patch-aa
sed 's/^X//' >sysutils/rename/patches/patch-aa << 'END-of-sysutils/rename/patches/patch-aa'
X$NetBSD$
X
X+++ Makefile.in	2007-11-04 19:42:05.000000000 -0500
X@@ -30,8 +30,8 @@
X 	rm -f core rename *.o config.status config.cache config.h config.log Makefile
X 
X install:
X-	install -o root -g root -m 0755 -s rename $(BINDIR)
X-	install -o root -g root -m 0644 rename.1 $(MANDIR)
X+	install -o root -g 0 -m 0755 -s rename $(BINDIR)
X+	install -o root -g 0 -m 0644 rename.1 $(MANDIR)
X 	
X rename.o: rename.c rename.h
X regex.o: regex.c regex.h
END-of-sysutils/rename/patches/patch-aa
echo x - sysutils/rename/Makefile
sed 's/^X//' >sysutils/rename/Makefile << 'END-of-sysutils/rename/Makefile'
X# $NetBSD$
X
XDISTNAME=	rename-1.3
XPKGREVISION=	1
XCATEGORIES=	sysutils
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=rename/}
X
XMAINTAINER=	pkgsrc-users@NetBSD.org
XHOMEPAGE=	http://rename.sourceforge.net/
XCOMMENT=	Rename recursively with regex patterns
X
XUSE_TOOLS+=		gmake
XGNU_CONFIGURE=		yes
X
X.include "../../mk/bsd.pkg.mk"
END-of-sysutils/rename/Makefile
echo x - sysutils/rename/DESCR
sed 's/^X//' >sysutils/rename/DESCR << 'END-of-sysutils/rename/DESCR'
XRename is a command-line rename tool.  It can substitute, lowcase,
Xupcase large numbers of file names, or change their ownerships.
XThis is a quick and powerful tool written in C with extended regular
Xexpression support for searching and substituting pattern strings
Xin filenames.
END-of-sysutils/rename/DESCR
echo x - sysutils/rename/distinfo
sed 's/^X//' >sysutils/rename/distinfo << 'END-of-sysutils/rename/distinfo'
X$NetBSD$
X
XSHA1 (rename-1.3.tar.gz) = 8d835e628aeb1f71816e092c0de57daf2519f43a
XRMD160 (rename-1.3.tar.gz) = 56bd0ebaabbf9aae1fb93a12ca1cf9fccee5c5ab
XSize (rename-1.3.tar.gz) = 83854 bytes
XSHA1 (patch-aa) = 39c10272f4eefd40b58b5ee5c60bc3a02eeeb8bb
END-of-sysutils/rename/distinfo
echo x - sysutils/rename/PLIST
sed 's/^X//' >sysutils/rename/PLIST << 'END-of-sysutils/rename/PLIST'
X@comment $NetBSD$
Xbin/rename
Xman/man1/rename.1
END-of-sysutils/rename/PLIST
exit