The sysrc utility performs easy and safe editing of rc.conf style enries

in configuration files.

PR:		163679
Submitted by:	Devin Teske (dteske@ at vicor dot com)
Feature safe:	yes
This commit is contained in:
Stefan Eßer 2011-12-31 13:06:02 +00:00
parent b7fd884a02
commit 5dfa7946db
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=288331
4 changed files with 40 additions and 0 deletions

View file

@ -856,6 +856,7 @@
SUBDIR += syslog-ng-devel
SUBDIR += syslog-ng2
SUBDIR += syslogger
SUBDIR += sysrc+
SUBDIR += system-tools-backends
SUBDIR += sysupdate
SUBDIR += tarsnap

25
sysutils/sysrc+/Makefile Normal file
View file

@ -0,0 +1,25 @@
# New ports collection makefile for: sysrc
# Date created: 28 December 2011
# Whom: Devin Teske <dteske@vicor.com>
#
# $FreeBSD$
#
PORTNAME= sysrc
PORTVERSION= 3.2.1
CATEGORIES= sysutils
MASTER_SITES= http://druidbsd.sourceforge.net/download/
MAINTAINER= dteske@vicor.com
COMMENT= Utility to get or set rc.conf(5) values
NO_BUILD= yes
PLIST_FILES= sbin/${PORTNAME}
MAN8= ${PORTNAME}.8
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin/
${INSTALL_MAN} ${WRKSRC}/${MAN8} ${MANPREFIX}/man/man8/
.include <bsd.port.mk>

2
sysutils/sysrc+/distinfo Normal file
View file

@ -0,0 +1,2 @@
SHA256 (sysrc-3.2.1.tar.gz) = bd512f4c21d6f3d8394787d97d90217f32a48f09d166de70f04d450b1c075073
SIZE (sysrc-3.2.1.tar.gz) = 11852

12
sysutils/sysrc+/pkg-descr Normal file
View file

@ -0,0 +1,12 @@
Sysrc is a robust utility for managing rc.conf(5) from the command-line without
a text-editor. Feature-highlights include (but are not limited to):
- Environment variable taint prevention
- Shell taint checking (aka boot-regression prevention)
- File-access race-condition prevention
- File-structure sensitivity/preservation
- Intelligent syntax handling
- Execution performance optimizations
- Detailed safety measures
- Support for jails (both legacy and current)
WWW: http://druidbsd.sourceforge.net/