NetBSD Problem Report #20774
Received: (qmail 9128 invoked by uid 605); 17 Mar 2003 21:57:54 -0000
Message-Id: <1335-1047938262@rainier.reedmedia.net>
Date: Mon, 17 Mar 2003 13:57:42 -0800
From: reed@reedmedia.net
Sender: gnats-bugs-owner@netbsd.org
Reply-To: reed@reedmedia.net
To: gnats-bugs@gnats.netbsd.org
Subject: new pkgsrc: sysutils/file
X-Send-Pr-Version: 3.95
>Number: 20774
>Category: pkg
>Synopsis: new pkgsrc: sysutils/file
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: cjep
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Mon Mar 17 21:58:02 +0000 2003
>Closed-Date: Fri Apr 11 19:48:16 +0000 2003
>Last-Modified: Sun Apr 13 10:27:01 +0000 2003
>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:
State-Changed-From-To: open->feedback
State-Changed-By: cjep
State-Changed-When: Fri Apr 11 09:33:47 PDT 2003
State-Changed-Why:
Jeremy,
If you put this into pkgsrc-wip, I'll take a look and move it to pkgsrc.
Thanks for the submission.
best wishes,
Chris
Responsible-Changed-From-To: pkg-manager->cjep
Responsible-Changed-By: cjep
Responsible-Changed-When: Fri Apr 11 09:34:45 PDT 2003
Responsible-Changed-Why:
i'll look after this one.
State-Changed-From-To: feedback->closed
State-Changed-By: cjep
State-Changed-When: Fri Apr 11 12:47:54 PDT 2003
State-Changed-Why:
Jeremy has committed this to pkgsrc-wip.
From: Chris Pinnock <cjep@netbsd.org>
To: gnats-bugs@gnats.netbsd.org
Cc:
Subject: pr/20774 CVS commit: pkgsrc/sysutils/file
Date: Sun, 13 Apr 2003 13:24:29 +0300 (EEST)
Module Name: pkgsrc
Committed By: cjep
Date: Sun Apr 13 10:24:28 UTC 2003
Update of /cvsroot/pkgsrc/sysutils/file
In directory minbar.netbsd.org:/tmp/cvs-serv12924
Log Message:
Initial import of file 4.02 into the NetBSD packages collection as
sysutils/file.
File is a file classification program. This version is the standard "file"
command for Linux, *BSD, and other systems. This is Ian Darwin's file(1)
command. It is maintained by Christos Zoulas.
Package supplied by Jeremy C. Reed in PR#20774 and also in pkgsrc-wip.
Thanks Jeremy.
Status:
Vendor Tag: TNF
Release Tags: pkgsrc-base
N pkgsrc/sysutils/file/MESSAGE
N pkgsrc/sysutils/file/DESCR
N pkgsrc/sysutils/file/Makefile
N pkgsrc/sysutils/file/PLIST
N pkgsrc/sysutils/file/distinfo
N pkgsrc/sysutils/file/patches/patch-aa
No conflicts created by this import
From: Chris Pinnock <cjep@netbsd.org>
To: gnats-bugs@gnats.netbsd.org
Cc:
Subject: pr/20774 CVS commit: pkgsrc/doc
Date: Sun, 13 Apr 2003 13:26:08 +0300 (EEST)
Module Name: pkgsrc
Committed By: cjep
Date: Sun Apr 13 10:26:07 UTC 2003
Modified Files:
pkgsrc/doc: CHANGES
Log Message:
Initial import of file 4.02 into the NetBSD packages collection as
sysutils/file.
File is a file classification program. This version is the standard "file"
command for Linux, *BSD, and other systems. This is Ian Darwin's file(1)
command. It is maintained by Christos Zoulas.
Package supplied by Jeremy C. Reed in PR#20774 and also in pkgsrc-wip.
Thanks Jeremy.
To generate a diff of this commit:
cvs rdiff -r1.1923 -r1.1924 pkgsrc/doc/CHANGES
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(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.