1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

Update to 4.4.2

PR:		ports/122727
Submitted by:	Dominic Fandrey <kamikaze@bsdforen.de>
This commit is contained in:
Edwin Groothuis 2008-05-12 23:21:22 +00:00
parent 614651311e
commit 1acb6e0b2b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=212973
3 changed files with 45 additions and 103 deletions

View File

@ -6,120 +6,41 @@
#
PORTNAME= bsdadminscripts
PORTVERSION= 4.4
PORTVERSION= 4.4.2
CATEGORIES= sysutils ports-mgmt
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= kamikaze@bsdforen.de
COMMENT= A small collection of administration scripts
OPTIONS+= BUILDFLAGS "Build configuration system" On
OPTIONS+= PKG_LIBCHK "Check for links against missing libraries" On
OPTIONS+= PKG_VALIDATE "Check for broken and missing files" On
OPTIONS+= PORTCONFIG "Run common make targets on several ports" On
OPTIONS+= RCSTART "Use rc scripts based on PROVIDE" On
COMMENT= A collection of administration scripts
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
NO_BUILD= yes
MANCOMPRESSED= no
MAN1= bsdadminscripts.1
.if defined(NOPORTDOCS)
NOPORTDOCS= -nodoc
.else
MAN1= bsdadminscripts.1 \
rcstart.1 \
portconfig.1 \
buildflags.mk.1 buildflags.conf.1 buildflags.awk.1 \
pkg_validate.1 \
pkg_libchk.1
RC_SCRIPTS= start stop restart status onestart onestop onerestart onestatus
PORT_SCRIPTS= config build clean fetch package \
RC_SCRIPTS= stop restart status onestart onestop onerestart onestatus
PORT_SCRIPTS= build clean fetch package \
config-recursive fetch-recursive
BUILDFLAGS_SCRIPTS= buildflags.awk
BUILDFLAGS_FILES= buildflags.mk
BUILDFLAGS_ETC= buildflags.conf.sample
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_RCSTART)
PLIST_FILES+= ${RC_SCRIPTS:S,^,sbin/rc,}
MAN1+= rcstart.1
MLINKS+= ${RC_SCRIPTS:Nstart:S,^,rc,:S,$,.1,:S,^,rcstart.1 ,}
MLINKS+= ${RC_SCRIPTS:S,^,rc,:S,$,.1,:S,^,rcstart.1 ,} \
${PORT_SCRIPTS:S,^,port,:S,$,.1,:S,^,portconfig.1 ,}
.endif
.if !defined(WITHOUT_PORTCONFIG)
PLIST_FILES+= ${PORT_SCRIPTS:S,^,sbin/port,}
MAN1+= portconfig.1
MLINKS+= ${PORT_SCRIPTS:Nconfig:S,^,port,:S,$,.1,:S,^,portconfig.1 ,}
.endif
.if !defined(WITHOUT_BUILDFLAGS)
PLIST_FILES+= ${BUILDFLAGS_FILES:S,^,${DATADIR_REL}/,}
PLIST_FILES+= ${BUILDFLAGS_SCRIPTS:S,^,${DATADIR_REL}/,}
ETC_FILES+= ${BUILDFLAGS_ETC}
PLIST_DIRS+= ${DATADIR_REL}
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
.if !defined(WITHOUT_PKG_VALIDATE)
PLIST_FILES+= sbin/pkg_libchk
MAN1+= pkg_libchk.1
.endif
PLIST_FILES+= ${ETC_FILES:S,^,etc/,}
plist: patch
@cd ${WRKSRC}; ./list.sh -nodoc > ${PLIST}
@${ECHO} "@dirrm ${DATADIR_REL}" >> ${PLIST}
do-install:
.if !defined(WITHOUT_RCSTART)
@${ECHO_MSG} "===> Installing rcstart."
@${INSTALL_SCRIPT} ${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_SCRIPT} ${WRKSRC}/portconfig ${PREFIX}/sbin/
.for _link in ${PORT_SCRIPTS:Nconfig}
@${LN} ${PREFIX}/sbin/portconfig ${PREFIX}/sbin/port${_link}
.endfor
.endif
.if !defined(WITHOUT_BUILDFLAGS)
@${ECHO_MSG} "===> Installing buildflags."
@${MKDIR} ${DATADIR}
.for _file in ${BUILDFLAGS_FILES}
@${INSTALL_DATA} ${WRKSRC}/${_file} ${DATADIR}
.endfor
.for _file in ${BUILDFLAGS_SCRIPTS}
@${INSTALL_SCRIPT} ${WRKSRC}/${_file} ${DATADIR}
.endfor
.endif
.if !defined(WITHOUT_PKG_LIBCHK)
@${ECHO_MSG} "===> Installing pkg_libchk."
@${INSTALL_SCRIPT} ${WRKSRC}/pkg_libchk ${PREFIX}/sbin/
.endif
.if !defined(WITHOUT_PKG_VALIDATE)
@${ECHO_MSG} "===> Installing pkg_validate."
@${INSTALL_SCRIPT} ${WRKSRC}/pkg_validate ${PREFIX}/sbin/
.endif
.if defined(ETC_FILES)
@${ECHO_MSG} "===> Installing configuration samples."
.for _conf in ${ETC_FILES}
@${INSTALL_DATA} ${WRKSRC}/${_conf} ${PREFIX}/etc
.endfor
.endif
.if defined(NOPORTDOCS)
.undef MAN1
.undef MLINKS
.else
@${ECHO_MSG} "===> Installing manual pages."
.for _manpage in ${MAN1}
@${INSTALL_MAN} ${WRKSRC}/${_manpage} ${MANPREFIX}/man/man1/
.endfor
.endif
@cd ${WRKSRC}; ./install.sh \
-prefix=${PREFIX} -ports=${PORTSDIR} ${NOPORTDOCS}
message:
@${CAT} ${PKGMESSAGE}
post-install: message
@${DO_NADA}
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
MD5 (bsdadminscripts-4.4.tar.gz) = ed213ef7b39f5792e4e31a8acd38b8f0
SHA256 (bsdadminscripts-4.4.tar.gz) = 0d523d5bee4b9dbbb4f7d8d5bfd5396b5bf9dee99372d3dbcdc789068d03ec67
SIZE (bsdadminscripts-4.4.tar.gz) = 23296
MD5 (bsdadminscripts-4.4.2.tar.gz) = 8905f98f5c54fd557995a8f7ff7665d6
SHA256 (bsdadminscripts-4.4.2.tar.gz) = b75dbfc960b2aae92d403c8078f3c942231e3994a6547fb12fc432a11d4c9a85
SIZE (bsdadminscripts-4.4.2.tar.gz) = 24319

View File

@ -0,0 +1,21 @@
share/bsdadminscripts/buildflags.awk
etc/buildflags.conf.sample
share/bsdadminscripts/buildflags.mk
sbin/pkg_libchk
sbin/pkg_validate
sbin/portconfig
sbin/rcstart
sbin/rcstatus
sbin/rcstop
sbin/rcrestart
sbin/rconestart
sbin/rconestatus
sbin/rconestop
sbin/rconerestart
sbin/portbuild
sbin/portclean
sbin/portfetch
sbin/portpackage
sbin/portconfig-recursive
sbin/portfetch-recursive
@dirrm share/bsdadminscripts