Date: Sun, 17 Jun 2007 12:26:46 GMT From: Dominic Fandrey <lon_kamikaze@gmx.de> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/113795: [ports][maintainer-update][sysutils/bsdadminscripts] update to version 3.0 Message-ID: <200706171226.l5HCQkU7091690@www.freebsd.org> Resent-Message-ID: <200706171230.l5HCU3Rn088950@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 113795 >Category: ports >Synopsis: [ports][maintainer-update][sysutils/bsdadminscripts] update to version 3.0 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun Jun 17 12:30:03 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Dominic Fandrey >Release: Releng_6 >Organization: private >Environment: FreeBSD homeKamikaze.norad 6.2-STABLE FreeBSD 6.2-STABLE #0: Sat Jun 16 09:39:25 CEST 2007 root@homeKamikaze.norad:/usr/obj/VECTRA-6/i386/usr/src/sys/VECTRA-6 i386 >Description: Updates the port to the latest version and now makes use of the options framework. >How-To-Repeat: >Fix: diff -Pur sysutils/bsdadminscripts.orig/Makefile sysutils/bsdadminscripts/Makefile --- sysutils/bsdadminscripts.orig/Makefile Sun Jun 17 13:19:05 2007 +++ sysutils/bsdadminscripts/Makefile Sun Jun 17 14:00:55 2007 @@ -6,14 +6,20 @@ # PORTNAME= bsdadminscripts -PORTVERSION= 2.1.4 -CATEGORIES= sysutils +PORTVERSION= 3.0 +CATEGORIES= sysutils ports-mgmt MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= lon_kamikaze@gmx.de COMMENT= A small collection of administration scripts +OPTIONS+= RCSTART "Use rc scripts based on PROVIDE" On +OPTIONS+= PORTCONFIG "Depends on portupgrade" On +OPTIONS+= BUILDFLAGS "Build configuration system" On +OPTIONS+= PKG_VALIDATE "Check for broken and missing files" On + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src NO_BUILD= yes MANCOMPRESSED= no @@ -22,7 +28,9 @@ RC_SCRIPTS= start stop restart status onestart onestop onerestart onestatus PORT_SCRIPTS= config build clean fetch package \ config-recursive fetch-recursive -BUILDFLAGS_FILES= buildflags.mk buildflags.awk buildflags.conf +BUILDFLAGS_SCRIPTS= buildflags.awk +BUILDFLAGS_FILES= buildflags.mk +BUILDFLAGS_ETC= buildflags.conf.sample .if !defined(WITHOUT_RCSTART) PLIST_FILES+= ${RC_SCRIPTS:S,^,sbin/rc,} @@ -37,10 +45,19 @@ .if !defined(WITHOUT_BUILDFLAGS) PLIST_FILES+= ${BUILDFLAGS_FILES:S,^,share/$(PORTNAME)/,} +PLIST_FILES+= ${BUILDFLAGS_SCRIPTS:S,^,share/$(PORTNAME)/,} +ETC_FILES+= ${BUILDFLAGS_ETC} PLIST_DIRS+= share/${PORTNAME} MAN1+= buildflags.mk.1 buildflags.conf.1 buildflags.awk.1 .endif +.if !defined(WITHOUT_PKG_VALIDATE) +PLIST_FILES+= sbin/pkg_validate +MAN1+= pkg_validate.1 +.endif + +PLIST_FILES+= ${ETC_FILES:S,^,etc/,} + do-install: .if !defined(WITHOUT_RCSTART) @${ECHO_MSG} "===> Installing rcstart." @@ -60,12 +77,28 @@ @${ECHO_MSG} "===> Installing buildflags." @${MKDIR} ${PREFIX}/share/${PORTNAME} .for _file in ${BUILDFLAGS_FILES} + @${INSTALL} -m 0644 ${WRKSRC}/${_file} ${PREFIX}/share/${PORTNAME}/ +.endfor +.for _file in ${BUILDFLAGS_SCRIPTS} @${INSTALL} ${WRKSRC}/${_file} ${PREFIX}/share/${PORTNAME}/ .endfor .endif +.if !defined(WITHOUT_PKG_VALIDATE) + @${ECHO_MSG} "===> Installing pkg_validate." + @${INSTALL} ${WRKSRC}/pkg_validate ${PREFIX}/sbin/ +.endif +.if defined(ETC_FILES) + @${ECHO_MSG} "===> Installing configuration samples." +.for _conf in ${ETC_FILES} + @${INSTALL} -m 0644 ${WRKSRC}/${_conf} ${PREFIX}/etc +.endfor +.endif @${ECHO_MSG} "===> Installing man pages." .for _manpage in ${MAN1} - @${INSTALL} ${WRKSRC}/${_manpage} ${PREFIX}/man/man1/ + @${INSTALL} -m 0644 ${WRKSRC}/${_manpage} ${PREFIX}/man/man1/ +.endfor +.for _manpage in ${MAN1} + @${INSTALL} -m 0644 ${WRKSRC}/${_manpage} ${PREFIX}/man/man1/ .endfor message: diff -Pur sysutils/bsdadminscripts.orig/distinfo sysutils/bsdadminscripts/distinfo --- sysutils/bsdadminscripts.orig/distinfo Sun Jun 17 13:19:05 2007 +++ sysutils/bsdadminscripts/distinfo Sun Jun 17 13:54:38 2007 @@ -1,3 +1,3 @@ -MD5 (bsdadminscripts-2.1.4.tar.gz) = 49256f9c92a156be1d93dcf386d90c2b -SHA256 (bsdadminscripts-2.1.4.tar.gz) = a3af9606ab93b3a63c1807e03ab81101cb9d1e749a9e5a406701241bb6c7ca9a -SIZE (bsdadminscripts-2.1.4.tar.gz) = 12725 +MD5 (bsdadminscripts-3.0.tar.gz) = 894dd8bcd3a6012cfec877fd11afac67 +SHA256 (bsdadminscripts-3.0.tar.gz) = c06c41a6b41b85b4daee0031f201920a5ff00b4ed48e020c0cda7388071a3ee1 +SIZE (bsdadminscripts-3.0.tar.gz) = 15705 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706171226.l5HCQkU7091690>