base->ports: mail/sendmail

classic Classic list List threaded Threaded
15 messages Options
Reply | Threaded
Open this post in threaded view
|

base->ports: mail/sendmail

Jeremie Courreges-Anglas-2

Sendmail will probably leave the base source tree during this release.
Here's the port I use since several months - but with a very limited use
case.  The rc script is (for now) named esendmail.

Test reports and comments welcome.



--
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE

sendmail.tgz (20K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: base->ports: mail/sendmail

Vadim Zhukov
2014-08-20 2:47 GMT+04:00 Jérémie Courrèges-Anglas <[hidden email]>:
>
> Sendmail will probably leave the base source tree during this release.
> Here's the port I use since several months - but with a very limited use
> case.  The rc script is (for now) named esendmail.
>
> Test reports and comments welcome.

Two small questions here, otherwise reads fine. I didn't test running
it yet, though.

1. It looks like missing a README on how to enable sendmail. Or it
could run sendmail-enable and sendmail-disable right in the
rcscript...

2. Why do hide the "mv ${PREFIX}/sbin/makemap
${PREFIX}/libexec/sendmail" command?

--
  WBR,
  Vadim Zhukov

Reply | Threaded
Open this post in threaded view
|

Re: base->ports: mail/sendmail

Jeremie Courreges-Anglas-2
Vadim Zhukov <[hidden email]> writes:

> 2014-08-20 2:47 GMT+04:00 Jérémie Courrèges-Anglas <[hidden email]>:
>>
>> Sendmail will probably leave the base source tree during this release.
>> Here's the port I use since several months - but with a very limited use
>> case.  The rc script is (for now) named esendmail.
>>
>> Test reports and comments welcome.
>
> Two small questions here, otherwise reads fine. I didn't test running
> it yet, though.
>
> 1. It looks like missing a README on how to enable sendmail.

Yup, I'd first mention the root crontab entry for the queue runner.

> Or it
> could run sendmail-enable and sendmail-disable right in the
> rcscript...

This sounds a bit too automated to my taste. :)
But if other MTAs in the ports tree behave like this, why not.

> 2. Why do hide the "mv ${PREFIX}/sbin/makemap
> ${PREFIX}/libexec/sendmail" command?

No good reason.  I was propably bored when I added this and the @echo
"Installing..." stuff.

--
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE

Reply | Threaded
Open this post in threaded view
|

Re: base->ports: mail/sendmail

Jeremie Courreges-Anglas-2
[hidden email] (Jérémie Courrèges-Anglas) writes:

> Vadim Zhukov <[hidden email]> writes:
>
>> 2014-08-20 2:47 GMT+04:00 Jérémie Courrèges-Anglas <[hidden email]>:
>>>
>>> Sendmail will probably leave the base source tree during this release.
>>> Here's the port I use since several months - but with a very limited use
>>> case.  The rc script is (for now) named esendmail.
>>>
>>> Test reports and comments welcome.
>>
>> Two small questions here, otherwise reads fine. I didn't test running
>> it yet, though.
>>
>> 1. It looks like missing a README on how to enable sendmail.
>
> Yup, I'd first mention the root crontab entry for the queue runner.
First stab at it.  Maybe it's too verbose, maybe there are important
missing items.  I moved most hints from sendmail-enable/disable in the
README, while here.

>> Or it
>> could run sendmail-enable and sendmail-disable right in the
>> rcscript...
>
> This sounds a bit too automated to my taste. :)
> But if other MTAs in the ports tree behave like this, why not.

Other MTAs don't behave so.  I think that providing reasonable
documentation and configuration templates is nicer in the end.

>> 2. Why do hide the "mv ${PREFIX}/sbin/makemap
>> ${PREFIX}/libexec/sendmail" command?
>
> No good reason.  I was propably bored when I added this and the @echo
> "Installing..." stuff.

I removed a bit more of those.

Other changes:
- added @newuser/@newgroup incantations, since smmsp from base will
  probably die soon, just like the named user for bind.
- use _smmsp in submit.mc
- disable ident queries, per ajacoutot@ in src/
- correct the messed up @sample stuff, the cf files ended up in /etc/
  instead of /etc/mail/.  oops
- replace documentation in sendmail-enable with more error checking

Next step could be splitting it in -main and -libmilter, and build
a shared lib in the latter.

Comments / feedback still welcome. :)



--
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE

sendmail.tgz (21K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: base->ports: mail/sendmail

Matthieu Herrb
On Mon, Sep 01, 2014 at 08:54:36PM +0200, Jérémie Courrèges-Anglas wrote:

> [hidden email] (Jérémie Courrèges-Anglas) writes:
>
> > Vadim Zhukov <[hidden email]> writes:
> >
> >> 2014-08-20 2:47 GMT+04:00 Jérémie Courrèges-Anglas <[hidden email]>:
> >>>
> >>> Sendmail will probably leave the base source tree during this release.
> >>> Here's the port I use since several months - but with a very limited use
> >>> case.  The rc script is (for now) named esendmail.
> >>>
> >>> Test reports and comments welcome.
> >>
> >> Two small questions here, otherwise reads fine. I didn't test running
> >> it yet, though.
> >>
> >> 1. It looks like missing a README on how to enable sendmail.
> >
> > Yup, I'd first mention the root crontab entry for the queue runner.
>
> First stab at it.  Maybe it's too verbose, maybe there are important
> missing items.  I moved most hints from sendmail-enable/disable in the
> README, while here.
>
> >> Or it
> >> could run sendmail-enable and sendmail-disable right in the
> >> rcscript...
> >
> > This sounds a bit too automated to my taste. :)
> > But if other MTAs in the ports tree behave like this, why not.
>
> Other MTAs don't behave so.  I think that providing reasonable
> documentation and configuration templates is nicer in the end.
>
> >> 2. Why do hide the "mv ${PREFIX}/sbin/makemap
> >> ${PREFIX}/libexec/sendmail" command?
> >
> > No good reason.  I was propably bored when I added this and the @echo
> > "Installing..." stuff.
>
> I removed a bit more of those.
>
> Other changes:
> - added @newuser/@newgroup incantations, since smmsp from base will
>   probably die soon, just like the named user for bind.
> - use _smmsp in submit.mc
> - disable ident queries, per ajacoutot@ in src/
> - correct the messed up @sample stuff, the cf files ended up in /etc/
>   instead of /etc/mail/.  oops
> - replace documentation in sendmail-enable with more error checking
>
> Next step could be splitting it in -main and -libmilter, and build
> a shared lib in the latter.
>
> Comments / feedback still welcome. :)
>

Does the port really need NEED_GROFF ? The man pages in base used to
be formatted ok with mandoc.

>
> --
> jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE


--
Matthieu Herrb

Reply | Threaded
Open this post in threaded view
|

Re: base->ports: mail/sendmail

Jeremie Courreges-Anglas-2
Matthieu Herrb <[hidden email]> writes:

[...]

