- modify the default example configuration to ensure that imapproxy will

chroot itself to /var/empty
- remove quotes from COMMENT
- sync patches/PLIST

ok merdely@
This commit is contained in:
brad 2007-09-12 19:54:48 +00:00
parent 617ad0fe47
commit d3334527c2
5 changed files with 26 additions and 17 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.5 2007/07/24 19:38:01 ckuethe Exp $
# $OpenBSD: Makefile,v 1.6 2007/09/12 19:54:48 brad Exp $
COMMENT= "caching IMAP proxy to be used with webmail clients"
COMMENT= caching IMAP proxy to be used with webmail clients
DISTNAME= up-imapproxy-1.2.5
PKGNAME= ${DISTNAME:S/^up-//}p0
PKGNAME= ${DISTNAME:S/^up-//}p1
CATEGORIES= mail
HOMEPAGE= http://www.imapproxy.org/

View File

@ -1,6 +1,6 @@
--- Makefile.in.orig Mon Feb 21 20:14:47 2005
+++ Makefile.in Sun May 8 11:40:26 2005
@@ -53,7 +53,7 @@ TAT_OBJ = ./src/pimpstat.o ./src/config.
--- 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
# Final targets

View File

@ -1,6 +1,6 @@
--- include/imapproxy.h.orig Mon Feb 21 20:14:51 2005
+++ include/imapproxy.h Wed Oct 18 11:47:02 2006
@@ -141,7 +141,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 @@
/*
* Common definitions
*/
@ -9,7 +9,7 @@
#define IMAP_UNTAGGED_OK "* OK " /* untagged OK response */
#define IMAP_TAGGED_OK "1 OK " /* tagged OK response */
#define BUFSIZE 4096 /* default buffer size */
@@ -159,7 +159,7 @@
@@ -169,7 +169,7 @@
#define SELECT_STATUS_BUF_SIZE 256 /* size of select status */
#ifndef DEFAULT_CONFIG_FILE

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-scripts_imapproxy_conf,v 1.1 2007/07/24 19:38:01 ckuethe Exp $
--- scripts/imapproxy.conf.orig Thu Jul 19 22:38:42 2007
+++ scripts/imapproxy.conf Thu Jul 19 22:39:09 2007
$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
## This setting controls which username the imap proxy process will run as.
## It is not allowed to run as "root".
@ -17,4 +17,13 @@ $OpenBSD: patch-scripts_imapproxy_conf,v 1.1 2007/07/24 19:38:01 ckuethe Exp $
+proc_groupname _imapproxy
#
@@ -164,7 +164,7 @@ force_tls no
## a directory is specified here, imapproxy will chroot() to that
## directory.
#
-#chroot_directory /var/empty
+chroot_directory /var/empty
#

View File

@ -1,11 +1,11 @@
@comment $OpenBSD: PLIST,v 1.2 2007/07/24 19:38:01 ckuethe Exp $
@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
share/examples/imapproxy/
share/examples/imapproxy/imapproxy.conf
@sample ${SYSCONFDIR}/imapproxy.conf
share/doc/imapproxy/
share/doc/imapproxy/README
share/doc/imapproxy/README.ssl
share/examples/imapproxy/
share/examples/imapproxy/imapproxy.conf
@sample ${SYSCONFDIR}/imapproxy.conf