summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-08-20 04:42:36 +0000
committerMike Frysinger <vapier@gentoo.org>2011-08-20 04:42:36 +0000
commit54e930c2d3feb62052d6c5470d417a18e5f0745d (patch)
treea19846cbb1553b603546b5e9bd292ce458126f8f /sys-libs/libtermcap-compat
parentx86 stable wrt security bug #378345 (diff)
downloadhistorical-54e930c2d3feb62052d6c5470d417a18e5f0745d.tar.gz
historical-54e930c2d3feb62052d6c5470d417a18e5f0745d.tar.bz2
historical-54e930c2d3feb62052d6c5470d417a18e5f0745d.zip
Clean up & simplify the build a bit and respect build settings #379273 by Agostino Sarubbo.
Package-Manager: portage-2.2.0_alpha51/cvs/Linux x86_64
Diffstat (limited to 'sys-libs/libtermcap-compat')
-rw-r--r--sys-libs/libtermcap-compat/ChangeLog11
-rw-r--r--sys-libs/libtermcap-compat/Manifest14
-rw-r--r--sys-libs/libtermcap-compat/libtermcap-compat-2.0.8-r3.ebuild51
3 files changed, 68 insertions, 8 deletions
diff --git a/sys-libs/libtermcap-compat/ChangeLog b/sys-libs/libtermcap-compat/ChangeLog
index 6357b1093e4e..2fc51a01a56f 100644
--- a/sys-libs/libtermcap-compat/ChangeLog
+++ b/sys-libs/libtermcap-compat/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-libs/libtermcap-compat
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libtermcap-compat/ChangeLog,v 1.40 2010/02/19 14:11:46 ulm Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libtermcap-compat/ChangeLog,v 1.41 2011/08/20 04:42:36 vapier Exp $
+
+*libtermcap-compat-2.0.8-r3 (20 Aug 2011)
+
+ 20 Aug 2011; Mike Frysinger <vapier@gentoo.org>
+ +libtermcap-compat-2.0.8-r3.ebuild:
+ Clean up & simplify the build a bit and respect build settings #379273 by
+ Agostino Sarubbo.
19 Feb 2010; Ulrich Mueller <ulm@gentoo.org>
libtermcap-compat-2.0.8-r2.ebuild:
diff --git a/sys-libs/libtermcap-compat/Manifest b/sys-libs/libtermcap-compat/Manifest
index 5ccd55db9ec9..5228595ed57f 100644
--- a/sys-libs/libtermcap-compat/Manifest
+++ b/sys-libs/libtermcap-compat/Manifest
@@ -1,16 +1,18 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA256
DIST termcap-2.0.8-patches-1.tar.bz2 10573 RMD160 bd266e0d1aaf8a687205374f0b8873375283271e SHA1 760caea77a4f31f5d22fe228f566d67eb499cdb2 SHA256 0f77dc3ac217f8800e0f70f5c47e93b8bd253f20bb53552356bcdb690a21cef9
+DIST termcap-2.0.8-patches-2.tar.bz2 11589 RMD160 1c9139c8edecb1deb22d62a74ceb9f849057592f SHA1 5589cbd3e16d4fd454bca1ece326f7692c230be8 SHA256 9e6e623445070f351c3c5fcc0a13da9f8df93687b3429160f7a8c2e7928f795a
DIST termcap-2.0.8.tar.bz2 211523 RMD160 c5f9f99d57d4788429dd94d7ca37968d35210070 SHA1 1b7994563468a838f0befdc1c94993d8e6d134cc SHA256 293fb17823ae10b01902465d9f83625598b784e7bf72dde5425914c1c718f917
DIST termtypes.tc.gz 228329 RMD160 1dacc8fa5dc1639ddf40dc31dff523653a7fc3f1 SHA1 0398b2aea80d1e0d9dd1b27c978835d1bb3065e9 SHA256 c4fa04257fea6e968d4caa28cc18dbbf9eea4769a463296eaca21ceea757a728
EBUILD libtermcap-compat-2.0.8-r2.ebuild 1515 RMD160 1db5b7916448f3ff8679eff28bb6c7a5e3363642 SHA1 bca4a2922aded562d0f8d86b2a135d0611ba68ee SHA256 138b4dd879487359b5b70a36b552b3c025c1a37f7152f9ed1565a1df92df9461
-MISC ChangeLog 5374 RMD160 0c6b37a46ce1ae35e93274dcda2a900c2512f975 SHA1 34fdad3f097c187577da32dc9860da8f7eb4a5df SHA256 a81395b8e4f2db737958c6c8ce5ef23a6dd7213e53aed41e14a7bbe263da75b3
+EBUILD libtermcap-compat-2.0.8-r3.ebuild 1274 RMD160 fd4a3af75ed61a9ae1d224afbf7112993af19114 SHA1 e28c44a9d57b66ad9f402b9749cc5d9aab546d84 SHA256 389a2cfbe4388b6ee5004733c963990caf0dd501d632c3dbd1399168bb7f1181
+MISC ChangeLog 5605 RMD160 b2c8f6eac9bd7a7f1ebb73858676aa71e49f59e7 SHA1 22e289b3d007c3e34036e4ca6fb9c8d20e7a3793 SHA256 cfe2749d71e5b8be6724a24031e9da72955845a6b2291aa1e6c8c6b2cb7a2718
MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.14 (GNU/Linux)
+Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAkt+nDwACgkQOeoy/oIi7uyQeQCg4gn27geOv01HcIYXInIxAA0Q
-93AAoLArhPVp6yrTvPnIEkpNOhdqDqnD
-=QChl
+iF4EAREIAAYFAk5PO0UACgkQaC/OocHi7Ja9GwEAmgfwlKibfY9u8vT1YQlrFWJe
+1avT2Hr/8MZRSCN6Lb8A/jF+SEewmKH1TlV0f/Z+AI/bAt/qbiNDbf0cGEjitCp6
+=86u0
-----END PGP SIGNATURE-----
diff --git a/sys-libs/libtermcap-compat/libtermcap-compat-2.0.8-r3.ebuild b/sys-libs/libtermcap-compat/libtermcap-compat-2.0.8-r3.ebuild
new file mode 100644
index 000000000000..909c51626046
--- /dev/null
+++ b/sys-libs/libtermcap-compat/libtermcap-compat-2.0.8-r3.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libtermcap-compat/libtermcap-compat-2.0.8-r3.ebuild,v 1.1 2011/08/20 04:42:36 vapier Exp $
+
+# we only want this for binary-only packages, so we will only be installing
+# the lib used at runtime; no headers and no files to link against
+
+EAPI="2"
+
+inherit eutils multilib toolchain-funcs
+
+PATCHVER="2"
+
+MY_P="termcap-${PV}"
+DESCRIPTION="Compatibility package for old termcap-based programs"
+HOMEPAGE="http://www.catb.org/~esr/terminfo/"
+SRC_URI="http://www.catb.org/~esr/terminfo/termtypes.tc.gz
+ mirror://gentoo/${MY_P}.tar.bz2
+ mirror://gentoo/${MY_P}-patches-${PATCHVER}.tar.bz2"
+
+LICENSE="GPL-2 LGPL-2 BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86"
+IUSE=""
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ EPATCH_SOURCE="${WORKDIR}/patch"
+ EPATCH_SUFFIX="patch"
+ epatch "${EPATCH_SOURCE}"
+
+ cd "${WORKDIR}"
+ mv termtypes.tc termcap || die
+ epatch "${EPATCH_SOURCE}"/tc.file
+}
+
+src_configure() {
+ tc-export CC
+}
+
+src_install() {
+ into /
+ dolib.so libtermcap.so.${PV} || die
+ dosym libtermcap.so.${PV} /$(get_libdir)/libtermcap.so.2 || die
+
+ insinto /etc
+ doins "${WORKDIR}"/termcap || die
+
+ dodoc ChangeLog README
+}