pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net Modify named9.sh to create /dev/random in chrooted...
details: https://anonhg.NetBSD.org/pkgsrc/rev/aad0656afce9
branches: trunk
changeset: 568348:aad0656afce9
user: taca <taca%pkgsrc.org@localhost>
date: Fri Dec 11 16:21:21 2009 +0000
description:
Modify named9.sh to create /dev/random in chrooted environment
as base system's /etc/rc.d/named.
Bump PKGREVISION.
diffstat:
net/bind9/Makefile | 3 ++-
net/bind9/files/named9.sh | 15 ++++++++++-----
net/bind95/Makefile | 3 ++-
net/bind95/files/named9.sh | 15 ++++++++++-----
net/bind96/Makefile | 3 ++-
net/bind96/files/named9.sh | 14 +++++++++-----
6 files changed, 35 insertions(+), 18 deletions(-)
diffs (131 lines):
diff -r a7f0672da330 -r aad0656afce9 net/bind9/Makefile
--- a/net/bind9/Makefile Fri Dec 11 16:18:20 2009 +0000
+++ b/net/bind9/Makefile Fri Dec 11 16:21:21 2009 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.109 2009/07/28 20:39:45 reed Exp $
+# $NetBSD: Makefile,v 1.110 2009/12/11 16:21:21 taca Exp $
DISTNAME= bind-${BIND_VERSION}
PKGNAME= ${DISTNAME:S/-P3/pl3/}
+PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= ftp://ftp.isc.org/isc/bind9/${BIND_VERSION}/ \
http://ftp.belnet.be/pub/mirror/ftp.isc.org/isc/bind9/${BIND_VERSION}/
diff -r a7f0672da330 -r aad0656afce9 net/bind9/files/named9.sh
--- a/net/bind9/files/named9.sh Fri Dec 11 16:18:20 2009 +0000
+++ b/net/bind9/files/named9.sh Fri Dec 11 16:21:21 2009 +0000
@@ -1,6 +1,6 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: named9.sh,v 1.3 2005/05/17 13:17:34 sketch Exp $
+# $NetBSD: named9.sh,v 1.4 2009/12/11 16:21:21 taca Exp $
#
# PROVIDE: named
@@ -31,10 +31,15 @@
return 0;
fi
- if [ ! -c "${named_chrootdir}/dev/null" ]; then
- @RM@ -f "${named_chrootdir}/dev/null"
- ( cd /dev ; @PAX@ -rw -pe null "${named_chrootdir}/dev" )
- fi
+ for i in null random
+ do
+ if [ ! -c "${named_chrootdir}/dev/$i" ]; then
+ @RM@ -f "${named_chrootdir}/dev/$i"
+ (cd /dev &&
+ @PAX@ -rw -pe "$i" "${named_chrootdir}/dev")
+ fi
+ done
+
if [ -f /etc/localtime ]; then
@CMP@ -s /etc/localtime "${named_chrootdir}/etc/localtime" || \
@CP@ -p /etc/localtime "${named_chrootdir}/etc/localtime"
diff -r a7f0672da330 -r aad0656afce9 net/bind95/Makefile
--- a/net/bind95/Makefile Fri Dec 11 16:18:20 2009 +0000
+++ b/net/bind95/Makefile Fri Dec 11 16:21:21 2009 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.13 2009/11/30 11:58:30 tron Exp $
+# $NetBSD: Makefile,v 1.14 2009/12/11 16:22:08 taca Exp $
DISTNAME= bind-${BIND_VERSION}
PKGNAME= ${DISTNAME:S/-P/pl/}
+PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= ftp://ftp.isc.org/isc/bind9/${BIND_VERSION}/ \
http://ftp.belnet.be/pub/mirror/ftp.isc.org/isc/bind9/${BIND_VERSION}/
diff -r a7f0672da330 -r aad0656afce9 net/bind95/files/named9.sh
--- a/net/bind95/files/named9.sh Fri Dec 11 16:18:20 2009 +0000
+++ b/net/bind95/files/named9.sh Fri Dec 11 16:21:21 2009 +0000
@@ -1,6 +1,6 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: named9.sh,v 1.1.1.1 2008/06/21 23:15:28 adrianp Exp $
+# $NetBSD: named9.sh,v 1.2 2009/12/11 16:22:08 taca Exp $
#
# PROVIDE: named
@@ -31,10 +31,15 @@
return 0;
fi
- if [ ! -c "${named_chrootdir}/dev/null" ]; then
- @RM@ -f "${named_chrootdir}/dev/null"
- ( cd /dev ; @PAX@ -rw -pe null "${named_chrootdir}/dev" )
- fi
+ for i in null random
+ do
+ if [ ! -c "${named_chrootdir}/dev/$i" ]; then
+ @RM@ -f "${named_chrootdir}/dev/$i"
+ (cd /dev &&
+ @PAX@ -rw -pe "$i" "${named_chrootdir}/dev")
+ fi
+ done
+
if [ -f /etc/localtime ]; then
@CMP@ -s /etc/localtime "${named_chrootdir}/etc/localtime" || \
@CP@ -p /etc/localtime "${named_chrootdir}/etc/localtime"
diff -r a7f0672da330 -r aad0656afce9 net/bind96/Makefile
--- a/net/bind96/Makefile Fri Dec 11 16:18:20 2009 +0000
+++ b/net/bind96/Makefile Fri Dec 11 16:21:21 2009 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.11 2009/11/25 09:50:06 taca Exp $
+# $NetBSD: Makefile,v 1.12 2009/12/11 16:22:31 taca Exp $
DISTNAME= bind-${BIND_VERSION}
PKGNAME= ${DISTNAME:S/-P2/pl2/}
+PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= ftp://ftp.isc.org/isc/bind9/${BIND_VERSION}/ \
http://ftp.belnet.be/pub/mirror/ftp.isc.org/isc/bind9/${BIND_VERSION}/
diff -r a7f0672da330 -r aad0656afce9 net/bind96/files/named9.sh
--- a/net/bind96/files/named9.sh Fri Dec 11 16:18:20 2009 +0000
+++ b/net/bind96/files/named9.sh Fri Dec 11 16:21:21 2009 +0000
@@ -1,6 +1,6 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: named9.sh,v 1.3 2009/02/26 23:49:24 adrianp Exp $
+# $NetBSD: named9.sh,v 1.4 2009/12/11 16:22:31 taca Exp $
#
# PROVIDE: named
@@ -35,10 +35,14 @@
return 0;
fi
- if [ ! -c "${named_chrootdir}/dev/null" ]; then
- @RM@ -f "${named_chrootdir}/dev/null"
- ( cd /dev ; @PAX@ -rw -pe null "${named_chrootdir}/dev" )
- fi
+ for i in null random
+ do
+ if [ ! -c "${named_chrootdir}/dev/$i" ]; then
+ @RM@ -f "${named_chrootdir}/dev/$i"
+ (cd /dev &&
+ @PAX@ -rw -pe "$i" "${named_chrootdir}/dev")
+ fi
+ done
if [ -f /etc/localtime ]; then
@CMP@ -s /etc/localtime "${named_chrootdir}/etc/localtime" || \
Home |
Main Index |
Thread Index |
Old Index