Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 1036 Details for
Bug 2808
qmail tls patch
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for qmail-1.03-r7.ebuild to enable tls if use="ssl"
qmail.patch (text/plain), 2.75 KB, created by
Hannes Mehnert (RETIRED)
on 2002-05-17 15:45:24 UTC
(
hide
)
Description:
patch for qmail-1.03-r7.ebuild to enable tls if use="ssl"
Filename:
MIME Type:
Creator:
Hannes Mehnert (RETIRED)
Created:
2002-05-17 15:45:24 UTC
Size:
2.75 KB
patch
obsolete
>--- qmail-1.03-r7.ebuild Fri May 17 11:33:43 2002 >+++ qmail-1.03-r7-tls.ebuild Fri May 17 22:35:15 2002 >@@ -1,7 +1,8 @@ > # Copyright 1999-2001 Gentoo Technologies, Inc. > # Distributed under the terms of the GNU General Public License, v2 or later >-# Maintainer: Thilo Bangert <bangert@gentoo.org> >-# /space/gentoo/cvsroot/gentoo-x86/net-mail/qmail/qmail-1.03-r7.ebuild,v 1.5 2002/05/17 09:33:43 bangert Exp >+# Author Geert Bevin <gbevin@theleaf.be> >+# Maintainer Thilo Bangert <bangert@gentoo.org> >+# /space/gentoo/cvsroot/gentoo-x86/net-mail/qmail/qmail-1.03-r7.ebuild,v 1.4 2002/05/12 00:07:33 bangert Exp > > S=${WORKDIR}/${P} > DESCRIPTION="A modern replacement for sendmail which uses maildirs" >@@ -13,12 +14,14 @@ > SRC_URI="http://cr.yp.to/software/qmail-1.03.tar.gz > http://www.qmail.org/big-todo.103.patch > http://www.qmail.org/big-concurrency.patch >- http://www.ckdhr.com/ckd/qmail-103.patch" >+ http://www.ckdhr.com/ckd/qmail-103.patch >+ http://www.esat.kuleuven.ac.be/~vermeule/qmail/tls.patch" > > DEPEND="virtual/glibc > sys-apps/groff > >=sys-apps/ucspi-tcp-0.88 >- >=net-mail/checkpassword-0.90" >+ >=net-mail/checkpassword-0.90 >+ ssl? ( >=dev-libs/openssl-0.9.6d ) " > > RDEPEND="!virtual/mta > virtual/glibc >@@ -53,6 +56,11 @@ > echo "gcc" > conf-ld > echo "500" > conf-spawn > >+ if use ssl; then >+ echo "Applying tls patch..." >+ patch < ${DISTDIR}/tls.patch >+ echo "gcc ${CFLAGS} -DTLS" > conf-cc >+ fi > } > > src_compile() { >@@ -265,5 +273,22 @@ > echo ":allow" >> /etc/tcp.smtp > > tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp < /etc/tcp.smtp >- >+ >+ if use ssl; then >+ echo "Creating a self-signed ssl-cert:" >+ /usr/bin/openssl req -new -x509 -nodes -out /var/qmail/control/servercert.pem \ >+ -days 366 -keyout /var/qmail/control/servercert.pem >+ chmod 640 /var/qmail/control/servercert.pem >+ chown qmaild.qmail /var/qmail/control/servercert.pem >+ ln -s /var/qmail/control/servercert.pem /var/qmail/control/clientcert.pem >+ >+ echo -e "\e[32;01m If You want to have a signed cert, do the following: \033[0m" >+ echo -e "\e[32;01m /usr/local/ssl/bin/openssl req -new -nodes -out req.pem \ \033[0m" >+ echo -e "\e[32;01m -keyout /var/qmail/control/servercert.pem \033[0m" >+ echo -e "\e[32;01m chmod 640 /var/qmail/control/servercert.pem \033[0m" >+ echo -e "\e[32;01m chown qmaild.qmail /var/qmail/control/servercert.pem \033[0m" >+ echo -e "\e[32;01m ln -s /var/qmail/control/servercert.pem /var/qmail/control/clientcert.pem \033[0m" >+ echo -e "\e[32;01m Send req.pem to your CA to obtain signed_req.pem, and do: \033[0m" >+ echo -e "\e[32;01m cat signed_req.pem >> /var/qmail/control/servercert.pem \033[0m" >+ 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 2808
: 1036