Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 125 Details for
Bug 532
postfix tls build
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
tls build support patch
pfix.patch (text/plain), 2.60 KB, created by
Ingo Luetkebohle
on 2002-02-04 17:34:51 UTC
(
hide
)
Description:
tls build support patch
Filename:
MIME Type:
Creator:
Ingo Luetkebohle
Created:
2002-02-04 17:34:51 UTC
Size:
2.60 KB
patch
obsolete
>*** postfix-1.1.3.ebuild Sat Feb 2 23:19:19 2002 >--- postfix-1.1.3-r1.ebuild Mon Feb 4 15:21:29 2002 >*************** >*** 5,11 **** > > S=${WORKDIR}/${P} > DESCRIPTION="A fast and secure drop-in replacement for sendmail" >! SRC_URI="ftp://ftp.porcupine.org/mirrors/postfix-release/official/${P}.tar.gz" > HOMEPAGE="http://www.postfix.org/" > > PROVIDE="virtual/mta" >--- 5,14 ---- > > S=${WORKDIR}/${P} > DESCRIPTION="A fast and secure drop-in replacement for sendmail" >! PFIXTLSVER="0.8.3-1.1.3-0.9.6c" >! >! SRC_URI="ftp://ftp.porcupine.org/mirrors/postfix-release/official/${P}.tar.gz >! ftp://ftp.aet.tu-cottbus.de/pub/postfix_tls/pfixtls-$PFIXTLSVER.tar.gz" > HOMEPAGE="http://www.postfix.org/" > > PROVIDE="virtual/mta" >*************** >*** 13,18 **** >--- 16,22 ---- > DEPEND="virtual/glibc > >=dev-libs/libpcre-3.4 > >=sys-libs/db-3.2 >+ mta-tls? ( >=dev-libs/openssl-0.9.6 ) > mta-ldap? ( >=net-nds/openldap-1.2 ) > mta-mysql? ( >=dev-db/mysql-3.23.28 )" > >*************** >*** 23,28 **** >--- 27,37 ---- > src_unpack() { > > unpack ${A} >+ # apply TLS patch (only activated when mta-tls is set) >+ pushd ${S} >+ patch -sp1 < ${WORKDIR}/pfixtls-$PFIXTLSVER/pfixtls.diff >+ popd >+ > cd ${S}/conf > cp main.cf main.cf.orig > sed -e "s:/usr/libexec/postfix:/usr/lib/postfix:" main.cf.orig > main.cf >*************** >*** 31,42 **** > cp mail_params.h mail_params.h.orig > sed -e "s:/usr/libexec/postfix:/usr/lib/postfix:" mail_params.h.orig > mail_params.h > >! use mta-ldap && ( CCARGS="${CCARGS} -DHAS_LDAP" ; AUXLIBS="${AUXLIBS} -lldap -llber" ) >! use mta-mysql && ( CCARGS="${CCARGS} -DHAS_MYSQL" ; AUXLIBS="${AUXLIBS} -lmysqlclient -lm" ) > >! CCARGS="-I/usr/include -DHAS_PCRE" ; AUXLIBS="-L/usr/lib -lpcre" > >! cd ${S} ; make makefiles CC="cc ${CFLAGS} ${CCARGS} ${AUXLIBS}" || die > } > > src_compile() { >--- 40,71 ---- > cp mail_params.h mail_params.h.orig > sed -e "s:/usr/libexec/postfix:/usr/lib/postfix:" mail_params.h.orig > mail_params.h > >! # enable optional features from /etc/make.conf >! if use mta-tls >! then >! CCARGS="${CCARGS} -DHAS_SSL" >! AUXLIBS="${AUXLIBS} -lssl" >! fi >! if use mta-ldap >! then >! CCARGS="${CCARGS} -DHAS_LDAP" >! AUXLIBS="${AUXLIBS} -lldap -llber" >! fi >! if use mta-mysql >! then >! CCARGS="${CCARGS} -DHAS_MYSQL" >! AUXLIBS="${AUXLIBS} -lmysqlclient -lm" >! fi >! >! # enable PCRE unconditionally >! CCARGS="${CCARGS} -I/usr/include -DHAS_PCRE" >! AUXLIBS="${AUXLIBS} -L/usr/lib -lpcre" > >! # disable debugging >! DEBUG= > >! cd ${S} >! make makefiles CC="cc" OPT="${CFLAGS}" DEBUG="${DEBUG}" CCARGS="${CCARGS}" AUXLIBS="${AUXLIBS}" || die > } > > src_compile() {
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 532
: 125