summaryrefslogtreecommitdiff
path: root/mail/qmail-ldap
diff options
context:
space:
mode:
Diffstat (limited to 'mail/qmail-ldap')
-rw-r--r--mail/qmail-ldap/Makefile34
-rw-r--r--mail/qmail-ldap/files/patch-20120221-fixes37
-rw-r--r--mail/qmail-ldap/files/patch-20120221-fixes-264
-rw-r--r--mail/qmail-ldap/files/patch-install.c37
-rw-r--r--mail/qmail-ldap/pkg-descr24
5 files changed, 0 insertions, 196 deletions
diff --git a/mail/qmail-ldap/Makefile b/mail/qmail-ldap/Makefile
deleted file mode 100644
index 229248d66464..000000000000
--- a/mail/qmail-ldap/Makefile
+++ /dev/null
@@ -1,34 +0,0 @@
-# Created by: Mario S F Ferreira <lioux@linf.unb.br>
-# $FreeBSD$
-
-PORTNAME= qmail
-PORTVERSION= ${QMAIL_VERSION}.${LDAP_PATCH_DATE}
-PORTREVISION= 1
-CATEGORIES= mail
-PKGNAMESUFFIX= -ldap
-
-COMMENT= Secure, reliable, and fast MTA for UNIX systems with LDAP support
-
-BROKEN= fails to package
-DEPRECATED= Broken for more than 6 months
-EXPIRATION_DATE= 2019-09-04
-
-RUN_DEPENDS= ${LOCALBASE}/bin/svscan:sysutils/daemontools \
- ${LOCALBASE}/bin/tcprules:sysutils/ucspi-tcp
-
-CONFLICTS= emboss-[0-9]* digest-[0-9]* *qmail-[0-9]* *qmail-mysql-[0-9]* \
- qmail-spamcontrol-[0-9]* *qmail-tls-[0-9]*
-
-EXTRA_PATCHES+= ${MASTERDIR}/files/patch-Makefile \
- ${MASTERDIR}/files/patch-auto_uids-c-dist
-
-USE_OPENLDAP= yes
-SLAVE_LDAP= yes
-
-LDAP_PATCH_DATE= 20120221
-
-MASTERDIR= ${.CURDIR}/../qmail
-DESCR= ${.CURDIR}/pkg-descr
-PATCHDIR= ${.CURDIR}/files
-
-.include "${MASTERDIR}/Makefile"
diff --git a/mail/qmail-ldap/files/patch-20120221-fixes b/mail/qmail-ldap/files/patch-20120221-fixes
deleted file mode 100644
index 3d91e7db5174..000000000000
--- a/mail/qmail-ldap/files/patch-20120221-fixes
+++ /dev/null
@@ -1,37 +0,0 @@
-http://marc.info/?l=qmail-ldap&m=133012503615968&q=raw
-
-List: qmail-ldap
-Subject: Re: qmail-ldap-1.03-20120221.patch
-From: Claudio Jeker <jeker () n-r-g ! com>
-Date: 2012-02-24 23:09:56
-
-Index: auth_dovecot.c
-===================================================================
-RCS file: /home/cvs-djbware/CVS/qmail-ldap/auth_dovecot.c,v
-retrieving revision 1.2
-diff -u -p -r1.2 auth_dovecot.c
---- auth_dovecot.c 17 Apr 2009 19:51:58 -0000 1.2
-+++ auth_dovecot.c 25 Feb 2012 00:08:05 -0000
-@@ -127,7 +127,9 @@ auth_setup(struct credentials *c)
- void
- auth_init(int argc, char **argv, stralloc *login, stralloc *authdata)
- {
-+#ifdef DEBUG
- extern unsigned long loglevel;
-+#endif
- char *l, *p;
- unsigned int uplen, u;
- int n, opt;
-@@ -140,10 +142,12 @@ auth_init(int argc, char **argv, strallo
- case 'd':
- pbstool = optarg;
- break;
-+#ifdef DEBUG
- case 'D':
- scan_ulong(optarg, &loglevel);
- loglevel &= ~256; /* see auth_mod.c */
- break;
-+#endif
- default:
- auth_error(AUTH_CONF);
- }
diff --git a/mail/qmail-ldap/files/patch-20120221-fixes-2 b/mail/qmail-ldap/files/patch-20120221-fixes-2
deleted file mode 100644
index 92291e2db8cd..000000000000
--- a/mail/qmail-ldap/files/patch-20120221-fixes-2
+++ /dev/null
@@ -1,64 +0,0 @@
-http://marc.info/?l=qmail-ldap&m=133193764313080&q=raw
-
-List: qmail-ldap
-Subject: Re: Re: qmail-ldaplookup: fatal: qldap_filter: unspecified error
-From: Claudio Jeker <jeker () n-r-g ! com>
-Date: 2012-03-16 22:39:36
-Message-ID: 20120316223936.GC2808 () diehard ! n-r-g ! com
-
-
-Index: qldap-filter.c
-===================================================================
-RCS file: /home/cvs-djbware/CVS/qmail-ldap/qldap-filter.c,v
-retrieving revision 1.10
-diff -u -p -r1.10 qldap-filter.c
---- qldap-filter.c 10 Nov 2009 22:46:06 -0000 1.10
-+++ qldap-filter.c 16 Mar 2012 23:37:23 -0000
-@@ -107,7 +107,7 @@ filter_uid(char *uid)
- return 0;
-
- if (!filter_start(&filter) ||
-- !stralloc_copys(&filter,"(") ||
-+ !stralloc_cats(&filter,"(") ||
- !stralloc_cats(&filter, LDAP_UID) ||
- !stralloc_cats(&filter, "=") ||
- !filter_escape(&filter, uid, str_len(uid)) ||
-@@ -179,7 +179,6 @@ filter_mail(char *mail, int *done)
- }
- extcnt--;
- #else
--#error XXX XXX
- /* basic qmail-ldap behavior test for username@domain.com and
- catchall@domain.com */
- ext = 0;
-@@ -193,7 +192,7 @@ filter_mail(char *mail, int *done)
- /* build the search string for the email address */
- /* mail address */
- if (!filter_start(&filter) ||
-- !stralloc_copys(&filter, "(|(") ||
-+ !stralloc_cats(&filter, "(|(") ||
- !stralloc_cats(&filter, LDAP_MAIL) ||
- !stralloc_cats(&filter, "="))
- return 0;
-Index: qmail-ldaplookup.c
-===================================================================
-RCS file: /home/cvs-djbware/CVS/qmail-ldap/qmail-ldaplookup.c,v
-retrieving revision 1.39
-diff -u -p -r1.39 qmail-ldaplookup.c
---- qmail-ldaplookup.c 10 Nov 2009 22:43:06 -0000 1.39
-+++ qmail-ldaplookup.c 16 Mar 2012 23:37:23 -0000
-@@ -223,12 +223,12 @@ int main(int argc, char **argv)
- switch (mode) {
- case mail:
- f = filter_mail(value, &done);
-- if (value == 0)
-+ if (f == 0)
- strerr_die2sys(1, FATAL, "building filter: ");
- break;
- case uid:
- f = filter_uid(value);
-- if (value == 0)
-+ if (f == 0)
- strerr_die2sys(1, FATAL, "building filter: ");
- done = 1;
- break;
diff --git a/mail/qmail-ldap/files/patch-install.c b/mail/qmail-ldap/files/patch-install.c
deleted file mode 100644
index ec75c9b59dbb..000000000000
--- a/mail/qmail-ldap/files/patch-install.c
+++ /dev/null
@@ -1,37 +0,0 @@
---- install.c.orig Wed Jun 1 14:36:46 2005
-+++ install.c Wed Jun 1 14:38:17 2005
-@@ -14,6 +14,7 @@
- #define FATAL "install: fatal: "
-
- int fdsourcedir = -1;
-+noc; /* hack for bin package install -- see port pkg/INSTALL */
-
- void h(home,uid,gid,mode)
- const char *home;
-@@ -79,6 +80,7 @@
- int gid;
- int mode;
- {
-+ if (!noc) {
- int fdin;
- int fdout;
-
-@@ -119,6 +121,7 @@
- strerr_die6sys(111,FATAL,"unable to chown .../",subdir,"/",file,": ");
- if (chmod(file,mode) == -1)
- strerr_die6sys(111,FATAL,"unable to chmod .../",subdir,"/",file,": ");
-+ }
- }
-
- void C(home,subdir,file,source,uid,gid,mode)
-@@ -270,8 +273,9 @@
- strerr_die6sys(111,FATAL,"unable to chmod ",home,"/",file,": ");
- }
-
--int main()
-+int main(argc, argv)
- {
-+ noc=--argc;
- fdsourcedir = open_read(".");
- if (fdsourcedir == -1)
- strerr_die2sys(111,FATAL,"unable to open current directory: ");
diff --git a/mail/qmail-ldap/pkg-descr b/mail/qmail-ldap/pkg-descr
deleted file mode 100644
index 4b1fecbd5219..000000000000
--- a/mail/qmail-ldap/pkg-descr
+++ /dev/null
@@ -1,24 +0,0 @@
-A patch to stock qmail-1.03 to get all user account information
-from an LDAP database. It primary target are POP toaster with
-huge numbers of users (from thousands up to millions).
-
-Some of it's greatest features:
-
- * Users and virtual domains in an LDAP database
- * No local accounts needed
- * Perfect for ISP's to build POP toasters
- * Native mail server clustering
- * Supports size quotas on user maildirs
- * Automatic creation of home- and maildir's
- * Handles replies with new qmail-reply
- * Extensive logging in qmail-smtpd and qmail-pop3d
- * Supports tarpitting (based on a patch by Chris Johnson)
- * Supports OpenLDAP 2.x, Novell NDS
- * Includes extensive Antispam-Features
- * Supports automatic maildir creation when the first mail arrives
- * Support for SHA, SSHA, MD5, SMD5, MD4 and RIPE-MD160
- * Support for NS-MTA-MD5 encrypted passwords used by Netscape Mailserver
- * It also supports the password format used by Software.com's Post.Office
- * Support TLS (SSL) encrytion of SMTP mail transport (by Frederik Vermeulen)
-
-WWW: http://www.nrg4u.com/