Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

11
sysutils/findutils/DESCR Normal file
View File

@@ -0,0 +1,11 @@
The GNU Find Utilities are the basic directory searching utilities
of the GNU operating system. These programs are typically used in
conjunction with other programs to provide modular and powerful
directory search and file locating capabilities to other commands.
The tools supplied with this package are:
* find - search for files in a directory hierarchy
* locate - list files in databases that match a pattern
* updatedb - update a file name database
* xargs - build and execute command lines from standard input

View File

@@ -0,0 +1,33 @@
# $NetBSD: Makefile,v 1.33 2012/12/16 18:13:28 wiz Exp $
DISTNAME= findutils-4.2.33
PKGREVISION= 3
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_GNU:=findutils/}
MAINTAINER= bouyer@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/findutils/findutils.html
COMMENT= The GNU find, locate, updatedb, and xargs utilities
LICENSE= gnu-gpl-v3 # or later
GNU_CONFIGURE= YES
INFO_FILES= YES
USE_PKGLOCALEDIR= YES
LDFLAGS.IRIX+= -lgen
CONFIGURE_ARGS+= --program-prefix=g
AUTO_MKDIRS= yes
.include "../../mk/bsd.prefs.mk"
post-install:
.for f in find locate updatedb xargs
${LN} -sf ${PREFIX}/bin/g${f} ${DESTDIR}${PREFIX}/${PKGGNUDIR}bin/${f}
${LN} -sf ${PREFIX}/${PKGMANDIR}/man1/g${f}.1 ${DESTDIR}${PREFIX}/${PKGGNUDIR}${PKGMANDIR}/man1/${f}.1
.endfor
${LN} -sf ${PREFIX}/${PKGMANDIR}/man5/glocatedb.5 ${DESTDIR}${PREFIX}/${PKGGNUDIR}${PKGMANDIR}/man5/locatedb.5
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

60
sysutils/findutils/PLIST Normal file
View File

@@ -0,0 +1,60 @@
@comment $NetBSD: PLIST,v 1.11 2012/06/01 20:16:06 cheusov Exp $
bin/gfind
bin/glocate
bin/gupdatedb
bin/gxargs
gnu/bin/find
gnu/bin/locate
gnu/bin/updatedb
gnu/bin/xargs
gnu/man/man1/find.1
gnu/man/man1/locate.1
gnu/man/man1/updatedb.1
gnu/man/man1/xargs.1
gnu/man/man5/locatedb.5
info/find.info
libexec/gbigram
libexec/gcode
libexec/gfrcode
man/man1/gfind.1
man/man1/glocate.1
man/man1/gupdatedb.1
man/man1/gxargs.1
man/man5/glocatedb.5
share/locale/be/LC_MESSAGES/findutils.mo
share/locale/bg/LC_MESSAGES/findutils.mo
share/locale/ca/LC_MESSAGES/findutils.mo
share/locale/da/LC_MESSAGES/findutils.mo
share/locale/de/LC_MESSAGES/findutils.mo
share/locale/el/LC_MESSAGES/findutils.mo
share/locale/eo/LC_MESSAGES/findutils.mo
share/locale/es/LC_MESSAGES/findutils.mo
share/locale/et/LC_MESSAGES/findutils.mo
share/locale/fi/LC_MESSAGES/findutils.mo
share/locale/fr/LC_MESSAGES/findutils.mo
share/locale/ga/LC_MESSAGES/findutils.mo
share/locale/gl/LC_MESSAGES/findutils.mo
share/locale/hr/LC_MESSAGES/findutils.mo
share/locale/hu/LC_MESSAGES/findutils.mo
share/locale/id/LC_MESSAGES/findutils.mo
share/locale/it/LC_MESSAGES/findutils.mo
share/locale/ja/LC_MESSAGES/findutils.mo
share/locale/ko/LC_MESSAGES/findutils.mo
share/locale/lg/LC_MESSAGES/findutils.mo
share/locale/ms/LC_MESSAGES/findutils.mo
share/locale/nl/LC_MESSAGES/findutils.mo
share/locale/pl/LC_MESSAGES/findutils.mo
share/locale/pt/LC_MESSAGES/findutils.mo
share/locale/pt_BR/LC_MESSAGES/findutils.mo
share/locale/ro/LC_MESSAGES/findutils.mo
share/locale/ru/LC_MESSAGES/findutils.mo
share/locale/rw/LC_MESSAGES/findutils.mo
share/locale/sk/LC_MESSAGES/findutils.mo
share/locale/sl/LC_MESSAGES/findutils.mo
share/locale/sr/LC_MESSAGES/findutils.mo
share/locale/sv/LC_MESSAGES/findutils.mo
share/locale/tr/LC_MESSAGES/findutils.mo
share/locale/uk/LC_MESSAGES/findutils.mo
share/locale/vi/LC_MESSAGES/findutils.mo
share/locale/zh_CN/LC_MESSAGES/findutils.mo
share/locale/zh_TW/LC_MESSAGES/findutils.mo

