aboutsummaryrefslogtreecommitdiffstats
path: root/mail/cucipop/files
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1997-07-15 10:01:14 +0800
committerobrien <obrien@FreeBSD.org>1997-07-15 10:01:14 +0800
commitd7a51c86620f4bb40c9f1bbe64b814c9e136d8fd (patch)
tree0b702c49a3dd34f476d01aa208295931cbbb69a1 /mail/cucipop/files
parent5aa7bbc03bfc6ff103974ff663ddd7aa185819bf (diff)
downloadfreebsd-ports-gnome-d7a51c86620f4bb40c9f1bbe64b814c9e136d8fd.tar.gz
freebsd-ports-gnome-d7a51c86620f4bb40c9f1bbe64b814c9e136d8fd.tar.zst
freebsd-ports-gnome-d7a51c86620f4bb40c9f1bbe64b814c9e136d8fd.zip
Cubic Circle's POP3 daemon (fully RFC1939 compliant)
PR: ports/4047 Submitted by: Igor Vinokurov igor@zynaps.ru
Diffstat (limited to 'mail/cucipop/files')
-rw-r--r--mail/cucipop/files/patch-aa62
-rw-r--r--mail/cucipop/files/patch-ab58
2 files changed, 120 insertions, 0 deletions
diff --git a/mail/cucipop/files/patch-aa b/mail/cucipop/files/patch-aa
new file mode 100644
index 000000000000..472c052de2df
--- /dev/null
+++ b/mail/cucipop/files/patch-aa
@@ -0,0 +1,62 @@
+--- Makefile.orig Wed Oct 30 19:24:29 1996
++++ Makefile Mon Jul 7 14:27:28 1997
+@@ -1,29 +1,29 @@
+ #$Id: Makefile,v 1.2 1996/10/30 16:24:29 srb Exp $
+
+-BASENAME= /usr
++BASENAME= $(PREFIX)
+
+ GCC_WARNINGS = -O2 -pedantic -Wreturn-type -Wunused -Wformat \
+ -Wpointer-arith -Wconversion -Waggregate-return \
+ #-Wimplicit -Wshadow #-Wuninitialized
+
+-CFLAGS = -O #$(GCC_WARNINGS)
+-LDFLAGS =
++#CFLAGS = -O #$(GCC_WARNINGS)
++LDFLAGS += -lcrypt -lmd
+
+ O=o
+
+-BINDIR=$(BASENAME)/sbin
++BINDIR=$(BASENAME)/libexec
+ MANDIR=$(BASENAME)/man/man8
+
+-INSTALL=install -o root -m
+-BINPERM=02755 -s -g mail
+-REGPERM=0644
++INSTALL=install -o bin -m
++BINPERM=02555 -s -g mail
++REGPERM=0444 -g bin
+
+ #
+ # When compiling without APOP support, the md5 library can be omitted.
+
+ MD5_OBJ=md5/md5c.$(O)
+
+-OBJS=cucipop.$(O) authenticate.$(O) locking.$(O) xcreat.$(O) $(MD5_OBJ)
++OBJS=cucipop.$(O) authenticate.$(O) locking.$(O) xcreat.$(O) #$(MD5_OBJ)
+
+ all: cucipop
+
+--- authenticate.c.orig Fri Apr 11 18:08:31 1997
++++ authenticate.c Mon Jul 7 14:23:19 1997
+@@ -36,7 +36,7 @@
+ #include "authenticate.h"
+
+ #ifndef MAILSPOOLDIR
+-#define MAILSPOOLDIR "/var/spool/mail/" /* watch the trailing / */
++#define MAILSPOOLDIR "/var/mail/" /* watch the trailing / */
+ #endif
+ #ifndef MAILSPOOLHASH
+ #define MAILSPOOLHASH 0 /* 2 would deliver to /var/spool/mail/b/a/bar */
+--- xcreat.c.orig Thu Apr 3 05:53:24 1997
++++ xcreat.c Mon Jul 7 14:23:19 1997
+@@ -22,7 +22,7 @@
+ /*#define NOuname /* uncomment if uname is not available */
+ /*#define NOstrpbrk /* uncomment if strpbrk is not available */
+ /*#define strchr(s,c) index(s,c) /* uncomment if strchr is not available */
+-#define const /* can be undefined for ANSI compilers */
++/*#define const /* can be undefined for ANSI compilers */
+
+ #include <unistd.h> /* open() close() link() unlink()
+ getpid() */
diff --git a/mail/cucipop/files/patch-ab b/mail/cucipop/files/patch-ab
new file mode 100644
index 000000000000..257085945cfa
--- /dev/null
+++ b/mail/cucipop/files/patch-ab
@@ -0,0 +1,58 @@
+--- cucipop.8.orig Fri Apr 11 18:08:31 1997
++++ cucipop.8 Mon Jul 7 11:19:01 1997
+@@ -48,11 +48,11 @@
+ .SH NAME
+ cucipop \- Cubic Circle POP3 daemon
+ .SH SYNOPSIS
+-.B /usr/sbin/cucipop
++.B cucipop
+ .RB [ \-qaYdPUSDAT ]
+ .RB [ "\-p \fIport\fP" ]
+ .br
+-.B /usr/sbin/cucipop
++.B cucipop
+ .B \-v
+ .ad
+ .SH DESCRIPTION
+@@ -118,12 +118,12 @@
+ .IR port .
+ .SH EXAMPLES
+ Typically
+-.I pop-3
++.I pop3
+ service is defined in
+ .BR services (5)
+ as follows:
+ .Sx 1
+-pop-3 110/tcp
++pop3 110/tcp
+ .Ex
+ In order to start cucipop from within
+ .BR inetd (8),
+@@ -131,22 +131,22 @@
+ .BR inetd.conf (5)
+ would be suitable:
+ .Sx 1
+-pop-3 stream tcp nowait root /usr/sbin/cucipop cucipop -Y
++pop3 stream tcp nowait root /usr/local/libexec/cucipop cucipop -Y
+ .Ex
+ If your site gets many hits from popclients, it would be preferable
+ to start cucipop standalone as in:
+ .Sx 1
+-/usr/sbin/cucipop -Y
++cucipop -Y
+ .Ex
+ .SH FILES
+ .TP 2.3i
+ .B /etc/passwd
+ for the default authentication method
+ .TP
+-.B /var/spool/mail/$LOGNAME
++.B /var/mail/$LOGNAME
+ system mailbox
+ .TP
+-.B /var/spool/mail/$LOGNAME.lock
++.B /var/mail/$LOGNAME.lock
+ lockfile for the system mailbox
+ .TP
+ .B _????`hostname`