Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 9461 Details for
Bug 17629
Updated ebuild for Postfix 2.0.6
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for ebuild
postfix.diff (text/plain), 6.84 KB, created by
Bernhard Schmidt
on 2003-03-16 10:24:47 UTC
(
hide
)
Description:
patch for ebuild
Filename:
MIME Type:
Creator:
Bernhard Schmidt
Created:
2003-03-16 10:24:47 UTC
Size:
6.84 KB
patch
obsolete
>diff -N -c -r postfix.old/ChangeLog postfix/ChangeLog >*** postfix.old/ChangeLog Thu Mar 6 09:21:17 2003 >--- postfix/ChangeLog Mon Mar 17 00:13:54 2003 >*************** >*** 2,7 **** >--- 2,14 ---- > # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 > # $Header: /home/cvsroot/gentoo-x86/net-mail/postfix/ChangeLog,v 1.59 2003/03/06 08:06:22 lostlogic Exp $ > >+ *postfix-2.0.6-r1 (16 Mar 2003) >+ >+ 16 Mar 2003; Bernhard Schmidt <berni@birkenwald.de> postfix-2.0.6-r1.ebuild: >+ Updated patch versions: >+ TLS: 0.8.13-2.0.3-0.9.7 -> 0.8.13-2.0.6-0.9.7a >+ IPv6: 1.12-pf-2.0.3 -> 1.13-pf-2.0.6 >+ > *postfix-2.0.6 (06 Mar 2003) > > 06 Mar 2003; Brandon Low <lostlogic@gentoo.org> postfix-2.0.6.ebuild: >diff -N -c -r postfix.old/files/digest-postfix-2.0.6-r1 postfix/files/digest-postfix-2.0.6-r1 >*** postfix.old/files/digest-postfix-2.0.6-r1 Thu Jan 1 01:00:00 1970 >--- postfix/files/digest-postfix-2.0.6-r1 Mon Mar 17 00:14:18 2003 >*************** >*** 0 **** >--- 1,3 ---- >+ MD5 31a49ed9970cd2abe63e4d3d7851e5f7 postfix-2.0.6.tar.gz 1345009 >+ MD5 42e3c15c5d9b59eb4cd15304f9c11627 pfixtls-0.8.13-2.0.6-0.9.7a.tar.gz 226006 >+ MD5 551836f3e36fe4551ec3c1e845027855 tls+ipv6-1.13-pf-2.0.6.patch.gz 95701 >diff -N -c -r postfix.old/postfix-2.0.6-r1.ebuild postfix/postfix-2.0.6-r1.ebuild >*** postfix.old/postfix-2.0.6-r1.ebuild Thu Jan 1 01:00:00 1970 >--- postfix/postfix-2.0.6-r1.ebuild Mon Mar 17 00:04:19 2003 >*************** >*** 0 **** >--- 1,195 ---- >+ # Copyright 1999-2003 Gentoo Technologies, Inc. >+ # Distributed under the terms of the GNU General Public License v2 >+ # $Header: /home/cvsroot/gentoo-x86/net-mail/postfix/postfix-2.0.6.ebuild,v 1.1 2003/03/06 08:06:22 lostlogic Exp $ >+ >+ inherit eutils >+ >+ TLS_P="pfixtls-0.8.13-2.0.6-0.9.7a" >+ IPV6_P="tls+ipv6-1.13-pf-2.0.6" >+ IUSE="ssl mysql sasl ldap ipv6 maildir mbox" >+ DESCRIPTION="A fast and secure drop-in replacement for sendmail" >+ HOMEPAGE="http://www.postfix.org" >+ SRC_URI="ftp://ftp.pca.dfn.de/pub/tools/net/postfix/official/${P}.tar.gz >+ ssl? ( ftp://ftp.aet.tu-cottbus.de/pub/postfix_tls/${TLS_P}.tar.gz ) >+ ipv6? ( ftp://ftp.stack.nl/pub/postfix/tls+ipv6/1.13/${IPV6_P}.patch.gz )" >+ LICENSE="IPL-1" >+ SLOT="0" >+ KEYWORDS="~x86 ~sparc ~ppc" >+ PROVIDE="virtual/mta >+ virtual/mda" >+ DEPEND=">=sys-libs/db-3.2 >+ >=dev-libs/libpcre-3.4 >+ ldap? ( >=net-nds/openldap-1.2 ) >+ mysql? ( >=dev-db/mysql-3.23.51 ) >+ ssl? ( >=dev-libs/openssl-0.9.6g ) >+ sasl? ( dev-libs/cyrus-sasl )" >+ RDEPEND="${DEPEND} >+ >=net-mail/mailbase-0.00 >+ !virtual/mta" >+ >+ is_postfix_installed() { >+ if [ -d /etc/postfix ] ; then >+ return 1 >+ fi >+ >+ return 0 >+ } >+ >+ pkg_setup() { >+ if ! grep -q ^postdrop: /etc/group ; then >+ groupadd postdrop || die "problem adding group postdrop" >+ fi >+ } >+ >+ src_unpack() { >+ unpack ${A} >+ cd ${S} >+ if [ "`use ssl`" ] && [ "`use ipv6`" ]; then >+ epatch ${WORKDIR}/${IPV6_P}.patch || die >+ CCARGS="${CCARGS} -DHAS_SSL" >+ AUXLIBS="${AUXLIBS} -lssl -lcrypto" >+ elif [ "`use ssl`" ]; then >+ epatch ${WORKDIR}/${TLS_P}/pfixtls.diff || die >+ CCARGS="${CCARGS} -DHAS_SSL" >+ AUXLIBS="${AUXLIBS} -lssl -lcrypto" >+ fi >+ cd ${S}/conf >+ cp main.cf main.cf.orig >+ sed -e "s:/usr/libexec/postfix:/usr/lib/postfix:" \ >+ < main.cf.orig > main.cf >+ >+ if [ "`use sasl`" ] ; then >+ # sasl 2 >+ if [ -f /usr/include/sasl/sasl.h ]; then >+ AUXLIBS="${AUXLIBS} -lsasl2" >+ CCARGS="${CCARGS} -I/usr/include/sasl -DUSE_SASL_AUTH" >+ # sasl 1 >+ elif [ -f /usr/include/sasl.h ]; then >+ AUXLIBS="${AUXLIBS} -lsasl" >+ CCARGS="${CCARGS} -DUSE_SASL_AUTH" >+ fi >+ fi >+ >+ cd ${S}/src/global >+ mv mail_params.h mail_params.h.orig >+ sed -e "s:/usr/libexec/postfix:/usr/lib/postfix:" \ >+ < mail_params.h.orig > mail_params.h >+ >+ if [ "`use mysql`" ] ; then >+ CCARGS="${CCARGS} -DHAS_MYSQL -I/usr/include/mysql" >+ AUXLIBS="${AUXLIBS} -lmysqlclient -lm -lz" >+ fi >+ >+ if [ "`use ldap`" ] ; then >+ CCARGS="${CCARGS} -DHAS_LDAP" >+ AUXLIBS="${AUXLIBS} -lldap -llber" >+ fi >+ >+ if [ "`use pam`" ] ; then >+ AUXLIBS="${AUXLIBS} -lpam" >+ fi >+ >+ CCARGS="${CCARGS} -DHAS_PCRE" >+ AUXLIBS="${AUXLIBS} -L/usr/lib -lpcre -ldl -lcrypt" >+ >+ DEBUG="" >+ >+ cd ${S} >+ make makefiles CC="${CC}" OPT="${CFLAGS}" DEBUG="${DEBUG}" \ >+ CCARGS="${CCARGS}" AUXLIBS="${AUXLIBS}" \ >+ || die "creating makefiles failed" >+ } >+ >+ src_compile() { >+ emake || die "compile problem" >+ } >+ >+ src_install () { >+ dodir /usr/bin /usr/sbin /usr/lib/postfix /etc/postfix/sample \ >+ /var/spool/postfix/tmp >+ touch ${D}/var/spool/postfix/.keep >+ >+ cd ${S}/bin >+ dosbin post* sendmail >+ chown root:postdrop ${D}/usr/sbin/{postdrop,postqueue} >+ chmod 2755 ${D}/usr/sbin/{postdrop,postqueue} >+ >+ dosym /usr/sbin/sendmail /usr/bin/mailq >+ dosym /usr/sbin/sendmail /usr/bin/newaliases >+ dosym /usr/sbin/sendmail /usr/lib/sendmail >+ >+ cd ${S}/libexec >+ exeinto /usr/lib/postfix >+ doexe * >+ >+ cd ${S}/man >+ doman man*/* >+ >+ cd ${S} >+ dodoc *README COMPATIBILITY HISTORY INSTALL LICENSE PORTING RELEASE_NOTES* >+ cd README_FILES >+ find . -type l |xargs rm >+ dodoc * >+ >+ cd ${S} >+ dohtml html/* >+ >+ cd ${S}/conf >+ insinto /etc/postfix/sample >+ doins access aliases canonical pcre_table regexp_table \ >+ relocated transport virtual *.cf >+ >+ exeinto /etc/postfix >+ doexe postfix-script post-install postfix-files >+ >+ insinto /etc/postfix >+ doins ${S}/conf/{main,master}.cf ${FILESDIR}/saslpass >+ cd ${D}/etc/postfix >+ epatch ${FILESDIR}/postfix-2.0.0/main.cf.diff >+ mv main.cf main.cf.orig >+ sed <main.cf.orig >main.cf \ >+ -e "s|/usr/share/doc/POSTFIX|/usr/share/doc/${PF}|" >+ chmod 644 main.cf >+ rm main.cf.orig >+ fperms 600 /etc/postfix/saslpass >+ >+ exeinto /etc/init.d ; newexe ${FILESDIR}/postfix.rc6 postfix >+ insinto /etc/pam.d ; newins ${FILESDIR}/smtp.pam smtp >+ >+ if [ "`use sasl`" ] ; then >+ # sasl 2 >+ if [ -f /usr/include/sasl/sasl.h ] ; then >+ insinto /usr/lib/sasl2 >+ doins ${FILESDIR}/smtpd.conf >+ else >+ insinto /etc/sasl >+ doins ${FILESDIR}/smtpd.conf >+ fi >+ fi >+ cd ${D}/etc/postfix >+ if [ "`use maildir`" ]; then >+ cp main.cf main.cf.premaildir >+ sed -e "s:#home_mailbox = Maildir/:home_mailbox = .maildir/:" \ >+ < main.cf.premaildir > main.cf >+ rm main.cf.premaildir >+ elif [ "`use mbox`" ]; then >+ cp main.cf main.cf.prembox >+ sed -e "s:#mail_spool_directory = /var/spool/mail:mail_spool_directory = /var/spool/mail:" \ >+ < main.cf.prembox > main.cf >+ rm main.cf.prembox >+ fi >+ rm main.cf~ >+ } >+ >+ pkg_postinst() { >+ install -d -m 0755 ${ROOT}/var/spool/postfix >+ >+ ewarn "If you upgraded from <postfix-2, you must revisit your configuration files." >+ ewarn "See /usr/share/doc/${PF}/RELEASE_NOTES for a list of changes." >+ >+ if [ ! -e /etc/mail/aliases.db ] ; then >+ echo >+ ewarn "You must edit /etc/mail/aliases to suit your needs and then run" >+ ewarn "/usr/bin/newaliases. Postfix will not work correctly without it." >+ fi >+ }
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 17629
: 9461 |
9462