From a463d43332170cad0b9c9b538eee072adf7ebb50 Mon Sep 17 00:00:00 2001 From: sat Date: Tue, 16 May 2006 09:16:11 +0000 Subject: Add bsdadminscripts: A small collection of administration scripts PR: ports/97293 (based on) Submitted by: Dominic Fandrey Approved by: krion (mentor) --- sysutils/Makefile | 1 + sysutils/bsdadminscripts/Makefile | 47 ++++++++++++++++++++++++++++++++++++++ sysutils/bsdadminscripts/distinfo | 4 ++++ sysutils/bsdadminscripts/pkg-descr | 8 +++++++ 4 files changed, 60 insertions(+) create mode 100644 sysutils/bsdadminscripts/Makefile create mode 100644 sysutils/bsdadminscripts/distinfo create mode 100644 sysutils/bsdadminscripts/pkg-descr (limited to 'sysutils') diff --git a/sysutils/Makefile b/sysutils/Makefile index cf7a92f516d0..cba3122a4f68 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -49,6 +49,7 @@ SUBDIR += blimitd SUBDIR += boxbackup SUBDIR += bpm + SUBDIR += bsdadminscripts SUBDIR += bsdsar SUBDIR += bubblemon-dockapp SUBDIR += bubblemon2 diff --git a/sysutils/bsdadminscripts/Makefile b/sysutils/bsdadminscripts/Makefile new file mode 100644 index 000000000000..3d478b9150e7 --- /dev/null +++ b/sysutils/bsdadminscripts/Makefile @@ -0,0 +1,47 @@ +# New ports collection makefile for: bsdadminscripts +# Date created: 15 May 2006 +# Whom: Dominic Fandrey +# +# $FreeBSD$ +# + +PORTNAME= bsdadminscripts +PORTVERSION= 1.0 +CATEGORIES= sysutils +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= lon_kamikaze@gmx.de +COMMENT= A small collection of administration scripts + +NO_BUILD= yes + +RC_SCRIPTS= start stop restart status onestart onestop onerestart onestatus +PORT_SCRIPTS= config build clean fetch package + +.if !defined(WITHOUT_RCSTART) +PLIST_FILES+= ${RC_SCRIPTS:S,^,sbin/rc,} +.endif + +.if !defined(WITHOUT_PORTCONFIG) +RUN_DEPENDS= portupgrade:${PORTSDIR}/sysutils/portupgrade +PLIST_FILES+= ${PORT_SCRIPTS:S,^,sbin/port,} +.endif + +do-install: +.if !defined(WITHOUT_RCSTART) + @${ECHO_MSG} "===> Installing rcstart." + @${INSTALL} ${WRKSRC}/rcstart ${PREFIX}/sbin/ +.for _link in ${RC_SCRIPTS:Nstart} + @${LN} ${PREFIX}/sbin/rcstart ${PREFIX}/sbin/rc${_link} +.endfor +.endif +.if !defined(WITHOUT_PORTCONFIG) + @${ECHO_MSG} "===> Installing portconfig." + @${INSTALL} ${WRKSRC}/portconfig ${PREFIX}/sbin/ +.for _link in ${PORT_SCRIPTS:Nconfig} + @${LN} ${PREFIX}/sbin/portconfig ${PREFIX}/sbin/port${_link} +.endfor +.endif + +.include diff --git a/sysutils/bsdadminscripts/distinfo b/sysutils/bsdadminscripts/distinfo new file mode 100644 index 000000000000..985d699594d3 --- /dev/null +++ b/sysutils/bsdadminscripts/distinfo @@ -0,0 +1,4 @@ +MD5 (bsdadminscripts-1.0.tar.gz) = 120954c5470373cf5bfdac029dbd9c64 +SHA256 (bsdadminscripts-1.0.tar.gz) = +c66d3003e17c2db8bd713c16999bb1b3676c9fcb76376fae989df345dea0aa08 +SIZE (bsdadminscripts-1.0.tar.gz) = 4248 diff --git a/sysutils/bsdadminscripts/pkg-descr b/sysutils/bsdadminscripts/pkg-descr new file mode 100644 index 000000000000..ff63b5e2ada7 --- /dev/null +++ b/sysutils/bsdadminscripts/pkg-descr @@ -0,0 +1,8 @@ +This is a collection of administration scripts. At the moment it +consists of a script to control rc.d scripts at runtime and a +script that adds functionality to portupgrade. + +WWW: http://sourceforge.net/projects/bsdadminscripts/ + +- Kamikaze +lon_kamikaze@gmx.de -- cgit