On Tue, Jul 26, 2005 at 08:53:07PM +0200, Alexandre Anriot wrote: > On Mon, Jul 25, 2005 at 08:30:30PM +0200, Simon Dassow wrote: > > this is a port for clamsmtp 1.4.1. [snip] > Works correctly, but here is a few suggestions: > > - pthread must be added to WANTLIB marker > - clamstpd.conf is in doc/ and should be installed in > share/examples/clamsmtpd and as @sample > - "An" can be removed in COMMENT
Fixed; diff to previous version and port attached. Regards, Simon
Index: mail/clamsmtp/pkg/PLIST
===================================================================
--- mail/clamsmtp/pkg/PLIST (revision 194)
+++ mail/clamsmtp/pkg/PLIST (working copy)
@@ -2,3 +2,6 @@
@man man/man5/clamsmtpd.conf.5
@man man/man8/clamsmtpd.8
sbin/clamsmtpd
+share/examples/clamsmtp/
+share/examples/clamsmtp/clamsmtpd.conf
[EMAIL PROTECTED] ${SYSCONFDIR}/clamsmtpd.conf
Index: mail/clamsmtp/Makefile
===================================================================
--- mail/clamsmtp/Makefile (revision 194)
+++ mail/clamsmtp/Makefile (working copy)
@@ -1,6 +1,6 @@
# $OpenBSD$
-COMMENT= "An SMTP Virus Filter"
+COMMENT= "SMTP Virus Filter"
DISTNAME= clamsmtp-1.4.1
CATEGORIES= mail
@@ -18,8 +18,13 @@
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
-WANTLIB= c
+WANTLIB= c pthread
CONFIGURE_STYLE= gnu
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/clamsmtp
+ ${INSTALL_DATA} ${WRKSRC}/doc/clamsmtpd.conf \
+ ${PREFIX}/share/examples/clamsmtp
+
.include <bsd.port.mk>
mail_clamsmtp.tar.gz
Description: mail_clamsmtp.tar.gz
