summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Dupeyron <calchan@gentoo.org>2008-11-30 21:24:05 +0000
committerDenis Dupeyron <calchan@gentoo.org>2008-11-30 21:24:05 +0000
commitdd3953c9d37c5cbfdd943f578af7c2c040707b3f (patch)
tree82446e27a25e7e619605d167bfe5fbb15580debc /sci-electronics
parentppc stable, bug #249386 (diff)
downloadhistorical-dd3953c9d37c5cbfdd943f578af7c2c040707b3f.tar.gz
historical-dd3953c9d37c5cbfdd943f578af7c2c040707b3f.tar.bz2
historical-dd3953c9d37c5cbfdd943f578af7c2c040707b3f.zip
Version bump, bug #249170.
Package-Manager: portage-2.1.6_rc2/cvs/Linux 2.6.27-gentoo-r2 i686
Diffstat (limited to 'sci-electronics')
-rw-r--r--sci-electronics/geda/ChangeLog7
-rw-r--r--sci-electronics/geda/Manifest11
-rw-r--r--sci-electronics/geda/geda-1.4.1.ebuild109
3 files changed, 125 insertions, 2 deletions
diff --git a/sci-electronics/geda/ChangeLog b/sci-electronics/geda/ChangeLog
index 657dfbbad753..f07e9163e4cd 100644
--- a/sci-electronics/geda/ChangeLog
+++ b/sci-electronics/geda/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-electronics/geda
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/geda/ChangeLog,v 1.46 2008/11/30 21:05:46 calchan Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/geda/ChangeLog,v 1.47 2008/11/30 21:24:05 calchan Exp $
+
+*geda-1.4.1 (30 Nov 2008)
+
+ 30 Nov 2008; Denis Dupeyron <calchan@gentoo.org> +geda-1.4.1.ebuild:
+ Version bump, bug #249170.
30 Nov 2008; Denis Dupeyron <calchan@gentoo.org> geda-1.4.0.ebuild:
Fixed security bug #247538 (CVE-2008-5148), thanks to Chitlesh Goorah.
diff --git a/sci-electronics/geda/Manifest b/sci-electronics/geda/Manifest
index c10fd90f06a7..ccc6b1be25af 100644
--- a/sci-electronics/geda/Manifest
+++ b/sci-electronics/geda/Manifest
@@ -1,11 +1,20 @@
DIST geda-docs-1.4.0.tar.gz 1833377 RMD160 087d16a3cbaff1eb1a948e59ad6b87e950aa236f SHA1 d8b77a3f39fa324637314b62bdd56a7b2742f1a2 SHA256 383887369adbaede5dbfa7d46294ee840580dbc988bb8adcc101533af2e94741
+DIST geda-docs-1.4.1.tar.gz 1838517 RMD160 cd133d8a66510bc08a3bf1fe04880aed7e137366 SHA1 3dc8be0121f2a8a64e6c3b2aa815f4fa348fc261 SHA256 6b9c73f34f498b12851ac32e1225b72228e4ea629d321b0426d505ad18309e54
DIST geda-examples-1.4.0.tar.gz 257780 RMD160 46f7358ba440e040df3872dbd99c01f35d9fe74f SHA1 73895b572cbaf10eda563b8e8474dae9e833211f SHA256 4ee582fa9c8ea43090ca51afb4da6240998b2c7979a1df3d0de1239861776bb2
+DIST geda-examples-1.4.1.tar.gz 262662 RMD160 ecba5575bfa96929a7a64b213a1236eb8fb24767 SHA1 3a959885f5fc6801c2b9fe210ac24271cf51c695 SHA256 29e3a1b65212b30847ac5c9f3d51a3add492a1597237085279b6ff82d1a1479f
DIST geda-gattrib-1.4.0.tar.gz 349998 RMD160 86b1e4dddca96203492f2094e4579a1361064e63 SHA1 96c9de3bebd26b76d0559b4ee848be2105035d5e SHA256 950399d1d61cdcb0eadbbcab604683bcfbf360794faa37e352c8db7f587bfc15
+DIST geda-gattrib-1.4.1.tar.gz 353283 RMD160 7d40dfb9e5b08b4503aef51b5c2947197bb7ca5d SHA1 93548405ae2b74ab8f0856e0cf6c4c30cb3147ae SHA256 e6ab108a7ec3b4431ffa1831a6c23937baf8a7815243d4c145e68f5ee8b11105
DIST geda-gnetlist-1.4.0.tar.gz 402250 RMD160 4e2c295ae6033da05cdffd62c28c41c4a5443843 SHA1 494e4d9f323a935f6a858138101b5bed6788ce2f SHA256 92829056a0cbef5836f9e6e968e610347097cf852c97773269e62f1c0b7732fc
+DIST geda-gnetlist-1.4.1.tar.gz 403067 RMD160 c29bc87f48405d3f0699f5c9e3aec7bc2fa0631b SHA1 179efcbe0928a2a4f8d08f9c0a4c1dfa97f3ae09 SHA256 66cff8c99bd0cd4d594b50c3d2cf7af35cc48adce23e6471f1926f3cc9b50d20
DIST geda-gschem-1.4.0.tar.gz 1120760 RMD160 d7b8a05a5000f333102b9e286c8aac69223ae329 SHA1 0bdc4e350019f2193eda6f065277008538f06747 SHA256 86ec9177b12655966f806b441a010ef88d023c15256ebaced1d5f2930c86a252
+DIST geda-gschem-1.4.1.tar.gz 1167327 RMD160 cb650d9d25cd9143c0aa7518b43f00ec7b9333ad SHA1 755468f04c3f8929c5db1c7a9966a8b4d72d1f6f SHA256 6929dd56d14cfcc9fcbdd4dfc056ef8f0bab5ef72a01055fe6cda7280e59748e
DIST geda-gsymcheck-1.4.0.tar.gz 169129 RMD160 22cdbb0e5e6e7a1afff40e1be6d069ddac0ccd3d SHA1 28af761573b682f93dff5936cc6d01458080239e SHA256 289a7518660df3d99959951ceabfc4d874919697bd261fc4dfaa4631adb7aad1
+DIST geda-gsymcheck-1.4.1.tar.gz 172004 RMD160 548154961bd12d0b4bd78b980752763b8c3023c2 SHA1 c15630c91661d9675451a09ddf4d4201b2e27375 SHA256 15f99bb807dcf6116844847c72bcdde98c8c2232a0e0961cc2ff072a022ccfc6
DIST geda-symbols-1.4.0.tar.gz 833319 RMD160 f40c545c24b091296f6faf5b836cf9616a55ecbb SHA1 a4bb4ee080b5eb822dac42f6f983be6ec8e669c7 SHA256 59fd1faaaf27fb42ccd1fa532190ca8a1cfe102e092830af2cbaa6edce3034ab
+DIST geda-symbols-1.4.1.tar.gz 831216 RMD160 418158328662f1a3e363b4b4c938a6c7c699efe6 SHA1 0bdd3c0dfa85e6dbce6e23fa7712101122033554 SHA256 188d398c8e7a19bf4492419bbb44754451ebfa9f1810b0eb8b6eb84f708bf0f4
DIST geda-utils-1.4.0.tar.gz 322537 RMD160 212ac8d9975ddbe02ea774e1cb897a91d6f28f23 SHA1 725311fe02f6736f83f426c070e9fc40e42a231d SHA256 403df63e4a1254368979afa16b780efc1a5c5c34dad5d03806949ea8a0fbf48a
+DIST geda-utils-1.4.1.tar.gz 328694 RMD160 07aa4eac1e7b11d474b679de42865ee097988ead SHA1 a3fd06862a0ca1423b41fcc63ed24afaac048b6f SHA256 dfe4d3d3033e92254aa5e00fa7ab6921589747604269bc7b01e59ba9b630e82c
EBUILD geda-1.4.0.ebuild 3510 RMD160 5c3c9f61af890e012db636ca8105944993dce85f SHA1 c9b5772a3c6756cbd5d6c3b1333718663c317b75 SHA256 5f740cfe486fcd74816e8f439be4cdb8ba7f5c7d03d19cb26a03e69c0dd2a906
-MISC ChangeLog 6941 RMD160 b01e1a9feb442bfd9e4e035308b61841431fa77a SHA1 1e1e009bb8dc68f72da864071a097a64b01dbaea SHA256 ac4cc8eb340b95cac59459268f8236adbad176e230d4f3fd846d7a992d695e03
+EBUILD geda-1.4.1.ebuild 3514 RMD160 83c61afe90a65a4743892dab71a6018e9d0dd96b SHA1 300ef6c038c6c4e247bd90822c0e345d13af2767 SHA256 d38080f1aea34bf6f6447e7a5a57bb7ca158cd61e761f4cdf7b28a2d8103a8bd
+MISC ChangeLog 7069 RMD160 2e3db407980eea2c74f6f761a810702987477eb2 SHA1 e321775c1e77c2f4acae7ba832523b6f33c9fefc SHA256 57ae60ea596dddefb40acdb35f95c2f56d0abc410d07311ca6a06f33962669a2
MISC metadata.xml 170 RMD160 b9964e5710864130a4882704bf4b61da7395c60b SHA1 5ba029fddfb2ef28d6348761206dcefab43eceba SHA256 04478b4a4b2a77fac3b6b7eefee87575fcb5c69087ad7cdddf0c3e3189231434
diff --git a/sci-electronics/geda/geda-1.4.1.ebuild b/sci-electronics/geda/geda-1.4.1.ebuild
new file mode 100644
index 000000000000..32fc1746d3dc
--- /dev/null
+++ b/sci-electronics/geda/geda-1.4.1.ebuild
@@ -0,0 +1,109 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/geda/geda-1.4.1.ebuild,v 1.1 2008/11/30 21:24:05 calchan Exp $
+
+inherit eutils versionator
+
+SUBDIR="v$(get_version_component_range 1-2)"
+S="${WORKDIR}"
+
+HOMEPAGE="http://www.geda.seul.org"
+DESCRIPTION="Core metapackage for all the necessary components you would need for a minimal gEDA/gaf system"
+SRC_URI="http://www.geda.seul.org/release/${SUBDIR}/${PV}/geda-gattrib-${PV}.tar.gz
+ http://www.geda.seul.org/release/${SUBDIR}/${PV}/geda-gnetlist-${PV}.tar.gz
+ http://www.geda.seul.org/release/${SUBDIR}/${PV}/geda-gschem-${PV}.tar.gz
+ http://www.geda.seul.org/release/${SUBDIR}/${PV}/geda-gsymcheck-${PV}.tar.gz
+ http://www.geda.seul.org/release/${SUBDIR}/${PV}/geda-symbols-${PV}.tar.gz
+ http://www.geda.seul.org/release/${SUBDIR}/${PV}/geda-utils-${PV}.tar.gz
+ doc? ( http://www.geda.seul.org/release/${SUBDIR}/${PV}/geda-docs-${PV}.tar.gz )
+ examples? ( http://www.geda.seul.org/release/${SUBDIR}/${PV}/geda-examples-${PV}.tar.gz )"
+
+IUSE="doc examples gd threads"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+SLOT="0"
+
+DEPEND=">=x11-libs/gtk+-2.4
+ >=dev-scheme/guile-1.6.3
+ =sci-libs/libgeda-${PV}"
+
+pkg_setup() {
+ if has_version ">=dev-scheme/guile-1.8" ; then
+ built_with_use "dev-scheme/guile" deprecated \
+ || die "You need either <dev-scheme/guile-1.8, or >=dev-scheme/guile-1.8 with USE=deprecated"
+ fi
+ if use gd ; then
+ built_with_use sci-libs/libgeda gd || die "sci-libs/libgeda must be compiled with USE=gd"
+ else
+ ! built_with_use sci-libs/libgeda gd || die "sci-libs/libgeda must be compiled with USE=-gd"
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ # Fix security bug #247538 (CVE-2008-5148), thanks to Chitlesh Goorah
+ sed -i \
+ -e 's:TMP=/tmp/\$\$:TMP=$(mktemp):' \
+ -e 's:>/tmp/\$\$:>${TMP}:' \
+ "${S}"/geda-gnetlist-${PV}/scripts/sch2eaglepos.sh \
+ || die "sed failed"
+}
+
+src_compile() {
+ local myconf="--disable-threads"
+ use threads || myconf="--enable-threads=posix"
+ for subdir in geda-{symbols,gschem,gnetlist,gsymcheck,gattrib,utils}-${PV}; do
+ cd "${S}/${subdir}"
+ econf \
+ ${myconf} \
+ --disable-dependency-tracking \
+ --with-docdir=/usr/share/doc/${PF} \
+ --with-pcbconfdir=/usr/share/pcb \
+ --with-pcbm4dir=/usr/share/pcb/m4 \
+ --disable-update-desktop-database \
+ --disable-rpath \
+ --with-x \
+ || die "Configuration failed in ${subdir}"
+ emake || die "Compilation failed in ${subdir}"
+ done
+
+ if use doc ; then
+ cd "${S}/geda-docs-${PV}"
+ econf --with-docdir=/usr/share/doc/${PF} || die "Configuration failed in geda-docs-${PV}"
+ emake || die "Compilation failed in geda-docs-${PV}"
+ fi
+}
+
+src_install () {
+ for subdir in geda-{symbols,gschem,gnetlist,gsymcheck,gattrib,utils}-${PV}; do
+ cd "${S}/${subdir}"
+ emake DESTDIR="${D}" install || die "Installation failed in geda-${subdir}-${PV}"
+ newdoc AUTHORS AUTHORS.${subdir}
+ newdoc BUGS BUGS.${subdir}
+ for READMEx in $(ls README*); do
+ newdoc ${READMEx} ${READMEx}.${subdir}
+ done
+ done
+
+ rm "${D}"/usr/share/gEDA/sym/gnetman -Rf # Fix collision with gnetman; bug #77361.
+
+ if use doc ; then
+ cd "${S}"/geda-docs-${PV}
+ emake DESTDIR="${D}" install || die "Installation failed in geda-docs-${PV}"
+ fi
+
+ if use examples ; then
+ cd "${S}"
+ mv geda-examples-${PV} examples
+ insinto /usr/share/gEDA
+ doins -r examples
+ fi
+}
+
+src_postinst() {
+ fdo-mime_desktop_database_update
+}
+
+src_postrm() {
+ fdo-mime_desktop_database_update
+}