Adapt this package to NetBSD.
This commit is contained in:
parent
87bf75911a
commit
b80c754a60
4 changed files with 15 additions and 13 deletions
|
@ -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}
|
||||
|
|
|
@ -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 \
|
||||
|
|
10
mail/fetchmail/patches/patch-ac
Normal file
10
mail/fetchmail/patches/patch-ac
Normal file
|
@ -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 */
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue