aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzi <zi@FreeBSD.org>2013-04-18 09:25:41 +0800
committerzi <zi@FreeBSD.org>2013-04-18 09:25:41 +0800
commit36be29e212ad0cc99ba38b8bf98bac8e48e8e416 (patch)
tree4ef764415e5f36c26776640e57f7932cc2e8a3b7
parentf465a377ef50f8e88a336bd7e9ef54d06bad8296 (diff)
downloadfreebsd-ports-gnome-36be29e212ad0cc99ba38b8bf98bac8e48e8e416.tar.gz
freebsd-ports-gnome-36be29e212ad0cc99ba38b8bf98bac8e48e8e416.tar.zst
freebsd-ports-gnome-36be29e212ad0cc99ba38b8bf98bac8e48e8e416.zip
- Update to 4.2.5P1
- Switch to new 'created by' header Feature safe: yes
-rw-r--r--net/isc-dhcp42-client/Makefile6
-rw-r--r--net/isc-dhcp42-client/pkg-plist4
-rw-r--r--net/isc-dhcp42-relay/Makefile6
-rw-r--r--net/isc-dhcp42-server/Makefile22
-rw-r--r--net/isc-dhcp42-server/distinfo4
-rw-r--r--net/isc-dhcp42-server/files/patch-client__Makefile.in13
-rw-r--r--net/isc-dhcp42-server/files/patch-client__dhclient.conf.example (renamed from net/isc-dhcp42-server/files/patch-client__dhclient.conf)4
-rw-r--r--net/isc-dhcp42-server/files/patch-server__Makefile.am23
-rw-r--r--net/isc-dhcp42-server/files/patch-server__Makefile.in13
-rw-r--r--net/isc-dhcp42-server/pkg-plist8
10 files changed, 21 insertions, 82 deletions
diff --git a/net/isc-dhcp42-client/Makefile b/net/isc-dhcp42-client/Makefile
index 971c40e4fab2..a230abc39157 100644
--- a/net/isc-dhcp42-client/Makefile
+++ b/net/isc-dhcp42-client/Makefile
@@ -1,9 +1,5 @@
-# Ports collection makefile for: isc-dhcp42-client
-# Date created: 29 June 2011
-# Whom: Ryan Steinmetz <rpsfa@rit.edu>
-#
+# Created by: Ryan Steinmetz <rpsfa@rit.edu>
# $FreeBSD$
-#
COMMENT= The ISC Dynamic Host Configuration Protocol client
diff --git a/net/isc-dhcp42-client/pkg-plist b/net/isc-dhcp42-client/pkg-plist
index 06b9afd39ee3..3f3af3f57e30 100644
--- a/net/isc-dhcp42-client/pkg-plist
+++ b/net/isc-dhcp42-client/pkg-plist
@@ -1,8 +1,8 @@
@comment $FreeBSD$
sbin/dhclient
sbin/dhclient-script
-@unexec if cmp -s %D/etc/dhclient.conf.sample %D/etc/dhclient.conf; then rm -f %D/etc/dhclient.conf; fi
-etc/dhclient.conf.sample
+@unexec if cmp -s %D/etc/dhclient.conf.example %D/etc/dhclient.conf; then rm -f %D/etc/dhclient.conf; fi
+etc/dhclient.conf.example
@exec if [ ! -f %D/etc/dhclient.conf ] ; then cp -p %D/%F %B/dhclient.conf; fi
@exec [ -f /var/run/dhclient.leases ] || touch /var/run/dhclient.leases
@unexec [ -s /var/run/dhclient.leases ] || rm -f /var/run/dhclient.leases
diff --git a/net/isc-dhcp42-relay/Makefile b/net/isc-dhcp42-relay/Makefile
index ebcc85c36221..e26a0adc8d79 100644
--- a/net/isc-dhcp42-relay/Makefile
+++ b/net/isc-dhcp42-relay/Makefile
@@ -1,9 +1,5 @@
-# Ports collection makefile for: isc-dhcp42-relay
-# Date created: 29 June 2011
-# Whom: Ryan Steinmetz <rpsfa@rit.edu>
-#
+# Created by: Ryan Steinmetz <rpsfa@rit.edu>
# $FreeBSD$
-#
COMMENT= The ISC Dynamic Host Configuration Protocol relay
diff --git a/net/isc-dhcp42-server/Makefile b/net/isc-dhcp42-server/Makefile
index a45f445aa2e8..f65a044827fc 100644
--- a/net/isc-dhcp42-server/Makefile
+++ b/net/isc-dhcp42-server/Makefile
@@ -1,12 +1,8 @@
-# Ports collection makefile for: isc-dhcp42-server
-# Date created: 29 June 2011
-# Whom: Ryan Steinmetz <rpsfa@rit.edu>
-#
+# Created by: Ryan Steinmetz <rpsfa@rit.edu>
# $FreeBSD$
-#
PORTNAME= dhcp
-DISTVERSION= 4.2.4
+DISTVERSION= 4.2.5
PORTREVISION= ${DHCP_PORTREVISION}
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_ISC}
@@ -22,8 +18,8 @@ LICENSE= ISCL
USE_GMAKE= yes
-PATCHLEVEL= P2
-PORTREVISION_SERVER= 2
+PATCHLEVEL= P1
+PORTREVISION_SERVER= 0
PORTREVISION_CLIENT= 0
PORTREVISION_RELAY= 0
@@ -70,7 +66,7 @@ SCRIPTS_ENV+= PKG_PREFIX=${PREFIX}
.if ${SUBSYS} == client
MAN5+= dhclient.conf.5 dhclient.leases.5
MAN8+= dhclient.8 dhclient-script.8
-CONF_FILE= dhclient.conf
+CONF_FILE= dhclient.conf.example
.elif ${SUBSYS} == server
CONFIGURE_ARGS+=--localstatedir=/var
MAN5+= dhcpd.conf.5 dhcpd.leases.5 dhcp-eval.5 dhcp-options.5
@@ -152,7 +148,7 @@ post-patch:
@${REINPLACE_CMD} -e 's|/usr/local||g' \
${WRKSRC}/doc/examples/dhcpd-dhcpv6.conf
@${REINPLACE_CMD} ${REINPLACE_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
- ${WRKSRC}/client/dhclient.conf
+ ${WRKSRC}/client/dhclient.conf.example
do-install:
${MAKE} -C ${WRKSRC}/${SUBSYS} install
@@ -165,14 +161,14 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/dhcpctl/dhcpctl.h ${PREFIX}/include
.if ${PORT_OPTIONS:MIPV6}
${INSTALL_DATA} ${WRKSRC}/doc/examples/dhcpd-dhcpv6.conf \
- ${PREFIX}/etc/dhcpd6.conf.sample
+ ${PREFIX}/etc/dhcpd6.conf.example
.endif
.if ${PORT_OPTIONS:MLDAP}
@${MKDIR} ${SCHEMA_DIR}
${INSTALL_DATA} ${LDAP_SCHEMA} ${SCHEMA_DIR}
${INSTALL_SCRIPT} ${LDAP_SCRIPT} ${PREFIX}/bin
.endif
-.if ${PORT_OPTIONS:MLDAP} && !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MLDAP} && empty(PORT_OPTIONS:MDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/contrib/ldap/README.ldap ${DOCSDIR}
.endif
@@ -182,7 +178,7 @@ post-install:
.if defined(CONF_FILE)
.for FILE in ${CONF_FILE}
if [ ! -f ${PREFIX}/etc/${FILE} ]; then \
- ${CP} -p ${PREFIX}/etc/${FILE}.sample ${PREFIX}/etc/${FILE} ; \
+ ${CP} -p ${PREFIX}/etc/${FILE}.example ${PREFIX}/etc/${FILE} ; \
fi
.endfor
.endif
diff --git a/net/isc-dhcp42-server/distinfo b/net/isc-dhcp42-server/distinfo
index 7e151f7e002d..3bb412cb89f8 100644
--- a/net/isc-dhcp42-server/distinfo
+++ b/net/isc-dhcp42-server/distinfo
@@ -1,2 +1,2 @@
-SHA256 (dhcp-4.2.4-P2.tar.gz) = 0f75170e323cd9573e6e09a5d9236725f3e56e3cac5a70a01fe2a9d76b436499
-SIZE (dhcp-4.2.4-P2.tar.gz) = 8190209
+SHA256 (dhcp-4.2.5-P1.tar.gz) = 59b06c9f5d775e46999b422c45b9229402c462b114ce1685617bfb2b8b028250
+SIZE (dhcp-4.2.5-P1.tar.gz) = 8255960
diff --git a/net/isc-dhcp42-server/files/patch-client__Makefile.in b/net/isc-dhcp42-server/files/patch-client__Makefile.in
deleted file mode 100644
index 77d7639365d1..000000000000
--- a/net/isc-dhcp42-server/files/patch-client__Makefile.in
+++ /dev/null
@@ -1,13 +0,0 @@
---- client/Makefile.in.orig 2010-11-24 13:58:02.077206326 -0500
-+++ client/Makefile.in 2010-11-24 13:59:01.452202855 -0500
-@@ -354,8 +354,8 @@
- @list='$(dist_sysconf_DATA)'; for p in $$list; do \
- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
- f=$(am__strip_dir) \
-- echo " $(dist_sysconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(sysconfdir)/$$f'"; \
-- $(dist_sysconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(sysconfdir)/$$f"; \
-+ echo " $(dist_sysconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(sysconfdir)/$$f.sample'"; \
-+ $(dist_sysconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(sysconfdir)/$$f.sample"; \
- done
-
- uninstall-dist_sysconfDATA:
diff --git a/net/isc-dhcp42-server/files/patch-client__dhclient.conf b/net/isc-dhcp42-server/files/patch-client__dhclient.conf.example
index 163beaee6394..3a5622eaff07 100644
--- a/net/isc-dhcp42-server/files/patch-client__dhclient.conf
+++ b/net/isc-dhcp42-server/files/patch-client__dhclient.conf.example
@@ -1,5 +1,5 @@
---- ./client/dhclient.conf.orig 2010-05-02 20:39:06.000000000 -0400
-+++ ./client/dhclient.conf 2010-05-02 20:39:16.000000000 -0400
+--- ./client/dhclient.conf.example.orig 2013-01-25 20:26:40.000000000 -0500
++++ ./client/dhclient.conf.example 2013-01-25 20:26:53.000000000 -0500
@@ -11,7 +11,7 @@
reboot 10;
select-timeout 5;
diff --git a/net/isc-dhcp42-server/files/patch-server__Makefile.am b/net/isc-dhcp42-server/files/patch-server__Makefile.am
deleted file mode 100644
index d92124b72909..000000000000
--- a/net/isc-dhcp42-server/files/patch-server__Makefile.am
+++ /dev/null
@@ -1,23 +0,0 @@
---- server/Makefile.am.orig 2010-10-24 11:42:38.419499721 -0400
-+++ server/Makefile.am 2010-10-24 11:44:01.489499357 -0400
-@@ -1,6 +1,7 @@
- AM_CPPFLAGS = -I.. -DLOCALSTATEDIR='"@localstatedir@"'
-
- dist_sysconf_DATA = dhcpd.conf
-+dist_sysconfDATA_INSTALL = $(INSTALL_DATA)
- sbin_PROGRAMS = dhcpd
- dhcpd_SOURCES = dhcpd.c dhcp.c bootp.c confpars.c db.c class.c failover.c \
- omapi.c mdb.c stables.c salloc.c ddns.c dhcpleasequery.c \
-@@ -13,3 +14,12 @@
- man_MANS = dhcpd.8 dhcpd.conf.5 dhcpd.leases.5
- EXTRA_DIST = $(man_MANS)
-
-+install-dist_sysconfDATA: $(dist_sysconf_DATA)
-+ @$(NORMAL_INSTALL)
-+ test -z "$(sysconfdir)" || $(MKDIR_P) "$(DESTDIR)$(sysconfdir)"
-+ @list='$(dist_sysconf_DATA)'; for p in $$list; do \
-+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
-+ $(am__strip_dir) \
-+ echo " $(dist_sysconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(sysconfdir)/$$f.sample'"; \
-+ $(dist_sysconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(sysconfdir)/$$f.sample"; \
-+ done
diff --git a/net/isc-dhcp42-server/files/patch-server__Makefile.in b/net/isc-dhcp42-server/files/patch-server__Makefile.in
deleted file mode 100644
index 6ae828933da5..000000000000
--- a/net/isc-dhcp42-server/files/patch-server__Makefile.in
+++ /dev/null
@@ -1,13 +0,0 @@
---- ./server/Makefile.in.orig 2010-01-07 19:47:06.000000000 -0500
-+++ ./server/Makefile.in 2010-05-02 20:38:26.000000000 -0400
-@@ -370,8 +370,8 @@
- @list='$(dist_sysconf_DATA)'; for p in $$list; do \
- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
- f=$(am__strip_dir) \
-- echo " $(dist_sysconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(sysconfdir)/$$f'"; \
-- $(dist_sysconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(sysconfdir)/$$f"; \
-+ echo " $(dist_sysconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(sysconfdir)/$$f.sample'"; \
-+ $(dist_sysconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(sysconfdir)/$$f.sample"; \
- done
-
- uninstall-dist_sysconfDATA:
diff --git a/net/isc-dhcp42-server/pkg-plist b/net/isc-dhcp42-server/pkg-plist
index 9784f22eee49..877639cb888b 100644
--- a/net/isc-dhcp42-server/pkg-plist
+++ b/net/isc-dhcp42-server/pkg-plist
@@ -1,10 +1,10 @@
@comment $FreeBSD$
-@unexec if cmp -s %D/etc/dhcpd.conf.sample %D/etc/dhcpd.conf; then rm -f %D/etc/dhcpd.conf; fi
+@unexec if cmp -s %D/etc/dhcpd.conf.example %D/etc/dhcpd.conf; then rm -f %D/etc/dhcpd.conf; fi
@unexec echo "You should stop the dhcpd and dhcpd6 daemons if you are permanently removing this port."
-etc/dhcpd.conf.sample
+etc/dhcpd.conf.example
@exec if [ ! -f %D/etc/dhcpd.conf ] ; then cp -p %D/%F %B/dhcpd.conf; fi
-%%IPV6%%@unexec if cmp -s %D/etc/dhcpd6.conf.sample %D/etc/dhcpd6.conf; then rm -f %D/etc/dhcpd6.conf; fi
-%%IPV6%%etc/dhcpd6.conf.sample
+%%IPV6%%@unexec if cmp -s %D/etc/dhcpd6.conf.example %D/etc/dhcpd6.conf; then rm -f %D/etc/dhcpd6.conf; fi
+%%IPV6%%etc/dhcpd6.conf.example
%%IPV6%%@exec if [ ! -f %D/etc/dhcpd6.conf ] ; then cp -p %D/%F %B/dhcpd6.conf; fi
%%IPV6%%etc/rc.d/isc-dhcpd6
sbin/dhcpd