> Does the port really need NEED_GROFF ? The man pages in base used to
> be formatted ok with mandoc.

The manpages in base were converted to mdoc(7), those shipped in the
tarballs are plain man(7) as far as I can tell;  I did not try to review
them, since groff is also used to format op.me, a document that I find
valuable.

--
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE

Reply | Threaded
Open this post in threaded view
|

Re: base->ports: mail/sendmail

Matthieu Herrb
In reply to this post by Jeremie Courreges-Anglas-2
On Mon, Sep 01, 2014 at 08:54:36PM +0200, Jérémie Courrèges-Anglas wrote:

> [hidden email] (Jérémie Courrèges-Anglas) writes:
>
> > Vadim Zhukov <[hidden email]> writes:
> >
> >> 2014-08-20 2:47 GMT+04:00 Jérémie Courrèges-Anglas <[hidden email]>:
> >>>
> >>> Sendmail will probably leave the base source tree during this release.
> >>> Here's the port I use since several months - but with a very limited use
> >>> case.  The rc script is (for now) named esendmail.
> >>>
> >>> Test reports and comments welcome.
> >>
> >> Two small questions here, otherwise reads fine. I didn't test running
> >> it yet, though.
> >>
> >> 1. It looks like missing a README on how to enable sendmail.
> >
> > Yup, I'd first mention the root crontab entry for the queue runner.
>
> First stab at it.  Maybe it's too verbose, maybe there are important
> missing items.  I moved most hints from sendmail-enable/disable in the
> README, while here.
>
> >> Or it
> >> could run sendmail-enable and sendmail-disable right in the
> >> rcscript...
> >
> > This sounds a bit too automated to my taste. :)
> > But if other MTAs in the ports tree behave like this, why not.
>
> Other MTAs don't behave so.  I think that providing reasonable
> documentation and configuration templates is nicer in the end.
>
> >> 2. Why do hide the "mv ${PREFIX}/sbin/makemap
> >> ${PREFIX}/libexec/sendmail" command?
> >
> > No good reason.  I was propably bored when I added this and the @echo
> > "Installing..." stuff.
>
> I removed a bit more of those.
>
> Other changes:
> - added @newuser/@newgroup incantations, since smmsp from base will
>   probably die soon, just like the named user for bind.
> - use _smmsp in submit.mc
> - disable ident queries, per ajacoutot@ in src/
> - correct the messed up @sample stuff, the cf files ended up in /etc/
>   instead of /etc/mail/.  oops
> - replace documentation in sendmail-enable with more error checking
>
> Next step could be splitting it in -main and -libmilter, and build
> a shared lib in the latter.
>
> Comments / feedback still welcome. :)
>

I've been running this version on one of my systems with no issue so
far.
I'm going to try the sasl+ldap version on my test setup at
LAAS in the next days if I find time for that.

--
Matthieu Herrb

Reply | Threaded
Open this post in threaded view
|

Re: base->ports: mail/sendmail

Jeremie Courreges-Anglas-2
Matthieu Herrb <[hidden email]> writes:

[...]

> I've been running this version on one of my systems with no issue so
> far.
> I'm going to try the sasl+ldap version on my test setup at
> LAAS in the next days if I find time for that.

This is the only feedback I have received.  Since Matthieu has unlinked
sendmail yesterday, the clock is ticking.

Here's the port I have, same as the previous iteration but with the rc
script renamed from esendmail to sendmail.  I intend to commit it this
evening (CEST), and I would really like more reviewers.

I'd also like people to agree on what's the appropriate way to deal with
libmilter since it is only available as static library now.  The build
fixes are rather easy.



--
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE

