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

(-)Makefile (-6 / +13 lines)
Lines 6-13 Link Here
6
#
6
#
7
7
8
PORTNAME=	imapproxy
8
PORTNAME=	imapproxy
9
PORTVERSION=	1.2.4
9
PORTVERSION=	1.2.6
10
PORTREVISION=	1
11
CATEGORIES=	mail
10
CATEGORIES=	mail
12
MASTER_SITES=	http://www.imapproxy.org/downloads/
11
MASTER_SITES=	http://www.imapproxy.org/downloads/
13
PKGNAMEPREFIX=	up-
12
PKGNAMEPREFIX=	up-
Lines 19-33 Link Here
19
GNU_CONFIGURE=	YES
18
GNU_CONFIGURE=	YES
20
USE_RC_SUBR=	imapproxyd.sh
19
USE_RC_SUBR=	imapproxyd.sh
21
20
21
DOCS=		COPYING ChangeLog README README.debian \
22
		README.known_issues README.ssl
23
SBINS=		in.imapproxyd pimpstat
24
25
SUB_FILES=	pkg-message
26
22
post-patch:
27
post-patch:
23
	${REINPLACE_CMD} -e "s|-lc_r|${PTHREAD_LIBS}|g" \
28
	${REINPLACE_CMD} -e "s|-lc_r|${PTHREAD_LIBS}|g" \
24
		-e "s|-lpthread|${PTHREAD_LIBS}|g" ${WRKSRC}/configure
29
		-e "s|-lpthread|${PTHREAD_LIBS}|g" ${WRKSRC}/configure
25
30
26
post-install:
31
do-install:
27
	${INSTALL_DATA} ${WRKSRC}/scripts/imapproxy.conf ${PREFIX}/etc/imapproxyd.conf.default
32
.if !defined(NOPORTDOCS)
28
.if !exists(${PREFIX}/etc/imapproxyd.conf)
33
	@${MKDIR} ${DOCSDIR}
29
	${INSTALL_DATA} ${WRKSRC}/scripts/imapproxy.conf ${PREFIX}/etc/imapproxyd.conf
