summaryrefslogtreecommitdiff
path: root/mail/qpopper
diff options
context:
space:
mode:
authormellon <mellon@pkgsrc.org>1998-02-13 02:06:57 +0000
committermellon <mellon@pkgsrc.org>1998-02-13 02:06:57 +0000
commitc9f5426bd03059d0b39105b664c68022202dd98c (patch)
tree27c207449cb641f11e2bb362b0c370d257cbb6b7 /mail/qpopper
parenta937ce57e3f32ecfb4902e59b6f94bd36801219b (diff)
downloadpkgsrc-c9f5426bd03059d0b39105b664c68022202dd98c.tar.gz
Make popper compile without errors or warnings, with kerberos.
Diffstat (limited to 'mail/qpopper')
-rw-r--r--mail/qpopper/patches/patch-aa156
-rw-r--r--mail/qpopper/patches/patch-ab66
-rw-r--r--mail/qpopper/patches/patch-ac74
-rw-r--r--mail/qpopper/patches/patch-ad26
4 files changed, 322 insertions, 0 deletions
diff --git a/mail/qpopper/patches/patch-aa b/mail/qpopper/patches/patch-aa
new file mode 100644
index 00000000000..548eebb0bf9
--- /dev/null
+++ b/mail/qpopper/patches/patch-aa
@@ -0,0 +1,156 @@
+diff -rc2 popper.8 popper.8
+*** popper.8 Wed Nov 19 13:20:38 1997
+--- popper.8 Thu Feb 12 15:24:04 1998
+***************
+*** 11,19 ****
+ .\" @(#)@(#)popper.8 2.3 2.3 (CCS) 4/2/91 Copyright (c) 1990 Regents of the University of California.\nAll rights reserved.\n
+ .\"
+! .TH popper 8 "August 1990"
+ .UC 6
+ .ad
+ .SH NAME
+! popper \- pop 3 server
+ .SH SYNOPSIS
+ .B /usr/etc/popper
+--- 11,19 ----
+ .\" @(#)@(#)popper.8 2.3 2.3 (CCS) 4/2/91 Copyright (c) 1990 Regents of the University of California.\nAll rights reserved.\n
+ .\"
+! .TH qpopper 8 "August 1990"
+ .UC 6
+ .ad
+ .SH NAME
+! qpopper \- Qualcomm pop 3 server
+ .SH SYNOPSIS
+ .B /usr/etc/popper
+***************
+*** 25,29 ****
+ [ -b bulldir]
+ .SH DESCRIPTION
+! .I Popper
+ is an implementation of the Post Office Protocol server that runs on a
+ variety of Unix computers to manage electronic mail for Macintosh
+--- 25,29 ----
+ [ -b bulldir]
+ .SH DESCRIPTION
+! .I Qpopper
+ is an implementation of the Post Office Protocol server that runs on a
+ variety of Unix computers to manage electronic mail for Macintosh
+***************
+*** 43,52 ****
+ The
+ .B \-k
+! flag enables kerberos authentication when popper has been compiled with
+ the KERBEROS define. You must already have libraries that support Kerberos.
+ .PP
+ The
+ .B \-s
+! flag turns on statistics logging using syslog(8). At the end of each popper
+ session, the following information is logged: username, number of
+ messages deleted, number of bytes deleted, number of message left on server,
+--- 43,52 ----
+ The
+ .B \-k
+! flag enables kerberos authentication when qpopper has been compiled with
+ the KERBEROS define. You must already have libraries that support Kerberos.
+ .PP
+ The
+ .B \-s
+! flag turns on statistics logging using syslog(8). At the end of each qpopper
+ session, the following information is logged: username, number of
+ messages deleted, number of bytes deleted, number of message left on server,
+***************
+*** 59,63 ****
+ When the server is waiting for a command to arrive from the client, it
+ times out after the specified number of seconds and terminates the session.
+! This avoids having popper processes hang forever waiting for command input
+ from clients which have terminated abnormally.
+ A small value is ok for small to medium nets where
+--- 59,63 ----
+ When the server is waiting for a command to arrive from the client, it
+ times out after the specified number of seconds and terminates the session.
+! This avoids having qpopper processes hang forever waiting for command input
+ from clients which have terminated abnormally.
+ A small value is ok for small to medium nets where
+***************
+*** 100,109 ****
+ deleted. Otherwise, the bulletin is copied as is.
+ .PP
+! When a new user checks for mail the first time, popper creates the .popbull
+ file in the user's home directory and seeds it with the current maximum
+ bulletin number. Thus new users do not get old bulletins.
+ .SH THE POP TRANSACTION CYCLE
+ .PP
+! The Berkeley POP server is a single program (called popper) that is
+ launched by inetd when it gets a service request on the POP TCP port.
+ (The official port number specified in RFC 1081 for POP version 3 is
+--- 100,109 ----
+ deleted. Otherwise, the bulletin is copied as is.
+ .PP
+! When a new user checks for mail the first time, qpopper creates the .popbull
+ file in the user's home directory and seeds it with the current maximum
+ bulletin number. Thus new users do not get old bulletins.
+ .SH THE POP TRANSACTION CYCLE
+ .PP
+! The Qualcomm POP server is a single program (called qpopper) that is
+ launched by inetd when it gets a service request on the POP TCP port.
+ (The official port number specified in RFC 1081 for POP version 3 is
+***************
+*** 112,116 ****
+ POP3 servers, you can simply define both ports for use by the POP3
+ server. This is explained in the installation instructions later on.)
+! The popper program initializes and verifies that the peer IP address is
+ registered in the local domain, logging a warning message when a
+ connection is made to a client whose IP address does not have a
+--- 112,116 ----
+ POP3 servers, you can simply define both ports for use by the POP3
+ server. This is explained in the installation instructions later on.)
+! The qpopper program initializes and verifies that the peer IP address is
+ registered in the local domain, logging a warning message when a
+ connection is made to a client whose IP address does not have a
+***************
+*** 123,127 ****
+ state (other than a request to quit.) If authentication fails, a
+ warning message is logged and the session ends. Once the user is
+! identified, popper changes its user and group ids to match that of the
+ user and enters the transaction state. The server makes a temporary
+ copy of the user's maildrop which is
+--- 123,127 ----
+ state (other than a request to quit.) If authentication fails, a
+ warning message is logged and the session ends. Once the user is
+! identified, qpopper changes its user and group ids to match that of the
+ user and enters the transaction state. The server makes a temporary
+ copy of the user's maildrop which is
+***************
+*** 142,146 ****
+ .SH DEBUGGING
+ .PP
+! The popper program will log debugging information when the -d parameter
+ is specified after its invocation in the inetd.conf file. Care should
+ be exercised in using this option since it generates considerable
+--- 142,146 ----
+ .SH DEBUGGING
+ .PP
+! The qpopper program will log debugging information when the -d parameter
+ is specified after its invocation in the inetd.conf file. Care should
+ be exercised in using this option since it generates considerable
+***************
+*** 149,157 ****
+ instead of syslog.
+ .PP
+! For SunOS version 3.5, the popper program is launched by inetd from
+ /etc/servers. This file does not allow you to specify command line
+ arguments. Therefore, if you want to enable debugging, you can specify
+! a shell script in /etc/servers to be launched instead of popper and in
+! this script call popper with the desired arguments.
+ .PP
+ You can confirm that the POP server is running on Unix by telneting to
+--- 149,157 ----
+ instead of syslog.
+ .PP
+! For SunOS version 3.5, the qpopper program is launched by inetd from
+ /etc/servers. This file does not allow you to specify command line
+ arguments. Therefore, if you want to enable debugging, you can specify
+! a shell script in /etc/servers to be launched instead of qpopper and in
+! this script call qpopper with the desired arguments.
+ .PP
+ You can confirm that the POP server is running on Unix by telneting to
diff --git a/mail/qpopper/patches/patch-ab b/mail/qpopper/patches/patch-ab
new file mode 100644
index 00000000000..ddd902dbeb0
--- /dev/null
+++ b/mail/qpopper/patches/patch-ab
@@ -0,0 +1,66 @@
+*** popper.h Wed Nov 19 13:20:39 1997
+--- popper.h Thu Feb 12 17:31:22 1998
+***************
+*** 32,36 ****
+ #ifdef HAVE_SYS_PARAM_H
+ #include <sys/param.h>
+! # if (defined(BSD) && (BSD >= 199103))
+ # define HAVE_UNISTD_H
+ # define HAVE_VPRINTF
+--- 32,36 ----
+ #ifdef HAVE_SYS_PARAM_H
+ #include <sys/param.h>
+! # if (defined(BSD) && (BSD >= 199103)) && 0 /* shouldn't be necessary anymore */
+ # define HAVE_UNISTD_H
+ # define HAVE_VPRINTF
+***************
+*** 39,43 ****
+ #endif
+
+! #ifdef BSDI
+ #define BSD44_DBM
+ #endif
+--- 39,55 ----
+ #endif
+
+! #ifdef HAVE_STDLIB_H
+! # include <stdlib.h>
+! #endif
+!
+! #ifdef HAVE_STRING_H
+! # include <string.h>
+! #endif
+!
+! #ifdef HAVE_TIME_H
+! # include <time.h>
+! #endif
+!
+! #if defined (BSDI) || defined (__NetBSD__)
+ #define BSD44_DBM
+ #endif
+***************
+*** 293,297 ****
+
+ #ifndef KERBEROS_SERVICE
+! # define KERBEROS_SERVICE "rcmd"
+ #endif
+
+--- 297,301 ----
+
+ #ifndef KERBEROS_SERVICE
+! # define KERBEROS_SERVICE "pop"
+ #endif
+
+***************
+*** 299,303 ****
+ # include <kerberos/krb.h>
+ #else
+! # ifdef BSDI
+ # include <kerberosIV/des.h>
+ # include <kerberosIV/krb.h>
+--- 303,307 ----
+ # include <kerberos/krb.h>
+ #else
+! # if defined (BSDI) || defined (__NetBSD__)
+ # include <kerberosIV/des.h>
+ # include <kerberosIV/krb.h>
diff --git a/mail/qpopper/patches/patch-ac b/mail/qpopper/patches/patch-ac
new file mode 100644
index 00000000000..911869aa3c9
--- /dev/null
+++ b/mail/qpopper/patches/patch-ac
@@ -0,0 +1,74 @@
+*** configure Wed Nov 19 13:20:39 1997
+--- configure Thu Feb 12 17:27:17 1998
+***************
+*** 1418,1421 ****
+--- 1418,1424 ----
+ gdbm.h \
+ dbm.h \
++ stdlib.h \
++ string.h \
++ time.h \
+
+ do
+***************
+*** 1630,1634 ****
+ else
+ ac_save_LIBS="$LIBS"
+! LIBS="-lkrb $LIBS"
+ cat > conftest.$ac_ext <<EOF
+ #line 1635 "configure"
+--- 1631,1635 ----
+ else
+ ac_save_LIBS="$LIBS"
+! LIBS="-lkrb -ldes $LIBS"
+ cat > conftest.$ac_ext <<EOF
+ #line 1635 "configure"
+***************
+*** 1658,1662 ****
+ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+! KERBEROS_LIBS="$KERBEROS_LIBS -lkrb"
+ else
+ echo "$ac_t""no" 1>&6
+--- 1659,1666 ----
+ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+! KERBEROS_LIBS="$KERBEROS_LIBS -lkrb -ldes"
+! cat >> confdefs.h <<\EOF
+! #define KERBEROS 1
+! EOF
+ else
+ echo "$ac_t""no" 1>&6
+*** configure.in Wed Nov 19 13:20:38 1997
+--- configure.in Thu Feb 12 17:26:54 1998
+***************
+*** 166,169 ****
+--- 166,172 ----
+ gdbm.h \
+ dbm.h \
++ stdlib.h \
++ string.h \
++ time.h \
+ )
+
+***************
+*** 174,181 ****
+ AC_CHECK_LIB(resolv, res_init, NETWORK_LIBS="$NETWORK_LIBS -lresolv")
+ AC_CHECK_LIB(mail, maillock, NETWORK_LIBS="$NETWORK_LIBS -lmail"; AC_DEFINE(MAILOCK))
+! AC_CHECK_LIB(krb, krb_recvauth, KERBEROS_LIBS="$KERBEROS_LIBS -lkrb")
+ AC_CHECK_LIB(ndbm, dbm_open, DBM_LIBS="-lndbm")
+ AC_CHECK_LIB(dbm, dbm_open, DBM_LIBS="-ldbm")
+! AC_CHECK_LIB(gdbm, gdbm_open, DBM_LIBS="-lgdbm" AC_DEFINE(GDBM))
+ AC_CHECK_LIB(security, set_auth_parameters, LIBS="$LIBS -lsecurity")
+ AC_CHECK_LIB(crypt, crypt, LIBS="$LIBS -lcrypt")
+--- 175,184 ----
+ AC_CHECK_LIB(resolv, res_init, NETWORK_LIBS="$NETWORK_LIBS -lresolv")
+ AC_CHECK_LIB(mail, maillock, NETWORK_LIBS="$NETWORK_LIBS -lmail"; AC_DEFINE(MAILOCK))
+! AC_CHECK_LIB(krb, krb_recvauth, KERBEROS_LIBS="-lkrb -ldes"
+! AC_DEFINE(KERBEROS))
+ AC_CHECK_LIB(ndbm, dbm_open, DBM_LIBS="-lndbm")
+ AC_CHECK_LIB(dbm, dbm_open, DBM_LIBS="-ldbm")
+! AC_CHECK_LIB(gdbm, gdbm_open, DBM_LIBS="-lgdbm"
+! AC_DEFINE(GDBM))
+ AC_CHECK_LIB(security, set_auth_parameters, LIBS="$LIBS -lsecurity")
+ AC_CHECK_LIB(crypt, crypt, LIBS="$LIBS -lcrypt")
diff --git a/mail/qpopper/patches/patch-ad b/mail/qpopper/patches/patch-ad
new file mode 100644
index 00000000000..231b2c08c48
--- /dev/null
+++ b/mail/qpopper/patches/patch-ad
@@ -0,0 +1,26 @@
+*** config.h.in Wed Nov 19 13:20:38 1997
+--- config.h.in Thu Feb 12 17:34:12 1998
+***************
+*** 40,43 ****
+--- 40,44 ----
+ #undef APOP
+ #undef POPUID
++ #undef KERBEROS
+ #undef GDBM
+ #undef MAIL_COMMAND
+***************
+*** 144,147 ****
+--- 145,157 ----
+ /* Define if you have the <unistd.h> header file. */
+ #undef HAVE_UNISTD_H
++
++ /* Define if you have the <stdlib.h> header file. */
++ #undef HAVE_STDLIB_H
++
++ /* Define if you have the <string.h> header file. */
++ #undef HAVE_STRING_H
++
++ /* Define if you have the <time.h> header file. */
++ #undef HAVE_TIME_H
+
+ /* Define if you have the cposix library (-lcposix). */