aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorse <se@FreeBSD.org>2011-12-31 21:06:02 +0800
committerse <se@FreeBSD.org>2011-12-31 21:06:02 +0800
commit69e7387f1c75f1276c2ebc7f66eed145386e4b84 (patch)
tree1ce2a42b6292c2784b0575a8dccadac00e6b6b2c /sysutils
parent72047c7b91cb35ee0c1f7d1ba3b6953b7bd84949 (diff)
downloadfreebsd-ports-gnome-69e7387f1c75f1276c2ebc7f66eed145386e4b84.tar.gz
freebsd-ports-gnome-69e7387f1c75f1276c2ebc7f66eed145386e4b84.tar.zst
freebsd-ports-gnome-69e7387f1c75f1276c2ebc7f66eed145386e4b84.zip
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
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/sysrc+/Makefile25
-rw-r--r--sysutils/sysrc+/distinfo2
-rw-r--r--sysutils/sysrc+/pkg-descr12
4 files changed, 40 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 8d543a0ee35b..127f66da1d20 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -856,6 +856,7 @@
SUBDIR += syslog-ng-devel
SUBDIR += syslog-ng2
SUBDIR += syslogger
+ SUBDIR += sysrc+
SUBDIR += system-tools-backends
SUBDIR += sysupdate
SUBDIR += tarsnap
diff --git a/sysutils/sysrc+/Makefile b/sysutils/sysrc+/Makefile
new file mode 100644
index 000000000000..3dd25fd1c3c3
--- /dev/null
+++ b/sysutils/sysrc+/Makefile
@@ -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>
diff --git a/sysutils/sysrc+/distinfo b/sysutils/sysrc+/distinfo
new file mode 100644
index 000000000000..4df00f34c728
--- /dev/null
+++ b/sysutils/sysrc+/distinfo
@@ -0,0 +1,2 @@
+SHA256 (sysrc-3.2.1.tar.gz) = bd512f4c21d6f3d8394787d97d90217f32a48f09d166de70f04d450b1c075073
+SIZE (sysrc-3.2.1.tar.gz) = 11852
diff --git a/sysutils/sysrc+/pkg-descr b/sysutils/sysrc+/pkg-descr
new file mode 100644
index 000000000000..237a7f74b1b9
--- /dev/null
+++ b/sysutils/sysrc+/pkg-descr
@@ -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/