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

16
shells/rc/DESCR Normal file
View File

@@ -0,0 +1,16 @@
rc - a unix version of the Plan-9 Shell.
FEEPING CREATURISM
See the end of the man page, under "INCOMPATIBILITIES" for (known?)
differences from the "real" rc. Most of these changes were necessary
to get rc to work in a reasonable fashion on a real (i.e., commercial,
non-Labs) UNIX system; a few were changes motivated by concern
about some inadequacies in the original design.
CREDITS
This shell was written by Byron Rakitzis, but kudos go to Paul
Haahr for letting me know what a shell should do and for contributing
certain bits and pieces to rc (notably the limits code, print.c,
most of which.c and the backquote redirection code).

28
shells/rc/Makefile Normal file
View File

@@ -0,0 +1,28 @@
# $NetBSD: Makefile,v 1.27 2012/09/11 23:25:09 asau Exp $
DISTNAME= rc-1.7
PKGREVISION= 1
CATEGORIES= shells plan9
MASTER_SITES= http://www-ftp.lip6.fr/pub/unix/shells/rc/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://plan9.bell-labs.com/sys/doc/rc.html
COMMENT= Unix incarnation of the plan9 shell
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-history
PKG_SHELL= bin/rc
PKG_OPTIONS_VAR= PKG_OPTIONS.rc
PKG_SUPPORTED_OPTIONS= readline
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mreadline)
.include "../../devel/readline/buildlink3.mk"
CONFIGURE_ARGS+= --with-readline
USE_GNU_READLINE= YES
.endif
.include "../../mk/bsd.pkg.mk"

8
shells/rc/PLIST Normal file
View File

@@ -0,0 +1,8 @@
@comment $NetBSD: PLIST,v 1.3 2009/06/12 19:09:38 rillig Exp $
bin/-
bin/--
bin/--p
bin/-p
bin/rc
man/man1/history.1
man/man1/rc.1

7
shells/rc/distinfo Normal file
View File

@@ -0,0 +1,7 @@
$NetBSD: distinfo,v 1.6 2010/02/04 05:23:27 dholland Exp $
SHA1 (rc-1.7.tar.gz) = 7a7511f7ef54f1883aa73e572b0a66e476421829
RMD160 (rc-1.7.tar.gz) = e8a657db93136dfd40062b45b4e4ea73cbfe8fc3
Size (rc-1.7.tar.gz) = 158449 bytes
SHA1 (patch-aa) = 3d8f054748b8f411f48ef47383fde87402d45c08
SHA1 (patch-ab) = d3e8974908f085c49e8b339a7e3bab7e9c1cba3f

View File

@@ -0,0 +1,19 @@
$NetBSD: patch-aa,v 1.11 2010/02/04 05:23:27 dholland Exp $
DESTDIR support.
--- Makefile.am~ 2001-10-29 09:59:29.000000000 +0000
+++ Makefile.am
@@ -68,8 +68,8 @@ trip: rc tripping
install-exec-hook:
if AMC_HISTORY
- $(INSTALL_PROGRAM) history $(bindir)/- ;\
- rm -f $(bindir)/--; $(LN) $(bindir)/- $(bindir)/-- ;\
- rm -f $(bindir)/-p; $(LN) $(bindir)/- $(bindir)/-p ;\
- rm -f $(bindir)/--p; $(LN) $(bindir)/- $(bindir)/--p
+ $(INSTALL_PROGRAM) history ${DESTDIR}$(bindir)/- ;\
+ rm -f ${DESTDIR}$(bindir)/--; $(LN) ${DESTDIR}$(bindir)/- ${DESTDIR}$(bindir)/-- ;\
+ rm -f ${DESTDIR}$(bindir)/-p; $(LN) ${DESTDIR}$(bindir)/- ${DESTDIR}$(bindir)/-p ;\
+ rm -f ${DESTDIR}$(bindir)/--p; $(LN) ${DESTDIR}$(bindir)/- ${DESTDIR}$(bindir)/--p
endif

View File

@@ -0,0 +1,21 @@
$NetBSD: patch-ab,v 1.5 2010/02/04 05:23:27 dholland Exp $
DESTDIR support.
--- Makefile.in~ 2002-06-19 15:12:04.000000000 +0000
+++ Makefile.in
@@ -533,10 +533,10 @@ trip: rc tripping
./rc -p < $(srcdir)/trip.rc
install-exec-hook:
-@AMC_HISTORY_TRUE@ $(INSTALL_PROGRAM) history $(bindir)/- ;\
-@AMC_HISTORY_TRUE@ rm -f $(bindir)/--; $(LN) $(bindir)/- $(bindir)/-- ;\
-@AMC_HISTORY_TRUE@ rm -f $(bindir)/-p; $(LN) $(bindir)/- $(bindir)/-p ;\
-@AMC_HISTORY_TRUE@ rm -f $(bindir)/--p; $(LN) $(bindir)/- $(bindir)/--p
+@AMC_HISTORY_TRUE@ $(INSTALL_PROGRAM) history ${DESTDIR}$(bindir)/- ;\
+@AMC_HISTORY_TRUE@ rm -f ${DESTDIR}$(bindir)/--; $(LN) ${DESTDIR}$(bindir)/- ${DESTDIR}$(bindir)/-- ;\
+@AMC_HISTORY_TRUE@ rm -f ${DESTDIR}$(bindir)/-p; $(LN) ${DESTDIR}$(bindir)/- ${DESTDIR}$(bindir)/-p ;\
+@AMC_HISTORY_TRUE@ rm -f ${DESTDIR}$(bindir)/--p; $(LN) ${DESTDIR}$(bindir)/- ${DESTDIR}$(bindir)/--p
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.