diff options
author | wxs <wxs@FreeBSD.org> | 2012-06-21 00:58:12 +0800 |
---|---|---|
committer | wxs <wxs@FreeBSD.org> | 2012-06-21 00:58:12 +0800 |
commit | 026e4e154cf9d1c2eb467be522c11aca60f85d15 (patch) | |
tree | 9406e116bec7a5dfcb084ad217830fb7558058eb /sysutils | |
parent | 018b3aaa76ca81f9c6ed898cb774f5ef93657402 (diff) | |
download | freebsd-ports-gnome-026e4e154cf9d1c2eb467be522c11aca60f85d15.tar.gz freebsd-ports-gnome-026e4e154cf9d1c2eb467be522c11aca60f85d15.tar.zst freebsd-ports-gnome-026e4e154cf9d1c2eb467be522c11aca60f85d15.zip |
bsdconfig is a robust utility for configuring/managing various aspects of the
FreeBSD Operating System. Feature-highlights include (but are not limited to):
- Modular, stable, efficient and i18n-compatible.
- Easily maintained/extendable sh(1) source/syntax.
- Works with both dialog(1) in base and Xdialog(1) from ports (x11/xdialog).
- rc.conf(5) configuration/management based on sysutils/sysrc
- Timezone configuration based on sysutils/tzdialog
- Networking management based on sysutils/host-setup
WWW: http://druidbsd.sourceforge.net/
PR: ports/169257
Submitted by: dteske@
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/bsdconfig/Makefile | 227 | ||||
-rw-r--r-- | sysutils/bsdconfig/distinfo | 4 | ||||
-rw-r--r-- | sysutils/bsdconfig/pkg-descr | 10 |
4 files changed, 242 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index 6d01d1dac806..280972916fb1 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -79,6 +79,7 @@ SUBDIR += brasero SUBDIR += bsd-splash-changer SUBDIR += bsdadminscripts + SUBDIR += bsdconfig SUBDIR += bsdcrashtar SUBDIR += bsdhwmon SUBDIR += bsdmoted diff --git a/sysutils/bsdconfig/Makefile b/sysutils/bsdconfig/Makefile new file mode 100644 index 000000000000..82ab6cc536fe --- /dev/null +++ b/sysutils/bsdconfig/Makefile @@ -0,0 +1,227 @@ +# New ports collection makefile for: bsdconfig +# Date created: 19 June 2012 +# Whom: Devin Teske <dteske@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= bsdconfig +PORTVERSION= 0.7.0 +CATEGORIES= sysutils +MASTER_SITES= http://druidbsd.sourceforge.net/download/bsdconfig/ +DISTNAME= ${PORTNAME}.120619 +EXTRACT_SUFX= .txz + +PATCH_SITES= ${MASTER_SITES} +PATCHFILES= ${DISTNAME}-${PORTVERSION}.diff.gz + +MAINTAINER= dteske@FreeBSD.org +COMMENT= Utility to configure various aspects of FreeBSD + +LICENSE= BSD + +NO_WRKSUBDIR= yes + +BSDCFG_LIBE= libexec/${PORTNAME} + +# Default man(1) section path-prefix +MANDIR?= ${MANPREFIX}/man/man +MAN8= ${PORTNAME}.8 +MANCOMPRESSED= yes + +PLIST_FILES= \ + sbin/${PORTNAME} \ + share/examples/${PORTNAME}/bsdconfigrc \ + ${BSDCFG_LIBE}/020.docsinstall/INDEX \ + ${BSDCFG_LIBE}/020.docsinstall/INDEX.EN_US.ISO8859-1 \ + ${BSDCFG_LIBE}/020.docsinstall/USAGE \ + ${BSDCFG_LIBE}/020.docsinstall/USAGE.EN_US.ISO8859-1 \ + ${BSDCFG_LIBE}/020.docsinstall/docsinstall \ + ${BSDCFG_LIBE}/020.docsinstall/include/messages.subr \ + ${BSDCFG_LIBE}/020.docsinstall/include/messages.subr.EN_US.ISO8859-1 \ + ${BSDCFG_LIBE}/040.password/INDEX \ + ${BSDCFG_LIBE}/040.password/INDEX.EN_US.ISO8859-1 \ + ${BSDCFG_LIBE}/040.password/USAGE \ + ${BSDCFG_LIBE}/040.password/USAGE.EN_US.ISO8859-1 \ + ${BSDCFG_LIBE}/040.password/include/messages.subr \ + ${BSDCFG_LIBE}/040.password/include/messages.subr.EN_US.ISO8859-1 \ + ${BSDCFG_LIBE}/040.password/include/password.subr \ + ${BSDCFG_LIBE}/040.password/password \ + ${BSDCFG_LIBE}/050.diskmgmt/INDEX \ + ${BSDCFG_LIBE}/050.diskmgmt/INDEX.EN_US.ISO8859-1 \ + ${BSDCFG_LIBE}/050.diskmgmt/USAGE \ + ${BSDCFG_LIBE}/050.diskmgmt/USAGE.EN_US.ISO8859-1 \ + ${BSDCFG_LIBE}/050.diskmgmt/diskmgmt \ + ${BSDCFG_LIBE}/050.diskmgmt/include/messages.subr \ + ${BSDCFG_LIBE}/050.diskmgmt/include/messages.subr.EN_US.ISO8859-1 \ + ${BSDCFG_LIBE}/070.usermgmt/INDEX \ + ${BSDCFG_LIBE}/070.usermgmt/INDEX.EN_US.ISO8859-1 \ + ${BSDCFG_LIBE}/070.usermgmt/USAGE \ + ${BSDCFG_LIBE}/070.usermgmt/USAGE.EN_US.ISO8859-1 \ + ${BSDCFG_LIBE}/070.usermgmt/groupadd \ + ${BSDCFG_LIBE}/070.usermgmt/groupdel \ + ${BSDCFG_LIBE}/070.usermgmt/groupedit \ + ${BSDCFG_LIBE}/070.usermgmt/groupinput \ + ${BSDCFG_LIBE}/070.usermgmt/include/group_input.subr \ + ${BSDCFG_LIBE}/070.usermgmt/include/messages.subr \ + ${BSDCFG_LIBE}/070.usermgmt/include/messages.subr.EN_US.ISO8859-1 \ + ${BSDCFG_LIBE}/070.usermgmt/include/user_input.subr \ + ${BSDCFG_LIBE}/070.usermgmt/useradd \ + ${BSDCFG_LIBE}/070.usermgmt/userdel \ + ${BSDCFG_LIBE}/070.usermgmt/useredit \ + ${BSDCFG_LIBE}/070.usermgmt/userinput \ + ${BSDCFG_LIBE}/070.usermgmt/usermgmt \ + ${BSDCFG_LIBE}/080.console/INDEX \ + ${BSDCFG_LIBE}/080.console/INDEX.EN_US.ISO8859-1 \ + ${BSDCFG_LIBE}/080.console/USAGE \ + ${BSDCFG_LIBE}/080.console/USAGE.EN_US.ISO8859-1 \ + ${BSDCFG_LIBE}/080.console/console \ + ${BSDCFG_LIBE}/080.console/font \ + ${BSDCFG_LIBE}/080.console/include/messages.subr \ + ${BSDCFG_LIBE}/080.console/include/messages.subr.EN_US.ISO8859-1 \ + ${BSDCFG_LIBE}/080.console/keymap \ + ${BSDCFG_LIBE}/080.console/repeat \ + ${BSDCFG_LIBE}/080.console/saver \ + ${BSDCFG_LIBE}/080.console/screenmap \ + ${BSDCFG_LIBE}/080.console/ttys \ + ${BSDCFG_LIBE}/090.timezone/INDEX \ + ${BSDCFG_LIBE}/090.timezone/INDEX.EN_US.ISO8859-1 \ + ${BSDCFG_LIBE}/090.timezone/USAGE \ + ${BSDCFG_LIBE}/090.timezone/USAGE.EN_US.ISO8859-1 \ + ${BSDCFG_LIBE}/090.timezone/include/continents.subr \ + ${BSDCFG_LIBE}/090.timezone/include/countries.subr \ + ${BSDCFG_LIBE}/090.timezone/include/iso3166.subr \ + ${BSDCFG_LIBE}/090.timezone/include/menus.subr \ + ${BSDCFG_LIBE}/090.timezone/include/messages.subr \ + ${BSDCFG_LIBE}/090.timezone/include/messages.subr.EN_US.ISO8859-1 \ + ${BSDCFG_LIBE}/090.timezone/include/zones.subr \ + ${BSDCFG_LIBE}/090.timezone/timezone \ + ${BSDCFG_LIBE}/110.mouse/INDEX \ + ${BSDCFG_LIBE}/110.mouse/INDEX.EN_US.ISO8859-1 \ + ${BSDCFG_LIBE}/110.mouse/USAGE \ + ${BSDCFG_LIBE}/110.mouse/USAGE.EN_US.ISO8859-1 \ + ${BSDCFG_LIBE}/110.mouse/disable \ + ${BSDCFG_LIBE}/110.mouse/enable \ + ${BSDCFG_LIBE}/110.mouse/flags \ + ${BSDCFG_LIBE}/110.mouse/include/messages.subr \ + ${BSDCFG_LIBE}/110.mouse/include/messages.subr.EN_US.ISO8859-1 \ + ${BSDCFG_LIBE}/110.mouse/mouse \ + ${BSDCFG_LIBE}/110.mouse/port \ + ${BSDCFG_LIBE}/110.mouse/type \ + ${BSDCFG_LIBE}/120.networking/INDEX \ + ${BSDCFG_LIBE}/120.networking/INDEX.EN_US.ISO8859-1 \ + ${BSDCFG_LIBE}/120.networking/USAGE \ + ${BSDCFG_LIBE}/120.networking/USAGE.EN_US.ISO8859-1 \ + ${BSDCFG_LIBE}/120.networking/defaultrouter \ + ${BSDCFG_LIBE}/120.networking/devices \ + ${BSDCFG_LIBE}/120.networking/hostname \ + ${BSDCFG_LIBE}/120.networking/include/common.subr \ + ${BSDCFG_LIBE}/120.networking/include/device.subr \ + ${BSDCFG_LIBE}/120.networking/include/hostname.subr \ + ${BSDCFG_LIBE}/120.networking/include/ipaddr.subr \ + ${BSDCFG_LIBE}/120.networking/include/media.subr \ + ${BSDCFG_LIBE}/120.networking/include/messages.subr \ + ${BSDCFG_LIBE}/120.networking/include/messages.subr.EN_US.ISO8859-1 \ + ${BSDCFG_LIBE}/120.networking/include/netmask.subr \ + ${BSDCFG_LIBE}/120.networking/include/resolv.subr \ + ${BSDCFG_LIBE}/120.networking/include/routing.subr \ + ${BSDCFG_LIBE}/120.networking/nameservers \ + ${BSDCFG_LIBE}/120.networking/networking \ + ${BSDCFG_LIBE}/130.security/INDEX \ + ${BSDCFG_LIBE}/130.security/INDEX.EN_US.ISO8859-1 \ + ${BSDCFG_LIBE}/130.security/USAGE \ + ${BSDCFG_LIBE}/130.security/USAGE.EN_US.ISO8859-1 \ + ${BSDCFG_LIBE}/130.security/include/messages.subr \ + ${BSDCFG_LIBE}/130.security/include/messages.subr.EN_US.ISO8859-1 \ + ${BSDCFG_LIBE}/130.security/kern_securelevel \ + ${BSDCFG_LIBE}/130.security/security \ + ${BSDCFG_LIBE}/140.startup/INDEX \ + ${BSDCFG_LIBE}/140.startup/INDEX.EN_US.ISO8859-1 \ + ${BSDCFG_LIBE}/140.startup/USAGE \ + ${BSDCFG_LIBE}/140.startup/USAGE.EN_US.ISO8859-1 \ + ${BSDCFG_LIBE}/140.startup/include/messages.subr \ + ${BSDCFG_LIBE}/140.startup/include/messages.subr.EN_US.ISO8859-1 \ + ${BSDCFG_LIBE}/140.startup/include/rcconf.subr \ + ${BSDCFG_LIBE}/140.startup/include/rcedit.subr \ + ${BSDCFG_LIBE}/140.startup/include/rcvar.subr \ + ${BSDCFG_LIBE}/140.startup/misc \ + ${BSDCFG_LIBE}/140.startup/rcadd \ + ${BSDCFG_LIBE}/140.startup/rcconf \ + ${BSDCFG_LIBE}/140.startup/rcdelete \ + ${BSDCFG_LIBE}/140.startup/rcedit \ + ${BSDCFG_LIBE}/140.startup/rcvar \ + ${BSDCFG_LIBE}/140.startup/startup \ + ${BSDCFG_LIBE}/150.ttys/INDEX \ + ${BSDCFG_LIBE}/150.ttys/INDEX.EN_US.ISO8859-1 \ + ${BSDCFG_LIBE}/150.ttys/USAGE \ + ${BSDCFG_LIBE}/150.ttys/USAGE.EN_US.ISO8859-1 \ + ${BSDCFG_LIBE}/150.ttys/include/messages.subr \ + ${BSDCFG_LIBE}/150.ttys/include/messages.subr.EN_US.ISO8859-1 \ + ${BSDCFG_LIBE}/150.ttys/ttys \ + ${BSDCFG_LIBE}/USAGE \ + ${BSDCFG_LIBE}/USAGE.EN_US.ISO8859-1 \ + ${BSDCFG_LIBE}/dot/INDEX \ + ${BSDCFG_LIBE}/dot/INDEX.EN_US.ISO8859-1 \ + ${BSDCFG_LIBE}/dot/USAGE \ + ${BSDCFG_LIBE}/dot/USAGE.EN_US.ISO8859-1 \ + ${BSDCFG_LIBE}/dot/dot \ + ${BSDCFG_LIBE}/dot/include/messages.subr \ + ${BSDCFG_LIBE}/dot/include/messages.subr.EN_US.ISO8859-1 \ + ${BSDCFG_LIBE}/include/common.subr \ + ${BSDCFG_LIBE}/include/dialog.subr \ + ${BSDCFG_LIBE}/include/messages.subr \ + ${BSDCFG_LIBE}/include/messages.subr.EN_US.ISO8859-1 \ + ${BSDCFG_LIBE}/include/mustberoot.subr \ + ${BSDCFG_LIBE}/include/strings.subr \ + ${BSDCFG_LIBE}/include/sysrc.subr + +PLIST_DIRS= ${BSDCFG_LIBE}/020.docsinstall/include \ + ${BSDCFG_LIBE}/020.docsinstall \ + ${BSDCFG_LIBE}/040.password/include \ + ${BSDCFG_LIBE}/040.password \ + ${BSDCFG_LIBE}/050.diskmgmt/include \ + ${BSDCFG_LIBE}/050.diskmgmt \ + ${BSDCFG_LIBE}/070.usermgmt/include \ + ${BSDCFG_LIBE}/070.usermgmt \ + ${BSDCFG_LIBE}/080.console/include \ + ${BSDCFG_LIBE}/080.console \ + ${BSDCFG_LIBE}/090.timezone/include \ + ${BSDCFG_LIBE}/090.timezone \ + ${BSDCFG_LIBE}/110.mouse/include \ + ${BSDCFG_LIBE}/110.mouse \ + ${BSDCFG_LIBE}/120.networking/include \ + ${BSDCFG_LIBE}/120.networking \ + ${BSDCFG_LIBE}/130.security/include \ + ${BSDCFG_LIBE}/130.security \ + ${BSDCFG_LIBE}/140.startup/include \ + ${BSDCFG_LIBE}/140.startup \ + ${BSDCFG_LIBE}/150.ttys/include \ + ${BSDCFG_LIBE}/150.ttys \ + ${BSDCFG_LIBE}/dot/include \ + ${BSDCFG_LIBE}/dot \ + ${BSDCFG_LIBE}/include \ + ${BSDCFG_LIBE} \ + share/examples/bsdconfig + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 900030 +BROKEN= libdialog 20100428 or newer required. +.endif + +post-patch: + @${GREP} -Ilrs '^BSDCFG_LIBE=' ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} \ + -e 's|^\(BSDCFG_LIBE=\).*|\1"${PREFIX}/libexec/${PORTNAME}"|' + @${REINPLACE_CMD} \ + -e 's|^\(BSDCONFIG=\).*|\1${PREFIX}/sbin/${PORTNAME}|' \ + ${WRKSRC}/dot/dot + +do-install: + @( cd ${WRKSRC} && make \ + LIBEXECDIR="${PREFIX}/libexec" \ + MANDIR="${MANDIR}" \ + SBINDIR="${PREFIX}/sbin" \ + SHAREDIR="${PREFIX}/share" \ + install ) + +.include <bsd.port.post.mk> diff --git a/sysutils/bsdconfig/distinfo b/sysutils/bsdconfig/distinfo new file mode 100644 index 000000000000..022360e05a12 --- /dev/null +++ b/sysutils/bsdconfig/distinfo @@ -0,0 +1,4 @@ +SHA256 (bsdconfig.120619.txz) = 4f44b88d81528f07c8765fe2723d1cc4547aec88347c36a92ecd569a51e7a531 +SIZE (bsdconfig.120619.txz) = 87984 +SHA256 (bsdconfig.120619-0.7.0.diff.gz) = 9291ef7094069d7c34ff7647fbd05004f17dec4405f9e6e5acff024a2840245f +SIZE (bsdconfig.120619-0.7.0.diff.gz) = 451 diff --git a/sysutils/bsdconfig/pkg-descr b/sysutils/bsdconfig/pkg-descr new file mode 100644 index 000000000000..c7a9014f9259 --- /dev/null +++ b/sysutils/bsdconfig/pkg-descr @@ -0,0 +1,10 @@ +bsdconfig is a robust utility for configuring/managing various aspects of the +FreeBSD Operating System. Feature-highlights include (but are not limited to): + - Modular, stable, efficient and i18n-compatible. + - Easily maintained/extendable sh(1) source/syntax. + - Works with both dialog(1) in base and Xdialog(1) from ports (x11/xdialog). + - rc.conf(5) configuration/management based on sysutils/sysrc + - Timezone configuration based on sysutils/tzdialog + - Networking management based on sysutils/host-setup + +WWW: http://druidbsd.sourceforge.net/ |