FreeBSD Bugzilla – Attachment 183582 Details for
Bug 220070
mail/dcc-dccd: Port changes to make fully compliant with FreeBSD
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
mail/dcc-dccd.diff
mail-dcc-dccd.diff (text/plain), 4.36 KB, created by
Richard Gallamore
on 2017-06-17 22:29:54 UTC
(
hide
)
Description:
mail/dcc-dccd.diff
Filename:
MIME Type:
Creator:
Richard Gallamore
Created:
2017-06-17 22:29:54 UTC
Size:
4.36 KB
patch
obsolete
>Index: UPDATING >=================================================================== >--- UPDATING (revision 443728) >+++ UPDATING (working copy) >@@ -5,6 +5,14 @@ > You should get into the habit of checking this file for changes each time > you update your ports collection, before attempting any port upgrades. > >+20170617: >+ AFFECTS: users of mail/dcc-dccd >+ AUTHER: ultima@FreeBSD.org >+ >+ The ALT_HOME option was removed in 1.3.159_1. If this option is being >+ used, please be sure to move the old home directory, /var/dcc to >+ ${PREFIX}/dcc. >+ > 20170613: > AFFECTS: users of net-im/ejabberd > AUTHOR: ashish@FreeBSD.org >Index: mail/dcc-dccd/Makefile >=================================================================== >--- mail/dcc-dccd/Makefile (revision 443728) >+++ mail/dcc-dccd/Makefile (working copy) >@@ -3,6 +3,7 @@ > > PORTNAME= dcc-dccd > PORTVERSION= 1.3.159 >+PORTREVISION= 1 > CATEGORIES= mail > MASTER_SITES= http://www.dcc-servers.net/dcc/source/old/ \ > ftp://ftp.dcc-servers.net/src/dcc/old/ \ >@@ -23,16 +24,15 @@ > > USES= tar:Z > >-OPTIONS_DEFINE= DCCIFD DCCD DCCGREY IPV6 ALT_HOME >+OPTIONS_DEFINE= DCCIFD DCCD DCCGREY IPV6 > OPTIONS_DEFAULT= DCCIFD DCCM DCCD DCCGREY > OPTIONS_GROUP= MILTER >-OPTIONS_GROUP_MILTER= DCCM PORTS_SENDMAIL >+OPTIONS_GROUP_MILTER= DCCM PORTS_MILTER > DCCIFD_DESC= DCC interface daemon (for SpamAssassin etc) >-DCCM_DESC= DCC milter (for Sendmail only) >+DCCM_DESC= DCC milter > DCCD_DESC= DCC server > DCCGREY_DESC= DCC greylisting server >-ALT_HOME_DESC= DCC home in /var/dcc (see help) >-PORTS_SENDMAIL_DESC= Use ports Sendmail instead of base >+PORTS_MILTER_DESC= Use ports milter instead of base > > OPTIONS_SUB= yes > >@@ -44,6 +44,8 @@ > USERS= ${DCCUSER} > GROUPS= ${DCCGROUP} > >+DCCHOME= ${PREFIX}/dcc >+ > PLIST_SUB+= DCCUSER="${DCCUSER}" DCCGROUP="${DCCGROUP}" > SUB_FILES= pkg-install pkg-message > SUB_LIST+= WRKSRC=${WRKSRC} DCCHOME=${DCCHOME} >@@ -59,15 +61,17 @@ > --with-configsuffix=.sample \ > --with-make-cmd=${MAKE_CMD} \ > --with-install-cmd=${BSD_INSTALL_PROGRAM} \ >- --enable-pkg-make >+ --enable-pkg-make \ >+ --homedir=${DCCHOME} \ >+ --libexecdir=${DCCHOME}/libexec \ >+ --with-cgibin=${DCCHOME}/cgi-bin > > CONFIGURE_ENV= ac_cv_header_histedit_h=no # disable libedit detection > >-ALT_HOME_CONFIGURE_ON= --libexecdir=${PREFIX}/dcc/libexec --with-cgibin=${PREFIX}/dcc/cgi-bin > DCCM_CONFIGURE_ENABLE= dccm > DCCM_USE= rc_subr=dccm >-PORTS_SENDMAIL_BUILD_DEPENDS= ${LOCALBASE}/lib/libmilter.a:mail/libmilter >-PORTS_SENDMAIL_CONFIGURE_ON= --with-sendmail=yes >+PORTS_MILTER_BUILD_DEPENDS= ${LOCALBASE}/lib/libmilter.a:mail/libmilter >+PORTS_MILTER_CONFIGURE_ON= --with-sendmail=yes > DCCIFD_CONFIGURE_ENABLE= dccifd > DCCIFD_USE= rc_subr=dccifd > DCCD_CONFIGURE_ENABLE= server >@@ -77,33 +81,10 @@ > > .include <bsd.port.options.mk> > >-.if ${PORT_OPTIONS:MALT_HOME} >-DCCHOME= /var/dcc >-.else >-DCCHOME= ${PREFIX}/dcc >-.endif >- >-CONFIGURE_ARGS+= --homedir=${DCCHOME} >- > ## dccm milter support > # >-.if ${PORT_OPTIONS:MDCCM} >- >-.if !exists(/usr/lib/libmilter.a) && !exists(${LOCALBASE}/lib/libmilter.a) >-IGNORE= neither base system nor Ports version of Sendmail installed, cannot build milter >-.endif >-.if ! ${PORT_OPTIONS:MPORTS_SENDMAIL} && !exists(/usr/lib/libmilter.a) >-IGNORE= base system Sendmail not found or too old, rebuild with WITH_PORTS_SENDMAIL=yes or WITHOUT_DCCM=yes >-.endif >-.if ${PORT_OPTIONS:MPORTS_SENDMAIL} && !exists(${LOCALBASE}/lib/libmilter.a) >-IGNORE= ports Sendmail not found, rebuild with WITHOUT_PORTS_SENDMAIL=yes or WITHOUT_DCCM=yes >-.endif >- >-.if ! ${PORT_OPTIONS:MPORTS_SENDMAIL} >-MILTERBASE= /usr >-.else >+.if ${PORT_OPTIONS:MPORTS_MILTER} > MILTERBASE?= ${LOCALBASE} >-.endif > > MILTERINC= ${MILTERBASE}/include > MILTERLIB= ${MILTERBASE}/lib >Index: mail/dcc-dccd/pkg-plist >=================================================================== >--- mail/dcc-dccd/pkg-plist (revision 443728) >+++ mail/dcc-dccd/pkg-plist (working copy) >@@ -54,8 +54,6 @@ > man/man8/dccm.8.gz > man/man8/dccproc.8.gz > man/man8/dccsight.8.gz >-%%ALT_HOME%%@dir dcc >-%%ALT_HOME%%@cwd /var > @owner %%DCCUSER%% > @group %%DCCGROUP%% > @sample dcc/dcc_conf.sample >@@ -78,8 +76,6 @@ > %%DCCGREY%%@unexec [ -e %D/dcc/grey_flod.map ] && rm -f %D/dcc/grey_flod.map || true > %%DCCGREY%%@unexec [ -e %D/dcc/grey_clients ] && rm -f %D/dcc/grey_clients || true > @dir dcc/log >-%%NO_ALT_HOME%%@group wheel >-%%NO_ALT_HOME%%@owner root >+@group wheel >+@owner root > @dir dcc >-%%ALT_HOME%%@group wheel >-%%ALT_HOME%%@owner root
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 220070
: 183582