Subject: pkg/20774: new pkgsrc: sysutils/file
To: None <gnats-bugs@gnats.netbsd.org>
From: None <reed@reedmedia.net>
List: netbsd-bugs
Date: 03/17/2003 13:57:42
>Number:         20774
>Category:       pkg
>Synopsis:       new pkgsrc: sysutils/file
>Confidential:   yes
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 17 13:58:02 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6
>Organization:
http://bsd.reedmedia.net/
>Environment:
	
	
System: NetBSD rainier.reedmedia.net 1.6 NetBSD 1.6 (JCR-20020927) #3: Sat Sep 28 13:40:20 PDT 2002 reed@rainier.reedmedia.net:/usr/src/sys/arch/i386/compile/JCR-20020927 i386
Architecture: i386
Machine: i386
>Description:
Please commit a file package. A shell archive for it is below.

I use pkgsrc on non-NetBSD systems and all software I use is (or
soon will be) in pkgsrc.

file(1) is required to use pkgsrc. This provides it, but doesn't
bootstrap for it. (The bootstrap should mention if /usr/bin/file
doesn't exist.)
>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/file
#	sysutils/file/Makefile
#	sysutils/file/PLIST
#	sysutils/file/distinfo
#	sysutils/file/DESCR
#
echo c - sysutils/file
mkdir -p sysutils/file > /dev/null 2>&1
echo x - sysutils/file/Makefile
sed 's/^X//' >sysutils/file/Makefile << 'END-of-sysutils/file/Makefile'
X# $ NetBSD $
X
X# this provides file(1) which is used for pkgsrc installations
X
X# the configuration (not installed) is hard-coded as /etc/magic
X
X# XXX build mentions about missing aclocal, automake, and autoheader
X# XXX but they aren't needed
X
XDISTNAME=		file-3.41
XCATEGORIES=		sysutils
XMASTER_SITES=		ftp://ftp.gw.com/mirrors/pub/unix/file/
XMASTER_SITES+=		ftp://ftp.astron.com/pub/file/
X
XEXTRACT_SUFX=		.tar.gz
X
XMAINTAINER=		packages@netbsd.org
X#HOMEPAGE=
XCOMMENT=		tool for determining file type
X
XUSE_GMAKE=		YES
XGNU_CONFIGURE=		YES
XCONFIGURE_ARGS+=	--enable-fsect-man5 --datadir=${PREFIX}/share/misc
X
X.include "../../mk/bsd.pkg.mk"
END-of-sysutils/file/Makefile
echo x - sysutils/file/PLIST
sed 's/^X//' >sysutils/file/PLIST << 'END-of-sysutils/file/PLIST'
X@comment $NetBSD$
Xbin/file
Xman/man1/file.1
Xman/man5/magic.5
Xshare/misc/magic
Xshare/misc/magic.mgc
Xshare/misc/magic.mime
Xshare/misc/magic.mime.mgc
END-of-sysutils/file/PLIST
echo x - sysutils/file/distinfo
sed 's/^X//' >sysutils/file/distinfo << 'END-of-sysutils/file/distinfo'
X$NetBSD$
X
XSHA1 (file-3.41.tar.gz) = 9e234f10e15877ea013f23b5c438b045748ec727
XSize (file-3.41.tar.gz) = 183928 bytes
END-of-sysutils/file/distinfo
echo x - sysutils/file/DESCR
sed 's/^X//' >sysutils/file/DESCR << 'END-of-sysutils/file/DESCR'
XThis is Ian Darwin's file(1) command. (It is maintained by Christos
XZoulas.)
X
XThis version is the standard "file" command for Linux, *BSD, and other
Xsystems.
X
XFile tests each argument in an attempt to classify it.  There are
Xthree sets of tests, performed in this order: filesystem tests,
Xmagic number tests, and language tests.
X
END-of-sysutils/file/DESCR
exit

>Release-Note:
>Audit-Trail:
>Unformatted: