aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorclement <clement@FreeBSD.org>2006-09-24 22:34:36 +0800
committerclement <clement@FreeBSD.org>2006-09-24 22:34:36 +0800
commitfa215306c6aca7463992ddcc7bc58eb0da359044 (patch)
tree1d63e347a2388d9ea56c5ae05b95a401911ba5b0
parent908e1b9e7db9eca9dea2293f910b284386186e13 (diff)
downloadfreebsd-ports-gnome-fa215306c6aca7463992ddcc7bc58eb0da359044.tar.gz
freebsd-ports-gnome-fa215306c6aca7463992ddcc7bc58eb0da359044.tar.zst
freebsd-ports-gnome-fa215306c6aca7463992ddcc7bc58eb0da359044.zip
- Update to 0.17.1
- Add rcNG script [1] PR: ports/94976 [1] Submitted by: Dominic Marks <dom@helenmarks.co.uk> [1]
-rw-r--r--net/pen/Makefile4
-rw-r--r--net/pen/distinfo6
-rw-r--r--net/pen/files/pen.sh.in28
3 files changed, 33 insertions, 5 deletions
diff --git a/net/pen/Makefile b/net/pen/Makefile
index a4c32af4519b..549412aee079 100644
--- a/net/pen/Makefile
+++ b/net/pen/Makefile
@@ -1,4 +1,3 @@
-\# ex:ts=8
# New ports collection makefile for: pen
# Date created: Nov 13, 2001
# Whom: ijliao
@@ -7,7 +6,7 @@
#
PORTNAME= pen
-PORTVERSION= 0.17.0
+PORTVERSION= 0.17.1
CATEGORIES= net
MASTER_SITES= ftp://siag.nu/pub/pen/ \
http://siag.nu/pub/pen/
@@ -17,6 +16,7 @@ COMMENT= A load balancer for simple tcp based protocols
GNU_CONFIGURE= yes
USE_OPENSSL= yes
+USE_RC_SUBR= pen.sh
CONFIGURE_ARGS= --with-daemon --with-docdir=${DOCSDIR} \
--with-ssl=${OPENSSLBASE} --with-kqueue
diff --git a/net/pen/distinfo b/net/pen/distinfo
index ff3d7e6bc148..f18d01a12b2e 100644
--- a/net/pen/distinfo
+++ b/net/pen/distinfo
@@ -1,3 +1,3 @@
-MD5 (pen-0.17.0.tar.gz) = d144ebf5aa8b25d6f685ec5ceff6f57a
-SHA256 (pen-0.17.0.tar.gz) = c4d1e5efe324b94e4152fc7a72fd3a946d97de76f8d54d89a5b83dc44732ce24
-SIZE (pen-0.17.0.tar.gz) = 116945
+MD5 (pen-0.17.1.tar.gz) = 62548155d3bf42aea05b32227e132331
+SHA256 (pen-0.17.1.tar.gz) = 13e070e4e03d9141530bbf9fa071d2ce3f04b0324349757c8842e073eef85556
+SIZE (pen-0.17.1.tar.gz) = 117009
diff --git a/net/pen/files/pen.sh.in b/net/pen/files/pen.sh.in
new file mode 100644
index 000000000000..f99fc50be72d
--- /dev/null
+++ b/net/pen/files/pen.sh.in
@@ -0,0 +1,28 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+
+# PROVIDE: pen
+# REQUIRE: NETWORKING SERVERS
+# BEFORE: DAEMON
+# KEYWORD: shutdown
+
+#
+# Add the following line to /etc/rc.conf to enable pen:
+#
+# pen_enable="YES"
+#
+
+. %%RC_SUBR%%
+
+name=pen
+rcvar=`set_rcvar`
+
+command=%%PREFIX%%/bin/pen
+
+pen_enable=${pen_enable:-"NO"}
+pen_flags=${pen_flags:-""}
+
+load_rc_config $name
+run_rc_command "$1"