34
	@${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
30
.endif
35
.endif
36
	@${INSTALL_PROGRAM} ${SBINS:S,^,${WRKSRC}/bin/,} ${PREFIX}/sbin
37
	@${INSTALL_DATA} ${WRKSRC}/scripts/imapproxy.conf ${PREFIX}/etc/imapproxyd.conf.sample
31
	@${CAT} ${PKGMESSAGE}
38
	@${CAT} ${PKGMESSAGE}
32
39
33
.include <bsd.port.mk>
40
.include <bsd.port.mk>
(-)distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (up-imapproxy-1.2.4.tar.gz) = ad68dd2258255ac6ef87165f518390e9
1
MD5 (up-imapproxy-1.2.6.tar.gz) = decc6693a1497e5a1bc5704e5ed28c9b
2
SHA256 (up-imapproxy-1.2.4.tar.gz) = f109a9a9e195154be8c790f458779529e00175e4824a3686980e8bc3533f1d86
2
SHA256 (up-imapproxy-1.2.6.tar.gz) = 2f5e841bc6c84799f890d24b984726efb7cce26c2ad95923864ddf0353fa3b01
3
SIZE (up-imapproxy-1.2.4.tar.gz) = 131331
3
SIZE (up-imapproxy-1.2.6.tar.gz) = 134745
(-)pkg-message (-9 lines)
Removed Link Here
1
****************************************************************************
2
3
Please change the name of your mailserver in the imapproxyd.conf and setup
4
the correct ports.
5
6
To run the imapproxyd from startup, add imapproxyd_enable="YES" in your
7
/etc/rc.conf.
8
9
****************************************************************************
(-)pkg-plist (-2 / +8 lines)
Lines 1-4 Link Here
1
@unexec if cmp -s %D/etc/imapproxyd.conf.default %D/etc/imapproxyd.conf; then rm -f %D/etc/imapproxyd.conf; fi
1
etc/imapproxyd.conf.sample
2
etc/imapproxyd.conf.default
3
sbin/pimpstat
2
sbin/pimpstat
4
sbin/in.imapproxyd
3
sbin/in.imapproxyd
4
%%PORTDOCS%%%%DOCSDIR%%/COPYING
5
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
6
%%PORTDOCS%%%%DOCSDIR%%/README
7
%%PORTDOCS%%%%DOCSDIR%%/README.debian
8
%%PORTDOCS%%%%DOCSDIR%%/README.known_issues
9
%%PORTDOCS%%%%DOCSDIR%%/README.ssl
10
%%PORTDOCS%%@dirrm %%DOCSDIR%%
(-)files/patch-Makefile.in (-11 lines)
Removed Link Here
1
--- Makefile.in.orig	Fri Nov  7 17:36:05 2003
2
+++ Makefile.in	Wed May 12 14:37:33 2004
3
@@ -24,7 +24,7 @@
4
 rpm_prefix = @rpm_prefix@
5
 
6
 CC = @CC@
7
-CPPFLAGS = @CPPFLAGS@ 
8
+CPPFLAGS = @CPPFLAGS@ -DDEFAULT_CONFIG_FILE=\"$(prefix)/etc/imapproxyd.conf\"
9
 LDFLAGS = @LDFLAGS@
10
 LIBS = @LIBS@
11
 DEFINES = @DEFINES@
(-)files/patch-config.h.in (-13 lines)
Removed Link Here
1
--- config.h.in.orig	Wed Sep 28 10:39:59 2005
2
+++ config.h.in	Wed Sep 28 10:40:09 2005
3
@@ -89,6 +89,10 @@
4
 /* Define to empty if `const' does not conform to ANSI C. */
5
 #undef const
6
 
7
+#if HAVE_SYS_TYPES_H
8
+#include <sys/types.h>
9
+#endif
10
+
11
 #if HAVE_SYS_MMAN_H
12
 #include <sys/mman.h>
13
 #endif
(-)files/patch-configure.in (-26 lines)
Removed Link Here
1
--- configure.in.orig	Wed May 12 14:17:03 2004
2
+++ configure.in	Wed May 12 14:17:15 2004
3
@@ -86,23 +86,6 @@
4
         LDFLAGS="${LDFLAGS} -L${with_libwrap}/lib"
5
 fi
6
 
7
-
8
-dnl Check for libwrap
9
-save_LIBS="$LIBS"
10
-if test "$with_libwrap" != no; then
11
-  AC_CHECK_LIB(nsl, yp_get_default_domain, , [
12
-        with_libwrap=no
13
-        AC_WARN([nsl library not found!!!  Wrappers will be disabled.])
14
-  ])
15
-  if test "$with_libwrap" != no; then
16
-     AC_CHECK_LIB(wrap, request_init, , [
17
-        LIBS="$save_LIBS"
18
-        AC_WARN([Wrappers library not found!!!  Wrappers will be disabled.])
19
-     ])
20
-  fi
21
-fi
22
-
23
-
24
 dnl Check for crypto library
25
 AC_CHECK_LIB(crypto, EVP_DigestInit, ,
26
 	AC_ERROR([Can't compile without OpenSSL crypto library!!!])
(-)files/patch-src_imapcommon.c (-13 lines)
Removed Link Here
1
2
$FreeBSD: ports/mail/up-imapproxy/files/patch-src_imapcommon.c,v 1.1 2006/11/23 17:24:44 pav Exp $
3
4
--- src/imapcommon.c.orig
5
+++ src/imapcommon.c
6
@@ -136,6 +136,7 @@
7
 
8
 #include <openssl/evp.h>
9
 #include <openssl/err.h>
10
+#include <openssl/md5.h>
11
 
12
 #include <pthread.h>
13
 #include <sys/types.h>
(-)files/pkg-message.in (+9 lines)
Added Link Here
1
****************************************************************************
2
3
Please change the name of your mailserver in the imapproxyd.conf and setup
4
the correct ports.
5
6
To run the imapproxyd from startup, add imapproxyd_enable="YES" in your
7
/etc/rc.conf.
8
9
****************************************************************************

Return to bug 120140