Bug 97293

Summary: New Port: sysutils/bsdadminscripts
Product: Ports & Packages Reporter: Dominic Fandrey <LoN_Kamikaze>
Component: Individual Port(s)Assignee: sat
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.shar none

Description Dominic Fandrey 2006-05-15 10:10:17 UTC
This is a port of http://sf.net/projects/bsdadminscripts , which consists of 2 scripts.
One of the scripts adds functionallity that is missing in portupgrade and the other one offers easy to use controls for rc.d services, without having to remember path- and scriptnames.
The fix section contains the output of shar run from /usr/ports/sysutils.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-05-15 10:12:11 UTC
Class Changed
From-To: sw-bug->change-request

Fix category (new ports should be change-requests)
Comment 2 Dominic Fandrey 2006-05-15 21:27:55 UTC
I have been recommended to get rid of options in this case, because
people might end installing nothing. So here is the updated commit:

----------------------------
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	bsdadminscripts
#	bsdadminscripts/distinfo
#	bsdadminscripts/Makefile
#	bsdadminscripts/pkg-descr
#
echo c - bsdadminscripts
mkdir -p bsdadminscripts > /dev/null 2>&1
echo x - bsdadminscripts/distinfo
sed 's/^X//' >bsdadminscripts/distinfo << 'END-of-bsdadminscripts/distinfo'
XMD5 (bsdadminscripts-1.0.tar.gz) = 120954c5470373cf5bfdac029dbd9c64
XSHA256 (bsdadminscripts-1.0.tar.gz) =
c66d3003e17c2db8bd713c16999bb1b3676c9fcb76376fae989df345dea0aa08
XSIZE (bsdadminscripts-1.0.tar.gz) = 4248
END-of-bsdadminscripts/distinfo
echo x - bsdadminscripts/Makefile
sed 's/^X//' >bsdadminscripts/Makefile << 'END-of-bsdadminscripts/Makefile'
XPORTNAME=		bsdadminscripts
XPORTVERSION=		1.0
XCATEGORIES=		sysutils
XMASTER_SITES=		${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	${PORTNAME}
XMAINTAINER=		lon_kamikaze@gmx.de
XCOMMENT=		A small collection of administration scripts.
X
XNO_BUILD=		yes
X
X.include <bsd.port.pre.mk>
X
X.if !defined(WITHOUT_RCSTART)
XPLIST_FILES+=		sbin/rcstart \
X			sbin/rcstop \
X			sbin/rcrestart \
X			sbin/rcstatus \
X			sbin/rconestart \
X			sbin/rconestop \
X			sbin/rconerestart \
X			sbin/rconestatus
X.endif
X
X.if !defined(WITHOUT_PORTCONFIG)
XRUN_DEPENDS=		portupgrade:${PORTSDIR}/sysutils/portupgrade
XPLIST_FILES+=		sbin/portconfig \
X			sbin/portbuild \
X			sbin/portclean \
X			sbin/portfetch \
X			sbin/portpackage
X.endif
X
Xdo-install:
X.if !defined(WITHOUT_RCSTART)
X	@${ECHO} Installing rcstart.
X	@${INSTALL} ${WRKSRC}/rcstart ${PREFIX}/sbin/
X.for link in stop restart status onestart onestop onerestart onestatus
X	@${LN} ${PREFIX}/sbin/rcstart ${PREFIX}/sbin/rc${link}
X.endfor
X.endif
X.if !defined(WITHOUT_PORTCONFIG)
X	@${ECHO} Installing portconfig.
X	@${INSTALL} ${WRKSRC}/portconfig ${PREFIX}/sbin/
X.for link in build clean fetch package
X	@${LN} ${PREFIX}/sbin/portconfig ${PREFIX}/sbin/port${link}
X.endfor
X.endif
X
X.include <bsd.port.post.mk>
END-of-bsdadminscripts/Makefile
echo x - bsdadminscripts/pkg-descr
sed 's/^X//' >bsdadminscripts/pkg-descr <<
'END-of-bsdadminscripts/pkg-descr'
XThis is a collection of administration scripts, at the moment it
consists of
Xa script to control rc.d scripts on runtime and a script that adds
Xfunctionality to portupgrade.
X
XWWW: http://sf.net/projects/bsdadminscripts
X
X- Kamikaze
Xlon_kamikaze@gmx.de
END-of-bsdadminscripts/pkg-descr
exit
Comment 3 sat freebsd_committer freebsd_triage 2006-05-16 07:09:47 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sat

Take
Comment 4 sat freebsd_committer freebsd_triage 2006-05-16 10:17:29 UTC
State Changed
From-To: open->closed

Committed with corrections, thanks! 

Please read the porters handbook and use portlint(1) next time.