Here is an update to imapproxy 1.2.7.

Tested on amd64.


Index: Makefile
===================================================================
RCS file: /cvs/anoncvs/cvs/ports/mail/imapproxy/Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile
--- Makefile    19 Nov 2010 07:23:06 -0000      1.7
+++ Makefile    24 May 2012 22:52:35 -0000
@@ -2,39 +2,38 @@
 
 COMMENT=       caching IMAP proxy to be used with webmail clients
 
-DISTNAME=      up-imapproxy-1.2.5
-PKGNAME=       ${DISTNAME:S/^up-//}
-REVISION =     1
+VER=           1.2.7
+DISTNAME=      squirrelmail-imap_proxy-${VER}
+PKGNAME=       imapproxy-${VER}
 CATEGORIES=    mail
+MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=squirrelmail/}
+EXTRACT_SUFX=  .tar.bz2
 
 HOMEPAGE=      http://www.imapproxy.org/
 
 MAINTAINER=    Holger Mauermann <hol...@mauermann.org>
 
-# GPL
+# GPLv2+
 PERMIT_PACKAGE_CDROM=  Yes
 PERMIT_PACKAGE_FTP=    Yes
 PERMIT_DISTFILES_CDROM=        Yes
 PERMIT_DISTFILES_FTP=  Yes
 
-MASTER_SITES=  ${HOMEPAGE}/downloads/
+WANTLIB=       c crypto curses pthread ssl
 
-WANTLIB=       curses c ssl crypto pthread
-
-CONFIGURE_STYLE=gnu
+CONFIGURE_STYLE= gnu
 
 NO_REGRESS=    Yes
 
 pre-build:
-       @perl -pi -e "s,!!SYSCONFDIR!!,${SYSCONFDIR}," \
-               ${WRKSRC}/include/imapproxy.h
+       @${SUBST_CMD} ${WRKSRC}/include/imapproxy.h
 
 post-install:
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/imapproxy
-       ${INSTALL_DATA} ${WRKSRC}/scripts/imapproxy.conf \
-               ${PREFIX}/share/examples/imapproxy
        ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/imapproxy
