diff options
author | Peter Pentchev <roam@FreeBSD.org> | 2008-01-26 14:13:43 +0000 |
---|---|---|
committer | Peter Pentchev <roam@FreeBSD.org> | 2008-01-26 14:13:43 +0000 |
commit | 644e7eb25ba8d9ce49f2b15b62e2db19e7e2dc44 (patch) | |
tree | 8299255c2165ffc57b48308549d19d5b4ee62e81 /security/stunnel | |
parent | 174a3405aebfaf7b8dd22ffa1b59d5ee81373b13 (diff) |
Notes
Diffstat (limited to 'security/stunnel')
-rw-r--r-- | security/stunnel/Makefile | 5 | ||||
-rw-r--r-- | security/stunnel/files/stunnel.sh | 41 | ||||
-rw-r--r-- | security/stunnel/pkg-plist | 1 |
3 files changed, 1 insertions, 46 deletions
diff --git a/security/stunnel/Makefile b/security/stunnel/Makefile index 0ff171d9d421..13b9ff4e4f27 100644 --- a/security/stunnel/Makefile +++ b/security/stunnel/Makefile @@ -19,7 +19,7 @@ COMMENT= SSL encryption wrapper for standard network daemons USE_AUTOTOOLS= libtool:15 USE_OPENSSL= YES -USE_RC_SUBR= YES +USE_RC_SUBR= stunnel WRKSRC= ${WRKDIR}/${PORTNAME}-4.22 GNU_CONFIGURE= yes @@ -78,9 +78,6 @@ post-patch: .endif post-install: - ${SED} "s+%%PREFIX%%+${PREFIX}+g; s+%%RC_SUBR%%+${RC_SUBR}+g; s+%%ETCDIR%%+${ETCDIR}+g" \ - < ${FILESDIR}/stunnel.sh > ${WRKDIR}/stunnel - ${INSTALL_SCRIPT} ${WRKDIR}/stunnel ${PREFIX}/etc/rc.d/ @${SETENV} PKG_PREFIX=${PREFIX} ${SH} \ ${PKGINSTALL} ${PKGNAME} POST-INSTALL @${ECHO} "" diff --git a/security/stunnel/files/stunnel.sh b/security/stunnel/files/stunnel.sh deleted file mode 100644 index 5732436c6ec3..000000000000 --- a/security/stunnel/files/stunnel.sh +++ /dev/null @@ -1,41 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -# PROVIDE: stunnel -# REQUIRE: NETWORKING SERVERS -# BEFORE: DAEMON -# KEYWORD: shutdown - -# -# Add some of the following variables to /etc/rc.conf to configure stunnel: -# stunnel_enable (bool): Set to "NO" by default. -# Set it to "YES" to enable stunnel. -# stunnel_config (str): Default "%%ETCDIR%%/stunnel.conf" -# Set it to the full path to the config file -# that stunnel will use during the automated -# start-up. -# stunnel_pidfile (str): Default "%%PREFIX%%/var/stunnel/stunnel.pid" -# Set it to the value of 'pid' in -# the stunnel.conf file. -# - -. %%RC_SUBR%% - -name="stunnel" -rcvar=`set_rcvar` - -load_rc_config $name - -: ${stunnel_enable="NO"} -: ${stunnel_config="%%ETCDIR%%/${name}.conf"} -: ${stunnel_pidfile="/var/run/${name}.pid"} - -command="%%PREFIX%%/bin/stunnel" -command_args=${stunnel_config} -pidfile=${stunnel_pidfile} - -required_files="${stunnel_config}" - -run_rc_command "$1" diff --git a/security/stunnel/pkg-plist b/security/stunnel/pkg-plist index a01b9ece2994..6476561e58e8 100644 --- a/security/stunnel/pkg-plist +++ b/security/stunnel/pkg-plist @@ -1,6 +1,5 @@ bin/stunnel bin/stunnel3 -etc/rc.d/stunnel %%ETCDIR%%/stunnel.conf-sample lib/stunnel/libstunnel.a lib/stunnel/libstunnel.la |