FreeBSD Bugzilla – Attachment 179452 Details for
Bug 216652
[maintainer update] for mail/smfsav
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
update for mail/smfsav
patch.txt (text/plain), 2.44 KB, created by
Kan Sasaki
on 2017-01-31 01:41:18 UTC
(
hide
)
Description:
update for mail/smfsav
Filename:
MIME Type:
Creator:
Kan Sasaki
Created:
2017-01-31 01:41:18 UTC
Size:
2.44 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 432891) >+++ Makefile (working copy) >@@ -28,6 +28,7 @@ > SMFSAV_RUN_DIR?=/var/run/smfs > PLIST_SUB= SMFSAV_RUN_DIR=${SMFSAV_RUN_DIR} > SUB_FILES+= pkg-message >+SUB_LIST:= ${PLIST_SUB} > > .include <bsd.port.pre.mk> > .include "${PORTSDIR}/mail/sendmail/bsd.milter.mk" >@@ -35,7 +36,8 @@ > post-patch: > @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/readme > @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/smf-sav.c >- @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/smf-sav.conf >+ @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \ >+ -e 's|%%SMFSAV_RUN_DIR%%|${SMFSAV_RUN_DIR}|g' ${WRKSRC}/smf-sav.conf > > do-build: > cd ${WRKSRC} && ${CC} ${CFLAGS} ${CPPFLAGS} -o smf-sav smf-sav.c ${LDFLAGS} >Index: files/patch-smf-sav.conf >=================================================================== >--- files/patch-smf-sav.conf (revision 432891) >+++ files/patch-smf-sav.conf (working copy) >@@ -1,5 +1,5 @@ >---- smf-sav.conf.orig 2006-10-26 05:15:10.000000000 +0900 >-+++ smf-sav.conf 2015-06-02 13:32:07.814150000 +0900 >+--- smf-sav.conf.orig 2006-10-25 20:15:10 UTC >++++ smf-sav.conf > @@ -1,4 +1,4 @@ > -# /etc/mail/smfs/smf-sav.conf > +# %%PREFIX%%/etc/smf-sav.conf >@@ -6,3 +6,15 @@ > # > # smf-sav configuration file v1.4.0 (it's read at start) > # >+@@ -103,9 +103,9 @@ SafeCallBack postmaster@yourdomain.tld # >+ >+ # Socket used to communicate with a Sendmail daemon >+ # >+-# Default: unix:/var/run/smfs/smf-sav.sock >++# Default: unix:%%SMFSAV_RUN_DIR%%/smf-sav.sock >+ # >+-#Socket unix:/var/run/smfs/smf-sav.sock >++#Socket unix:%%SMFSAV_RUN_DIR%%/smf-sav.sock >+ >+ # Facility for logging via a Syslog daemon >+ # >Index: files/pkg-message.in >=================================================================== >--- files/pkg-message.in (revision 432891) >+++ files/pkg-message.in (working copy) >@@ -3,7 +3,7 @@ > 1. Inspect and edit the %%PREFIX%%/etc/smfsav.conf file > 2. Add these lines to your Sendmail configuration file (usually sendmail.mc): > define(`confMILTER_MACROS_HELO', confMILTER_MACROS_HELO`, {verify}')dnl >- INPUT_MAIL_FILTER(`smf-sav', `S=unix:/var/run/smfs/smf-sav.sock, T=S:30s;R:4m')dnl >+ INPUT_MAIL_FILTER(`smf-sav', `S=unix:%%SMFSAV_RUN_DIR%%/smf-sav.sock, T=S:30s;R:4m')dnl > 3. Put line smfsav_enable="YES" to /etc/rc.conf file > 4. Run `service smfsav start` > =====================================================================================
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 216652
:
179452
|
179463