+       ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/imapproxy
        ${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/README.ssl \
                ${PREFIX}/share/doc/imapproxy
+       ${INSTALL_DATA} ${WRKSRC}/scripts/imapproxy.conf \
+               ${PREFIX}/share/examples/imapproxy
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/anoncvs/cvs/ports/mail/imapproxy/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo    11 Apr 2007 16:06:46 -0000      1.3
+++ distinfo    24 May 2012 21:50:46 -0000
@@ -1,5 +1,5 @@
-MD5 (up-imapproxy-1.2.5.tar.gz) = xt+wn9vYwK+GLdAgSa456Q==
-RMD160 (up-imapproxy-1.2.5.tar.gz) = OuYsroFrdg4fdoZ4xYifbsN5iec=
-SHA1 (up-imapproxy-1.2.5.tar.gz) = B4UfBXw1HgQho1HJSUw8uXETAo4=
-SHA256 (up-imapproxy-1.2.5.tar.gz) = 
eJQKF25G+YZjgds4+phzuve3dNzlvEIulRmYkpaGkfg=
-SIZE (up-imapproxy-1.2.5.tar.gz) = 132317
+MD5 (squirrelmail-imap_proxy-1.2.7.tar.bz2) = xGUkQUojdTEFV2hucjvRIA==
+RMD160 (squirrelmail-imap_proxy-1.2.7.tar.bz2) = 3ezQthJCPW6aUSxxlOjK9m6R19U=
+SHA1 (squirrelmail-imap_proxy-1.2.7.tar.bz2) = WP7ZRuthuaQqx9nxar4QJ4Jo0+4=
+SHA256 (squirrelmail-imap_proxy-1.2.7.tar.bz2) = 
3YrUDj5Fe9dvyfGe8cDYmRHj48xyJBXRGD92XcrBrkg=
+SIZE (squirrelmail-imap_proxy-1.2.7.tar.bz2) = 111651
Index: patches/patch-Makefile_in
===================================================================
RCS file: /cvs/anoncvs/cvs/ports/mail/imapproxy/patches/patch-Makefile_in,v
retrieving revision 1.2
diff -u -p -r1.2 patch-Makefile_in
--- patches/patch-Makefile_in   12 Sep 2007 19:54:48 -0000      1.2
+++ patches/patch-Makefile_in   31 Jan 2009 20:32:26 -0000
@@ -1,6 +1,7 @@
---- Makefile.in.orig   Tue Jan 30 10:23:46 2007
-+++ Makefile.in        Wed Aug 22 02:53:26 2007
-@@ -53,7 +53,7 @@ TAT_OBJ = ./src/pimpstat.o ./src/config.o
+$OpenBSD$
+--- Makefile.in.orig   Mon Jan 28 08:15:08 2008
++++ Makefile.in        Thu Mar 13 21:57:46 2008
+@@ -54,7 +54,7 @@ TAT_OBJ = ./src/pimpstat.o ./src/config.o
  
  # Final targets
  
@@ -9,7 +10,7 @@
  TAT_BIN = ./bin/pimpstat
  
  # Rules
-@@ -78,9 +78,9 @@ distclean: clean
+@@ -79,9 +79,9 @@ distclean: clean
        rm -f config.cache config.log config.h Makefile
  
  install: $(XYD_BIN) $(TAT_BIN)
Index: patches/patch-config_h_in
===================================================================
RCS file: /cvs/anoncvs/cvs/ports/mail/imapproxy/patches/patch-config_h_in,v
retrieving revision 1.1
diff -u -p -r1.1 patch-config_h_in
--- patches/patch-config_h_in   11 Apr 2007 16:08:23 -0000      1.1
+++ patches/patch-config_h_in   31 Jan 2009 20:32:42 -0000
@@ -1,3 +1,4 @@
+$OpenBSD$
 --- config.h.in.orig   Wed Jan 24 23:41:06 2007
 +++ config.h.in        Wed Jan 24 23:41:44 2007
 @@ -89,6 +89,10 @@
Index: patches/patch-imapcommon_c
===================================================================
RCS file: patches/patch-imapcommon_c
diff -N patches/patch-imapcommon_c
--- patches/patch-imapcommon_c  11 Apr 2007 16:06:46 -0000      1.2
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,10 +0,0 @@
---- src/imapcommon.c.orig      Tue Oct  3 14:27:00 2006
-+++ src/imapcommon.c   Wed Jan 24 22:35:30 2007
-@@ -138,6 +138,7 @@
- #include <limits.h>
- 
- #include <openssl/evp.h>
-+#include <openssl/md5.h>
- #include <openssl/err.h>
- 
- #include <pthread.h>
Index: patches/patch-imapproxy_h
===================================================================
RCS file: /cvs/anoncvs/cvs/ports/mail/imapproxy/patches/patch-imapproxy_h,v
retrieving revision 1.3
diff -u -p -r1.3 patch-imapproxy_h
--- patches/patch-imapproxy_h   12 Sep 2007 19:54:48 -0000      1.3
+++ patches/patch-imapproxy_h   10 Jan 2010 08:29:01 -0000
@@ -1,6 +1,7 @@
---- include/imapproxy.h.orig   Tue Jan 30 10:23:46 2007
-+++ include/imapproxy.h        Wed Aug 22 02:53:26 2007
-@@ -151,7 +151,7 @@
+$OpenBSD$
+--- include/imapproxy.h.orig   Fri Oct 16 10:37:41 2009
++++ include/imapproxy.h        Sun Jan 10 03:28:47 2010
+@@ -169,7 +169,7 @@
  /* 
   * Common definitions 
   */
@@ -9,12 +10,12 @@
  #define IMAP_UNTAGGED_OK        "* OK "           /* untagged OK response    
*/
  #define IMAP_TAGGED_OK          "1 OK "           /* tagged OK response      
*/
  #define BUFSIZE                 4096              /* default buffer size     
*/
-@@ -169,7 +169,7 @@
+@@ -187,7 +187,7 @@
  #define SELECT_STATUS_BUF_SIZE  256               /* size of select status   
*/
  
  #ifndef DEFAULT_CONFIG_FILE
 -#define DEFAULT_CONFIG_FILE     "/etc/imapproxy.conf"
-+#define DEFAULT_CONFIG_FILE     "!!SYSCONFDIR!!/imapproxy.conf"
++#define DEFAULT_CONFIG_FILE     "${SYSCONFDIR}/imapproxy.conf"
  #endif
- 
- #define LITERAL_PASSWORD        1
+ #ifndef DEFAULT_PID_FILE
+ #define DEFAULT_PID_FILE       "/var/run/imapproxy.pid"
Index: patches/patch-scripts_imapproxy_conf
===================================================================
RCS file: 
/cvs/anoncvs/cvs/ports/mail/imapproxy/patches/patch-scripts_imapproxy_conf,v
retrieving revision 1.2
diff -u -p -r1.2 patch-scripts_imapproxy_conf
--- patches/patch-scripts_imapproxy_conf        12 Sep 2007 19:54:48 -0000      
1.2
+++ patches/patch-scripts_imapproxy_conf        10 Jan 2010 08:28:56 -0000
@@ -1,7 +1,7 @@
 $OpenBSD: patch-scripts_imapproxy_conf,v 1.2 2007/09/12 19:54:48 brad Exp $
---- scripts/imapproxy.conf.orig        Tue Jan 30 10:23:46 2007
-+++ scripts/imapproxy.conf     Wed Aug 22 02:53:55 2007
-@@ -67,14 +67,14 @@ cache_expiration_time 300
+--- scripts/imapproxy.conf.orig        Fri Oct 16 10:37:41 2009
++++ scripts/imapproxy.conf     Sun Jan 10 03:28:47 2010
+@@ -76,14 +76,14 @@ cache_expiration_time 300
  ## This setting controls which username the imap proxy process will run as.
  ## It is not allowed to run as "root".
  #
@@ -18,7 +18,7 @@ $OpenBSD: patch-scripts_imapproxy_conf,v
  
  
  #
-@@ -164,7 +164,7 @@ force_tls no
+@@ -173,7 +173,7 @@ force_tls no
  ## a directory is specified here, imapproxy will chroot() to that
  ## directory.
  #
Index: pkg/PLIST
===================================================================
RCS file: /cvs/anoncvs/cvs/ports/mail/imapproxy/pkg/PLIST,v
retrieving revision 1.3
diff -u -p -r1.3 PLIST
--- pkg/PLIST   12 Sep 2007 19:54:48 -0000      1.3
+++ pkg/PLIST   24 Jan 2009 08:29:00 -0000
@@ -1,8 +1,8 @@
 @comment $OpenBSD: PLIST,v 1.3 2007/09/12 19:54:48 brad Exp $
 @newgroup _imapproxy:592
 @newuser _imapproxy:592:_imapproxy:daemon:IMAP Proxy 
Account:/nonexistent:/sbin/nologin
-sbin/imapproxyd
-sbin/pimpstat
+@bin sbin/imapproxyd
+@bin sbin/pimpstat
 share/doc/imapproxy/
 share/doc/imapproxy/README
 share/doc/imapproxy/README.ssl

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

Reply via email to