View File

@@ -0,0 +1,9 @@
$NetBSD: distinfo,v 1.15 2011/04/04 11:27:39 drochner Exp $
SHA1 (findutils-4.2.33.tar.gz) = 930a77cd0cbf4ee05888947cc10809f0761c84b8
RMD160 (findutils-4.2.33.tar.gz) = 51c750025487434dd785a332050fff925633c8f9
Size (findutils-4.2.33.tar.gz) = 1455067 bytes
SHA1 (patch-aa) = 162de59955ded4cf6d53d012511402a672a39b7c
SHA1 (patch-ab) = 782c5c642e8e6883686c36ddc470edc3d063f0f0
SHA1 (patch-ag) = def96d47ad09cf98b0caf9f44e94df1c0fd611a2
SHA1 (patch-ah) = 213f8984aba51d500cb0d0c8ba2362918e065741

View File

@@ -0,0 +1,22 @@
$NetBSD: patch-aa,v 1.7 2008/03/08 11:15:03 tnn Exp $
--- locate/Makefile.in.orig 2008-02-13 23:37:41.000000000 +0100
+++ locate/Makefile.in
@@ -532,7 +532,7 @@ install_sh = @install_sh@
libdir = @libdir@
libexecdir = @libexecdir@
localedir = $(datadir)/locale
-localstatedir = @localstatedir@
+localstatedir = /var/run
mandir = @mandir@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
@@ -550,7 +550,7 @@ top_srcdir = @top_srcdir@
# The default database to build and search.
AUTOMAKE_OPTIONS = std-options
-LOCATE_DB = $(localstatedir)/locatedb
+LOCATE_DB = /var/db/locate.database
AM_INSTALLCHECK_STD_OPTIONS_EXEMPT = \
frcode$(EXEEXT) \
code$(EXEEXT) \

View File

@@ -0,0 +1,19 @@
$NetBSD: patch-ab,v 1.2 2007/10/16 00:45:53 tnn Exp $
--- gnulib/lib/Makefile.in.orig 2007-05-30 22:06:19.000000000 +0200
+++ gnulib/lib/Makefile.in
@@ -969,12 +969,12 @@ inttypes.h: inttypes_.h
all-local: charset.alias ref-add.sed ref-del.sed
install-exec-local: all-local
test $(GLIBC21) != no || $(mkinstalldirs) $(DESTDIR)$(libdir)
- if test -f $(charset_alias); then \
+ if false; then \
sed -f ref-add.sed $(charset_alias) > $(charset_tmp) ; \
$(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
rm -f $(charset_tmp) ; \
else \
- if test $(GLIBC21) = no; then \
+ if false; then \
sed -f ref-add.sed charset.alias > $(charset_tmp) ; \
$(INSTALL_DATA) $(charset_tmp) $(charset_alias) ; \
rm -f $(charset_tmp) ; \

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-ag,v 1.4 2007/10/16 00:45:55 tnn Exp $
--- find/pred.c.orig 2007-04-22 17:43:17.000000000 +0200
+++ find/pred.c
@@ -38,6 +38,10 @@
#include "buildcmd.h"
#include "yesno.h"
+#ifdef __sgi
+#include <libgen.h>
+#endif
+
#if ENABLE_NLS
# include <libintl.h>
# define _(Text) gettext (Text)

View File

@@ -0,0 +1,17 @@
$NetBSD: patch-ah,v 1.4 2011/04/04 11:27:39 drochner Exp $
test fails on NetBSD-current/32bit
--- gnulib/lib/mktime.c.orig 2007-12-08 13:47:18.000000000 +0000
+++ gnulib/lib/mktime.c
@@ -165,8 +165,10 @@ ydhms_diff (long int year1, long int yda
int year0, int yday0, int hour0, int min0, int sec0)
{
verify (C99_integer_division, -1 / 2 == 0);
+#if 0
verify (long_int_year_and_yday_are_wide_enough,
INT_MAX <= LONG_MAX / 2 || TIME_T_MAX <= UINT_MAX);
+#endif
/* Compute intervening leap days correctly even if year is negative.
Take care to avoid integer overflow here. */