summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEray Aslan <eras@gentoo.org>2011-06-13 09:53:40 +0000
committerEray Aslan <eras@gentoo.org>2011-06-13 09:53:40 +0000
commit4c7c2b4b3aa55a60039552cebc04bf0fac08971c (patch)
tree4a47ea4a5da3770947435a687cfc940536082e97 /net-mail/uw-imap
parentremove vulnerable versions (diff)
downloadhistorical-4c7c2b4b3aa55a60039552cebc04bf0fac08971c.tar.gz
historical-4c7c2b4b3aa55a60039552cebc04bf0fac08971c.tar.bz2
historical-4c7c2b4b3aa55a60039552cebc04bf0fac08971c.zip
remove vulnerable
Package-Manager: portage-2.1.10.2/cvs/Linux x86_64
Diffstat (limited to 'net-mail/uw-imap')
-rw-r--r--net-mail/uw-imap/ChangeLog5
-rw-r--r--net-mail/uw-imap/Manifest21
-rw-r--r--net-mail/uw-imap/uw-imap-2007e.ebuild195
3 files changed, 19 insertions, 202 deletions
diff --git a/net-mail/uw-imap/ChangeLog b/net-mail/uw-imap/ChangeLog
index 94e34c347564..6ba984d54bf8 100644
--- a/net-mail/uw-imap/ChangeLog
+++ b/net-mail/uw-imap/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-mail/uw-imap
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/uw-imap/ChangeLog,v 1.124 2011/06/12 11:43:50 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/uw-imap/ChangeLog,v 1.125 2011/06/13 09:53:39 eras Exp $
+
+ 13 Jun 2011; Eray Aslan <eras@gentoo.org> -uw-imap-2007e.ebuild:
+ Remove vulnerable version
12 Jun 2011; Raúl Porcel <armin76@gentoo.org> uw-imap-2007e-r1.ebuild:
alpha/ia64/sparc stable wrt #235227
diff --git a/net-mail/uw-imap/Manifest b/net-mail/uw-imap/Manifest
index 104adcc75c01..2950a6ef3719 100644
--- a/net-mail/uw-imap/Manifest
+++ b/net-mail/uw-imap/Manifest
@@ -1,5 +1,5 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA256
AUX uw-imap-2004c-amd64-so-fix.patch 675 RMD160 f13adf21e7043175d2b2dd356b2ba48554e9e99f SHA1 fd6aad7b87d71795cb3e9bdee29b70ca72b289e9 SHA256 8f80dff390a5d87afd71ab07bbff0eed00acb14b3bfa2355f33ba22e833af202
AUX uw-imap-ldflags.patch 1643 RMD160 4d96749b13f0eac32cf22b3c8f8ad2cca4cd06bb SHA1 a25ad9ea586c3f112d03235af99f1d22f3ba6906 SHA256 344eb67975420a661082fee770c4faf48e57ac29c7d95f3caf4f69223c979791
@@ -10,13 +10,22 @@ AUX uw-ipop3.xinetd 472 RMD160 e4ad32c91284ffca80876e48d7d2fa649e4ae6f8 SHA1 a8d
AUX uw-ipop3s.xinetd 469 RMD160 28b09d47e577643c08f959ed09b7b63371c4e029 SHA1 95531d852a58d41c465a358fe5a4c390344b2eab SHA256 fa2c408770b27f29ea25297540f2bc0789f2e5bd98f72f48a9f1659df3d39264
DIST imap-2007e.tar.Z 2789469 RMD160 7d6af203419975f763d7ec17b6a4544c94490b50 SHA1 24c63cad8d0e74aa76e4341fcfa54d24f23a8c70 SHA256 be648d0e1aa62d564d9dbe04b77ea948116ee96ed687cb5d169c99ae28286e59
EBUILD uw-imap-2007e-r1.ebuild 4209 RMD160 d42a6ac9703904db74923c92848b3e440a65355b SHA1 af80403057a09e5cddcf4364383a3adfbe82e87a SHA256 4808023e7ae6f6ffb0cf4f01f15136317f85a41a3a367b26eb41d92e6e763a69
-EBUILD uw-imap-2007e.ebuild 5381 RMD160 188d0fe0f03cbe315932df9d391176eed4270f2f SHA1 dd5cdbd51770a1dcbef0ec3c9582b6b6bbb55a11 SHA256 f6cbf9111146128a87a6f28a51b2a916752e2b58d671e1e5b5beba6b5dc3680a
-MISC ChangeLog 17118 RMD160 a6308b7695f8118346e05549c60bf16763945cc0 SHA1 78a7355ee811a929e59be7dc12e7b489c1e305f1 SHA256 33d3dcfb2ac247193bf2107b0e55d566bac266af9562b55468b36a72c979d2e7
+MISC ChangeLog 17211 RMD160 ba1be151c2860946ec35f0054f2a3d92d1a1bbb6 SHA1 f0b3a7b5eceeeccc8bea465f180dca683effc9ec SHA256 1c03abea2632a440172238f5fe800ea0ae6a25118f454292a42004ba1c613fec
MISC metadata.xml 265 RMD160 c4e39d87b3e0c333fd24c3aecb66388a923a5c78 SHA1 13fb694a164531d4eac78502764e02a6693c02de SHA256 9c6aaa9b6ac6a0a8e15afb528a944668f2f7ef133021ebdda62dcce87b270e79
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAk30po4ACgkQuQc30/atMkCv4gCfWWp+b4el1QsYlh7mUPS/9enl
-g30AnRd8n7wqpmq6f8EiviuHgK6TP6lC
-=NILu
+iQIcBAEBCAAGBQJN9d4wAAoJEHfx8XVYajsfhCMQAJLJCd5/+FLeEH7ZDMsC8z6Y
+1qX0HaT3+R2QeNMVFYV/Q8jSxQiAOsAuju0E0CMAYS3ojvj2rLr4y1dA6knToXr4
+y6kXeQSiVma+mQ93uS2ZX0ZQuGyMGd5QsHQGoaVWuGdbcOI6JBdQTS+XYEhQdf+V
+yUPBh3DKbcaDjiuLgK5AvpoMYw3trevR9cYVLgHgy19rL52Oh5QqPt229tCHA248
+79IMtKvY6CXiyFFCULT19NGYXSZzm2iOrth+b2ASUr/C9CnXQ3gGprWCR7RCUYPT
+wS+i9bGdB9kGuHsI44V9hNfWPgSna5bauDiGy0lGjeRxyvRc5KgeE3RMSUfERmD+
+w7efLotWuzOSkSl+8M2b5A7D7DiqMGn3z/LrJdHO+LnFFfH7aTvsagKD7vOENC4b
+JS76GW/oiFQ7RBn82R18NA5lkaxVFmLwQVuKfNihGMTJOOv2Ev3i4w0UhCjhdvdP
+3NLYvbIRHXKvCs91rSm+EaC2xaAH4VefY/usywbrIupHlAx2dsKsk38bmGfpXdTI
+roeZK9LBIu58/mnpwaidhhlMKLBnqgxLiOBsc2v7ps+8bTxlUzSdC+nkZiYMtKC9
+v5in4xkLw5HPf8UI3pjirDpYgMaU+WDKUk0IcEPXHNusfl5D2GXatrXYvY52qlOK
+bS+f2lIP+cLDJM9q6HnK
+=ExxG
-----END PGP SIGNATURE-----
diff --git a/net-mail/uw-imap/uw-imap-2007e.ebuild b/net-mail/uw-imap/uw-imap-2007e.ebuild
deleted file mode 100644
index 654b4a09210a..000000000000
--- a/net-mail/uw-imap/uw-imap-2007e.ebuild
+++ /dev/null
@@ -1,195 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/uw-imap/uw-imap-2007e.ebuild,v 1.12 2011/05/07 11:20:37 eras Exp $
-
-inherit eutils flag-o-matic
-
-MY_P="imap-${PV}"
-S="${WORKDIR}/${MY_P}"
-
-DESCRIPTION="UW server daemons for IMAP and POP network mail protocols."
-SRC_URI="ftp://ftp.cac.washington.edu/imap/${MY_P}.tar.Z"
-HOMEPAGE="http://www.washington.edu/imap/"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86"
-IUSE="ipv6 ssl kerberos clearpasswd"
-
-DEPEND="!net-mail/vimap
- !net-libs/c-client
- >=sys-libs/pam-0.72
- >=net-mail/mailbase-0.00-r8
- ssl? ( dev-libs/openssl )
- kerberos? ( virtual/krb5 )"
-
-RDEPEND="${DEPEND}
- >=net-mail/uw-mailutils-${PV}
- sys-apps/xinetd"
-
-# get rid of old style virtual - bug 350792
-# all blockers really needed?
-RDEPEND="${RDEPEND}
- !net-mail/dovecot
- !mail-mta/courier
- !net-mail/courier-imap
- !net-mail/cyrus-imapd"
-
-pkg_setup() {
- echo
- if use clearpasswd; then
- ewarn "Building uw-imap with cleartext LOGIN allowed. Disable \"clearpasswd\" USE"
- ewarn "flag to restrict cleartext LOGIN to SSL/TLS sessions only."
- else
- if use ssl; then
- ewarn "Building uw-imap with cleartext LOGIN restricted to SSL/TLS sessions only."
- ewarn "Enable \"clearpasswd\" flag to allow unrestricted cleartext LOGIN."
- else
- ewarn "You have disabled SSL for uw-imap, but want cleartext passwords restricted to"
- ewarn "SSL/TLS sessions only. Either enable \"ssl\" USE flag, or \"clearpasswd\""
- ewarn "USE flag."
- die "Impossible USE flag combination, see above message"
- fi
- fi
- echo
- # ewarn people not using pam with this file
- if ! built_with_use net-mail/mailbase pam ; then
- echo
- ewarn "It is needed to have the net-mail/mailbase package"
- ewarn " built with the pam use flag activated. Please rebuild"
- ewarn " net-mail/mailbase with pam activated."
- echo
- die "mailbase has to be built with pam use flag"
- fi
-}
-
-src_unpack() {
- unpack ${A}
- # Tarball packed with bad file perms
- chmod -R ug+w "${S}"
-
- cd "${S}"
-
- if use amd64; then
- # Apply our patch to actually build the shared library for PHP5
- epatch "${FILESDIR}"/${PN}-2004c-amd64-so-fix.patch
- fi
- epatch "${FILESDIR}/${PN}-ldflags.patch"
-
- # Now we must make all the individual Makefiles use different CFLAGS,
- # otherwise they would all use -fPIC
- sed -i -e "s|\`cat \$C/CFLAGS\`|${CFLAGS}|g" src/dmail/Makefile \
- src/imapd/Makefile src/ipopd/Makefile src/mailutil/Makefile \
- src/mlock/Makefile src/mtest/Makefile src/tmail/Makefile \
- || die "sed failed patching Makefile FLAGS."
-
- # Now there is only c-client left, which should be built with -fPIC
- append-flags -fPIC
-
- cd "${S}"/src/osdep/unix/
- cp Makefile Makefile.orig
- sed \
- -e "s:BASECFLAGS=\".*\":BASECFLAGS=:g" \
- -e 's,SSLDIR=/usr/local/ssl,SSLDIR=/usr,g' \
- -e 's,SSLCERTS=$(SSLDIR)/certs,SSLCERTS=/etc/ssl/certs,g' \
- < Makefile.orig > Makefile
-
- # Uncomment this for MBX support
- #cp Makefile Makefile.orig2
- #sed \
- # -e "s:CREATEPROTO=unixproto:CREATEPROTO=mbxproto:" \
- # -e "s:EMPTYPROTO=unixproto:EMPTYPROTO=mbxproto:" \
- # < Makefile.orig2 > Makefile
-}
-
-src_compile() {
- local mymake
- local ipver
- ipver="IP=4"
-
- use ipv6 && echo ipv6
- use kerberos && echo kerberos
- use ssl && echo ssl
- use ipv6 && ipver="IP=6"
- use kerberos \
- && mymake="EXTRAAUTHENTICATORS=gss"
- if use ssl; then
- cd "${S}"
- echo ${mymake}
- if use clearpasswd; then
- yes | make lnp ${mymake} ${ipver} SSLTYPE=unix EXTRACFLAGS="${CFLAGS}" || die
- else
- yes | make lnp ${mymake} ${ipver} SSLTYPE=unix.nopwd EXTRACFLAGS="${CFLAGS}" || die
- fi
-
- local i
- for i in imapd ipop3d; do
- umask 077
- PEM1=`/bin/mktemp ${T}/openssl.XXXXXX`
- PEM2=`/bin/mktemp ${T}/openssl.XXXXXX`
- /usr/bin/openssl req -newkey rsa:1024 -keyout $$PEM1 \
- -nodes -x509 -days 365 -out $$PEM2 << EOF
---
-SomeState
-SomeCity
-SomeOrganization
-SomeOrganizationalUnit
-localhost.localdomain
-root@localhost.localdomain
-EOF
-
- cat $$PEM1 > ${i}.pem
- echo "" >> ${i}.pem
- cat $$PEM2 >> ${i}.pem
- rm $$PEM1 $$PEM2
- umask 022
- done
- else
- yes | make lnp ${mymake} ${ipver} SSLTYPE=none EXTRACFLAGS="${CFLAGS}" || die
- fi
-}
-
-src_install() {
- into /usr
- dosbin imapd/imapd ipopd/ipop?d dmail/dmail tmail/tmail
- dobin mlock/mlock
-
- if use ssl; then
- dodir /etc/ssl/certs
- mv imapd.pem "${D}"/etc/ssl/certs
- mv ipop3d.pem "${D}"/etc/ssl/certs
- fi
-
- if use amd64; then
- dolib.so c-client/libc-client.so.1.0.0
- cd "${D}"/usr/$(get_libdir)
- ln -s libc-client.so.1.0.0 libc-client.so.1
- ln -s libc-client.so.1.0.0 libc-client.so
- fi
-
- cd "${S}"
-
- insinto /usr/include/imap
- doins c-client/{c-client,flstring,mail,imap4r1,rfc822,misc,smtp,nntp,utf8,utf8aux}.h
- doins c-client/linkage.{c,h}
- doins c-client/{osdep,env_unix,env,fs,ftl,nl,tcp}.h
- dolib.a c-client/c-client.a
- cd "${D}"/usr/$(get_libdir)
- dosym c-client.a libc-client.a
- cd "${S}"
-
- doman src/ipopd/ipopd.8 src/imapd/imapd.8
- doman src/dmail/dmail.1 src/tmail/tmail.1
- dodoc README docs/*.txt docs/CONFIG docs/RELNOTES
-
- docinto rfc
- dodoc docs/rfc/*.txt
-
- # gentoo config stuff
- insinto /etc/xinetd.d
- newins "${FILESDIR}"/uw-imap.xinetd imap
- newins "${FILESDIR}"/uw-ipop2.xinetd ipop2
- newins "${FILESDIR}"/uw-ipop3.xinetd ipop3
- newins "${FILESDIR}"/uw-ipop3s.xinetd ipop3s
- newins "${FILESDIR}"/uw-imaps.xinetd imaps
-}