View | Details | Raw Unified | Return to bug 77274
Collapse All | Expand All

(-)/home/cyril/ports/milter-greylist-devel/Makefile (-3 / +22 lines)
Lines 5-15 Link Here
5
# $FreeBSD: ports/mail/milter-greylist-devel/Makefile,v 1.1 2005/02/03 18:42:24 ume Exp $
5
# $FreeBSD: ports/mail/milter-greylist-devel/Makefile,v 1.1 2005/02/03 18:42:24 ume Exp $
6
#
6
#
7
7
8
PORTNAME=	milter-greylist
8
PORTNAME=	milter-greylist-devel
9
PORTVERSION=	1.7.5
9
PORTVERSION=	2.0b1
10
CATEGORIES=	mail
10
CATEGORIES=	mail
11
MASTER_SITES=	ftp://ftp.espci.fr/pub/milter-greylist/
11
MASTER_SITES=	ftp://ftp.espci.fr/pub/milter-greylist/
12
PKGNAMESUFFIX=	-devel
12
DISTNAME=	milter-greylist-${PORTVERSION}
13
EXTRACT_SUFX=	.tgz
13
EXTRACT_SUFX=	.tgz
14
14
15
MAINTAINER=	aragorn+ports@teaser.fr
15
MAINTAINER=	aragorn+ports@teaser.fr
Lines 18-26 Link Here
18
MAN5=		greylist.conf.5
18
MAN5=		greylist.conf.5
19
MAN8=		milter-greylist.8
19
MAN8=		milter-greylist.8
20
20
21
CFLAGS+=	${PTHREAD_CFLAGS}
22
LIBS+=		${PTHREAD_LIBS}
23
21
GNU_CONFIGURE=	yes
24
GNU_CONFIGURE=	yes
22
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
25
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
23
CONFIGURE_ARGS+=	--with-user=smmsp
26
CONFIGURE_ARGS+=	--with-user=smmsp
27
CONFIGURE_ENV+=	CFLAGS="${CFLAGS}" LIBS="${LIBS}"
24
28
25
ALL_TARGET=	milter-greylist
29
ALL_TARGET=	milter-greylist
26
30
Lines 51-56 Link Here
51
	@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
55
	@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
52
	@${INSTALL_DATA} ${WRKSRC}/greylist.conf ${EXAMPLESDIR}
56
	@${INSTALL_DATA} ${WRKSRC}/greylist.conf ${EXAMPLESDIR}
53
.endif
57
.endif
58
59
	@${TEST} -f /var/db/milter-greylist/greylist.db && ( \
60
		${ECHO} "***********************************************************"; \
61
		${ECHO} "***********************************************************"; \
62
		${ECHO} "**                                                       **"; \
63
		${ECHO} "**                      WARNING                          **"; \
64
		${ECHO} "**                                                       **"; \
65
		${ECHO} "** The default dump file location has changed.           **"; \
66
		${ECHO} "** Please move greylist.db from /var/db/milter-greylist/ **"; \
67
		${ECHO} "** to /var/milter-greylist/                              **"; \
68
		${ECHO} "**                                                       **"; \
69
		${ECHO} "***********************************************************"; \
70
		${ECHO} "***********************************************************"; \
71
	) || ${TRUE}
72
54
	@${CAT} ${PKGMESSAGE}
73
	@${CAT} ${PKGMESSAGE}
55
74
56
.include <bsd.port.mk>
75
.include <bsd.port.mk>
(-)/home/cyril/ports/milter-greylist-devel/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (milter-greylist-1.7.5.tgz) = b0f0bd40a799b6745226a386d52c03b6
1
MD5 (milter-greylist-2.0b1.tgz) = 928d7a131c56f579380c22edfc53fa3f
2
SIZE (milter-greylist-1.7.5.tgz) = 113031
2
SIZE (milter-greylist-2.0b1.tgz) = 113598
(-)/home/cyril/ports/milter-greylist-devel/files/patch-Makefile.in (-39 lines)
Lines 1-39 Link Here
1
--- Makefile.in.orig	Sun Dec 19 09:11:21 2004
2
+++ Makefile.in	Tue Dec 28 14:36:39 2004
3
@@ -29,9 +29,9 @@
4
 # OF THE POSSIBILITY OF SUCH DAMAGE.
