ports/169257: [NEW PORT] sysutils/bsdconfig: Utility to configure various aspects of FreeBSD
Devin Teske
dteske at FreeBSD.org
Wed Jun 20 05:50:08 UTC 2012
>Number: 169257
>Category: ports
>Synopsis: [NEW PORT] sysutils/bsdconfig: Utility to configure various aspects of FreeBSD
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Jun 20 05:50:08 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Devin Teske
>Release: FreeBSD 9.0-RELEASE i386
>Organization:
FIS Global, Inc.
>Environment:
FreeBSD scribe9.vicor.com 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:15:25 UTC 2012 root at obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
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/
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
# 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:
#
# bsdconfig
# bsdconfig/pkg-descr
# bsdconfig/distinfo
# bsdconfig/Makefile
#
echo c - bsdconfig
mkdir -p bsdconfig > /dev/null 2>&1
echo x - bsdconfig/pkg-descr
sed 's/^X//' >bsdconfig/pkg-descr << 'ad56c62fcbd139054224c1bc69933cb0'
Xbsdconfig is a robust utility for configuring/managing various aspects of the
XFreeBSD Operating System. Feature-highlights include (but are not limited to):
X - Modular, stable, efficient and i18n-compatible.
X - Easily maintained/extendable sh(1) source/syntax.
X - Works with both dialog(1) in base and Xdialog(1) from ports (x11/xdialog).
X - rc.conf(5) configuration/management based on sysutils/sysrc
X - Timezone configuration based on sysutils/tzdialog
X - Networking management based on sysutils/host-setup
X
XWWW: http://druidbsd.sourceforge.net/
ad56c62fcbd139054224c1bc69933cb0
echo x - bsdconfig/distinfo
sed 's/^X//' >bsdconfig/distinfo << '2525dd21496cc9c8e5c79f5efa1428b1'
XSHA256 (bsdconfig.120619.txz) = 4f44b88d81528f07c8765fe2723d1cc4547aec88347c36a92ecd569a51e7a531
XSIZE (bsdconfig.120619.txz) = 87984
XSHA256 (bsdconfig.120619-0.7.0.diff.gz) = d8dd335a4a1a886ce70cc9adac3b4a617f4c650fb94fb20d53e1f029c4b7a3fb
XSIZE (bsdconfig.120619-0.7.0.diff.gz) = 405
2525dd21496cc9c8e5c79f5efa1428b1
echo x - bsdconfig/Makefile
sed 's/^X//' >bsdconfig/Makefile << '8e66e36ffd6c63e8e4d02e5a708e5d81'
X# New ports collection makefile for: bsdconfig
X# Date created: 19 June 2012
X# Whom: Devin Teske <dteske at FreeBSD.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME= bsdconfig
XPORTVERSION= 0.7.0
XCATEGORIES= sysutils
XMASTER_SITES= http://druidbsd.sourceforge.net/download/bsdconfig/
XDISTNAME= ${PORTNAME}.120619
XEXTRACT_SUFX= .txz
X
XPATCH_SITES= ${MASTER_SITES}
XPATCHFILES= ${DISTNAME}-${PORTVERSION}.diff.gz
X
XMAINTAINER= dteske at FreeBSD.org
XCOMMENT= Utility to configure various aspects of FreeBSD
X
XLICENSE= BSD
X
XNO_BUILD= yes
XNO_WRKSUBDIR= yes
X
XBSDCFG_LIBE= libexec/${PORTNAME}
XPLIST_FILES= \
X sbin/${PORTNAME} \
X share/examples/${PORTNAME}/bsdconfigrc \
X ${BSDCFG_LIBE}/020.docsinstall/INDEX \
X ${BSDCFG_LIBE}/020.docsinstall/INDEX.EN_US.ISO8859-1 \
X ${BSDCFG_LIBE}/020.docsinstall/USAGE \
X ${BSDCFG_LIBE}/020.docsinstall/USAGE.EN_US.ISO8859-1 \
X ${BSDCFG_LIBE}/020.docsinstall/docsinstall \
X ${BSDCFG_LIBE}/020.docsinstall/include/messages.subr \
X ${BSDCFG_LIBE}/020.docsinstall/include/messages.subr.EN_US.ISO8859-1 \
X ${BSDCFG_LIBE}/040.password/INDEX \
X ${BSDCFG_LIBE}/040.password/INDEX.EN_US.ISO8859-1 \
X ${BSDCFG_LIBE}/040.password/USAGE \
X ${BSDCFG_LIBE}/040.password/USAGE.EN_US.ISO8859-1 \
X ${BSDCFG_LIBE}/040.password/include/messages.subr \
X ${BSDCFG_LIBE}/040.password/include/messages.subr.EN_US.ISO8859-1 \
X ${BSDCFG_LIBE}/040.password/include/password.subr \
X ${BSDCFG_LIBE}/040.password/password \
X ${BSDCFG_LIBE}/050.diskmgmt/INDEX \
X ${BSDCFG_LIBE}/050.diskmgmt/INDEX.EN_US.ISO8859-1 \
X ${BSDCFG_LIBE}/050.diskmgmt/USAGE \
X ${BSDCFG_LIBE}/050.diskmgmt/USAGE.EN_US.ISO8859-1 \
X ${BSDCFG_LIBE}/050.diskmgmt/diskmgmt \
X ${BSDCFG_LIBE}/050.diskmgmt/include/messages.subr \
X ${BSDCFG_LIBE}/050.diskmgmt/include/messages.subr.EN_US.ISO8859-1 \
X ${BSDCFG_LIBE}/070.usermgmt/INDEX \
X ${BSDCFG_LIBE}/070.usermgmt/INDEX.EN_US.ISO8859-1 \
X ${BSDCFG_LIBE}/070.usermgmt/USAGE \
X ${BSDCFG_LIBE}/070.usermgmt/USAGE.EN_US.ISO8859-1 \
X ${BSDCFG_LIBE}/070.usermgmt/groupadd \
X ${BSDCFG_LIBE}/070.usermgmt/groupdel \
X ${BSDCFG_LIBE}/070.usermgmt/groupedit \
X ${BSDCFG_LIBE}/070.usermgmt/groupinput \
X ${BSDCFG_LIBE}/070.usermgmt/include/group_input.subr \
X ${BSDCFG_LIBE}/070.usermgmt/include/messages.subr \
X ${BSDCFG_LIBE}/070.usermgmt/include/messages.subr.EN_US.ISO8859-1 \
X ${BSDCFG_LIBE}/070.usermgmt/include/user_input.subr \
X ${BSDCFG_LIBE}/070.usermgmt/useradd \
X ${BSDCFG_LIBE}/070.usermgmt/userdel \
X ${BSDCFG_LIBE}/070.usermgmt/useredit \
X ${BSDCFG_LIBE}/070.usermgmt/userinput \
X ${BSDCFG_LIBE}/070.usermgmt/usermgmt \
X ${BSDCFG_LIBE}/080.console/INDEX \
X ${BSDCFG_LIBE}/080.console/INDEX.EN_US.ISO8859-1 \
X ${BSDCFG_LIBE}/080.console/USAGE \
X ${BSDCFG_LIBE}/080.console/USAGE.EN_US.ISO8859-1 \
X ${BSDCFG_LIBE}/080.console/console \
X ${BSDCFG_LIBE}/080.console/font \
X ${BSDCFG_LIBE}/080.console/include/messages.subr \
X ${BSDCFG_LIBE}/080.console/include/messages.subr.EN_US.ISO8859-1 \
X ${BSDCFG_LIBE}/080.console/keymap \
X ${BSDCFG_LIBE}/080.console/repeat \
X ${BSDCFG_LIBE}/080.console/saver \
X ${BSDCFG_LIBE}/080.console/screenmap \
X ${BSDCFG_LIBE}/080.console/ttys \
X ${BSDCFG_LIBE}/090.timezone/INDEX \
X ${BSDCFG_LIBE}/090.timezone/INDEX.EN_US.ISO8859-1 \
X ${BSDCFG_LIBE}/090.timezone/USAGE \
X ${BSDCFG_LIBE}/090.timezone/USAGE.EN_US.ISO8859-1 \
X ${BSDCFG_LIBE}/090.timezone/include/continents.subr \
X ${BSDCFG_LIBE}/090.timezone/include/countries.subr \
X ${BSDCFG_LIBE}/090.timezone/include/iso3166.subr \
X ${BSDCFG_LIBE}/090.timezone/include/menus.subr \
X ${BSDCFG_LIBE}/090.timezone/include/messages.subr \
X ${BSDCFG_LIBE}/090.timezone/include/messages.subr.EN_US.ISO8859-1 \
X ${BSDCFG_LIBE}/090.timezone/include/zones.subr \
X ${BSDCFG_LIBE}/090.timezone/timezone \
X ${BSDCFG_LIBE}/110.mouse/INDEX \
X ${BSDCFG_LIBE}/110.mouse/INDEX.EN_US.ISO8859-1 \
X ${BSDCFG_LIBE}/110.mouse/USAGE \
X ${BSDCFG_LIBE}/110.mouse/USAGE.EN_US.ISO8859-1 \
X ${BSDCFG_LIBE}/110.mouse/disable \
X ${BSDCFG_LIBE}/110.mouse/enable \
X ${BSDCFG_LIBE}/110.mouse/flags \
X ${BSDCFG_LIBE}/110.mouse/include/messages.subr \
X ${BSDCFG_LIBE}/110.mouse/include/messages.subr.EN_US.ISO8859-1 \
X ${BSDCFG_LIBE}/110.mouse/mouse \
X ${BSDCFG_LIBE}/110.mouse/port \
X ${BSDCFG_LIBE}/110.mouse/type \
X ${BSDCFG_LIBE}/120.networking/INDEX \
X ${BSDCFG_LIBE}/120.networking/INDEX.EN_US.ISO8859-1 \
X ${BSDCFG_LIBE}/120.networking/USAGE \
X ${BSDCFG_LIBE}/120.networking/USAGE.EN_US.ISO8859-1 \
X ${BSDCFG_LIBE}/120.networking/defaultrouter \
X ${BSDCFG_LIBE}/120.networking/devices \
X ${BSDCFG_LIBE}/120.networking/hostname \
X ${BSDCFG_LIBE}/120.networking/include/common.subr \
X ${BSDCFG_LIBE}/120.networking/include/device.subr \
X ${BSDCFG_LIBE}/120.networking/include/hostname.subr \
X ${BSDCFG_LIBE}/120.networking/include/ipaddr.subr \
X ${BSDCFG_LIBE}/120.networking/include/media.subr \
X ${BSDCFG_LIBE}/120.networking/include/messages.subr \
X ${BSDCFG_LIBE}/120.networking/include/messages.subr.EN_US.ISO8859-1 \
X ${BSDCFG_LIBE}/120.networking/include/netmask.subr \
X ${BSDCFG_LIBE}/120.networking/include/resolv.subr \
X ${BSDCFG_LIBE}/120.networking/include/routing.subr \
X ${BSDCFG_LIBE}/120.networking/nameservers \
X ${BSDCFG_LIBE}/120.networking/networking \
X ${BSDCFG_LIBE}/130.security/INDEX \
X ${BSDCFG_LIBE}/130.security/INDEX.EN_US.ISO8859-1 \
X ${BSDCFG_LIBE}/130.security/USAGE \
X ${BSDCFG_LIBE}/130.security/USAGE.EN_US.ISO8859-1 \
X ${BSDCFG_LIBE}/130.security/include/messages.subr \
X ${BSDCFG_LIBE}/130.security/include/messages.subr.EN_US.ISO8859-1 \
X ${BSDCFG_LIBE}/130.security/kern_securelevel \
X ${BSDCFG_LIBE}/130.security/security \
X ${BSDCFG_LIBE}/140.startup/INDEX \
X ${BSDCFG_LIBE}/140.startup/INDEX.EN_US.ISO8859-1 \
X ${BSDCFG_LIBE}/140.startup/USAGE \
X ${BSDCFG_LIBE}/140.startup/USAGE.EN_US.ISO8859-1 \
X ${BSDCFG_LIBE}/140.startup/include/messages.subr \
X ${BSDCFG_LIBE}/140.startup/include/messages.subr.EN_US.ISO8859-1 \
X ${BSDCFG_LIBE}/140.startup/include/rcconf.subr \
X ${BSDCFG_LIBE}/140.startup/include/rcedit.subr \
X ${BSDCFG_LIBE}/140.startup/include/rcvar.subr \
X ${BSDCFG_LIBE}/140.startup/misc \
X ${BSDCFG_LIBE}/140.startup/rcadd \
X ${BSDCFG_LIBE}/140.startup/rcconf \
X ${BSDCFG_LIBE}/140.startup/rcdelete \
X ${BSDCFG_LIBE}/140.startup/rcedit \
X ${BSDCFG_LIBE}/140.startup/rcvar \
X ${BSDCFG_LIBE}/140.startup/startup \
X ${BSDCFG_LIBE}/150.ttys/INDEX \
X ${BSDCFG_LIBE}/150.ttys/INDEX.EN_US.ISO8859-1 \
X ${BSDCFG_LIBE}/150.ttys/USAGE \
X ${BSDCFG_LIBE}/150.ttys/USAGE.EN_US.ISO8859-1 \
X ${BSDCFG_LIBE}/150.ttys/include/messages.subr \
X ${BSDCFG_LIBE}/150.ttys/include/messages.subr.EN_US.ISO8859-1 \
X ${BSDCFG_LIBE}/150.ttys/ttys \
X ${BSDCFG_LIBE}/USAGE \
X ${BSDCFG_LIBE}/USAGE.EN_US.ISO8859-1 \
X ${BSDCFG_LIBE}/dot/INDEX \
X ${BSDCFG_LIBE}/dot/INDEX.EN_US.ISO8859-1 \
X ${BSDCFG_LIBE}/dot/USAGE \
X ${BSDCFG_LIBE}/dot/USAGE.EN_US.ISO8859-1 \
X ${BSDCFG_LIBE}/dot/dot \
X ${BSDCFG_LIBE}/dot/include/messages.subr \
X ${BSDCFG_LIBE}/dot/include/messages.subr.EN_US.ISO8859-1 \
X ${BSDCFG_LIBE}/include/common.subr \
X ${BSDCFG_LIBE}/include/dialog.subr \
X ${BSDCFG_LIBE}/include/messages.subr \
X ${BSDCFG_LIBE}/include/messages.subr.EN_US.ISO8859-1 \
X ${BSDCFG_LIBE}/include/mustberoot.subr \
X ${BSDCFG_LIBE}/include/strings.subr \
X ${BSDCFG_LIBE}/include/sysrc.subr
X
X.include <bsd.port.pre.mk>
X
X.if ${OSVERSION} < 900030
XBROKEN= libdialog 20100428 or newer required.
X.endif
X
Xpost-patch:
X @grep -Ilrs '^BSDCFG_LIBE=' ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} \
X -e 's|^\(BSDCFG_LIBE=\).*|\1"${PREFIX}/libexec/${PORTNAME}"|'
X @${REINPLACE_CMD} \
X -e 's|^\(BSDCONFIG=\).*|\1${PREFIX}/sbin/${PORTNAME}|' \
X ${WRKSRC}/dot/dot
X
Xdo-install:
X @( MANDIR="${PREFIX}/man/man"; \
X [ -d "$${MANDIR%/*}" ] || MANDIR="${PREFIX}/share/man/man"; \
X cd ${WRKSRC} && make \
X LIBEXECDIR="${PREFIX}/libexec" \
X MANDIR="$$MANDIR" \
X SBINDIR="${PREFIX}/sbin" \
X SHAREDIR="${PREFIX}/share" \
X all install )
X
X.include <bsd.port.post.mk>
8e66e36ffd6c63e8e4d02e5a708e5d81
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list