FreeBSD Bugzilla – Attachment 54173 Details for
Bug 81966
[MAINTAINER] mail/qmail-ldap: Update ldap patch to 20050401a
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
qmail-ldap2-with_tls-1.03.20050401a.patch
qmail-ldap2-with_tls-1.03.20050401a.patch (text/plain), 4.34 KB, created by
Renato Botelho
on 2005-06-06 19:00:05 UTC
(
hide
)
Description:
qmail-ldap2-with_tls-1.03.20050401a.patch
Filename:
MIME Type:
Creator:
Renato Botelho
Created:
2005-06-06 19:00:05 UTC
Size:
4.34 KB
patch
obsolete
>Index: Makefile >=================================================================== >RCS file: /home/ncvs/ports/mail/qmail-ldap/Makefile,v >retrieving revision 1.37 >diff -u -r1.37 Makefile >--- Makefile 10 May 2005 14:31:28 -0000 1.37 >+++ Makefile 6 Jun 2005 17:46:20 -0000 >@@ -7,28 +7,21 @@ > > PORTNAME= qmail > PORTVERSION= ${QMAIL_VERSION}.${LDAP_PATCH_DATE} >-PORTREVISION= 3 >+PORTREVISION= 0 > CATEGORIES= mail > PKGNAMESUFFIX= -ldap > > MAINTAINER= freebsd@galle.com.br > COMMENT= A SECURE, reliable, and FAST MTA for UNIX systems WITH LDAP support > >-EXTRA_PATCHES+= ${MASTERDIR}/files/patch-install.c >-PATCH_DIST_STRIP+= -p1 >+RUN_DEPENDS= ${LOCALBASE}/bin/svscan:${PORTSDIR}/sysutils/daemontools > > CONFLICTS= nss-[0-9]* emboss-[0-9]* digest-[0-9]* > > USE_OPENLDAP= yes > SLAVE_LDAP= yes >-PKGNAMESUFFIX:= ${PKGNAMESUFFIX}2 > >-.if !defined(WITHOUT_TLS) >-PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-with_tls >-USE_OPENSSL= yes >-.endif >- >-LDAP_PATCH_DATE= 20020901 >+LDAP_PATCH_DATE= 20050401a > > MASTERDIR= ${.CURDIR}/../qmail > DESCR= ${.CURDIR}/pkg-descr >Index: pkg-descr >=================================================================== >RCS file: /home/ncvs/ports/mail/qmail-ldap/pkg-descr,v >retrieving revision 1.1 >diff -u -r1.1 pkg-descr >--- pkg-descr 19 Sep 2000 15:46:57 -0000 1.1 >+++ pkg-descr 6 Jun 2005 17:46:20 -0000 >@@ -1,23 +1,24 @@ >-What is is: >- >- 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). >+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 and mbox >- - 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 1.2.X and Mozilla Directory SDK >- - Includes Antispam-Features (based on a patch by Lindsay Haisley, >- Rask Lambertsen and Lionel Widdifield) >- [snip] >+ * 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/ >Index: files/patch-install.c >=================================================================== >RCS file: files/patch-install.c >diff -N files/patch-install.c >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ files/patch-install.c 6 Jun 2005 17:46:20 -0000 >@@ -0,0 +1,37 @@ >+--- 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() >++void main(argc, argv) >+ { >++ noc=--argc; >+ fdsourcedir = open_read("."); >+ if (fdsourcedir == -1) >+ strerr_die2sys(111,FATAL,"unable to open current directory: ");
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 81966
: 54173 |
54174