5
 #
6
 
7
-CFLAGS= 	@CFLAGS@ -D_BSD_SOURCE
8
-LDFLAGS=	@LDFLAGS@
9
-LIBS= 		@LIBS@
10
+CFLAGS= 	-O2 -pthread
11
+LDFLAGS=	-pthread
12
+LIBS= 		-lmilter
13
 prefix=		@prefix@
14
 exec_prefix=	@exec_prefix@
15
 SYSCONFDIR=	@sysconfdir@
16
@@ -40,16 +40,16 @@
17
 MANDIR=		@mandir@
18
 USER=		@USER@
19
 
20
-CC=		@CC@
21
-MKDEP=		@MKDEP@
22
+#CC=		@CC@
23
+#MKDEP=		@MKDEP@
24
 RM=		@RM@
25
 MV=		@MV@
26
-TEST=		@TEST@
27
+#TEST=		@TEST@
28
 SED=		@SED@
29
-INSTALL=	@INSTALL@
30
-LEX=		@LEX@
31
-YACC=		@YACC@
32
-TRUE=		@TRUE@
33
+#INSTALL=	@INSTALL@
34
+#LEX=		@LEX@
35
+#YACC=		@YACC@
36
+#TRUE=		@TRUE@
37
 
38
 OBJ= 		milter-greylist.o pending.o sync.o \
39
 		conf_yacc.o dump_yacc.o conf.o autowhite.o dump.o spf.o acl.o
(-)/home/cyril/ports/milter-greylist-devel/pkg-message (-7 / +11 lines)
Lines 1-10 Link Here
1
===> IMPORTANT NOTE
2
1
3
     A sample configuration file has been installed in ${PREFIX}/etc/mail
2
------------------------------------------------------------------------
4
     directory. Copy and edit it to suit your needs before launching
3
                              IMPORTANT NOTE
5
     milter-greylist.
6
4
7
     To run milter-greylist from startup, add miltergreylist_enable="YES"
5
 A sample configuration file has been installed in ${PREFIX}/etc/mail
8
     in your /etc/rc.conf or your /etc/rc.conf.local
6
 directory. Copy and edit it to suit your needs before launching
7
 milter-greylist.
9
8
10
     See ${DOCSDIR}/README for operation details.
9
 To run milter-greylist from startup, add miltergreylist_enable="YES"
10
 in your /etc/rc.conf or your /etc/rc.conf.local
11
12
 See ${DOCSDIR}/README for operation details.
13
14
------------------------------------------------------------------------
(-)/home/cyril/ports/milter-greylist-devel/pkg-plist (+1 lines)
Lines 5-10 Link Here
5
%%PORTDOCS%%%%EXAMPLESDIR%%/greylist.conf
5
%%PORTDOCS%%%%EXAMPLESDIR%%/greylist.conf
6
@exec /bin/mkdir -p /var/milter-greylist
6
@exec /bin/mkdir -p /var/milter-greylist
7
@exec /usr/sbin/chown smmsp /var/milter-greylist
7
@exec /usr/sbin/chown smmsp /var/milter-greylist
8
@exec [ -f /var/db/milter-greylist/greylist.db ] && printf '\n*\n************************************************************\n************************************************************\n***                                                       **\n***                      WARNING                          **\n***                                                       **\n*** The default dump file location has changed.           **\n*** Please move greylist.db from /var/db/milter-greylist/ **\n*** to /var/milter-greylist/                              **\n***                                                       **\n************************************************************\n************************************************************\n' ||true
8
%%PORTDOCS%%@dirrm %%DOCSDIR%%
9
%%PORTDOCS%%@dirrm %%DOCSDIR%%
9
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
10
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
10
@unexec /bin/rmdir %D/etc/mail 2>/dev/null || true
11
@unexec /bin/rmdir %D/etc/mail 2>/dev/null || true

Return to bug 77274