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

(-)/usr/home/mandree/ports/mail/fetchmail/Makefile (-39 / +14 lines)
Lines 10-17 Link Here
10
# want fetchmailconf to work, define WITH_X11
10
# want fetchmailconf to work, define WITH_X11
11
11
12
PORTNAME=	fetchmail
12
PORTNAME=	fetchmail
13
PORTVERSION=	6.3.11
13
PORTVERSION=	6.3.13
14
PORTREVISION=	1
15
CATEGORIES=	mail ipv6
14
CATEGORIES=	mail ipv6
16
MASTER_SITES=	${MASTER_SITE_BERLIOS} \
15
MASTER_SITES=	${MASTER_SITE_BERLIOS} \
17
		http://homepages.uni-paderborn.de/mandree/fetchmail/:ma \
16
		http://homepages.uni-paderborn.de/mandree/fetchmail/:ma \
Lines 33-38 Link Here
33
32
34
USE_BZIP2=	yes
33
USE_BZIP2=	yes
35
USE_GMAKE=	yes
34
USE_GMAKE=	yes
35
MAKE_JOBS_SAFE=	yes
36
GNU_CONFIGURE=	yes
36
GNU_CONFIGURE=	yes
37
USE_OPENSSL=	yes
37
USE_OPENSSL=	yes
38
CONFIGURE_ARGS=	--enable-opie --enable-RPA --enable-SDPS \
38
CONFIGURE_ARGS=	--enable-opie --enable-RPA --enable-SDPS \
Lines 46-53 Link Here
46
OPTIONS=	X11	"Python/Tkinter dependencies for fetchmailconf" off \
46
OPTIONS=	X11	"Python/Tkinter dependencies for fetchmailconf" off \
47
		NLS	"National language support (NLS)."		on \
47
		NLS	"National language support (NLS)."		on \
48
		NTLM	"Build in support for NTLM/MSN authentication." off \
48
		NTLM	"Build in support for NTLM/MSN authentication." off \
49
		POP2	"Build pop2 support (obsolete)." off \
49
		GSSAPI	"Build GSSAPI/Kerberos 5 support" 		off
50
		GSSAPI	"Build GSSAPI support (requires KRB5_HOME to be set)" off
51
50
52
.include <bsd.port.options.mk>
51
.include <bsd.port.options.mk>
53
52
Lines 78-97 Link Here
78
PLIST_SUB+=		NLS="@comment "
77
PLIST_SUB+=		NLS="@comment "
79
.endif
78
.endif
80
79
81
.if defined(KRB5_HOME) && exists(${KRB5_HOME}/lib/libkrb5.a)
80
.if !defined(KRB5_HOME)
82
CONFIGURE_ARGS += --with-kerberos5=${KRB5_HOME}
81
.if exists(${LOCALBASE}/lib/libkrb5.a)
83
82
KRB5_HOME=	${LOCALBASE}
84
.if defined(WITH_GSSAPI)
83
.elif exists(/usr/lib/libkrb5.a)
85
CONFIGURE_ARGS+=--with-gssapi=${KRB5_HOME}
84
KRB5_HOME=	/usr
85
.endif
86
.endif
86
.endif
87
87
88
.elif exists(/usr/lib/libkrb.a) && defined(MAKE_KERBEROS4)
88
.if defined(KRB5_HOME) && !exists(${KRB5_HOME}/lib/libkrb5.a)
89
CONFIGURE_ARGS += --with-kerberos=/usr
89
BROKEN=		KRB5_HOME is set but doesn't provide lib/libkrb5.a
90
.endif
90
91
91
.if defined(WITH_GSSAPI)
92
.if defined(WITH_GSSAPI)
92
CONFIGURE_ARGS+=--with-gssapi=/usr
93
.if defined(KRB5_HOME) && exists(${KRB5_HOME}/lib/libkrb5.a)
94
CONFIGURE_ARGS += --with-gssapi=${KRB5_HOME}
93
.endif
95
.endif
94
95
.endif
96
.endif
96
97
97
.if defined(WITH_NTLM)
98
.if defined(WITH_NTLM)
Lines 109-140 Link Here
109
	@${REINPLACE_CMD} -e "s,@LOCALBASE@,${LOCALBASE},g" \
110
	@${REINPLACE_CMD} -e "s,@LOCALBASE@,${LOCALBASE},g" \
110
		 ${WRKDIR}/fetchmailconf
111
		 ${WRKDIR}/fetchmailconf
111
112
112
pre-configure:
113
114
	@${ECHO_CMD} ""
115
116
.if defined(KRB5_HOME)
117
	@${ECHO_CMD} "Using Kerberos V support in ${KRB5_HOME}."
118
.else
119
	@${ECHO_CMD} "Use KRB5_HOME=<directory> to enable Kerberos V support in <directory> (usually /usr)."
120
.endif
121
122
.if defined(WITH_GSSAPI)
123
.if defined(KRB5_HOME)
124
	@${ECHO_CMD} "Enabling GSSAPI support in ${KRB5_HOME}."
