aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/rcadm/Makefile25
-rw-r--r--sysutils/rcadm/distinfo2
-rw-r--r--sysutils/rcadm/pkg-descr8
4 files changed, 36 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 846f2ba65853..15b8e1a2a6ef 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -772,6 +772,7 @@
SUBDIR += radeontool
SUBDIR += radmind
SUBDIR += raincoat
+ SUBDIR += rcadm
SUBDIR += rclean
SUBDIR += rdate
SUBDIR += rdiff-backup
diff --git a/sysutils/rcadm/Makefile b/sysutils/rcadm/Makefile
new file mode 100644
index 000000000000..1cc71c9120af
--- /dev/null
+++ b/sysutils/rcadm/Makefile
@@ -0,0 +1,25 @@
+# $FreeBSD$
+
+PORTNAME= rcadm
+PORTVERSION= 0.1
+CATEGORIES= sysutils
+
+MAINTAINER= reinier@skoef.nl
+COMMENT= Utility for adminstrating rc.conf
+
+USE_GITHUB= yes
+GH_ACCOUNT= skoef
+GH_COMMIT= 7a1bf44
+GH_TAGNAME= ${GH_COMMIT}
+
+PLIST_FILES= sbin/${PORTNAME}
+
+do-build:
+.for file in ${PORTNAME}
+ ${REINPLACE_CMD} -e 's#/usr/local#${LOCALBASE}#g' ${WRKSRC}/${file}
+.endfor
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin
+
+.include <bsd.port.mk>
diff --git a/sysutils/rcadm/distinfo b/sysutils/rcadm/distinfo
new file mode 100644
index 000000000000..de120fcd2be5
--- /dev/null
+++ b/sysutils/rcadm/distinfo
@@ -0,0 +1,2 @@
+SHA256 (rcadm-0.1.tar.gz) = 613017383fd85976bd2d87957fda321266d7f6515c7a0886f6820bd77c351af6
+SIZE (rcadm-0.1.tar.gz) = 1067
diff --git a/sysutils/rcadm/pkg-descr b/sysutils/rcadm/pkg-descr
new file mode 100644
index 000000000000..9218857fbe45
--- /dev/null
+++ b/sysutils/rcadm/pkg-descr
@@ -0,0 +1,8 @@
+Utility to administer the rc.conf system configuration file.
+
+rcadm features:
+* listing current settings
+* enabling/disabling services
+* setting and getting arbitrary variables
+
+WWW: https://github.com/skoef/rcadm