aboutsummaryrefslogtreecommitdiffstats
path: root/mail/popper/Makefile
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1997-10-08 04:37:24 +0800
committerache <ache@FreeBSD.org>1997-10-08 04:37:24 +0800
commit0d387a06461174c072b7fe8a3b07542f0f2f7677 (patch)
treefa7a82b15c45509a208bdf4c56e9203b5495df01 /mail/popper/Makefile
parentf572016e54882107a699f09824f7b2bbaee29e67 (diff)
downloadfreebsd-ports-gnome-0d387a06461174c072b7fe8a3b07542f0f2f7677.tar.gz
freebsd-ports-gnome-0d387a06461174c072b7fe8a3b07542f0f2f7677.tar.zst
freebsd-ports-gnome-0d387a06461174c072b7fe8a3b07542f0f2f7677.zip
Upgrade to 2.4b2
Fix two longstanding bugs in Return-Path patch: 1) possible uninitialized "rpath" variable usage 2) wrong message size, return_path not counted
Diffstat (limited to 'mail/popper/Makefile')
-rw-r--r--mail/popper/Makefile40
1 files changed, 36 insertions, 4 deletions
diff --git a/mail/popper/Makefile b/mail/popper/Makefile
index 3de4965704fa..6a1aab2ad6f1 100644
--- a/mail/popper/Makefile
+++ b/mail/popper/Makefile
@@ -1,13 +1,13 @@
# New ports collection makefile for: popper
-# Version required: 2.3
+# Version required: 2.4b2
# Date created: 1 April 1995
# Whom: pst
#
-# $Id: Makefile,v 1.14 1997/04/02 01:38:22 ache Exp $
+# $Id: Makefile,v 1.15 1997/04/23 04:27:18 ache Exp $
#
-DISTNAME= qpopper2.3
-PKGNAME= qpopper-2.3
+DISTNAME= qpopper2.4b2
+PKGNAME= qpopper-2.4b2
CATEGORIES= mail
MASTER_SITES= ftp://ftp.qualcomm.com/eudora/servers/unix/popper/
EXTRACT_SUFX= .tar.Z
@@ -21,4 +21,36 @@ MAINTAINER= pst@freebsd.org
NO_PACKAGE= "Needs POP UID"
+O_DEFS= -DSETPROCTITLE -DKEEP_TEMP_DROP -DBSD44_DBM -DBIND43 \
+ -DAPOP='\"'${PREFIX}'/etc/popper/pop.auth\"' \
+ -DPOPUID='\"pop\"' \
+ -DNONAUTHFILE='\"/etc/ftpusers\"'
+
+.if !defined(APOP_ONLY)
+.if exists(/usr/lib/libskey.a)
+P_LIBS= -lskey
+O_DEFS+= -DSKEY
+.endif
+.else
+O_DEFS+= -DAPOP_ONLY
+.endif
+
+P_LIBS+= -lmd -lcrypt -lutil
+
+GNU_CONFIGURE= yes
+CONFIGURE_ENV+= LIBS="${P_LIBS}" O_DEFS="${O_DEFS}"
+
+MAN8= popauth.8 popper.8
+
+post-patch:
+ $(RM) ${WRKSRC}/md5.h
+
+do-install:
+ cd ${WRKSRC} && \
+ ${INSTALL_PROGRAM} -o pop -m 4111 popauth ${PREFIX}/bin
+ cd ${WRKSRC} && \
+ ${INSTALL_PROGRAM} -g mail -m 2111 popper ${PREFIX}/libexec
+ cd ${WRKSRC} && \
+ ${INSTALL_MAN} ${MAN8} ${PREFIX}/man/man8
+
.include <bsd.port.mk>