diff options
author | dinoex <dinoex@FreeBSD.org> | 2010-05-31 04:37:20 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2010-05-31 04:37:20 +0800 |
commit | 6099ee743d3cb121a450a6901e63b8fa9c895635 (patch) | |
tree | d3c2fd98d8d491f6861a53e2065e4fcc658de8f8 /mail | |
parent | 60b2f0ff057469ab4849a92de4118542bf12be6a (diff) | |
download | freebsd-ports-gnome-6099ee743d3cb121a450a6901e63b8fa9c895635.tar.gz freebsd-ports-gnome-6099ee743d3cb121a450a6901e63b8fa9c895635.tar.zst freebsd-ports-gnome-6099ee743d3cb121a450a6901e63b8fa9c895635.zip |
- drop WITHOUT_RC_NG
Diffstat (limited to 'mail')
-rw-r--r-- | mail/sid-milter/Makefile | 12 | ||||
-rw-r--r-- | mail/sid-milter/files/milter-sid.sh | 43 |
2 files changed, 0 insertions, 55 deletions
diff --git a/mail/sid-milter/Makefile b/mail/sid-milter/Makefile index 1db4c02a8518..c4d68f5d7499 100644 --- a/mail/sid-milter/Makefile +++ b/mail/sid-milter/Makefile @@ -35,11 +35,7 @@ SITE+= ${FILESDIR}/site.config.m4 MAN3= ar.3 PLIST_FILES+= include/libar.h lib/libar.a .endif -.if defined(WITHOUT_RC_NG) -PLIST_FILES+= etc/rc.d/milter-sid.sh.sample -.else USE_RC_SUBR= milter-sid.sh -.endif .include <bsd.port.pre.mk> @@ -50,10 +46,6 @@ SITE+= ${FILESDIR}/site.config.m4.milter .endif pre-configure: -.if defined(WITHOUT_RC_NG) - @${SED} -e "s=%%PREFIX%%=${PREFIX}=" ${FILESDIR}/milter-sid.sh \ - > ${WRKSRC}/milter-sid.sh -.endif ${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|' \ -e 's|-D_THREAD_SAFE|${PTHREAD_CFLAGS}|' \ -e "s|\`-O'|\`${CFLAGS}'|g" \ @@ -69,10 +61,6 @@ pre-configure: .endif post-install: -.if defined(WITHOUT_RC_NG) - ${INSTALL_SCRIPT} ${WRKSRC}/milter-sid.sh \ - ${PREFIX}/etc/rc.d/milter-sid.sh.sample -.endif .for i in ${MAN8} @${RM} -f ${MANPREFIX}/man/cat8/${i} ${MANPREFIX}/man/cat8/${i}.gz ${INSTALL_MAN} ${WRKSRC}/*/${i} ${MANPREFIX}/man/man8/ diff --git a/mail/sid-milter/files/milter-sid.sh b/mail/sid-milter/files/milter-sid.sh deleted file mode 100644 index e8dcda6fb770..000000000000 --- a/mail/sid-milter/files/milter-sid.sh +++ /dev/null @@ -1,43 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -# PROVIDE: miltersid -# REQUIRE: DAEMON -# BEFORE: mail localpkg - -# Define these miltersid_* variables in one of these files: -# /etc/rc.conf -# /etc/rc.conf.local -# /etc/rc.conf.d/miltersid -# - -. /etc/rc.subr - -name="miltersid" -rcvar=`set_rcvar` -load_rc_config $name - -# DO NOT CHANGE THESE DEFAULT VALUES HERE -# -: ${miltersid_enable="NO"} -: ${miltersid_socket="local:/var/run/sid-filter"} -: ${miltersid_pid="/var/run/sid-filter.pid"} -: ${miltersid_flags="-r 0 -t"} - -pidfile=${miltersid_pid} -command="%%PREFIX%%/libexec/sid-filter" -command_args="-l -p ${miltersid_socket} -P ${miltersid_pid}" -start_precmd="sid_precmd" - -sid_precmd () -{ - if [ -S ${miltersid_socket##local:} ] ; then - rm -f ${miltersid_socket##local:} - elif [ -S ${miltersid_socket##unix:} ] ; then - rm -f ${miltersid_socket##unix:} - fi -} - -run_rc_command "$1" |