sendmail.tgz (20K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: base->ports: mail/sendmail

Stuart Henderson-6
On 2014/09/16 13:57, Jérémie Courrèges-Anglas wrote:
> This is the only feedback I have received.  Since Matthieu has unlinked
> sendmail yesterday, the clock is ticking.

These ports (which are currently broken) will need the dependency to be added ..

$ sqlite3 /usr/local/share/sqlports "select fullpkgpath from wantlib where value='milter'"
mail/dkim-milter
mail/milter-checkrcpt
mail/milter-greylist
mail/milter-regex
mail/milter-spamd
mail/mimedefang
mail/py-milter
mail/smtp-vilter
mail/smtp-vilter,ldap
security/clamav

Reply | Threaded
Open this post in threaded view
|

Re: base->ports: mail/sendmail

Antoine Jacoutot-7
On Tue, Sep 16, 2014 at 04:37:27PM +0100, Stuart Henderson wrote:
> On 2014/09/16 13:57, Jérémie Courrèges-Anglas wrote:
> > This is the only feedback I have received.  Since Matthieu has unlinked
> > sendmail yesterday, the clock is ticking.
>
> These ports (which are currently broken) will need the dependency to be added ..

I think libmilter will need to be provided built as a shared lib first.


> $ sqlite3 /usr/local/share/sqlports "select fullpkgpath from wantlib where value='milter'"
> mail/dkim-milter
> mail/milter-checkrcpt
> mail/milter-greylist
> mail/milter-regex
> mail/milter-spamd
> mail/mimedefang
> mail/py-milter
> mail/smtp-vilter
> mail/smtp-vilter,ldap
> security/clamav
>

--
Antoine

Reply | Threaded
Open this post in threaded view
|

Re: base->ports: mail/sendmail

Jeremie Courreges-Anglas-2
Antoine Jacoutot <[hidden email]> writes:

> On Tue, Sep 16, 2014 at 04:37:27PM +0100, Stuart Henderson wrote:
>> On 2014/09/16 13:57, Jérémie Courrèges-Anglas wrote:
>> > This is the only feedback I have received.  Since Matthieu has unlinked
>> > sendmail yesterday, the clock is ticking.
>>
>> These ports (which are currently broken) will need the dependency to be added ..
>
> I think libmilter will need to be provided built as a shared lib first.

sharedlibrary.m4 from FreeBSD and hacked to fit in our tree,
libmilter.so cargo-cult-bumped.

Index: Makefile
===================================================================
RCS file: /cvs/ports/mail/sendmail/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 Makefile
--- Makefile 16 Sep 2014 17:09:31 -0000 1.1.1.1
+++ Makefile 16 Sep 2014 18:39:29 -0000
@@ -4,6 +4,9 @@ COMMENT = mother of Mail Transfer Agent
 
 DISTNAME = sendmail.8.14.9
 PKGNAME = sendmail-8.14.9
+REVISION = 0
+
+SHARED_LIBS = milter 4.0
 
 CATEGORIES = mail
 
@@ -21,8 +24,14 @@ MASTER_SITES = ftp://ftp.sendmail.org/p
 BUILD_DEPENDS = textproc/groff
 
 SUBDIRS = libsmutil libsm libmilter sendmail mail.local mailstats makemap praliases smrsh editmap
+.include <bsd.port.arch.mk>
+.if ! ${PROPERTIES:Mno_shared}
+SUBDIRS += libsharedmilter
+.endif
+
 MAKE_FLAGS = O="${CFLAGS}" \
- SUBDIRS="${SUBDIRS} cf/cf"
+ SUBDIRS="${SUBDIRS} cf/cf" \
+ MILTER_SOVER="${LIBmilter_VERSION}"
 MAKE_ENV = M4="/usr/bin/m4"
 FAKE_FLAGS = SUBDIRS="${SUBDIRS}"
 
@@ -52,6 +61,9 @@ WRKDIST = ${WRKDIR}/${PKGNAME}
 
 post-extract:
  cp ${FILESDIR}/cf/*.mc ${WRKSRC}/cf/cf
+ cp ${FILESDIR}/sharedlibrary.m4 ${WRKSRC}/devtools/M4/UNIX/
+ cp -R ${WRKSRC}/libmilter ${WRKSRC}/libsharedmilter
+ perl -pi -e 's=`library=`sharedlibrary=' ${WRKSRC}/libsharedmilter/Makefile.m4
  ${SUBST_CMD} -c ${FILESDIR}/site.OS.m4 \
     ${WRKSRC}/devtools/Site/site.config.m4
 
Index: files/sharedlibrary.m4
===================================================================
RCS file: files/sharedlibrary.m4
diff -N files/sharedlibrary.m4
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ files/sharedlibrary.m4 16 Sep 2014 18:39:29 -0000
@@ -0,0 +1,35 @@
+divert(-1)
+#
+# Copyright (c) 1999-2001, 2006 Sendmail, Inc. and its suppliers.
+# All rights reserved.
+#
+# By using this file, you agree to the terms and conditions set
+# forth in the LICENSE file which can be found at the top level of
+# the sendmail distribution.
+#
+#
+#  Definitions for Makefile construction for sendmail
+#
+# $Id: library.m4,v 8.11 2006/09/05 22:56:53 ca Exp $
+#
+divert(0)dnl
+include(confBUILDTOOLSDIR`/M4/'bldM4_TYPE_DIR`/links.m4')dnl
+bldLIST_PUSH_ITEM(`bldC_PRODUCTS', bldCURRENT_PRODUCT)dnl
+bldPUSH_TARGET(bldCURRENT_PRODUCT.so.${MILTER_SOVER})dnl
+bldPUSH_INSTALL_TARGET(`install-'bldCURRENT_PRODUCT)dnl
+bldPUSH_CLEAN_TARGET(bldCURRENT_PRODUCT`-clean')dnl
+
+include(confBUILDTOOLSDIR`/M4/'bldM4_TYPE_DIR`/defines.m4')
+divert(bldTARGETS_SECTION)
+bldCURRENT_PRODUCT.so.${MILTER_SOVER}: ${BEFORE} ${bldCURRENT_PRODUCT`OBJS'}
+ ${LD} ${LDOPTS_SO} -o bldCURRENT_PRODUCT.so.${MILTER_SOVER} ${bldCURRENT_PRODUCT`OBJS'}
+ifdef(`bldLINK_SOURCES', `bldMAKE_SOURCE_LINKS(bldLINK_SOURCES)')
+
+install-`'bldCURRENT_PRODUCT: bldCURRENT_PRODUCT.so.${MILTER_SOVER}
+ifdef(`bldINSTALLABLE', ` ${INSTALL} -c -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} bldCURRENT_PRODUCT.so.${MILTER_SOVER} ${DESTDIR}${LIBDIR}/bldCURRENT_PRODUCT.so.${MILTER_SOVER}')
+
+bldCURRENT_PRODUCT-clean:
+ rm -f ${OBJS} bldCURRENT_PRODUCT.so ${MANPAGES}
+
+divert(0)
+COPTS+= confCCOPTS_SO
Index: files/site.OS.m4
===================================================================
RCS file: /cvs/ports/mail/sendmail/files/site.OS.m4,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 site.OS.m4
--- files/site.OS.m4 16 Sep 2014 17:09:31 -0000 1.1.1.1
+++ files/site.OS.m4 16 Sep 2014 18:39:29 -0000
@@ -28,6 +28,8 @@ APPENDDEF(`confENVDEF', `-DNEEDSGETIPNOD
 APPENDDEF(`confENVDEF', `-DNETINET6')dnl
 APPENDDEF(`confENVDEF', `-DSM_CONF_SHM')dnl
 APPENDDEF(`confMAPDEF', `-DSOCKETMAP')dnl
+APPENDDEF(`conf_libmilter_ENVDEF', `-DMILTER')
+APPENDDEF(`conf_sendmail_ENVDEF', `-DMILTER')
 dnl (START)TLS
 APPENDDEF(`confENVDEF', `-DSTARTTLS')dnl
 APPENDDEF(`confLIBS', `-lssl -lcrypto')dnl
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/mail/sendmail/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST
--- pkg/PLIST 16 Sep 2014 17:09:32 -0000 1.1.1.1
+++ pkg/PLIST 16 Sep 2014 18:39:29 -0000
@@ -5,6 +5,7 @@ include/libmilter/
 include/libmilter/mfapi.h
 include/libmilter/mfdef.h
 lib/libmilter.a
+@lib lib/libmilter.so.${LIBmilter_VERSION}
 @bin libexec/mail.local
 libexec/sendmail/
 @bin libexec/sendmail/makemap


--
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE

Reply | Threaded
Open this post in threaded view
|

Re: base->ports: mail/sendmail

Jeremie Courreges-Anglas-2
In reply to this post by Stuart Henderson-6
Stuart Henderson <[hidden email]> writes:

> On 2014/09/16 13:57, Jérémie Courrèges-Anglas wrote:
>> This is the only feedback I have received.  Since Matthieu has unlinked
>> sendmail yesterday, the clock is ticking.
>
> These ports (which are currently broken) will need the dependency to be added ..
>
> $ sqlite3 /usr/local/share/sqlports "select fullpkgpath from wantlib where value='milter'"
> mail/dkim-milter
> mail/milter-checkrcpt
> mail/milter-greylist
> mail/milter-regex
> mail/milter-spamd
> mail/mimedefang
> mail/py-milter
> mail/smtp-vilter
> mail/smtp-vilter,ldap
> security/clamav

Here are the fixes.  I didn't go farther than ''make package''.

Index: mail/dkim-milter/Makefile
===================================================================
RCS file: /cvs/ports/mail/dkim-milter/Makefile,v
retrieving revision 1.38
diff -u -p -r1.38 Makefile
--- mail/dkim-milter/Makefile 15 Jan 2014 00:20:42 -0000 1.38
+++ mail/dkim-milter/Makefile 16 Sep 2014 17:31:09 -0000
@@ -3,7 +3,7 @@
 COMMENT= DKIM milter
 
 DISTNAME= dkim-milter-2.8.3
-REVISION= 3
+REVISION= 4
 CATEGORIES= mail
 HOMEPAGE= http://sourceforge.net/projects/dkim-milter/
 
@@ -17,12 +17,16 @@ PERMIT_PACKAGE_FTP= Yes
 
 WANTLIB= c crypto milter pthread ssl
 
+LIB_DEPENDS= mail/sendmail
+
 EXAMPLESDIR= share/examples/dkim-milter
 
 post-configure:
  @(echo "define(\`confCC', \`${CC}')"; \
   echo "define(\`confOPTIMIZE', \`${CFLAGS}')"; \
-  echo "define(\`confNO_MAN_BUILD')") \
+  echo "define(\`confNO_MAN_BUILD')"; \
+  echo "APPENDDEF(\`confINCDIRS', \`-I${LOCALBASE}/include')"; \
+  echo "APPENDDEF(\`confLIBDIRS', \`-L${LOCALBASE}/lib ')") \
  >${WRKSRC}/devtools/Site/site.config.m4
 
 do-install:
Index: mail/milter-checkrcpt/Makefile
===================================================================
RCS file: /cvs/ports/mail/milter-checkrcpt/Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile
--- mail/milter-checkrcpt/Makefile 11 Mar 2013 11:23:51 -0000 1.3
+++ mail/milter-checkrcpt/Makefile 16 Sep 2014 18:45:01 -0000
@@ -3,6 +3,7 @@
 COMMENT= sendmail milter plugin for recipient checking
 
 DISTNAME= milter-checkrcpt-0.3
+REVISION= 0
 CATEGORIES= mail
 MASTER_SITES= http://www.benzedrine.cx/
 
@@ -13,9 +14,15 @@ MAINTAINER= Okan Demirmen <okan@openbsd.
 # BSD
 PERMIT_PACKAGE_CDROM= Yes
 
-WANTLIB= c pthread milter
+WANTLIB= c milter pthread
+
+LIB_DEPENDS= mail/sendmail
 
 NO_TEST= Yes
+
+MAKE_FLAGS= CPPFLAGS="-I${LOCALBASE}/include" \
+ CFLAGS="-Wall -Wstrict-prototypes ${CFLAGS}" \
+ LDFLAGS="-L${LOCALBASE}/lib"
 
 do-install:
  ${INSTALL_PROGRAM} ${WRKSRC}/milter-checkrcpt ${PREFIX}/libexec
Index: mail/milter-greylist/Makefile
===================================================================
RCS file: /cvs/ports/mail/milter-greylist/Makefile,v
retrieving revision 1.14
diff -u -p -r1.14 Makefile
--- mail/milter-greylist/Makefile 15 Jul 2013 21:51:57 -0000 1.14
+++ mail/milter-greylist/Makefile 16 Sep 2014 18:50:03 -0000
@@ -3,7 +3,7 @@
 COMMENT= greylist milter
 
 DISTNAME= milter-greylist-4.2.7
-REVISION= 0
+REVISION= 1
 CATEGORIES= mail
 HOMEPAGE= http://hcpnet.free.fr/milter-greylist/
 
@@ -17,7 +17,8 @@ PERMIT_PACKAGE_CDROM= Yes
 
 WANTLIB= c pthread milter spf2
 
-LIB_DEPENDS= mail/libspf2
+LIB_DEPENDS= mail/libspf2 \
+ mail/sendmail
 
 BUILD_DEPENDS= devel/bison
 
Index: mail/milter-regex/Makefile
===================================================================
RCS file: /cvs/ports/mail/milter-regex/Makefile,v
retrieving revision 1.26
diff -u -p -r1.26 Makefile
--- mail/milter-regex/Makefile 11 Mar 2013 11:23:51 -0000 1.26
+++ mail/milter-regex/Makefile 16 Sep 2014 18:51:18 -0000
@@ -3,6 +3,7 @@
 COMMENT= sendmail milter plugin for regular expression filtering
 
 DISTNAME= milter-regex-1.9
+REVISION= 0
 CATEGORIES= mail
 MASTER_SITES= http://www.benzedrine.cx/
 
@@ -13,6 +14,12 @@ MAINTAINER= Daniel Hartmeier <dhartmei@o
 # BSD
 PERMIT_PACKAGE_CDROM= Yes
 WANTLIB= c pthread milter
+
+LIB_DEPENDS= mail/sendmail
+
+MAKE_FLAGS= CPPFLAGS="-I${LOCALBASE}/include" \
+ CFLAGS="-Wall -Wstrict-prototypes ${CFLAGS}" \
+ LDFLAGS="-L${LOCALBASE}/lib"
 
 NO_TEST= Yes
 
Index: mail/milter-spamd/Makefile
===================================================================
RCS file: /cvs/ports/mail/milter-spamd/Makefile,v
retrieving revision 1.19
diff -u -p -r1.19 Makefile
--- mail/milter-spamd/Makefile 21 Jan 2014 13:07:26 -0000 1.19
+++ mail/milter-spamd/Makefile 16 Sep 2014 18:52:09 -0000
@@ -3,6 +3,7 @@
 COMMENT= sendmail milter plugin for SpamAssassin spamd
 
 DISTNAME= milter-spamd-0.6
+REVISION= 0
 CATEGORIES= mail
 MASTER_SITES= http://www.benzedrine.cx/
 
@@ -12,7 +13,13 @@ MAINTAINER= Daniel Hartmeier <dhartmei@o
 
 # BSD
 PERMIT_PACKAGE_CDROM= Yes
-WANTLIB= c pthread milter
+WANTLIB= c milter pthread
+
+LIB_DEPENDS= mail/sendmail
+
+MAKE_FLAGS= CPPFLAGS="-I${LOCALBASE}/include" \
+ CFLAGS="-Wall -Wstrict-prototypes ${CFLAGS}" \
+ LDFLAGS="-L${LOCALBASE}/lib ${LDFLAGS}"
 
 NO_TEST= Yes
 
Index: mail/mimedefang/Makefile
===================================================================
RCS file: /cvs/ports/mail/mimedefang/Makefile,v
retrieving revision 1.37
diff -u -p -r1.37 Makefile
--- mail/mimedefang/Makefile 8 Jul 2014 15:55:43 -0000 1.37
+++ mail/mimedefang/Makefile 16 Sep 2014 18:53:16 -0000
@@ -3,6 +3,7 @@
 COMMENT= mailfilter to identify and mark spam
 
 DISTNAME= mimedefang-2.75
+REVISION= 0
 CATEGORIES= mail
 
 HOMEPAGE= http://www.mimedefang.org/
@@ -21,6 +22,7 @@ RUN_DEPENDS= archivers/p5-Archive-Zip \
  www/p5-HTML-Parser \
  sysutils/p5-Unix-Syslog
 BUILD_DEPENDS= ${RUN_DEPENDS}
+LIB_DEPENDS= mail/sendmail
 
 CONFIGURE_STYLE=gnu
 CONFIGURE_ARGS= --with-user=_mdefang \
Index: mail/py-milter/Makefile
===================================================================
RCS file: /cvs/ports/mail/py-milter/Makefile,v
retrieving revision 1.20
diff -u -p -r1.20 Makefile
--- mail/py-milter/Makefile 15 Apr 2013 07:44:01 -0000 1.20
+++ mail/py-milter/Makefile 16 Sep 2014 18:58:10 -0000
@@ -5,6 +5,7 @@ COMMENT = Python interface to sendmail m
 MODPY_EGG_VERSION = 0.9.8
 DISTNAME = pymilter-${MODPY_EGG_VERSION}
 PKGNAME = ${DISTNAME:S/py/py-/}
+REVISION = 0
 CATEGORIES = mail
 
 HOMEPAGE = http://www.bmsi.com/python/milter.html
@@ -18,6 +19,7 @@ MASTER_SITES = ${MASTER_SITE_SOURCEFORGE
 
 MODULES = lang/python
 
+LIB_DEPENDS = mail/sendmail
 TEST_DEPENDS = ${RUN_DEPENDS} \
   net/py-dns
 
Index: mail/smtp-vilter/Makefile
===================================================================
RCS file: /cvs/ports/mail/smtp-vilter/Makefile,v
retrieving revision 1.56
diff -u -p -r1.56 Makefile
--- mail/smtp-vilter/Makefile 23 Jan 2014 15:45:18 -0000 1.56
+++ mail/smtp-vilter/Makefile 16 Sep 2014 18:57:08 -0000
@@ -3,7 +3,7 @@
 COMMENT= sendmail milter to scan messages for viruses and spam
 
 DISTNAME= smtp-vilter-1.3.6
-EPOCH= 0
+EPOCH= 1
 
 CATEGORIES=     mail
 
@@ -18,6 +18,8 @@ WANTLIB += c m pthread milter
 
 MASTER_SITES=   ${HOMEPAGE}
 EXTRACT_SUFX= .tgz
+
+LIB_DEPENDS= mail/sendmail
 
 NO_TEST= Yes
 
Index: security/clamav/Makefile
===================================================================
RCS file: /cvs/ports/security/clamav/Makefile,v
retrieving revision 1.92
diff -u -p -r1.92 Makefile
--- security/clamav/Makefile 26 Jun 2014 15:36:11 -0000 1.92
+++ security/clamav/Makefile 16 Sep 2014 19:13:31 -0000
@@ -2,7 +2,7 @@
 
 COMMENT= virus scanner
 DISTNAME= clamav-0.98.4
-REVISION= 0
+REVISION= 1
 
 CATEGORIES= security
 
@@ -25,6 +25,7 @@ BUILD_DEPENDS= devel/check \
 
 LIB_DEPENDS= archivers/bzip2 \
  devel/libtool,-ltdl \
+ mail/sendmail \
  net/curl \
  textproc/libxml
 


--
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE

Reply | Threaded
Open this post in threaded view
|

Re: base->ports: mail/sendmail

Stuart Henderson
Bump REVISION rather than EPOCH for smtp-vilter, then it's OK.

I'm tempted to split libmilter off to a sub package at some point (not now though :)


On 16 September 2014 20:33:02 BST, [hidden email] wrote:

>Stuart Henderson <[hidden email]> writes:
>
>> On 2014/09/16 13:57, Jérémie Courrèges-Anglas wrote:
>>> This is the only feedback I have received.  Since Matthieu has
>unlinked
>>> sendmail yesterday, the clock is ticking.
>>
>> These ports (which are currently broken) will need the dependency to
>be added ..
>>
>> $ sqlite3 /usr/local/share/sqlports "select fullpkgpath from wantlib
>where value='milter'"
>> mail/dkim-milter
>> mail/milter-checkrcpt
>> mail/milter-greylist
>> mail/milter-regex
>> mail/milter-spamd
>> mail/mimedefang
>> mail/py-milter
>> mail/smtp-vilter
>> mail/smtp-vilter,ldap
>> security/clamav
>
>Here are the fixes.  I didn't go farther than ''make package''.
>
>Index: mail/dkim-milter/Makefile
>===================================================================
>RCS file: /cvs/ports/mail/dkim-milter/Makefile,v
>retrieving revision 1.38
>diff -u -p -r1.38 Makefile
>--- mail/dkim-milter/Makefile 15 Jan 2014 00:20:42 -0000 1.38
>+++ mail/dkim-milter/Makefile 16 Sep 2014 17:31:09 -0000
>@@ -3,7 +3,7 @@
> COMMENT= DKIM milter
>
> DISTNAME= dkim-milter-2.8.3
>-REVISION= 3
>+REVISION= 4
> CATEGORIES= mail
> HOMEPAGE= http://sourceforge.net/projects/dkim-milter/
>
>@@ -17,12 +17,16 @@ PERMIT_PACKAGE_FTP= Yes
>
> WANTLIB= c crypto milter pthread ssl
>
>+LIB_DEPENDS= mail/sendmail
>+
> EXAMPLESDIR= share/examples/dkim-milter
>
> post-configure:
> @(echo "define(\`confCC', \`${CC}')"; \
>  echo "define(\`confOPTIMIZE', \`${CFLAGS}')"; \
>-  echo "define(\`confNO_MAN_BUILD')") \
>+  echo "define(\`confNO_MAN_BUILD')"; \
>+  echo "APPENDDEF(\`confINCDIRS', \`-I${LOCALBASE}/include')"; \
>+  echo "APPENDDEF(\`confLIBDIRS', \`-L${LOCALBASE}/lib ')") \
> >${WRKSRC}/devtools/Site/site.config.m4
>
> do-install:
>Index: mail/milter-checkrcpt/Makefile
>===================================================================
>RCS file: /cvs/ports/mail/milter-checkrcpt/Makefile,v
>retrieving revision 1.3
>diff -u -p -r1.3 Makefile
>--- mail/milter-checkrcpt/Makefile 11 Mar 2013 11:23:51 -0000 1.3
>+++ mail/milter-checkrcpt/Makefile 16 Sep 2014 18:45:01 -0000
>@@ -3,6 +3,7 @@
> COMMENT= sendmail milter plugin for recipient checking
>
> DISTNAME= milter-checkrcpt-0.3
>+REVISION= 0
> CATEGORIES= mail
> MASTER_SITES= http://www.benzedrine.cx/
>
>@@ -13,9 +14,15 @@ MAINTAINER= Okan Demirmen <okan@openbsd.
> # BSD
> PERMIT_PACKAGE_CDROM= Yes
>
>-WANTLIB= c pthread milter
>+WANTLIB= c milter pthread
>+
>+LIB_DEPENDS= mail/sendmail
>
> NO_TEST= Yes
>+
>+MAKE_FLAGS= CPPFLAGS="-I${LOCALBASE}/include" \
>+ CFLAGS="-Wall -Wstrict-prototypes ${CFLAGS}" \
>+ LDFLAGS="-L${LOCALBASE}/lib"
>
> do-install:
> ${INSTALL_PROGRAM} ${WRKSRC}/milter-checkrcpt ${PREFIX}/libexec
>Index: mail/milter-greylist/Makefile
>===================================================================
>RCS file: /cvs/ports/mail/milter-greylist/Makefile,v
>retrieving revision 1.14
>diff -u -p -r1.14 Makefile
>--- mail/milter-greylist/Makefile 15 Jul 2013 21:51:57 -0000 1.14
>+++ mail/milter-greylist/Makefile 16 Sep 2014 18:50:03 -0000
>@@ -3,7 +3,7 @@
> COMMENT= greylist milter
>
> DISTNAME= milter-greylist-4.2.7
>-REVISION= 0
>+REVISION= 1
> CATEGORIES= mail
> HOMEPAGE= http://hcpnet.free.fr/milter-greylist/
>
>@@ -17,7 +17,8 @@ PERMIT_PACKAGE_CDROM= Yes
>
> WANTLIB= c pthread milter spf2
>
>-LIB_DEPENDS= mail/libspf2
>+LIB_DEPENDS= mail/libspf2 \
>+ mail/sendmail
>
> BUILD_DEPENDS= devel/bison
>
>Index: mail/milter-regex/Makefile
>===================================================================
>RCS file: /cvs/ports/mail/milter-regex/Makefile,v
>retrieving revision 1.26
>diff -u -p -r1.26 Makefile
>--- mail/milter-regex/Makefile 11 Mar 2013 11:23:51 -0000 1.26
>+++ mail/milter-regex/Makefile 16 Sep 2014 18:51:18 -0000
>@@ -3,6 +3,7 @@
> COMMENT= sendmail milter plugin for regular expression filtering
>
> DISTNAME= milter-regex-1.9
>+REVISION= 0
> CATEGORIES= mail
> MASTER_SITES= http://www.benzedrine.cx/
>
>@@ -13,6 +14,12 @@ MAINTAINER= Daniel Hartmeier <dhartmei@o
> # BSD
> PERMIT_PACKAGE_CDROM= Yes
> WANTLIB= c pthread milter
>+
>+LIB_DEPENDS= mail/sendmail
>+
>+MAKE_FLAGS= CPPFLAGS="-I${LOCALBASE}/include" \
>+ CFLAGS="-Wall -Wstrict-prototypes ${CFLAGS}" \
>+ LDFLAGS="-L${LOCALBASE}/lib"
>
> NO_TEST= Yes
>
>Index: mail/milter-spamd/Makefile
>===================================================================
>RCS file: /cvs/ports/mail/milter-spamd/Makefile,v
>retrieving revision 1.19
>diff -u -p -r1.19 Makefile
>--- mail/milter-spamd/Makefile 21 Jan 2014 13:07:26 -0000 1.19
>+++ mail/milter-spamd/Makefile 16 Sep 2014 18:52:09 -0000
>@@ -3,6 +3,7 @@
> COMMENT= sendmail milter plugin for SpamAssassin spamd
>
> DISTNAME= milter-spamd-0.6
>+REVISION= 0
> CATEGORIES= mail
> MASTER_SITES= http://www.benzedrine.cx/
>
>@@ -12,7 +13,13 @@ MAINTAINER= Daniel Hartmeier <dhartmei@o
>
> # BSD
> PERMIT_PACKAGE_CDROM= Yes
>-WANTLIB= c pthread milter
>+WANTLIB= c milter pthread
>+
>+LIB_DEPENDS= mail/sendmail
>+
>+MAKE_FLAGS= CPPFLAGS="-I${LOCALBASE}/include" \
>+ CFLAGS="-Wall -Wstrict-prototypes ${CFLAGS}" \
>+ LDFLAGS="-L${LOCALBASE}/lib ${LDFLAGS}"
>
> NO_TEST= Yes
>
>Index: mail/mimedefang/Makefile
>===================================================================
>RCS file: /cvs/ports/mail/mimedefang/Makefile,v
>retrieving revision 1.37
>diff -u -p -r1.37 Makefile
>--- mail/mimedefang/Makefile 8 Jul 2014 15:55:43 -0000 1.37
>+++ mail/mimedefang/Makefile 16 Sep 2014 18:53:16 -0000
>@@ -3,6 +3,7 @@
> COMMENT= mailfilter to identify and mark spam
>
> DISTNAME= mimedefang-2.75
>+REVISION= 0
> CATEGORIES= mail
>
> HOMEPAGE= http://www.mimedefang.org/
>@@ -21,6 +22,7 @@ RUN_DEPENDS= archivers/p5-Archive-Zip \
> www/p5-HTML-Parser \
> sysutils/p5-Unix-Syslog
> BUILD_DEPENDS= ${RUN_DEPENDS}
>+LIB_DEPENDS= mail/sendmail
>
> CONFIGURE_STYLE=gnu
> CONFIGURE_ARGS= --with-user=_mdefang \
>Index: mail/py-milter/Makefile
>===================================================================
>RCS file: /cvs/ports/mail/py-milter/Makefile,v
>retrieving revision 1.20
>diff -u -p -r1.20 Makefile
>--- mail/py-milter/Makefile 15 Apr 2013 07:44:01 -0000 1.20
>+++ mail/py-milter/Makefile 16 Sep 2014 18:58:10 -0000
>@@ -5,6 +5,7 @@ COMMENT = Python interface to sendmail m
> MODPY_EGG_VERSION = 0.9.8
> DISTNAME = pymilter-${MODPY_EGG_VERSION}
> PKGNAME = ${DISTNAME:S/py/py-/}
>+REVISION = 0
> CATEGORIES = mail
>
> HOMEPAGE = http://www.bmsi.com/python/milter.html
>@@ -18,6 +19,7 @@ MASTER_SITES = ${MASTER_SITE_SOURCEFORGE
>
> MODULES = lang/python
>
>+LIB_DEPENDS = mail/sendmail
> TEST_DEPENDS = ${RUN_DEPENDS} \
>  net/py-dns
>
>Index: mail/smtp-vilter/Makefile
>===================================================================
>RCS file: /cvs/ports/mail/smtp-vilter/Makefile,v
>retrieving revision 1.56
>diff -u -p -r1.56 Makefile
>--- mail/smtp-vilter/Makefile 23 Jan 2014 15:45:18 -0000 1.56
>+++ mail/smtp-vilter/Makefile 16 Sep 2014 18:57:08 -0000
>@@ -3,7 +3,7 @@
> COMMENT= sendmail milter to scan messages for viruses and spam
>
> DISTNAME= smtp-vilter-1.3.6
>-EPOCH= 0
>+EPOCH= 1
>
> CATEGORIES=     mail
>
>@@ -18,6 +18,8 @@ WANTLIB += c m pthread milter
>
> MASTER_SITES=   ${HOMEPAGE}
> EXTRACT_SUFX= .tgz
>+
>+LIB_DEPENDS= mail/sendmail
>
> NO_TEST= Yes
>
>Index: security/clamav/Makefile
>===================================================================
>RCS file: /cvs/ports/security/clamav/Makefile,v
>retrieving revision 1.92
>diff -u -p -r1.92 Makefile
>--- security/clamav/Makefile 26 Jun 2014 15:36:11 -0000 1.92
>+++ security/clamav/Makefile 16 Sep 2014 19:13:31 -0000
>@@ -2,7 +2,7 @@
>
> COMMENT= virus scanner
> DISTNAME= clamav-0.98.4
>-REVISION= 0
>+REVISION= 1
>
> CATEGORIES= security
>
>@@ -25,6 +25,7 @@ BUILD_DEPENDS= devel/check \
>
> LIB_DEPENDS= archivers/bzip2 \
> devel/libtool,-ltdl \
>+ mail/sendmail \
> net/curl \
> textproc/libxml
>

--
Sent from a phone, please excuse the formatting.

Reply | Threaded
Open this post in threaded view
|

Re: base->ports: mail/sendmail

Antoine Jacoutot-7
In reply to this post by Jeremie Courreges-Anglas-2
On Tue, Sep 16, 2014 at 09:33:02PM +0200, Jérémie Courrèges-Anglas wrote:

> Stuart Henderson <[hidden email]> writes:
>
> > On 2014/09/16 13:57, Jérémie Courrèges-Anglas wrote:
> >> This is the only feedback I have received.  Since Matthieu has unlinked
> >> sendmail yesterday, the clock is ticking.
> >
> > These ports (which are currently broken) will need the dependency to be added ..
> >
> > $ sqlite3 /usr/local/share/sqlports "select fullpkgpath from wantlib where value='milter'"
> > mail/dkim-milter
> > mail/milter-checkrcpt
> > mail/milter-greylist
> > mail/milter-regex
> > mail/milter-spamd
> > mail/mimedefang
> > mail/py-milter
> > mail/smtp-vilter
> > mail/smtp-vilter,ldap
> > security/clamav
>
> Here are the fixes.  I didn't go farther than ''make package''.

Looks fine. Maybe at once point we will want a libmilter subpackage, dunno. Anyway, that's for later if ever.

> Index: mail/dkim-milter/Makefile
> ===================================================================
> RCS file: /cvs/ports/mail/dkim-milter/Makefile,v
> retrieving revision 1.38
> diff -u -p -r1.38 Makefile
> --- mail/dkim-milter/Makefile 15 Jan 2014 00:20:42 -0000 1.38
> +++ mail/dkim-milter/Makefile 16 Sep 2014 17:31:09 -0000
> @@ -3,7 +3,7 @@
>  COMMENT= DKIM milter
>  
>  DISTNAME= dkim-milter-2.8.3
> -REVISION= 3
> +REVISION= 4
>  CATEGORIES= mail
>  HOMEPAGE= http://sourceforge.net/projects/dkim-milter/
>  
> @@ -17,12 +17,16 @@ PERMIT_PACKAGE_FTP= Yes
>  
>  WANTLIB= c crypto milter pthread ssl
>  
> +LIB_DEPENDS= mail/sendmail
> +
>  EXAMPLESDIR= share/examples/dkim-milter
>  
>  post-configure:
>   @(echo "define(\`confCC', \`${CC}')"; \
>    echo "define(\`confOPTIMIZE', \`${CFLAGS}')"; \
> -  echo "define(\`confNO_MAN_BUILD')") \
> +  echo "define(\`confNO_MAN_BUILD')"; \
> +  echo "APPENDDEF(\`confINCDIRS', \`-I${LOCALBASE}/include')"; \
> +  echo "APPENDDEF(\`confLIBDIRS', \`-L${LOCALBASE}/lib ')") \
>   >${WRKSRC}/devtools/Site/site.config.m4
>  
>  do-install:
> Index: mail/milter-checkrcpt/Makefile
> ===================================================================
> RCS file: /cvs/ports/mail/milter-checkrcpt/Makefile,v
> retrieving revision 1.3
> diff -u -p -r1.3 Makefile
> --- mail/milter-checkrcpt/Makefile 11 Mar 2013 11:23:51 -0000 1.3
> +++ mail/milter-checkrcpt/Makefile 16 Sep 2014 18:45:01 -0000
> @@ -3,6 +3,7 @@
>  COMMENT= sendmail milter plugin for recipient checking
>  
>  DISTNAME= milter-checkrcpt-0.3
> +REVISION= 0
>  CATEGORIES= mail
>  MASTER_SITES= http://www.benzedrine.cx/
>  
> @@ -13,9 +14,15 @@ MAINTAINER= Okan Demirmen <okan@openbsd.
>  # BSD
>  PERMIT_PACKAGE_CDROM= Yes
>  
> -WANTLIB= c pthread milter
> +WANTLIB= c milter pthread
> +
> +LIB_DEPENDS= mail/sendmail
>  
>  NO_TEST= Yes
> +
> +MAKE_FLAGS= CPPFLAGS="-I${LOCALBASE}/include" \
> + CFLAGS="-Wall -Wstrict-prototypes ${CFLAGS}" \
> + LDFLAGS="-L${LOCALBASE}/lib"
>  
>  do-install:
>   ${INSTALL_PROGRAM} ${WRKSRC}/milter-checkrcpt ${PREFIX}/libexec
> Index: mail/milter-greylist/Makefile
> ===================================================================
> RCS file: /cvs/ports/mail/milter-greylist/Makefile,v
> retrieving revision 1.14
> diff -u -p -r1.14 Makefile
> --- mail/milter-greylist/Makefile 15 Jul 2013 21:51:57 -0000 1.14
> +++ mail/milter-greylist/Makefile 16 Sep 2014 18:50:03 -0000
> @@ -3,7 +3,7 @@
>  COMMENT= greylist milter
>  
>  DISTNAME= milter-greylist-4.2.7
> -REVISION= 0
> +REVISION= 1
>  CATEGORIES= mail
>  HOMEPAGE= http://hcpnet.free.fr/milter-greylist/
>  
> @@ -17,7 +17,8 @@ PERMIT_PACKAGE_CDROM= Yes
>  
>  WANTLIB= c pthread milter spf2
>  
> -LIB_DEPENDS= mail/libspf2
> +LIB_DEPENDS= mail/libspf2 \
> + mail/sendmail
>  
>  BUILD_DEPENDS= devel/bison
>  
> Index: mail/milter-regex/Makefile
> ===================================================================
> RCS file: /cvs/ports/mail/milter-regex/Makefile,v
> retrieving revision 1.26
> diff -u -p -r1.26 Makefile
> --- mail/milter-regex/Makefile 11 Mar 2013 11:23:51 -0000 1.26
> +++ mail/milter-regex/Makefile 16 Sep 2014 18:51:18 -0000
> @@ -3,6 +3,7 @@
>  COMMENT= sendmail milter plugin for regular expression filtering
>  
>  DISTNAME= milter-regex-1.9
> +REVISION= 0
>  CATEGORIES= mail
>  MASTER_SITES= http://www.benzedrine.cx/
>  
> @@ -13,6 +14,12 @@ MAINTAINER= Daniel Hartmeier <dhartmei@o
>  # BSD
>  PERMIT_PACKAGE_CDROM= Yes
>  WANTLIB= c pthread milter
> +
> +LIB_DEPENDS= mail/sendmail
> +
> +MAKE_FLAGS= CPPFLAGS="-I${LOCALBASE}/include" \
> + CFLAGS="-Wall -Wstrict-prototypes ${CFLAGS}" \
> + LDFLAGS="-L${LOCALBASE}/lib"
>  
>  NO_TEST= Yes
>  
> Index: mail/milter-spamd/Makefile
> ===================================================================
> RCS file: /cvs/ports/mail/milter-spamd/Makefile,v
> retrieving revision 1.19
> diff -u -p -r1.19 Makefile
> --- mail/milter-spamd/Makefile 21 Jan 2014 13:07:26 -0000 1.19
> +++ mail/milter-spamd/Makefile 16 Sep 2014 18:52:09 -0000
> @@ -3,6 +3,7 @@
>  COMMENT= sendmail milter plugin for SpamAssassin spamd
>  
>  DISTNAME= milter-spamd-0.6
> +REVISION= 0
>  CATEGORIES= mail
>  MASTER_SITES= http://www.benzedrine.cx/
>  
> @@ -12,7 +13,13 @@ MAINTAINER= Daniel Hartmeier <dhartmei@o
>  
>  # BSD
>  PERMIT_PACKAGE_CDROM= Yes
> -WANTLIB= c pthread milter
> +WANTLIB= c milter pthread
> +
> +LIB_DEPENDS= mail/sendmail
> +
> +MAKE_FLAGS= CPPFLAGS="-I${LOCALBASE}/include" \
> + CFLAGS="-Wall -Wstrict-prototypes ${CFLAGS}" \
> + LDFLAGS="-L${LOCALBASE}/lib ${LDFLAGS}"
>  
>  NO_TEST= Yes
>  
> Index: mail/mimedefang/Makefile
> ===================================================================
> RCS file: /cvs/ports/mail/mimedefang/Makefile,v
> retrieving revision 1.37
> diff -u -p -r1.37 Makefile
> --- mail/mimedefang/Makefile 8 Jul 2014 15:55:43 -0000 1.37
> +++ mail/mimedefang/Makefile 16 Sep 2014 18:53:16 -0000
> @@ -3,6 +3,7 @@
>  COMMENT= mailfilter to identify and mark spam
>  
>  DISTNAME= mimedefang-2.75
> +REVISION= 0
>  CATEGORIES= mail
>  
>  HOMEPAGE= http://www.mimedefang.org/
> @@ -21,6 +22,7 @@ RUN_DEPENDS= archivers/p5-Archive-Zip \
>   www/p5-HTML-Parser \
>   sysutils/p5-Unix-Syslog
>  BUILD_DEPENDS= ${RUN_DEPENDS}
> +LIB_DEPENDS= mail/sendmail
>  
>  CONFIGURE_STYLE=gnu
>  CONFIGURE_ARGS= --with-user=_mdefang \
> Index: mail/py-milter/Makefile
> ===================================================================
> RCS file: /cvs/ports/mail/py-milter/Makefile,v
> retrieving revision 1.20
> diff -u -p -r1.20 Makefile
> --- mail/py-milter/Makefile 15 Apr 2013 07:44:01 -0000 1.20
> +++ mail/py-milter/Makefile 16 Sep 2014 18:58:10 -0000
> @@ -5,6 +5,7 @@ COMMENT = Python interface to sendmail m
>  MODPY_EGG_VERSION = 0.9.8
>  DISTNAME = pymilter-${MODPY_EGG_VERSION}
>  PKGNAME = ${DISTNAME:S/py/py-/}
> +REVISION = 0
>  CATEGORIES = mail
>  
>  HOMEPAGE = http://www.bmsi.com/python/milter.html
> @@ -18,6 +19,7 @@ MASTER_SITES = ${MASTER_SITE_SOURCEFORGE
>  
>  MODULES = lang/python
>  
> +LIB_DEPENDS = mail/sendmail
>  TEST_DEPENDS = ${RUN_DEPENDS} \
>    net/py-dns
>  
> Index: mail/smtp-vilter/Makefile
> ===================================================================
> RCS file: /cvs/ports/mail/smtp-vilter/Makefile,v
> retrieving revision 1.56
> diff -u -p -r1.56 Makefile
> --- mail/smtp-vilter/Makefile 23 Jan 2014 15:45:18 -0000 1.56
> +++ mail/smtp-vilter/Makefile 16 Sep 2014 18:57:08 -0000
> @@ -3,7 +3,7 @@
>  COMMENT= sendmail milter to scan messages for viruses and spam
>  
>  DISTNAME= smtp-vilter-1.3.6
> -EPOCH= 0
> +EPOCH= 1
>  
>  CATEGORIES=     mail
>  
> @@ -18,6 +18,8 @@ WANTLIB += c m pthread milter
>  
>  MASTER_SITES=   ${HOMEPAGE}
>  EXTRACT_SUFX= .tgz
> +
> +LIB_DEPENDS= mail/sendmail
>  
>  NO_TEST= Yes
>  
> Index: security/clamav/Makefile
> ===================================================================
> RCS file: /cvs/ports/security/clamav/Makefile,v
> retrieving revision 1.92
> diff -u -p -r1.92 Makefile
> --- security/clamav/Makefile 26 Jun 2014 15:36:11 -0000 1.92
> +++ security/clamav/Makefile 16 Sep 2014 19:13:31 -0000
> @@ -2,7 +2,7 @@
>  
>  COMMENT= virus scanner
>  DISTNAME= clamav-0.98.4
> -REVISION= 0
> +REVISION= 1
>  
>  CATEGORIES= security
>  
> @@ -25,6 +25,7 @@ BUILD_DEPENDS= devel/check \
>  
>  LIB_DEPENDS= archivers/bzip2 \
>   devel/libtool,-ltdl \
> + mail/sendmail \
>   net/curl \
>   textproc/libxml
>  
>
>
> --
> jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE
>

--
Antoine

Reply | Threaded
Open this post in threaded view
|

Re: base->ports: mail/sendmail

Jeremie Courreges-Anglas-2
In reply to this post by Stuart Henderson
Stuart Henderson <[hidden email]> writes:

> Bump REVISION rather than EPOCH for smtp-vilter, then it's OK.

Oops, thanks.

> I'm tempted to split libmilter off to a sub package at some point (not now though :)

Yeah, not now please. :)

I'll commit this tomorrow morning if I hear no objection.

[...]

--
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE