Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Feb 2000 13:55:53 GMT
From:      Udo Schweigert <ust@cert.siemens.de>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/16636: New port: GNU find
Message-ID:  <200002101355.NAA83318@alaska.cert.siemens.de>

next in thread | raw e-mail | index | archive | help

>Number:         16636
>Category:       ports
>Synopsis:       New port: GNU find
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 10 06:00:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Udo Schweigert
>Release:        FreeBSD 3.4-STABLE i386
>Organization:
Siemens AG, ZT IK 3
>Environment:

-stable
-current

>Description:

I needed the GNU find for its -cnewer option, so I made this port.

>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:
#
#	gfind
#	gfind/files
#	gfind/files/md5
#	gfind/patches
#	gfind/patches/patch-ac
#	gfind/patches/patch-aa
#	gfind/patches/patch-ab
#	gfind/pkg
#	gfind/pkg/COMMENT
#	gfind/pkg/DESCR
#	gfind/pkg/PLIST
#	gfind/Makefile
#
echo c - gfind
mkdir -p gfind > /dev/null 2>&1
echo c - gfind/files
mkdir -p gfind/files > /dev/null 2>&1
echo x - gfind/files/md5
sed 's/^X//' >gfind/files/md5 << 'END-of-gfind/files/md5'
XMD5 (findutils-4.1.tar.gz) = 3ea8fe58ef5386da75f6c707713aa059
END-of-gfind/files/md5
echo c - gfind/patches
mkdir -p gfind/patches > /dev/null 2>&1
echo x - gfind/patches/patch-ac
sed 's/^X//' >gfind/patches/patch-ac << 'END-of-gfind/patches/patch-ac'
X--- doc/Makefile.in.orig	Sat Nov  5 15:44:12 1994
X+++ doc/Makefile.in	Thu Feb 10 13:29:42 2000
X@@ -42,7 +42,7 @@
X transform = @program_transform_name@
X 
X ALL = ${PROGRAMS} ${LIBPROGRAMS} ${SCRIPTS} ${LIBSCRIPTS} ${LIBFILES}
X-MAKEINFO = makeinfo
X+MAKEINFO = makeinfo --no-split
X TEXI2DVI = texi2dvi
X 
X TEXFILES = *.aux *.cp *.cps *.dvi *.fn *.fns *.ky *.log *.pg *.toc *.tp *.vr
X@@ -57,7 +57,7 @@
X TEXINFOS = find.texi
X DIST_OTHER = perm.texi texinfo.tex
X 
X-all:: ${ALL}
X+all:: clean ${ALL} info
X 
X .SUFFIXES: .texi .info .dvi
X 
X@@ -91,6 +91,7 @@
X 
X clean: mostlyclean
X 	rm -f $(PROGRAMS) $(LIBPROGRAMS) $(LIBFILES) $(TEXFILES) $(CLEANFILES)
X+	rm -f *.info*
X 
X distclean: clean
X 	rm -f Makefile *.tab.c $(DISTCLEANFILES)
END-of-gfind/patches/patch-ac
echo x - gfind/patches/patch-aa
sed 's/^X//' >gfind/patches/patch-aa << 'END-of-gfind/patches/patch-aa'
X--- locate/Makefile.in.orig	Sat Nov  5 15:44:08 1994
X+++ locate/Makefile.in	Thu Feb 10 12:10:08 2000
X@@ -96,8 +96,11 @@
X 
X install-programs: $(PROGRAMS) $(SCRIPTS)
X 	$(top_srcdir)/mkinstalldirs $(bindir)
X-	for p in $(PROGRAMS) $(SCRIPTS); do \
X+	for p in $(PROGRAMS); do \
X 	  $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
X+	done
X+	for p in $(SCRIPTS); do \
X+	  $(INSTALL) -C -m 555 $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
X 	done
X 
X uninstall:: uninstall-programs
END-of-gfind/patches/patch-aa
echo x - gfind/patches/patch-ab
sed 's/^X//' >gfind/patches/patch-ab << 'END-of-gfind/patches/patch-ab'
X--- lib/regex.h.orig	Thu Feb 10 12:27:41 2000
X+++ lib/regex.h	Thu Feb 10 12:26:55 2000
X@@ -23,6 +23,7 @@
X /* POSIX says that <sys/types.h> must be included (by the caller) before
X    <regex.h>.  */
X 
X+#include <sys/syslimits.h>
X #ifdef VMS
X /* VMS doesn't have `size_t' in <sys/types.h>, even though POSIX says it
X    should be there.  */
END-of-gfind/patches/patch-ab
echo c - gfind/pkg
mkdir -p gfind/pkg > /dev/null 2>&1
echo x - gfind/pkg/COMMENT
sed 's/^X//' >gfind/pkg/COMMENT << 'END-of-gfind/pkg/COMMENT'
XGNU version of 'find' utilities
END-of-gfind/pkg/COMMENT
echo x - gfind/pkg/DESCR
sed 's/^X//' >gfind/pkg/DESCR << 'END-of-gfind/pkg/DESCR'
XThis directory contains the release of GNU findutils.
END-of-gfind/pkg/DESCR
echo x - gfind/pkg/PLIST
sed 's/^X//' >gfind/pkg/PLIST << 'END-of-gfind/pkg/PLIST'
Xbin/gfind
Xbin/glocate
Xbin/gupdatedb
Xbin/gxargs
Xlibexec/gbigram
Xlibexec/gcode
Xlibexec/gfrcode
X@unexec install-info --quiet --delete %D/info/find.info %D/info/dir
Xinfo/find.info
X@exec install-info %D/info/find.info %D/info/dir
END-of-gfind/pkg/PLIST
echo x - gfind/Makefile
sed 's/^X//' >gfind/Makefile << 'END-of-gfind/Makefile'
X# New ports collection makefile for:	GNU find
X# Version required: 4.1
X# Date created:	Thu 10 Feb 12:30:08 CET 2000
X# Whom: ust@cert.siemens.de
X#
X# $FreeBSD$
X#
X
XDISTNAME=       findutils-4.1
XPKGNAME=        gfind-4.1
XCATEGORIES=	sysutils
XMASTER_SITES=   ${MASTER_SITE_GNU}
XMASTER_SITE_SUBDIR=	findutils
X
XMAINTAINER=	ust@cert.siemens.de
X
XY2K=		http://www.gnu.org/software/year2000.html
X
XGNU_CONFIGURE=	yes
XCONFIGURE_ARGS=	--program-prefix=g
XMAN1=		gfind.1 glocate.1 gupdatedb.1 gxargs.1
XMAN5=		glocatedb.5
X
X.include <bsd.port.mk>
END-of-gfind/Makefile
exit


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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200002101355.NAA83318>