Search
j0ke.net Open Build Service
>
Projects
>
server:mail
>
qmail-ldap
> qmail-ldap-1.03-20060201-Make.diff
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File qmail-ldap-1.03-20060201-Make.diff of Package qmail-ldap
diff -ruN qmail-ldap-1.03-20060201-orig/Makefile qmail-ldap-1.03-20060201/Makefile --- qmail-ldap-1.03-20060201-orig/Makefile 2006-02-25 11:00:55.000000000 +0100 +++ qmail-ldap-1.03-20060201/Makefile 2006-02-25 11:14:47.000000000 +0100 @@ -19,21 +19,21 @@ # -DQMQP_COMPRESS to use the QMQP on the fly compression (for clusters) # -DQUOTATRASH to include the Trash in the quota calculation (normaly it is not) # -DSMTPEXECCHECK to enable smtp DOS/Windows executable detection -#LDAPFLAGS=-DQLDAP_CLUSTER -DEXTERNAL_TODO -DDASH_EXT -DDATA_COMPRESS -DQMQP_COMPRESS -DSMTPEXECCHECK +LDAPFLAGS=-DQLDAP_CLUSTER -DEXTERNAL_TODO -DDASH_EXT -DDATA_COMPRESS -DQMQP_COMPRESS -DSMTPEXECCHECK -DIGNOREVERISIGN -DBIGBROTHER # Perhaps you have different ldap libraries, change them here -LDAPLIBS=-L/usr/local/lib -lldap -llber +LDAPLIBS=-L/usr/lib -lldap -llber # and change the location of the include files here -LDAPINCLUDES=-I/usr/local/include +LDAPINCLUDES=-I/usr/include # on Slowaris you need -lresolv and probably a LD_RUN_PATH added like this: #LDAPLIBS=-L/opt/OpenLDAP/lib -lldap -llber -lresolv -R/opt/OpenLDAP/lib # for example on my Linux box I use: -#LDAPLIBS=-L/opt/OpenLDAP/lib -lldap -llber +LDAPLIBS=-L/usr/lib -lldap -llber # if you need a special include-directory for ldap headers enable this -#LDAPINCLUDES=-I/opt/OpenLDAP/include +LDAPINCLUDES=-I/usr/include # ZLIB needed for -DDATA_COMPRESS and -DQMQP_COMPRESS -#ZLIB=-lz +ZLIB=-lz # or you installed zlib in a different path you can use something like this #ZLIB=-L/opt/zlib/lib -lz #ZINCLUDES=-I/opt/zlib/include @@ -43,13 +43,13 @@ # use -DTLS_REMOTE to enable tls support in qmail-remote # use -DTLS_SMTPD to enable tls support in qmail-smtpd # use -DTLSDEBUG to enable additional tls debug information in qmail-remote -#TLS=-DTLS_REMOTE -DTLS_SMTPD +TLS=-DTLS_REMOTE -DTLS_SMTPD # Path to OpenSSL includes -#TLSINCLUDES=-I/usr/local/include +TLSINCLUDES=-I/usr/include # Path to OpenSSL libraries -#TLSLIBS=-L/usr/local/lib -lssl -lcrypto +TLSLIBS=-L/usr/lib -lssl -lcrypto # Path to OpenSSL binary -#OPENSSLBIN=/usr/local/bin/openssl +OPENSSLBIN=/usr/bin/openssl #OPENSSLBIN=openssl # to make the Netscape download progress bar work with qmail-pop3d @@ -57,13 +57,13 @@ MNW=-DMAKE_NETSCAPE_WORK # to enable the auto-maildir-make feature uncomment the next line -#MDIRMAKE=-DAUTOMAILDIRMAKE +MDIRMAKE=-DAUTOMAILDIRMAKE # to enable the auto-homedir-make feature uncomment the next line -#HDIRMAKE=-DAUTOHOMEDIRMAKE +HDIRMAKE=-DAUTOHOMEDIRMAKE # on most systems we need this to make auth_pop and auth_imap -#SHADOWLIBS=-lcrypt +SHADOWLIBS=-lcrypt # OpenBSD and other Systems do not have libcrypt, so comment the line out # if you get linking problems. # To use shadow passwords under some Linux OS, uncomment the next two lines. @@ -73,7 +73,7 @@ # to enable the possibility to log and debug imap and pop uncoment the # next line -#DEBUG=-DDEBUG +DEBUG=-DDEBUG # WARNING: you need a NONE DEBUG auth_* to run with inetd # for profiling ... @@ -81,7 +81,7 @@ #LIBTAI=../libtai-0.60 # Just for me, make from time to time a backup -BACKUPPATH=/backup/qmail-backup/qmail-ldap.`date "+%Y%m%d-%H%M"`.tar +BACKUPPATH=/srv/backup/qmail/qmail-ldap.`date "+%Y%m%d-%H%M"`.tar # STOP editing HERE !!! # Don't edit Makefile! Use conf-* for configuration. diff -ruN qmail-ldap-1.03-20060201-orig/qmail-ldap.h qmail-ldap-1.03-20060201/qmail-ldap.h --- qmail-ldap-1.03-20060201-orig/qmail-ldap.h 2006-02-25 11:00:55.000000000 +0100 +++ qmail-ldap-1.03-20060201/qmail-ldap.h 2006-02-25 11:17:34.000000000 +0100 @@ -53,11 +53,11 @@ #define REPLY_CTE "8bit\n" /* the maximum and minimum uid allowed */ -#define UID_MIN 100 +#define UID_MIN 2000 #define UID_MAX 65535 /* the maximum and minimum gid allowed */ -#define GID_MIN 100 +#define GID_MIN 2000 #define GID_MAX 65535 /* if the sanitycheck function should be less restricted for