125
.elif defined(MAKE_KERBEROS4)
126
.if exists(/usr/lib/libkrb.a)
127
	@${ECHO_CMD} "Enabling GSSAPI support in /usr."
128
.else
129
	@${ECHO_CMD} "Unable to detect Kerberos in your system. Disabling GSSAPI support."
130
.endif
131
.else
132
	@${ECHO_CMD} "GSSAPI requires Kerberos, but Kerberos is disabled."
133
.endif
134
.endif
135
136
	@${ECHO_CMD} ""
137
138
pre-su-install:
113
pre-su-install:
139
	@${SETENV} ${SCRIPTS_ENV} PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
114
	@${SETENV} ${SCRIPTS_ENV} PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
140
115
(-)/usr/home/mandree/ports/mail/fetchmail/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (fetchmail-6.3.11.tar.bz2) = 43b28f296cc0024d3c727319eacae324
1
MD5 (fetchmail-6.3.13.tar.bz2) = db792fb311bc358e95ed0437389269ac
2
SHA256 (fetchmail-6.3.11.tar.bz2) = ba679cef82b9520bc5dbe9e2e54381e488b5712faf885deb7612393b5ab80c6f
2
SHA256 (fetchmail-6.3.13.tar.bz2) = 206a299f7ced9d7359621cc8e590a22f9cfc9c713696474e2119a1340c2e98ee
3
SIZE (fetchmail-6.3.11.tar.bz2) = 1608923
3
SIZE (fetchmail-6.3.13.tar.bz2) = 1614718
(-)/usr/home/mandree/ports/mail/fetchmail/files/patch-configure (+11 lines)
Line 0 Link Here
1
--- configure.orig	2009-10-30 10:40:08.971594149 +0100
2
+++ configure	2009-10-30 10:40:19.438656862 +0100
3
@@ -14747,7 +14747,7 @@
4
 _ACEOF
5
 
6
   if test "$with_gssapi" != yes ; then
7
-    CPPFLAGS="$CPPFLAGS-I$with_gssapi/include"
8
+    CPPFLAGS="$CPPFLAGS -I$with_gssapi/include"
9
   fi
10
 
11
 
(-)/usr/home/mandree/ports/mail/fetchmail/files/patch-socket.c (-15 lines)
Lines 1-15 Link Here
1
--- socket.c.org	2009-08-08 16:01:49.000000000 +0200
2
+++ socket.c	2009-08-08 16:03:17.000000000 +0200
3
@@ -628,9 +628,10 @@
4
 				report(stdout, GT_("Unknown Issuer CommonName\n"));
5
 		}
6
 		if ((i = X509_NAME_get_text_by_NID(subj, NID_commonName, buf, sizeof(buf))) != -1) {
7
-			if (outlevel >= O_VERBOSE)
8
+			if (outlevel >= O_VERBOSE) {
9
 				report(stdout, GT_("Server CommonName: %s\n"), (tt = sdump(buf, i)));
10
-			xfree(tt);
11
+				xfree(tt);
12
+			}
13
 			if ((size_t)i >= sizeof(buf) - 1) {
14
 				/* Possible truncation. In this case, this is a DNS name, so this
15
 				 * is really bad. We do not tolerate this even in the non-strict case. */
(-)/usr/home/mandree/ports/mail/fetchmail/files/pkg-message.in (-4 / +4 lines)
Lines 1-4 Link Here
1
*********************************************************************
1
******************************************************
2
*** For pointers how to configure fetchmail in daemon mode        ***
2
For pointers how to configure fetchmail in daemon mode
3
*** please consult %%PREFIX%%/etc/rc.d/fetchmail.                 ***
3
please consult %%PREFIX%%/etc/rc.d/fetchmail.
4
*********************************************************************
4
******************************************************
(-)/usr/home/mandree/ports/mail/fetchmail/pkg-plist (-2 / +1 lines)
Lines 39-44 Link Here
39
@unexec if cmp -s %D/etc/fetchmailrc.sample %D/etc/fetchmailrc; then rm -f %D/etc/fetchmailrc; fi
39
@unexec if cmp -s %D/etc/fetchmailrc.sample %D/etc/fetchmailrc; then rm -f %D/etc/fetchmailrc; fi
40
etc/fetchmailrc.sample
40
etc/fetchmailrc.sample
41
@exec if [ ! -f %D/etc/fetchmailrc ] ; then cp -p %D/%F %B/fetchmailrc; fi
41
@exec if [ ! -f %D/etc/fetchmailrc ] ; then cp -p %D/%F %B/fetchmailrc; fi
42
@cwd /
43
@unexec rm -f /var/run/fetchmail/fetchmail.pid 2>/dev/null || true
42
@unexec rm -f /var/run/fetchmail/fetchmail.pid 2>/dev/null || true
44
@dirrm /var/run/fetchmail
43
@unexec rmdir /var/run/fetchmail 2>/dev/null || true

Return to bug 140100