From cc6495cfe4ebd32d0a970b6b876d4b2e613ba897 Mon Sep 17 00:00:00 2001 From: Chris White Date: Sun, 6 Aug 2006 01:48:14 +0000 Subject: [PATCH] Security punt for bug #140494. Package-Manager: portage-2.1.1_pre4-r2 --- x11-libs/lesstif/Manifest | 26 ++-- .../lesstif/files/digest-lesstif-0.94.0-r2 | 1 - x11-libs/lesstif/lesstif-0.94.0-r2.ebuild | 100 -------------- x11-libs/openmotif/Manifest | 25 ++-- .../files/digest-openmotif-2.1.30-r9 | 6 - x11-libs/openmotif/openmotif-2.1.30-r9.ebuild | 128 ------------------ 6 files changed, 28 insertions(+), 258 deletions(-) delete mode 100644 x11-libs/lesstif/files/digest-lesstif-0.94.0-r2 delete mode 100644 x11-libs/lesstif/lesstif-0.94.0-r2.ebuild delete mode 100644 x11-libs/openmotif/files/digest-openmotif-2.1.30-r9 delete mode 100644 x11-libs/openmotif/openmotif-2.1.30-r9.ebuild diff --git a/x11-libs/lesstif/Manifest b/x11-libs/lesstif/Manifest index 4bc813fc64ad..082ce0cb3268 100644 --- a/x11-libs/lesstif/Manifest +++ b/x11-libs/lesstif/Manifest @@ -1,27 +1,25 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX CAN-2005-0605.patch 1194 RMD160 a63ab47efb630423f2547dee911ea871071e2aa8 SHA1 ce66f6c23d1c3b5a96ba1363437b1a421b97ac78 SHA256 aaa8f3d35dbabbb65e3280051c9234d5e723bed0b89761cdb19da9f77ce8d2ed MD5 10373c1e87b0208cd26888011a4d92de files/CAN-2005-0605.patch 1194 RMD160 a63ab47efb630423f2547dee911ea871071e2aa8 files/CAN-2005-0605.patch 1194 SHA256 aaa8f3d35dbabbb65e3280051c9234d5e723bed0b89761cdb19da9f77ce8d2ed files/CAN-2005-0605.patch 1194 DIST lesstif-0.93.94.tar.bz2 3461827 -DIST lesstif-0.94.0.tar.bz2 2425210 DIST lesstif-0.94.4.tar.bz2 2447156 RMD160 1025f6b662437a4e47a909aed7098901abf02c3c SHA1 5c608630998d2f5ce096d4bbf1dec52e77c98588 SHA256 b98df416bc718fc0016288ba9a72411581695f80dcc19cb957efe217ebe37ab8 DIST lesstif1-1_0.93.94-11.2.diff.gz 110235 EBUILD lesstif-0.93.94-r4.ebuild 2917 RMD160 e81d6c980f88a90bf0eab0bf673d298d8f83cfb0 SHA1 a8fb5a00d1dcdc8dff0f5b1f0bae5e6f64cc5c5b SHA256 0a00d3123234f654cf453858a0df8d2823ba4241cc9ff984dd08ddfbb3bd046f MD5 51de38a0f0107d35d3ed18392ebb9944 lesstif-0.93.94-r4.ebuild 2917 RMD160 e81d6c980f88a90bf0eab0bf673d298d8f83cfb0 lesstif-0.93.94-r4.ebuild 2917 SHA256 0a00d3123234f654cf453858a0df8d2823ba4241cc9ff984dd08ddfbb3bd046f lesstif-0.93.94-r4.ebuild 2917 -EBUILD lesstif-0.94.0-r2.ebuild 2293 RMD160 2254116ac66ef8b36823b5672f7a24fd8032e43d SHA1 4b8b7cffc7e785356990dd47269357c2c0832029 SHA256 8917347a76e33680b942f60a5960e4e232bdfe4ad7d4aa577a74290f4e1bc193 -MD5 2f20a23a56aa9cd28116562775128673 lesstif-0.94.0-r2.ebuild 2293 -RMD160 2254116ac66ef8b36823b5672f7a24fd8032e43d lesstif-0.94.0-r2.ebuild 2293 -SHA256 8917347a76e33680b942f60a5960e4e232bdfe4ad7d4aa577a74290f4e1bc193 lesstif-0.94.0-r2.ebuild 2293 EBUILD lesstif-0.94.4.ebuild 2860 RMD160 34983a731bc287e0adee0f3da6775d1f01697b65 SHA1 d7388783406ab8fd7718fb6e8b62c558469c1b26 SHA256 471678ff288316ba2e8125271675c23989d00bede1ce10a21c3c4f943e65e529 MD5 f733d727b64bfb8b665609412c4bd0a6 lesstif-0.94.4.ebuild 2860 RMD160 34983a731bc287e0adee0f3da6775d1f01697b65 lesstif-0.94.4.ebuild 2860 SHA256 471678ff288316ba2e8125271675c23989d00bede1ce10a21c3c4f943e65e529 lesstif-0.94.4.ebuild 2860 -MISC ChangeLog 10214 RMD160 db7508865fe497284727914dbb8995039f21c27a SHA1 b5769132b83d7b001a84ce1c2887b6fce2a24f99 SHA256 042404697c0eb2815fa3491a2c90e6848d70db0d223ecfd49ebd597ddd69ec0f -MD5 d1842e134bee7e0920ee8a4c909259fe ChangeLog 10214 -RMD160 db7508865fe497284727914dbb8995039f21c27a ChangeLog 10214 -SHA256 042404697c0eb2815fa3491a2c90e6848d70db0d223ecfd49ebd597ddd69ec0f ChangeLog 10214 +MISC ChangeLog 10332 RMD160 904ec435464cbb24b25913adf53da7b7bd59ac91 SHA1 d73fbd2ab7cb6f080db63569a27615c17d123576 SHA256 7a316d6a53df5f0dcc2a42986ad82ee70dfa799880d51a1133f413d01746c5c2 +MD5 103e11cec11fbd86eb50bbe43c19b10a ChangeLog 10332 +RMD160 904ec435464cbb24b25913adf53da7b7bd59ac91 ChangeLog 10332 +SHA256 7a316d6a53df5f0dcc2a42986ad82ee70dfa799880d51a1133f413d01746c5c2 ChangeLog 10332 MISC metadata.xml 160 RMD160 d86217bb48cf4283e08e43bcaabbc919101ad795 SHA1 d6147d00f16e8cfeef893d0764b0675a93d62849 SHA256 56fca1e06f6dcbe3bc12e7d3962998c7cb79d74f218ce8a17b07771b3e06f49e MD5 dffd46174e78b327c834fc3e4b1cf848 metadata.xml 160 RMD160 d86217bb48cf4283e08e43bcaabbc919101ad795 metadata.xml 160 @@ -29,9 +27,13 @@ SHA256 56fca1e06f6dcbe3bc12e7d3962998c7cb79d74f218ce8a17b07771b3e06f49e metadata MD5 c7b5275912acf7fd3ae16a24dca410ec files/digest-lesstif-0.93.94-r4 145 RMD160 2dab679ab918ba0dfed30f967bcef53377d651eb files/digest-lesstif-0.93.94-r4 145 SHA256 8bf053afcc8dfbd8964b077e46bd393aad00b73cb37cffc7ad0a322a98e846b0 files/digest-lesstif-0.93.94-r4 145 -MD5 50f3abd88dd0c45de68a1cec931c4909 files/digest-lesstif-0.94.0-r2 68 -RMD160 be73b27d47a4ff2aa207a1e75fd4d2cbde7bcd20 files/digest-lesstif-0.94.0-r2 68 -SHA256 44023297b9f817631130247a7df5ea11b590dd3876ae5a8931de88bd6d6d32ca files/digest-lesstif-0.94.0-r2 68 MD5 17109b66132514d0049c6088e326959a files/digest-lesstif-0.94.4 250 RMD160 8d1ea5e05ec7db3d51aba1bdf12ee6bcb3300aca files/digest-lesstif-0.94.4 250 SHA256 2af3203f60cbd68756c163d728b0edd3a5dc561f2fffa6fbccdffc5da68ac7f9 files/digest-lesstif-0.94.4 250 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.4 (GNU/Linux) + +iD8DBQFE1D5mFdQwWVoAgN4RAq5DAJ9s7u2oBcANVBhs+aOjSiHnrh0yIQCfTTOL +cZSHhTA+yMXWDMrHlLSWpZk= +=fy5X +-----END PGP SIGNATURE----- diff --git a/x11-libs/lesstif/files/digest-lesstif-0.94.0-r2 b/x11-libs/lesstif/files/digest-lesstif-0.94.0-r2 deleted file mode 100644 index 86a358232318..000000000000 --- a/x11-libs/lesstif/files/digest-lesstif-0.94.0-r2 +++ /dev/null @@ -1 +0,0 @@ -MD5 20f38a06c863e0c51ca0c862ef039601 lesstif-0.94.0.tar.bz2 2425210 diff --git a/x11-libs/lesstif/lesstif-0.94.0-r2.ebuild b/x11-libs/lesstif/lesstif-0.94.0-r2.ebuild deleted file mode 100644 index 86b468a4aec1..000000000000 --- a/x11-libs/lesstif/lesstif-0.94.0-r2.ebuild +++ /dev/null @@ -1,100 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/lesstif/lesstif-0.94.0-r2.ebuild,v 1.10 2006/03/10 23:39:53 joshuabaergen Exp $ - -inherit libtool flag-o-matic - -DESCRIPTION="An OSF/Motif(R) clone" -HOMEPAGE="http://www.lesstif.org/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" - -LICENSE="LGPL-2" -SLOT="0" -KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 ppc-macos sparc x86" -IUSE="" - -RDEPEND="virtual/libc - || ( ( x11-libs/libXp - x11-libs/libXt ) - virtual/x11 )" - -DEPEND="${RDEPEND} - || ( ( x11-libs/libXaw - x11-libs/libXft - x11-proto/printproto - x11-proto/xextproto ) - virtual/x11 )" - -src_unpack() { - unpack ${A} - cd ${S} - epatch ${FILESDIR}/CAN-2005-0605.patch -} - -src_compile() { - use ppc-macos || elibtoolize - - if use ppc-macos; then - append-ldflags -L/usr/X11R6/lib -lX11 -lXt - fi - - econf \ - --enable-production \ - --enable-verbose=no \ - --with-x || die "./configure failed" - - emake CFLAGS="${CFLAGS}" || die -} - -src_install() { - make DESTDIR=${D} install || die "make install" - - - einfo "Fixing binaries" - dodir /usr/X11R6/bin/lesstif - for file in `ls ${D}/usr/bin` - do - mv ${D}/usr/bin/${file} ${D}/usr/X11R6/bin/lesstif/${file} - done - rm -f ${D}/usr/X11R6/bin/lesstif/mxmkmf - rm -fR ${D}/usr/bin - - - einfo "Fixing docs" - dodir /usr/share/doc/ - mv ${D}/usr/LessTif ${D}/usr/share/doc/${P} - rm -fR ${D}/usr/lib/LessTif - - - einfo "Fixing libraries" - dodir /usr/X11R6/lib/lesstif - mv ${D}/usr/lib/lib* ${D}/usr/X11R6/lib/lesstif - - - einfo "Fixing includes" - dodir /usr/X11R6/include/lesstif/ - mv ${D}/usr/include/* ${D}/usr/X11R6/include/lesstif - rm -fR ${D}/usr/include - - - einfo "Fixing man pages" - dodir /usr/X11R6/share/man/{man1,man3,man5} - for file in `ls ${D}/usr/share/man/man1` - do - file=${file/.1/} - mv ${D}/usr/share/man/man1/${file}.1 ${D}/usr/X11R6/share/man/man1/${file}-lesstif.1 - done - for file in `ls ${D}/usr/share/man/man3` - do - file=${file/.3/} - mv ${D}/usr/share/man/man3/${file}.3 ${D}/usr/X11R6/share/man/man3/${file}-lesstif.3 - done - for file in `ls ${D}/usr/share/man/man6` - do - file=${file/.5/} - mv ${D}/usr/share/man/man5/${file}.5 ${D}/usr/X11R6/share/man/man5/${file}-lesstif.5 - done - rm -fR ${D}/usr/share/man - - rm -fR ${D}/usr/share/aclocal -} diff --git a/x11-libs/openmotif/Manifest b/x11-libs/openmotif/Manifest index 5802ad441021..75b5bf4bd84f 100644 --- a/x11-libs/openmotif/Manifest +++ b/x11-libs/openmotif/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX CAN-2005-0605.patch 1118 RMD160 56a1a4433bb71d54b6d5df33fab68aca74158730 SHA1 f9198a5629998790c2dfd112f71134f39f4b3e11 SHA256 20517fc5c4b61419528b658422fdcc9ed972762cffd605a844a4cfd1f628a331 MD5 b38be118160b49f6b0f9e31d26f01594 files/CAN-2005-0605.patch 1118 RMD160 56a1a4433bb71d54b6d5df33fab68aca74158730 files/CAN-2005-0605.patch 1118 @@ -102,10 +105,6 @@ EBUILD openmotif-2.1.30-r14.ebuild 5425 RMD160 6ff027e9d6c636cfdd09229743049d5b6 MD5 48515e34bdbc6282990c3411814ebc55 openmotif-2.1.30-r14.ebuild 5425 RMD160 6ff027e9d6c636cfdd09229743049d5b6d953dcc openmotif-2.1.30-r14.ebuild 5425 SHA256 1ecb354d3e35ba3c339bd18f2729bd5388aa3939a74022de88d0ada329cec62c openmotif-2.1.30-r14.ebuild 5425 -EBUILD openmotif-2.1.30-r9.ebuild 3980 RMD160 25c116e5ebe9b9e089b29a169f76e3f9327a72c3 SHA1 3d10727e60f3c198789a84950b66d167a2590577 SHA256 d441c08332de1584924f790d656e0800df39b9f2ba247a51c839b7ccb0236e79 -MD5 3ad49520d30afa18aba24a8ab141da44 openmotif-2.1.30-r9.ebuild 3980 -RMD160 25c116e5ebe9b9e089b29a169f76e3f9327a72c3 openmotif-2.1.30-r9.ebuild 3980 -SHA256 d441c08332de1584924f790d656e0800df39b9f2ba247a51c839b7ccb0236e79 openmotif-2.1.30-r9.ebuild 3980 EBUILD openmotif-2.2.3-r3.ebuild 3279 RMD160 33b1df24701c9e4c0902bf3575a8950735a18b9c SHA1 a9b3d2d6f3491a716014894f9ea1804264bcffed SHA256 d4787b5b07a96399a4ce20f50b08ca479ad05644f2c5bf04ee97b73a9881f9e9 MD5 ed3cf822d77f159c4dde74a10949b7b7 openmotif-2.2.3-r3.ebuild 3279 RMD160 33b1df24701c9e4c0902bf3575a8950735a18b9c openmotif-2.2.3-r3.ebuild 3279 @@ -118,10 +117,10 @@ EBUILD openmotif-2.2.3-r9.ebuild 3776 RMD160 882b1099cc2d355d434380db107eaedf1d9 MD5 6d94a607bee95de2816116d7d4339d00 openmotif-2.2.3-r9.ebuild 3776 RMD160 882b1099cc2d355d434380db107eaedf1d931164 openmotif-2.2.3-r9.ebuild 3776 SHA256 aa373ab9122e0ab3b7b562318208d8b29c98530ed32d1afc12e462d98afe677d openmotif-2.2.3-r9.ebuild 3776 -MISC ChangeLog 19536 RMD160 b21756bfff78b7e640dce42b49cbc299795e2fbb SHA1 c1699f34ec6a23717efeb4f850b4d5bed26930ae SHA256 f1b1f5acf75e2b0b732e2d9380a66d6909fd55fd918eab828e89b41b49cde21d -MD5 ef52b1879139d41521b7d1640a3f7d2e ChangeLog 19536 -RMD160 b21756bfff78b7e640dce42b49cbc299795e2fbb ChangeLog 19536 -SHA256 f1b1f5acf75e2b0b732e2d9380a66d6909fd55fd918eab828e89b41b49cde21d ChangeLog 19536 +MISC ChangeLog 19653 RMD160 14754516702d8f489266b1445e6688ada13d7391 SHA1 2489be842ac3996630f5929f5274ef766e4c790a SHA256 e20d01cc126d9c69e3be7bb5ba05a5f36a76fc3197233ac4c3ce105d858f313f +MD5 cfdef4e5f2b36cb8d9432ebe23555be4 ChangeLog 19653 +RMD160 14754516702d8f489266b1445e6688ada13d7391 ChangeLog 19653 +SHA256 e20d01cc126d9c69e3be7bb5ba05a5f36a76fc3197233ac4c3ce105d858f313f ChangeLog 19653 MISC metadata.xml 170 RMD160 0c6b102787098d03cbf0bdbed37dabbd0de6654e SHA1 ba2300f5740c3b005419388cec650037e927799f SHA256 53b07ee8fc55e6e45232b2d798d00da0d1056ef3f963816e46b410bbdb676623 MD5 a62858e8c9d87aaaaa3356a1c94ef18d metadata.xml 170 RMD160 0c6b102787098d03cbf0bdbed37dabbd0de6654e metadata.xml 170 @@ -129,9 +128,6 @@ SHA256 53b07ee8fc55e6e45232b2d798d00da0d1056ef3f963816e46b410bbdb676623 metadata MD5 2d985654ede26cc4957ae32f485bc70d files/digest-openmotif-2.1.30-r14 599 RMD160 c3e73231ed3b3372255712515f4f1d2a8266e044 files/digest-openmotif-2.1.30-r14 599 SHA256 92b91947b9c1d41bf2484f7f7105ade0aa6a372e90ab335a08b05e8cb3873426 files/digest-openmotif-2.1.30-r14 599 -MD5 2d985654ede26cc4957ae32f485bc70d files/digest-openmotif-2.1.30-r9 599 -RMD160 c3e73231ed3b3372255712515f4f1d2a8266e044 files/digest-openmotif-2.1.30-r9 599 -SHA256 92b91947b9c1d41bf2484f7f7105ade0aa6a372e90ab335a08b05e8cb3873426 files/digest-openmotif-2.1.30-r9 599 MD5 e38a0e0825238206da7e31703f5eb0a3 files/digest-openmotif-2.2.3-r3 563 RMD160 7d060c5bbe733493b9e67db1a864923c2bb35013 files/digest-openmotif-2.2.3-r3 563 SHA256 4333e38dae316879724e878cafd5d5477975edfe50134b36cec4ddf40c0eecc6 files/digest-openmotif-2.2.3-r3 563 @@ -141,3 +137,10 @@ SHA256 4333e38dae316879724e878cafd5d5477975edfe50134b36cec4ddf40c0eecc6 files/di MD5 e38a0e0825238206da7e31703f5eb0a3 files/digest-openmotif-2.2.3-r9 563 RMD160 7d060c5bbe733493b9e67db1a864923c2bb35013 files/digest-openmotif-2.2.3-r9 563 SHA256 4333e38dae316879724e878cafd5d5477975edfe50134b36cec4ddf40c0eecc6 files/digest-openmotif-2.2.3-r9 563 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.4 (GNU/Linux) + +iD8DBQFE1D8KFdQwWVoAgN4RAkbKAKDl4LASLBu2bjAWxt/3eBSc58dHMQCg13oZ +Hlhu9O4Dyo6brjdLzA76/uc= +=CWa3 +-----END PGP SIGNATURE----- diff --git a/x11-libs/openmotif/files/digest-openmotif-2.1.30-r9 b/x11-libs/openmotif/files/digest-openmotif-2.1.30-r9 deleted file mode 100644 index 18fb18ef5f01..000000000000 --- a/x11-libs/openmotif/files/digest-openmotif-2.1.30-r9 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 950f0d409e0ce508fa3995790c1106c7 openmotif-2.1.30-4_MLI.src.tar.gz 8645792 -RMD160 082e1eeaf7bb1c27aceef7c5a310b2121d3001e8 openmotif-2.1.30-4_MLI.src.tar.gz 8645792 -SHA256 a25d6f7a420ea74c504cc6fe832e6af80812e77e749d099c91e75454e96d8a0b openmotif-2.1.30-4_MLI.src.tar.gz 8645792 -MD5 5c49a886f108baeda96fc41f32647cf6 openmotif-2.1.30-CAN-2004-0914-newer.patch.bz2 12300 -RMD160 308c3f96f6fcc82ce503fd1bb6f3291bd1641d6f openmotif-2.1.30-CAN-2004-0914-newer.patch.bz2 12300 -SHA256 a693d7c10bf6648b2af5fb260645526e5651b1c4a9cf9a60405a67df8aa349f5 openmotif-2.1.30-CAN-2004-0914-newer.patch.bz2 12300 diff --git a/x11-libs/openmotif/openmotif-2.1.30-r9.ebuild b/x11-libs/openmotif/openmotif-2.1.30-r9.ebuild deleted file mode 100644 index b436b0f2e220..000000000000 --- a/x11-libs/openmotif/openmotif-2.1.30-r9.ebuild +++ /dev/null @@ -1,128 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/openmotif/openmotif-2.1.30-r9.ebuild,v 1.12 2006/03/06 20:29:24 blubb Exp $ - -inherit eutils flag-o-matic multilib - -MY_P=${P}-4_MLI.src -S=${WORKDIR}/motif -DESCRIPTION="Open Motif (Metrolink Bug Fix Release)" -HOMEPAGE="http://www.openmotif.org/" -SRC_URI="ftp://ftp.metrolink.com/pub/openmotif/2.1.30-4/${MY_P}.tar.gz - mirror://gentoo/${P}-CAN-2004-0914-newer.patch.bz2" - -LICENSE="MOTIF" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 ppc-macos sparc x86" -IUSE="" - -DEPEND="virtual/x11" -PROVIDE="virtual/motif" - -pkg_setup() { - # multilib includes don't work right in this package... - [ -n "${ABI}" ] && append-flags "-I/usr/include/gentoo-multilib/${ABI}" -} - -src_unpack() { - local cfg="${S}/config/cf/site.def" - - unpack ${A} - cd ${S} - - epatch ${FILESDIR}/${P}-CAN-2004-0687-0688.patch - epatch ${WORKDIR}/${P}-CAN-2004-0914-newer.patch - epatch ${FILESDIR}/${P}-CAN-2004-0914_sec8.patch - - ebegin "adjusting file permissions" - chmod -R ug+w . - eend $? || die - - ebegin "setting up site.def" - cp ${FILESDIR}/site.def.1 ${S}/config/cf/site.def && \ - echo >>$cfg && \ - echo >>$cfg "#undef OptimizedCDebugFlags" && \ - echo >>$cfg "#define OptimizedCDebugFlags ${CFLAGS}" && \ - echo >>$cfg "#undef OptimizedCplusplusDebugFlags" && \ - echo >>$cfg "#define OptimizedCplusplusDebugFlags ${CXXFLAGS}" &&\ - echo >>$cfg "#undef LinuxCLibMajorVersion" && \ - echo >>$cfg "#define LinuxCLibMajorVersion 6" - eend $? || die - - sed -i -e "s:#define USE_BYACC YES:#undef USE_BYACC:" config/cf/host.def - - # move `system.mwmrc' from `lib/X11' to `lib/X11/mwm' (but install into - # `/etc/X11/mwm') - ebegin "patching 'clients/mwm/Imakefile' (mwm confdir)" - LC_ALL="C" sed -i \ - -e 's:\(SpecialObjectRule.*WmResParse\.o.*/lib/X11\)\(.*\):\1/mwm\2:'\ - -e 's:\(InstallNonExecFile.system\.mwmrc,\).*/lib/X11\(.*\):\1/etc/X11/mwm\2:'\ - "${S}/clients/mwm/Imakefile" - eend $? || die - # - - epatch ${FILESDIR}/${P}-imake-tmpdir.patch - # compile on gcc 2.9x - epatch ${FILESDIR}/${P}-imake-ansi.patch - epatch ${FILESDIR}/${P}-uil-bad_grammar_fix.diff - use ppc-macos && epatch ${FILESDIR}/${P}-darwin-netbsd.diff -} - -src_compile() { - # glibc-2.3.2-r1/gcc-3.2.3 /w `-mcpu=athlon-xp -O2', right-clicking - # in nedit triggers DPMS monitor standby instead of popping up the - # context menu. this doesn't happen on my `stable' test partition - # where everything is compiled i686, nor with most non-essential - # packages athlon-xp and only motif i686. needs investigation. - replace-flags "-mcpu=athlon-xp" "-mcpu=i686" - - # fails to copmile with -jx - export MAKEOPTS="${MAKEOPTS} -j1" - - mkdir -p imports/x11 - cd imports/x11 - ln -s /usr/X11R6/bin bin - ln -s /usr/X11R6/include include - ln -s /usr/X11R6/lib lib - cd ${S} - make World || make World || die -} - -src_install() { - make DESTDIR=${D} VARDIR=${D}/var/X11/ install || die "make install" - make DESTDIR=${D} install.man || die "make install.man" - - # these overlap with X11 - local NOINSTBIN="imake lndir makedepend makeg mergelib mkdirhier xmkmf" - local NOINSTMAN1="imake lndir makedepend makeg mkdirhier xmkmf" - - einfo "Cleaning up X11 stuff" - rm -fR ${D}/etc - for nib in ${NOINSTBIN}; do - f="${D}/usr/X11R6/bin/${nib}"; rm "$f" || die "rm $f" - done - for nim in ${NOINSTMAN1}; do - if useq ppc-macos ; then - f="${D}/usr/X11R6/man/man1/${nim}.1" - else - f="${D}/usr/X11R6/man/man1/${nim}.1x" - fi - rm "$f" || die "rm $f" - done - rm -rf "${D}/usr/X11R6/lib/X11" || die "rm config" - rm -rf "${D}/usr/X11R6/lib/bindings" || die "rm bindings" - - # Install in /usr/lib - mv ${D}/usr/X11R6/lib ${D}usr/$(get_libdir) - - dodir /usr/share - mv ${D}/usr/X11R6/man ${D}/usr/share - - dodoc README COPYRIGHT.MOTIF RELEASE RELNOTES - dodoc BUGREPORT OPENBUGS CLOSEDBUGS -} - -pkg_postinst() { - ewarn "This might break applications linked against libXm.so.3" - ewarn "Just rebuild these applications." -} -- 2.26.2