summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2003-02-27 09:41:40 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2003-02-27 09:41:40 +0000
commit901aaeca02c54ae8475fcf1bd7182e8d882b31d4 (patch)
tree6541bdf1a019afa29c10e4f5419b8c32676ebc20 /sys-libs
parentCloses #15430. (diff)
downloadgentoo-2-901aaeca02c54ae8475fcf1bd7182e8d882b31d4.tar.gz
gentoo-2-901aaeca02c54ae8475fcf1bd7182e8d882b31d4.tar.bz2
gentoo-2-901aaeca02c54ae8475fcf1bd7182e8d882b31d4.zip
Security update
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/zlib/ChangeLog8
-rw-r--r--sys-libs/zlib/files/digest-zlib-1.1.4-r11
-rw-r--r--sys-libs/zlib/zlib-1.1.4-r1.ebuild54
3 files changed, 62 insertions, 1 deletions
diff --git a/sys-libs/zlib/ChangeLog b/sys-libs/zlib/ChangeLog
index 648658083e90..c233784d9e44 100644
--- a/sys-libs/zlib/ChangeLog
+++ b/sys-libs/zlib/ChangeLog
@@ -1,7 +1,13 @@
# ChangeLog for sys-libs/zlib
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/zlib/ChangeLog,v 1.12 2003/02/24 22:58:05 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/zlib/ChangeLog,v 1.13 2003/02/27 09:41:40 aliz Exp $
+*zlib-1.1.4-r1 (25 Feb 2003)
+
+ 25 Feb 2003; Daniel Ahlberg <aliz@gentoo.org> :
+ Security update. Added patch by Kelledin <kelledin+BTQ@skarpsey.dyndns.org> posted
+ on bugtraq.
+
*zlib-1.1.4 (11 Mar 2002)
20 Feb 2003; Zach Welch <zwelch@gentoo.org> zlib-1.1.4.ebuild :
diff --git a/sys-libs/zlib/files/digest-zlib-1.1.4-r1 b/sys-libs/zlib/files/digest-zlib-1.1.4-r1
new file mode 100644
index 000000000000..ac97e5a21b50
--- /dev/null
+++ b/sys-libs/zlib/files/digest-zlib-1.1.4-r1
@@ -0,0 +1 @@
+MD5 ea16358be41384870acbdc372f9db152 zlib-1.1.4.tar.bz2 147014
diff --git a/sys-libs/zlib/zlib-1.1.4-r1.ebuild b/sys-libs/zlib/zlib-1.1.4-r1.ebuild
new file mode 100644
index 000000000000..1412ac7effa4
--- /dev/null
+++ b/sys-libs/zlib/zlib-1.1.4-r1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/zlib/zlib-1.1.4-r1.ebuild,v 1.1 2003/02/27 09:41:40 aliz Exp $
+
+inherit eutils flag-o-matic
+
+S="${WORKDIR}/${P}"
+DESCRIPTION="Standard (de)compression library"
+SRC_URI="http://www.gzip.org/zlib/${P}.tar.bz2"
+HOMEPAGE="http://www.gzip.org/zlib"
+
+LICENSE="ZLIB"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha ~mips ~hppa ~arm"
+SLOT="0"
+
+DEPEND="virtual/glibc"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch ${FILESDIR}/${P}-gentoo.security.patch
+}
+
+src_compile() {
+ ./configure --shared --prefix=/usr || die
+
+ append-flags -fPIC
+
+ emake CFLAGS="${CFLAGS}" || die
+
+ make test || die
+
+ ./configure --prefix=/usr || die
+ emake || die
+}
+
+src_install() {
+ into /usr
+ dodir /usr/include
+ insinto /usr/include
+ doins zconf.h zlib.h
+
+ dolib libz.so.${PV}
+ ( cd ${D}/usr/lib ; chmod 755 libz.so.* )
+ dolib libz.a
+ dosym libz.so.${PV} /usr/lib/libz.so
+ dosym libz.so.${PV} /usr/lib/libz.so.1
+
+ doman zlib.3
+ dodoc FAQ README ChangeLog
+ docinto txt
+ dodoc algorithm.txt
+}