FreeBSD Bugzilla – Attachment 102955 Details for
Bug 142799
[PATCH] mail/popa3d-standalone: use $SUB_FILES to dynamically adjust pkg-message + other changes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
popa3d-standalone-1.0.2_1.patch
popa3d-standalone-1.0.2_1.patch (text/plain), 4.07 KB, created by
Sevan Janiyan
on 2010-01-14 00:40:01 UTC
(
hide
)
Description:
popa3d-standalone-1.0.2_1.patch
Filename:
MIME Type:
Creator:
Sevan Janiyan
Created:
2010-01-14 00:40:01 UTC
Size:
4.07 KB
patch
obsolete
>Index: Makefile >=================================================================== >RCS file: /home/ncvs/ports/mail/popa3d/Makefile,v >retrieving revision 1.38 >diff -u -r1.38 Makefile >--- Makefile 24 Jun 2008 08:05:41 -0000 1.38 >+++ Makefile 14 Jan 2010 00:25:02 -0000 >@@ -22,11 +22,13 @@ > CFLAGS+= -DPREFIX=${PREFIX} > UNIQUENAME= ${.CURDIR:T} > >+SUB_FILES= pkg-message >+ > OPTIONS?= SMTP_AFTER_POP3 "Enable SMTP-after-POP mode" off \ > STANDALONE_POP3 "Enable standalone server mode" off \ > SETPROCTITLE "Enable setproctitle mode" off > >-.include <bsd.port.pre.mk> >+.include <bsd.port.options.mk> > > # honor old flags > .if defined(STANDALONE_POP3) >@@ -61,15 +63,11 @@ > .endif > > .if defined(WITH_STANDALONE_POP3) >-RC_SUBR= /etc/rc.subr >- >-post-extract: >- @${SED} -e "s=%%PREFIX%%=${PREFIX}=g" \ >- -e "s=%%RC_SUBR%%=${RC_SUBR}=g" \ >- ${FILESDIR}/popa3d.sh \ >- > ${WRKSRC}/popa3d.sh >+USE_RC_SUBR= popa3d > .endif > >+.include <bsd.port.pre.mk> >+ > pre-configure: > @${CAT} ${PKGDIR}/pkg-plist >${PLIST} > .if !exists(/var/empty) >@@ -104,9 +102,7 @@ > .if defined(WITH_SMTP_AFTER_POP3) && !defined(WITHOUT_POPAUTH_M4) > ${INSTALL_DATA} ${FILESDIR}/popauth.m4 ${CFDIR}/hack/ > .endif >-.if defined(WITH_STANDALONE_POP3) >- ${INSTALL_SCRIPT} ${WRKSRC}/popa3d.sh ${PREFIX}/etc/rc.d/ >-.endif >+ > .if !defined(NOPORTDOCS) > ${MKDIR} ${DOCSDIR} > ${INSTALL_MAN} ${WRKSRC}/DESIGN ${DOCSDIR}/ >Index: pkg-message >=================================================================== >RCS file: pkg-message >diff -N pkg-message >--- pkg-message 1 Apr 2000 03:39:48 -0000 1.1 >+++ /dev/null 1 Jan 1970 00:00:00 -0000 >@@ -1,12 +0,0 @@ >-=========================================================================== >-1. Edit your /etc/inetd.conf to use popa3d. The line should look like this: >- >-pop3 stream tcp nowait root /usr/local/libexec/popa3d popa3d >- >-Note: when started via an inetd clone, the logging of connections is left >-up to that inetd clone or TCP wrappers. >- >-2. Restart inetd by sending it a SIGHUP: >- >-# killall -HUP inetd >-=========================================================================== >Index: pkg-plist >=================================================================== >RCS file: /home/ncvs/ports/mail/popa3d/pkg-plist,v >retrieving revision 1.11 >diff -u -r1.11 pkg-plist >--- pkg-plist 25 Jul 2006 11:27:44 -0000 1.11 >+++ pkg-plist 14 Jan 2010 00:25:02 -0000 >@@ -1,4 +1,3 @@ >-%%STANDALONE_POP3%%etc/rc.d/popa3d.sh > libexec/popa3d > %%PORTDOCS%%%%DOCSDIR%%/DESIGN > %%PORTDOCS%%%%DOCSDIR%%/LICENSE >Index: files/pkg-message.in >=================================================================== >RCS file: files/pkg-message.in >diff -N files/pkg-message.in >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ files/pkg-message.in 14 Jan 2010 00:25:02 -0000 >@@ -0,0 +1,12 @@ >+=========================================================================== >+1. Edit your /etc/inetd.conf to use popa3d. The line should look like this: >+ >+pop3 stream tcp nowait root %%PREFIX%%/libexec/popa3d popa3d >+ >+Note: when started via an inetd clone, the logging of connections is left >+up to that inetd clone or TCP wrappers. >+ >+2. Restart inetd by sending it a SIGHUP: >+ >+# killall -HUP inetd >+=========================================================================== >Index: files/popa3d.in >=================================================================== >RCS file: files/popa3d.in >diff -N files/popa3d.in >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ files/popa3d.in 14 Jan 2010 00:25:02 -0000 >@@ -0,0 +1,16 @@ >+#!/bin/sh >+ >+# PROVIDE: popa3d >+# REQUIRE: LOGIN cleanvar >+ >+. %%RC_SUBR%% >+ >+name="popa3d" >+rcvar=`set_rcvar` >+ >+command="%%PREFIX%%/libexec/${name}" >+flags="-D" >+ >+load_rc_config $name >+run_rc_command "$1" >+ >Index: files/popa3d.sh >=================================================================== >RCS file: files/popa3d.sh >diff -N files/popa3d.sh >--- files/popa3d.sh 3 Aug 2006 22:46:52 -0000 1.3 >+++ /dev/null 1 Jan 1970 00:00:00 -0000 >@@ -1,16 +0,0 @@ >-#!/bin/sh >- >-# PROVIDE: popa3d >-# REQUIRE: LOGIN cleanvar >- >-. %%RC_SUBR%% >- >-name="popa3d" >-rcvar=`set_rcvar` >- >-command="%%PREFIX%%/libexec/${name}" >-flags="-D" >- >-load_rc_config $name >-run_rc_command "$1" >-
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 142799
: 102955