summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authortron <tron>1998-02-28 11:35:39 +0000
committertron <tron>1998-02-28 11:35:39 +0000
commit1abc02693fd3795b933acab795768a5c46b9b86f (patch)
treee8f947b97038fb0f49491ab5931932489ac1759e /mail
parent0c8cb4694f1167d35c33da752f8c4ed259b9c49c (diff)
downloadpkgsrc-1abc02693fd3795b933acab795768a5c46b9b86f.tar.gz
Adapt this package to NetBSD.
Diffstat (limited to 'mail')
-rw-r--r--mail/fetchmail/Makefile8
-rw-r--r--mail/fetchmail/patches/patch-ab9
-rw-r--r--mail/fetchmail/patches/patch-ac10
-rw-r--r--mail/fetchmail/pkg/PLIST1
4 files changed, 15 insertions, 13 deletions
diff --git a/mail/fetchmail/Makefile b/mail/fetchmail/Makefile
index 61befee76c5..63bf8319ee2 100644
--- a/mail/fetchmail/Makefile
+++ b/mail/fetchmail/Makefile
@@ -3,7 +3,8 @@
# Date created: 26 Oct 1996
# Whom: Ville Eerola <ve@sci.fi>
#
-# $Id: Makefile,v 1.1.1.1 1998/02/28 11:05:37 tron Exp $
+# $NetBSD: Makefile,v 1.2 1998/02/28 11:35:39 tron Exp $
+# $FreeBSD Id: Makefile,v 1.55 1998/01/29 17:13:07 ache Exp
#
DISTNAME= fetchmail-4.3.6
@@ -13,7 +14,6 @@ MASTER_SITES= ftp://ftp.ccil.org/pub/esr/fetchmail/
MAINTAINER= ve@sci.fi
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --enable-opie
CONFIGURE_ENV= LDFLAGS="${CFLAGS}"
MAN1= fetchmail.1
@@ -23,8 +23,8 @@ CONFIGURE_ARGS += --with-kerberos=/usr/include/kerberosIV
FDOC= ${PREFIX}/share/doc/fetchmail
-post-patch:
- @${CP} -f /usr/include/md5.h ${WRKSRC}
+post-extract:
+ ${RM} -f ${WRKSRC}/md5.h
post-install:
${INSTALL} -d -m 555 -o ${DOCOWN} -g ${DOCGRP} ${FDOC}
diff --git a/mail/fetchmail/patches/patch-ab b/mail/fetchmail/patches/patch-ab
index b38bdfc11f1..2d0ca2d8e0d 100644
--- a/mail/fetchmail/patches/patch-ab
+++ b/mail/fetchmail/patches/patch-ab
@@ -1,14 +1,5 @@
--- Makefile.in.orig Tue Oct 14 06:12:14 1997
+++ Makefile.in Thu Oct 16 06:55:05 1997
-@@ -36,7 +36,7 @@
-
- # If your system needs extra libraries loaded in, define them here.
- # In particular, add -lresolv if you are running bind 4.9.5
--LOADLIBS = @LIBS@ @LEXLIB@
-+LOADLIBS = @LIBS@ @LEXLIB@ -lmd
- # LOADLIBS = -lsocket3r -lunix3r # QNX
-
- # Any extra object files your system needs.
@@ -82,7 +82,7 @@
protobjs = rcfile_y.o rcfile_l.o socket.o getpass.o pop2.o pop3.o imap.o \
diff --git a/mail/fetchmail/patches/patch-ac b/mail/fetchmail/patches/patch-ac
new file mode 100644
index 00000000000..9231957f75f
--- /dev/null
+++ b/mail/fetchmail/patches/patch-ac
@@ -0,0 +1,10 @@
+--- fetchmail.h.orig Sun Jan 18 18:39:32 1998
++++ fetchmail.h Sat Feb 28 12:21:24 1998
+@@ -28,6 +28,7 @@
+ #define USERNAMELEN 40 /* max POP3 arg length (RFC1939) */
+ #define IDLEN 128 /* max length of UID (RFC1939) */
+
++#undef MSGBUFSIZE
+ #define MSGBUFSIZE 2048 /* size of message read buffer */
+ #define PASSWORDLEN 64 /* max password length */
+ #define DIGESTLEN 33 /* length of MD5 digest */
diff --git a/mail/fetchmail/pkg/PLIST b/mail/fetchmail/pkg/PLIST
index dd9e8252024..46fba34200d 100644
--- a/mail/fetchmail/pkg/PLIST
+++ b/mail/fetchmail/pkg/PLIST
@@ -1,3 +1,4 @@
+@comment $NetBSD: PLIST,v 1.2 1998/02/28 11:35:40 tron Exp $
bin/fetchmail
man/man1/fetchmail.1.gz
share/doc/fetchmail/README