diff options
Diffstat (limited to 'mail/cucipop/files/patch-aa')
-rw-r--r-- | mail/cucipop/files/patch-aa | 79 |
1 files changed, 0 insertions, 79 deletions
diff --git a/mail/cucipop/files/patch-aa b/mail/cucipop/files/patch-aa index 1c4f87c6ea53..ebea8d6512f3 100644 --- a/mail/cucipop/files/patch-aa +++ b/mail/cucipop/files/patch-aa @@ -1,14 +1,3 @@ ---- authenticate.c.orig Tue Aug 25 17:35:12 1998 -+++ authenticate.c Tue Aug 25 17:35:28 1998 -@@ -44,7 +44,7 @@ - #define VIRTUALUSER "vpop" - - #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 Tue Aug 25 17:35:46 1998 +++ xcreat.c Tue Aug 25 17:36:03 1998 @@ -22,7 +22,7 @@ @@ -39,71 +28,3 @@ +#define CUCIPOP_LIB "/var/spool/cucipop" #define STATE_DB "state.db" #define BULLETINS_PATH CUCIPOP_LIB"/bulletins" ---- Makefile.orig Tue May 12 16:09:14 1998 -+++ Makefile Thu Oct 15 21:27:10 1998 -@@ -1,30 +1,30 @@ - #$Id: Makefile,v 1.18 1998/05/12 21:09:14 srb Exp $ - --BASENAME= /usr -+BASENAME= $(PREFIX) - --GCC_WARNINGS = -O2 -pedantic -Wreturn-type -Wunused -Wformat \ -- -Wpointer-arith -Wconversion -Waggregate-return \ -+#CC_WARNINGS = -O2 -pedantic -Wreturn-type -Wunused -Wformat \ -+# -Wpointer-arith -Wconversion -Waggregate-return \ - #-Wimplicit -Wshadow #-Wuninitialized - - # - # Omit USE_DB if you don't have the -ldb2 library (Berkeley DB, v2.x) - # WARNING: bulletins are not remembered to have been deleted without USE_DB - --CFLAGS = -O -DUSE_DB #$(GCC_WARNINGS) --LDFLAGS = -lcrypt -ldb2 -+#CFLAGS = -O -DUSE_DB #$(GCC_WARNINGS) -+LDFLAGS += -lcrypt -lmd - - # If you change this, edit config.h as well --CUCIPOPLIB=/var/lib/cucipop -+CUCIPOPLIB=/var/spool/cucipop - CUCIPOPBULLETINS=$(CUCIPOPLIB)/bulletins - - 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 -c -o bin -m -+BINPERM=02555 -s -g mail -+REGPERM=0444 - - # - # When compiling without APOP support, the md5 library can be omitted. -@@ -32,11 +32,11 @@ - MD5_OBJ=md5/md5c.$(O) - - OBJS=cucipop.$(O) authenticate.$(O) atotime.$(O) locking.$(O) xcreat.$(O) \ -- dbops.$(O) hsort.$(O) simplecrypt.$(O) $(MD5_OBJ) -+ dbops.$(O) hsort.$(O) simplecrypt.$(O) - --BINS=cucipop makevpopdb -+BINS=cucipop# makevpopdb - --MANS=cucipop.8 makevpopdb.8 -+MANS=cucipop.8 - - all: $(BINS) - -@@ -70,8 +70,8 @@ - install: $(BINS) $(MANS) - $(INSTALL) $(BINPERM) $(BINS) $(BINDIR) - $(INSTALL) $(REGPERM) $(MANS) $(MANDIR) -- mkdir $(CUCIPOPLIB) 2>/dev/null; exit 0 -- mkdir $(CUCIPOPBULLETINS) 2>/dev/null; exit 0 -+ mkdir -p $(CUCIPOPLIB) 2>/dev/null; exit 0 -+ mkdir -p $(CUCIPOPBULLETINS) 2>/dev/null; exit 0 - @for a in $(BINS); do ls -l $(BINDIR)/$$a; done - @for a in $(MANS); do ls -l $(MANDIR)/$$a; done |