FreeBSD Bugzilla – Attachment 8143 Details for
Bug 17180
update ports: mail/popa3d
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 6.43 KB, created by
gonza
on 2000-03-04 16:20:00 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
gonza
Created:
2000-03-04 16:20:00 UTC
Size:
6.43 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># popa3d ># popa3d/files ># popa3d/files/md5 ># popa3d/patches ># popa3d/patches/patch-aa ># popa3d/patches/patch-ab ># popa3d/pkg ># popa3d/pkg/COMMENT ># popa3d/pkg/DESCR ># popa3d/pkg/PLIST ># popa3d/pkg/INSTALL ># popa3d/pkg/MESSAGE ># popa3d/pkg/DEINSTALL ># popa3d/Makefile ># >echo c - popa3d >mkdir -p popa3d > /dev/null 2>&1 >echo c - popa3d/files >mkdir -p popa3d/files > /dev/null 2>&1 >echo x - popa3d/files/md5 >sed 's/^X//' >popa3d/files/md5 << 'END-of-popa3d/files/md5' >XMD5 (popa3d-0.4.tar.gz) = 4ce2ed209abeaeaae7724d8d24bb7dbf >END-of-popa3d/files/md5 >echo c - popa3d/patches >mkdir -p popa3d/patches > /dev/null 2>&1 >echo x - popa3d/patches/patch-aa >sed 's/^X//' >popa3d/patches/patch-aa << 'END-of-popa3d/patches/patch-aa' >X--- params.h.orig Tue Feb 1 09:16:24 2000 >X+++ params.h Sat Mar 4 16:12:48 2000 >X@@ -33,7 +33,7 @@ >X * An unprivileged dummy user to run as before authentication. The user >X * and its UID must not be used for any other purpose. >X */ >X-#define POP_USER "popa3d" >X+#define POP_USER "pop" >X >X /* >X * Sessions will be closed if idle for longer than POP_TIMEOUT seconds. >X@@ -62,7 +62,7 @@ >X * Do we have shadow passwords? (Not for *BSD.) >X * Note: password aging is not supported. >X */ >X-#define AUTH_SHADOW 1 >X+#define AUTH_SHADOW 0 >X >X /* >X * A salt used to waste some CPU time on dummy crypt(3) calls and make >X@@ -81,14 +81,14 @@ >X * Your mail spool directory. Note: only local (non-NFS) mode 775 mail >X * spools are currently supported. >X */ >X-#define MAIL_SPOOL_PATH "/var/spool/mail" >X+#define MAIL_SPOOL_PATH "/var/mail" >X >X /* >X * How do we talk to syslogd? These should be fine for most systems. >X */ >X #define SYSLOG_IDENT "popa3d" >X #define SYSLOG_OPTIONS LOG_PID >X-#define SYSLOG_FACILITY LOG_DAEMON >X+#define SYSLOG_FACILITY LOG_MAIL >X #define SYSLOG_PRIORITY LOG_NOTICE >X >X /* >END-of-popa3d/patches/patch-aa >echo x - popa3d/patches/patch-ab >sed 's/^X//' >popa3d/patches/patch-ab << 'END-of-popa3d/patches/patch-ab' >X--- Makefile.orig Tue Feb 1 06:56:46 2000 >X+++ Makefile Sat Mar 4 18:34:28 2000 >X@@ -1,9 +1,8 @@ >X-CC = gcc >X-LD = gcc >X+CC?= gcc >X RM = rm -f >X CFLAGS = -c -Wall -O2 -fomit-frame-pointer >X-LDFLAGS = -s >X-#LDFLAGS = -s -lcrypt >X+#LDFLAGS = -s >X+LDFLAGS = -s -lcrypt >X >X PROJ = popa3d >X OBJS = md5/md5.o \ >X@@ -13,7 +12,7 @@ >X misc.o >X >X popa3d: $(OBJS) >X- $(LD) $(LDFLAGS) $(OBJS) -o popa3d >X+ $(CC) $(LDFLAGS) $(OBJS) -o popa3d >X >X md5/md5.o: md5/md5.c md5/md5.h >X $(CC) $(CFLAGS) -D_LIBC md5/md5.c -o md5/md5.o >END-of-popa3d/patches/patch-ab >echo c - popa3d/pkg >mkdir -p popa3d/pkg > /dev/null 2>&1 >echo x - popa3d/pkg/COMMENT >sed 's/^X//' >popa3d/pkg/COMMENT << 'END-of-popa3d/pkg/COMMENT' >XSecure, performance, tiny POP3 daemon >END-of-popa3d/pkg/COMMENT >echo x - popa3d/pkg/DESCR >sed 's/^X//' >popa3d/pkg/DESCR << 'END-of-popa3d/pkg/DESCR' >Xthe popa3d goals >X================ >X >XIs a POP3 daemon by Solar Designer. >X >XWell, the goals themselves are obvious; they're probably the same for most >Xother POP3 servers as well. It's their priority that differs. For popa3d, >Xthe goals are: >X >X1. Security (to the extent that is possible with POP3 at all, of course). >X2. Reliability (again, as limited by the mailbox format and the protocol). >X3. RFC compliance (slightly relaxed to work with real-world POP3 clients). >X4. Performance (limited by the more important goals, above). >X >XThis port is installed to be run from inetd, which is sufficient >Xfor normal usage. However, it is possible to build a stand-alone >Xversion, should you need better performance. >X >XWWW: http://www.openwall.com/popa3d/ >X >X-- Sergey Samoyloff >Xgonza@techline.ru >END-of-popa3d/pkg/DESCR >echo x - popa3d/pkg/PLIST >sed 's/^X//' >popa3d/pkg/PLIST << 'END-of-popa3d/pkg/PLIST' >X@comment $FreeBSD$ >Xlibexec/popa3d >Xshare/doc/popa3d/DESIGN >Xshare/doc/popa3d/COPYING >X@dirrm share/doc/popa3d >END-of-popa3d/pkg/PLIST >echo x - popa3d/pkg/INSTALL >sed 's/^X//' >popa3d/pkg/INSTALL << 'END-of-popa3d/pkg/INSTALL' >X# $FreeBSD$ >X# >X >Xif [ "$2" != "PRE-INSTALL" ]; then >X exit 0 >Xfi >X >XPATH=/bin:/usr/bin >X >Xuse_vipw () { >X >X cat << EOF >X >XYou need an account "pop" to install this package. >XPlease add it by hand (try "man vipw") and try again. >X >XAn example passwd entry is: >Xpop:*:68:6::0:0:Post Office Owner:/nonexistent:/nonexistent >X >XEOF >X >X} >X >Xif ! id -u "pop" > /dev/null 2>&1; then >X use_vipw >X exit 1 >Xfi >X >Xexit 0 >X >END-of-popa3d/pkg/INSTALL >echo x - popa3d/pkg/MESSAGE >sed 's/^X//' >popa3d/pkg/MESSAGE << 'END-of-popa3d/pkg/MESSAGE' >X=========================================================================== >X1. Edit your /etc/inetd.conf to use popa3d. The line should look like this: >X >Xpop3 stream tcp nowait root /usr/local/libexec/popa3d popa3d >X >XNote: when started via an inetd clone, the logging of connections is left >Xup to that inetd clone or TCP wrappers. >X >X2. Restart inetd by sending it a SIGHUP: >X >X# killall -HUP inetd >X=========================================================================== >END-of-popa3d/pkg/MESSAGE >echo x - popa3d/pkg/DEINSTALL >sed 's/^X//' >popa3d/pkg/DEINSTALL << 'END-of-popa3d/pkg/DEINSTALL' >X# $FreeBSD$ >X# >X >Xif [ "$2" != "POST-DEINSTALL" ]; then >X exit 0 >Xfi >X >XPATH=/bin >X >Xecho "Remember to remove popa3d from /etc/inetd.conf and restart inetd" >END-of-popa3d/pkg/DEINSTALL >echo x - popa3d/Makefile >sed 's/^X//' >popa3d/Makefile << 'END-of-popa3d/Makefile' >X# New ports collection makefile for: popa3d >X# Version required: 0.4 >X# Date created: Sat Mar 4 15:12:56 MSK 2000 >X# Whom: Sergey Samoyloff <gonza@techline.ru> >X# >X# $FreeBSD$ >X# >X >XDISTNAME= popa3d-0.4 >XCATEGORIES= mail >XMASTER_SITES= http://www.openwall.com/popa3d/ \ >X ftp://ftp.openwall.com/popa3d/ \ >X ftp://ftp.dataforce.net/pub/solar/ \ >X ftp://ftp.false.com/pub/security/popa3d/ >X >XMAINTAINER= gonza@techline.ru >X >XALL_TARGET= popa3d >X >Xdo-install: >X ${INSTALL} ${COPY} -o root -g wheel -m 500 \ >X ${WRKSRC}/popa3d ${PREFIX}/libexec/popa3d >X >X.if !defined(NOPORTDOCS) >X ${MKDIR} ${PREFIX}/share/doc/popa3d >X ${INSTALL_MAN} ${WRKSRC}/DESIGN ${PREFIX}/share/doc/popa3d >X ${INSTALL_MAN} ${WRKSRC}/COPYING ${PREFIX}/share/doc/popa3d >X.endif >X >Xpre-install: >X @ ${SH} ${PKGDIR}/INSTALL ${PKGNAME} PRE-INSTALL >X >Xpost-install: >X @ ${CAT} ${PKGDIR}/MESSAGE >X >X.include <bsd.port.mk> >END-of-popa3d/Makefile >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 17180
: 8143