Date: Mon, 25 Aug 2014 08:58:15 +0000 (UTC) From: John Marino <marino@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r366045 - in head/sysutils/bsdadminscripts: . files Message-ID: <201408250858.s7P8wFqZ062758@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marino Date: Mon Aug 25 08:58:15 2014 New Revision: 366045 URL: http://svnweb.freebsd.org/changeset/ports/366045 QAT: https://qat.redports.org/buildarchive/r366045/ Log: Stage sysutils/bsdadminscripts and assign maintainership to submitter PR: 192979 Submitted by: Carlos JPM Modified: head/sysutils/bsdadminscripts/Makefile head/sysutils/bsdadminscripts/files/patch-pkg_libchk head/sysutils/bsdadminscripts/pkg-plist Modified: head/sysutils/bsdadminscripts/Makefile ============================================================================== --- head/sysutils/bsdadminscripts/Makefile Mon Aug 25 08:40:33 2014 (r366044) +++ head/sysutils/bsdadminscripts/Makefile Mon Aug 25 08:58:15 2014 (r366045) @@ -3,50 +3,56 @@ PORTNAME= bsdadminscripts PORTVERSION= 6.1.1 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= sysutils ports-mgmt MASTER_SITES= SF/${PORTNAME}/${PORTNAME} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= cpm@fbsd.es COMMENT= Collection of administration scripts -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src -NO_BUILD= yes -MANCOMPRESSED= yes +LICENSE= BSD2CLAUSE -NO_STAGE= yes +NO_BUILD= yes +PORTDOCS= ABOUT CHANGES INSTALL NOTES THANKS OPTIONS_DEFINE= DOCS .include <bsd.port.options.mk> -.if ${PORT_OPTIONS:MDOCS} -MAN1= bsdadminscripts.1 \ - buildflags.mk.1 buildflags.conf.1 buildflags.awk.1 \ - distviper.1 \ - pkg_libchk.1 \ - pkg_upgrade.1 \ - pkg_validate.1 \ - portconfig.1 \ - rcstart.1 \ - uma.1 - -RC_SCRIPTS= stop restart status onestart onestop onerestart onestatus -PORT_SCRIPTS= build clean fetch package \ - config-recursive fetch-recursive -MLINKS+= ${RC_SCRIPTS:S,^,rc,:S,$,.1,:S,^,rcstart.1 ,} \ - ${PORT_SCRIPTS:S,^,port,:S,$,.1,:S,^,portconfig.1 ,} -.else +.if ! ${PORT_OPTIONS:MDOCS} EVALDOCS= -nodoc .endif -plist: patch - @cd ${WRKSRC}; ./plist.sh -nodoc > ${PLIST} - @${ECHO} "@dirrm ${DATADIR_REL}" >> ${PLIST} - do-install: - @cd ${WRKSRC}; ./install.sh \ - -prefix=${PREFIX} -ports=${PORTSDIR} -distdir=${DISTDIR} \ - -datadir=${DATADIR} ${EVALDOCS} + cd ${WRKSRC}/src && ${SH} install.sh \ + -prefix=${STAGEDIR}${PREFIX} \ + -ports=${STAGEDIR}${PORTSDIR} \ + -distdir=${STAGEDIR}${DISTDIR} \ + -datadir=${STAGEDIR}${DATADIR} \ + ${EVALDOCS} +.for n in pkg_libchk pkg_upgrade uma + ${INSTALL_DATA} ${WRKSRC}/src/${n} ${STAGEDIR}${PREFIX}/sbin +.endfor + ${INSTALL_DATA} ${WRKSRC}/src/buildflags.mk ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/src/buildflags.conf.sample \ + ${STAGEDIR}${PREFIX}/etc + ${INSTALL_DATA} ${WRKSRC}/src/uma.conf.sample ${STAGEDIR}${PREFIX}/etc +.for f in bsdadminscripts buildflags.awk buildflags.conf buildflags.mk \ + distviper pkg_libchk pkg_upgrade pkg_validate portconfig rcstart uma + ${INSTALL_MAN} ${WRKSRC}/src/${f}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 +.endfor + +post-install: + ${MKDIR} ${STAGEDIR}${ETCDIR} + ${MV} ${STAGEDIR}${PREFIX}/etc/*.sample ${STAGEDIR}${ETCDIR} + ${RM} -rf ${STAGEDIR}${PREFIX}/etc/*.sample +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} +.endif + +plist: + cd ${WRKSRC}/src && ${SH} plist.sh > ${PLIST} + ${ECHO} "@dirrm ${DATADIR_REL}" >> ${PLIST} .include <bsd.port.mk> Modified: head/sysutils/bsdadminscripts/files/patch-pkg_libchk ============================================================================== --- head/sysutils/bsdadminscripts/files/patch-pkg_libchk Mon Aug 25 08:40:33 2014 (r366044) +++ head/sysutils/bsdadminscripts/files/patch-pkg_libchk Mon Aug 25 08:58:15 2014 (r366045) @@ -1,5 +1,5 @@ ---- pkg_libchk.orig 2009-04-19 17:57:16.000000000 +0200 -+++ pkg_libchk 2013-06-26 22:01:57.000000000 +0200 +--- src/pkg_libchk.orig 2009-04-19 17:57:16.000000000 +0200 ++++ src/pkg_libchk 2013-06-26 22:01:57.000000000 +0200 @@ -23,6 +23,8 @@ readonly name=pkg_libchk Modified: head/sysutils/bsdadminscripts/pkg-plist ============================================================================== --- head/sysutils/bsdadminscripts/pkg-plist Mon Aug 25 08:40:33 2014 (r366044) +++ head/sysutils/bsdadminscripts/pkg-plist Mon Aug 25 08:58:15 2014 (r366045) @@ -1,6 +1,3 @@ -%%DATADIR%%/buildflags.awk -etc/buildflags.conf.sample -%%DATADIR%%/buildflags.mk sbin/distviper sbin/pkg_libchk sbin/pkg_upgrade @@ -8,7 +5,6 @@ sbin/pkg_validate sbin/portconfig sbin/rcstart sbin/uma -etc/uma.conf.sample sbin/rcstatus sbin/rcstop sbin/rcrestart @@ -22,4 +18,20 @@ sbin/portfetch sbin/portpackage sbin/portconfig-recursive sbin/portfetch-recursive +man/man1/bsdadminscripts.1.gz +man/man1/buildflags.awk.1.gz +man/man1/buildflags.conf.1.gz +man/man1/buildflags.mk.1.gz +man/man1/distviper.1.gz +man/man1/pkg_libchk.1.gz +man/man1/pkg_upgrade.1.gz +man/man1/pkg_validate.1.gz +man/man1/portconfig.1.gz +man/man1/rcstart.1.gz +man/man1/uma.1.gz +%%ETCDIR%%/buildflags.conf.sample +%%ETCDIR%%/uma.conf.sample +%%DATADIR%%/buildflags.awk +%%DATADIR%%/buildflags.mk @dirrm share/bsdadminscripts +@dirrmtry %%ETCDIR%%
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408250858.s7P8wFqZ062758>