create/use _akpop3d group rather than the non-existent 'mail' one

from ian mcwilliam
This commit is contained in:
jolan 2005-12-14 06:02:09 +00:00
parent a64ec6720a
commit c448746c28
5 changed files with 24 additions and 15 deletions

View File

@ -1,13 +1,12 @@
# $OpenBSD: Makefile,v 1.2 2005/01/02 10:53:41 alek Exp $
# $OpenBSD: Makefile,v 1.3 2005/12/14 06:02:09 jolan Exp $
COMMENT= "small and secure POP3 daemon"
DISTNAME= akpop3d-0.7.7
PKGNAME= ${DISTNAME}p0
CATEGORIES= mail
HOMEPAGE= http://www.synflood.at/akpop3d/
MAINTAINER= Maxime Guillaud <bsd-ports@mguillaud.net>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes

View File

@ -1,8 +1,8 @@
$OpenBSD: patch-Makefile_in,v 1.1.1.1 2004/11/08 21:57:05 naddy Exp $
--- Makefile.in.orig Mon Aug 11 21:12:11 2003
+++ Makefile.in Wed Oct 27 20:57:17 2004
$OpenBSD: patch-Makefile_in,v 1.2 2005/12/14 06:02:09 jolan Exp $
--- Makefile.in.orig Tue Aug 12 05:12:11 2003
+++ Makefile.in Mon Nov 28 10:58:59 2005
@@ -1,7 +1,7 @@
# $Id: patch-Makefile_in,v 1.1.1.1 2004/11/08 21:57:05 naddy Exp $
# $Id: patch-Makefile_in,v 1.2 2005/12/14 06:02:09 jolan Exp $
CC=@CC@
-CFLAGS=@CFLAGS@ @DEFS@ -D_BSD_SOURCE

View File

@ -1,6 +1,15 @@
$OpenBSD: patch-lock_maildrop_c,v 1.1.1.1 2004/11/08 21:57:05 naddy Exp $
--- lock_maildrop.c.orig Sun Aug 17 19:44:55 2003
+++ lock_maildrop.c Fri Aug 27 01:45:07 2004
$OpenBSD: patch-lock_maildrop_c,v 1.2 2005/12/14 06:02:09 jolan Exp $
--- lock_maildrop.c.orig Mon Aug 18 03:44:55 2003
+++ lock_maildrop.c Mon Nov 28 11:40:13 2005
@@ -35,7 +35,7 @@ int lock_maildrop(char * maildrop, uid_t
}
for (i=0;i<5;i++) {
/* only create file when it doesn't exist */
- fd = open(lf,O_WRONLY|O_EXCL|O_CREAT,0600);
+ fd = open(lf,O_WRONLY|O_EXCL|O_CREAT,0660);
if (fd < 0)
sleep(1);
else
@@ -49,13 +49,14 @@ int lock_maildrop(char * maildrop, uid_t
return 1;
}

View File

@ -1,12 +1,12 @@
$OpenBSD: patch-main_c,v 1.1.1.1 2004/11/08 21:57:05 naddy Exp $
--- main.c.orig Sat Aug 2 16:54:56 2003
+++ main.c Wed Oct 27 19:36:57 2004
$OpenBSD: patch-main_c,v 1.2 2005/12/14 06:02:09 jolan Exp $
--- main.c.orig Sun Aug 3 00:54:56 2003
+++ main.c Mon Nov 28 11:25:21 2005
@@ -23,26 +23,34 @@
#include "ssl.h"
#include "strlcpy.h"
+#ifndef DEFAULT_GROUP_NAME
+# define DEFAULT_GROUP_NAME "mail"
+# define DEFAULT_GROUP_NAME "_akpop3d"
+#endif
+
static char * port = NULL;

View File

@ -1,3 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2004/11/08 21:57:05 naddy Exp $
@comment $OpenBSD: PLIST,v 1.2 2005/12/14 06:02:09 jolan Exp $
@newgroup _akpop3d:555
@man man/man8/akpop3d.8
sbin/akpop3d