diff options
author | obrien <obrien@FreeBSD.org> | 2000-02-13 03:25:05 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2000-02-13 03:25:05 +0000 |
commit | ef42441ef62482246c769467dc9f2a1e0ccb7374 (patch) | |
tree | bed5fbcc8b3a54905961aaa2dc0867d8db97db42 /net-mgmt | |
parent | 627c8bdcfee5c9eccee48f792e6e21e5ee852be1 (diff) | |
download | FreeBSD-ports-ef42441ef62482246c769467dc9f2a1e0ccb7374.zip FreeBSD-ports-ef42441ef62482246c769467dc9f2a1e0ccb7374.tar.gz |
Style nits in the ports I maintain.
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/clog/Makefile | 4 | ||||
-rw-r--r-- | net-mgmt/wide-dhcp/Makefile | 79 |
2 files changed, 44 insertions, 39 deletions
diff --git a/net-mgmt/clog/Makefile b/net-mgmt/clog/Makefile index 5f065f9..649205f 100644 --- a/net-mgmt/clog/Makefile +++ b/net-mgmt/clog/Makefile @@ -1,6 +1,6 @@ # ex:ts=8 # Ports collection makefile for: clog -# Version required: 1.6 +# Version required: 1.6 # Date created: Tue Nov 04, 1997 # Whom: David O'Brien (obrien@NUXI.com) # @@ -15,7 +15,7 @@ MASTER_SITES= ftp://ftp.saturn.net/pub/users/brian/clog/ \ ftp://ftp.ox.ac.uk/pub/comp/security/COAST/mirrors/ftp.saturn.net/clog/ \ ftp://ftp.rediris.es/mirror/coast/tools/unix/clog/ -MAINTAINER= obrien@FreeBSD.org +MAINTAINER= obrien@FreeBSD.org WRKSRC= ${WRKDIR}/clog ALL_TARGET= freebsd diff --git a/net-mgmt/wide-dhcp/Makefile b/net-mgmt/wide-dhcp/Makefile index 4a34872..e80fc26 100644 --- a/net-mgmt/wide-dhcp/Makefile +++ b/net-mgmt/wide-dhcp/Makefile @@ -1,7 +1,8 @@ -# New ports collection makefile for: dhcp -# Version required: 1.4.0p1 -# Date created: 21 November 1995 -# Whom: Yoshiro MIHIRA <sanpei@yy.cs.keio.ac.jp> +# ex:ts=8 +# Ports collection makefile for: dhcp +# Version required: 1.4.0p1 +# Date created: 21 November 1995 +# Whom: Yoshiro MIHIRA <sanpei@yy.cs.keio.ac.jp> # # $FreeBSD$ # @@ -14,7 +15,7 @@ MASTER_SITES= ftp://sh.wide.ad.jp/WIDE/free-ware/dhcp/ \ ftp://ftp.st.ryukoku.ac.jp/pub/network/dhcp/wide/ \ ftp://ftp.sage-au.org.au/pub/network/boot/wide-dhcp/ -MAINTAINER= obrien@FreeBSD.org +MAINTAINER= obrien@FreeBSD.org MAKE_ENV= OSTYPE=${OPSYS} @@ -33,42 +34,46 @@ post-install: fi @${CP} ${WRKSRC}/README ${PREFIX}/share/doc/dhcp/ @${CP} ${WRKSRC}/README.jis ${PREFIX}/share/doc/dhcp/ - @${CP} ${WRKSRC}/db_sample/dhcpdb.pool ${PREFIX}/share/examples/dhcp/dhcpdb.pool.sample - @${CP} ${WRKSRC}/db_sample/dhcpdb.relay ${PREFIX}/share/examples/dhcp/dhcpdb.relay.sample - @${CP} ${WRKSRC}/db_sample/dhcpdb.server ${PREFIX}/share/examples/dhcp/dhcpdb.server.sample + @${CP} ${WRKSRC}/db_sample/dhcpdb.pool \ + ${PREFIX}/share/examples/dhcp/dhcpdb.pool.sample + @${CP} ${WRKSRC}/db_sample/dhcpdb.relay \ + ${PREFIX}/share/examples/dhcp/dhcpdb.relay.sample + @${CP} ${WRKSRC}/db_sample/dhcpdb.server \ + ${PREFIX}/share/examples/dhcp/dhcpdb.server.sample @${CP} ${WRKSRC}/db_sample/intro.dhcp ${PREFIX}/share/doc/dhcp/ - @${CP} ${WRKSRC}/db_sample/intro.dhcp.jis ${PREFIX}/share/doc/dhcp/ + @${CP} ${WRKSRC}/db_sample/intro.dhcp.jis \ + ${PREFIX}/share/doc/dhcp/ .endif - @if [ ! -f ${STARTUP_SCRIPT} ]; then \ - ${ECHO} "Installing ${STARTUP_SCRIPT} startup file."; \ - ${ECHO} '#!/bin/sh' > ${STARTUP_SCRIPT}; \ - ${ECHO} 'DB_POOL=/etc/dhcpdb.pool' >> ${STARTUP_SCRIPT}; \ - ${ECHO} 'DB_RELAY=/etc/dhcpdb.relay' >> ${STARTUP_SCRIPT}; \ - ${ECHO} 'DB_BIND=/var/db/dhcpdb.bind' >> ${STARTUP_SCRIPT};\ - ${ECHO} 'if [ -f $${DB_POOL} -a -f $${DB_RELAY} \'\ - >> ${STARTUP_SCRIPT}; \ - ${ECHO} ' -a -x ${PREFIX}/sbin/dhcps ]; then' \ - >> ${STARTUP_SCRIPT}; \ - ${ECHO} ' if [ -f $${DB_BIND} ]; then' >> ${STARTUP_SCRIPT};\ - ${ECHO} ' find $${DB_POOL} -newer $${DB_BIND} -exec ${RM} $${DB_BIND} \;'\ - >> ${STARTUP_SCRIPT}; \ - ${ECHO} ' fi' >> ${STARTUP_SCRIPT}; \ - ${ECHO} " ${PREFIX}/sbin/dhcps [Interface Name]" \ - >> ${STARTUP_SCRIPT}; \ - ${ECHO} " ${ECHO} -n ' dhcps'" \ - >> ${STARTUP_SCRIPT}; \ - ${ECHO} 'fi' >> ${STARTUP_SCRIPT}; \ - ${CHMOD} 755 ${STARTUP_SCRIPT}; \ - ${CHOWN} bin.bin ${STARTUP_SCRIPT}; \ + @if [ ! -f ${STARTUP_SCRIPT} ]; then \ + ${ECHO} "Installing ${STARTUP_SCRIPT} startup file."; \ + ${ECHO} '#!/bin/sh' > ${STARTUP_SCRIPT}; \ + ${ECHO} 'DB_POOL=/etc/dhcpdb.pool' >> ${STARTUP_SCRIPT}; \ + ${ECHO} 'DB_RELAY=/etc/dhcpdb.relay' >> ${STARTUP_SCRIPT}; \ + ${ECHO} 'DB_BIND=/var/db/dhcpdb.bind' >> ${STARTUP_SCRIPT}; \ + ${ECHO} 'if [ -f $${DB_POOL} -a -f $${DB_RELAY} \' \ + >> ${STARTUP_SCRIPT}; \ + ${ECHO} ' -a -x ${PREFIX}/sbin/dhcps ]; then' \ + >> ${STARTUP_SCRIPT}; \ + ${ECHO} ' if [ -f $${DB_BIND} ]; then' >> ${STARTUP_SCRIPT}; \ + ${ECHO} ' find $${DB_POOL} -newer $${DB_BIND} -exec ${RM} $${DB_BIND} \;' \ + >> ${STARTUP_SCRIPT}; \ + ${ECHO} ' fi' >> ${STARTUP_SCRIPT}; \ + ${ECHO} " ${PREFIX}/sbin/dhcps [Interface Name]" \ + >> ${STARTUP_SCRIPT}; \ + ${ECHO} " ${ECHO} -n ' dhcps'" \ + >> ${STARTUP_SCRIPT}; \ + ${ECHO} 'fi' >> ${STARTUP_SCRIPT}; \ + ${CHMOD} 755 ${STARTUP_SCRIPT}; \ + ${CHOWN} bin.bin ${STARTUP_SCRIPT}; \ fi @if [ ! -c /dev/bpf1 ]; then \ - ${ECHO} "**********************************************************";\ - ${ECHO} "* W a r n i n g *";\ - ${ECHO} "* This DHCP program needs Berkeley packet filter (bpf). *";\ - ${ECHO} "* To use DHCP, your kernel must be rebuilt with bpf, and *";\ - ${ECHO} "* make bpf devices on /dev directory. *";\ - ${ECHO} "* Please read some info file with \`pkg_info ${PKGNAME}'. *";\ - ${ECHO} "**********************************************************";\ + ${ECHO} "********************************************************";\ + ${ECHO} "* W a r n i n g *";\ + ${ECHO} "* DHCP the needs Berkeley Packet Filter (bpf). *";\ + ${ECHO} "* To use DHCP, your kernel must be rebuilt with bpf, *";\ + ${ECHO} "* and make bpf devices on /dev directory. *";\ + ${ECHO} "* Please read the info file by \`pkg_info ${PKGNAME}'. *";\ + ${ECHO} "********************************************************";\ fi .include <bsd.port.mk> |