don't abuse nobody: drop privs to _solid-pop3d instead. regen patches

ok naddy@
This commit is contained in:
martynas 2009-08-06 23:40:47 +00:00
parent 1ffe7c1642
commit cae7248923
5 changed files with 15 additions and 13 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.18 2008/12/16 20:14:07 sthen Exp $
# $OpenBSD: Makefile,v 1.19 2009/08/06 23:40:47 martynas Exp $
COMMENT= flexible POP3 server
VERSION= 0.15
DISTNAME= solid-pop3d-${VERSION}
PKGNAME= ${DISTNAME}p3
PKGNAME= ${DISTNAME}p4
CATEGORIES= mail
MASTER_SITES= ftp://dione.ids.pl/pub/solidpop3d/

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-Makefile_in,v 1.2 2000/08/15 20:36:58 danh Exp $
--- Makefile.in.orig Fri Apr 21 12:29:57 2000
+++ Makefile.in Thu Aug 10 03:45:11 2000
$OpenBSD: patch-Makefile_in,v 1.3 2009/08/06 23:40:47 martynas Exp $
--- Makefile.in.orig Fri Apr 21 18:29:57 2000
+++ Makefile.in Tue Aug 4 21:57:06 2009
@@ -45,7 +45,7 @@ all: all-recursive
all-recursive:
@for subdir in $(SUBDIRS); do \
@ -28,7 +28,7 @@ $OpenBSD: patch-Makefile_in,v 1.2 2000/08/15 20:36:58 danh Exp $
|| exit 1; \
done
@@ -74,7 +74,7 @@ maintainer-clean: maintainer-clean-recur
@@ -74,7 +74,7 @@ maintainer-clean: maintainer-clean-recursive distclean
maintainer-clean-recursive:
@for subdir in $(SUBDIRS); do \

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-man_spop3d_conf_5,v 1.2 2000/08/15 20:36:58 danh Exp $
--- man/spop3d.conf.5.orig Sun Apr 30 16:56:18 2000
+++ man/spop3d.conf.5 Thu Aug 10 03:45:11 2000
@@ -107,7 +107,7 @@ Users can authenticate themselves with A
$OpenBSD: patch-man_spop3d_conf_5,v 1.3 2009/08/06 23:40:47 martynas Exp $
--- man/spop3d.conf.5.orig Sun Apr 30 22:56:18 2000
+++ man/spop3d.conf.5 Tue Aug 4 21:57:06 2009
@@ -107,7 +107,7 @@ Users can authenticate themselves with APOP scheme. It
.B MailDropName string
Specify path to maildrop. The format is the same as for \fB-n\fP option in
\fBspop3d\fP (8). Default value is

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-src_const_h,v 1.2 2000/08/15 20:36:58 danh Exp $
$OpenBSD: patch-src_const_h,v 1.3 2009/08/06 23:40:47 martynas Exp $
--- src/const.h.orig Tue Apr 18 12:04:05 2000
+++ src/const.h Thu Aug 10 03:51:24 2000
@@ -36,7 +36,7 @@
@ -15,7 +15,7 @@ $OpenBSD: patch-src_const_h,v 1.2 2000/08/15 20:36:58 danh Exp $
#define USERCFG ".spop3d"
#define USERBULL ".spop3d-bull"
-#define POPUSER "spop3d"
+#define POPUSER "nobody"
+#define POPUSER "_solid-pop3d"
#define PER_SOURCE 5
#define MAX_SESSIONS 50

View File

@ -1,4 +1,6 @@
@comment $OpenBSD: PLIST,v 1.6 2004/10/12 15:02:12 danh Exp $
@comment $OpenBSD: PLIST,v 1.7 2009/08/06 23:40:47 martynas Exp $
@newgroup _solid-pop3d:635
@newuser _solid-pop3d:635:_solid-pop3d:daemon:solid-pop3d:/nonexistent:/sbin/nologin
@man man/man5/dot-spop3d.5
@man man/man5/spop3d.conf.5
@man man/man8/spop3d.8