diff options
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/etcutils/DESCR | 19 | ||||
-rw-r--r-- | sysutils/etcutils/Makefile | 33 | ||||
-rw-r--r-- | sysutils/etcutils/PLIST | 14 | ||||
-rw-r--r-- | sysutils/etcutils/distinfo | 5 |
4 files changed, 71 insertions, 0 deletions
diff --git a/sysutils/etcutils/DESCR b/sysutils/etcutils/DESCR new file mode 100644 index 00000000000..d42c3c32c16 --- /dev/null +++ b/sysutils/etcutils/DESCR @@ -0,0 +1,19 @@ +etcutils is a package that provides standalone utilities to manipulate some +of the configuration files in /etc in a programmatic manner. Some of these +files can be seen as databases and, as such, they should have tools to +update them. + +The utilities provided by etcutils are designed to permit their integration +into packaging systems. Once integrated, packages can use these tools to +automatically modify these system-wide configuration files without having +to care about portability issues. Of course, these utilities provide a +command-line interface that resembles that of other standard tools, and +thus their manual usage is also possible. + +The following utilities are provided: + +* services(8): Add, list, remove and check the presence of entries in the + services(5) database. + +* shells(8): Add, list, remove and check the presence of entries in the + shells(5) database. diff --git a/sysutils/etcutils/Makefile b/sysutils/etcutils/Makefile new file mode 100644 index 00000000000..82589427170 --- /dev/null +++ b/sysutils/etcutils/Makefile @@ -0,0 +1,33 @@ +# $NetBSD: Makefile,v 1.1.1.1 2010/05/07 09:13:59 jmmv Exp $ +# + +DISTNAME= etcutils-0.1 +CATEGORIES= sysutils +MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/jmmv/etcutils/0.1/ + +MAINTAINER= jmmv@NetBSD.org +HOMEPAGE= http://www.NetBSD.org/~jmmv/etcutils/ +COMMENT= Utilities to programmatically edit configuration files +LICENSE= 2-clause-bsd + +PKG_DESTDIR_SUPPORT= user-destdir + +GNU_CONFIGURE= yes + +CONFIGURE_ARGS+= --sysconfdir=/etc + +PKG_OPTIONS_VAR= PKG_OPTIONS.etcutils +PKG_SUPPORTED_OPTIONS= tests + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mtests) +CONFIGURE_ARGS+= --with-atf +DEPENDS+= atf-[0-9]*:../../devel/atf +PLIST_SUBST+= TESTS= +.else +CONFIGURE_ARGS+= --without-atf +PLIST_SUBST+= TESTS="@comment" +.endif + +.include "../../mk/bsd.pkg.mk" diff --git a/sysutils/etcutils/PLIST b/sysutils/etcutils/PLIST new file mode 100644 index 00000000000..a7746790535 --- /dev/null +++ b/sysutils/etcutils/PLIST @@ -0,0 +1,14 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2010/05/07 09:13:59 jmmv Exp $ +man/man8/services.8 +man/man8/shells.8 +sbin/services +sbin/shells +share/doc/etcutils/AUTHORS +share/doc/etcutils/COPYING +share/doc/etcutils/NEWS +share/doc/etcutils/README +${TESTS}tests/etcutils/Atffile +${TESTS}tests/etcutils/services_test +${TESTS}tests/etcutils/services.gold +${TESTS}tests/etcutils/shells_test +${TESTS}tests/etcutils/shells.gold diff --git a/sysutils/etcutils/distinfo b/sysutils/etcutils/distinfo new file mode 100644 index 00000000000..067d9aac668 --- /dev/null +++ b/sysutils/etcutils/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2010/05/07 09:13:59 jmmv Exp $ + +SHA1 (etcutils-0.1.tar.gz) = c34742febea68836eea4d4ef3495a660f6a86ee5 +RMD160 (etcutils-0.1.tar.gz) = 71440ea12b091e14b2a5f4ed137c09f7bc4e663a +Size (etcutils-0.1.tar.gz) = 59625 bytes |