From bc1b477d30822470e9519de09552ff105548e81c Mon Sep 17 00:00:00 2001 From: Dane Smith Date: Thu, 26 Aug 2010 15:43:08 -0400 Subject: Updated netpipe --- net-misc/netpipe/ChangeLog | 10 +++++++++ net-misc/netpipe/Manifest | 4 ++++ net-misc/netpipe/metadata.xml | 8 +++++++ net-misc/netpipe/netpipe-1.0.0_beta2.ebuild | 33 +++++++++++++++++++++++++++++ 4 files changed, 55 insertions(+) create mode 100644 net-misc/netpipe/ChangeLog create mode 100644 net-misc/netpipe/Manifest create mode 100644 net-misc/netpipe/metadata.xml create mode 100644 net-misc/netpipe/netpipe-1.0.0_beta2.ebuild diff --git a/net-misc/netpipe/ChangeLog b/net-misc/netpipe/ChangeLog new file mode 100644 index 0000000..09fd43e --- /dev/null +++ b/net-misc/netpipe/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for net-misc/netpipe +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*netpipe-1.0.0_beta2 (26 Aug 2010) + + 26 Aug 2010; Dane Smith (c1pher) + +netpipe-1.0.0_beta2.ebuild, +metadata.xml: + Modified ebuild for netpipe. Fixes LDFLAGS respect wrt bug 334461 + diff --git a/net-misc/netpipe/Manifest b/net-misc/netpipe/Manifest new file mode 100644 index 0000000..34c6c57 --- /dev/null +++ b/net-misc/netpipe/Manifest @@ -0,0 +1,4 @@ +DIST netpipe.tar.gz 30593 RMD160 7146d29bdb00ca36a3c3d0fa5a9cb5b026d50982 SHA1 3d5199e92fe5b954b18a42ae4cfd9aaf76e94f75 SHA256 89cfcd5ca5898d77fd5cd64634610667f3b9e087db20536d7636739295d7cdf3 +EBUILD netpipe-1.0.0_beta2.ebuild 783 RMD160 997f781691b863e2b1f8779c57ebe9d982a49431 SHA1 193450d9391886e0e9335461088ba6a78d0fe832 SHA256 25488df0bc1ca9c648223f8b890e889366564fe8017e069c3dcd5d2ec74c2fcf +MISC metadata.xml 231 RMD160 c13056229989c3d4f448a7c7abcff3f4ee7ce13c SHA1 2d63dfb700b223f8f37c078692a81b2237896bce SHA256 4595c2615fd7c9095517949b1a920d4457f92801eb9d46307b18aafe58ec2a8a +MISC netpipe-1.0.0_beta2.ebuild~ 772 RMD160 2aeb87795508c378f2eb81d4192b25b3b675c86c SHA1 e4533565d3702c883a223675bd6271e3758b76fe SHA256 e4089029db22645eca0c6881d9367e86efc2336e8c94dfe58cff82e466ceb054 diff --git a/net-misc/netpipe/metadata.xml b/net-misc/netpipe/metadata.xml new file mode 100644 index 0000000..54494c4 --- /dev/null +++ b/net-misc/netpipe/metadata.xml @@ -0,0 +1,8 @@ + + + +no-herd + +maintainer-needed@gentoo.org + + diff --git a/net-misc/netpipe/netpipe-1.0.0_beta2.ebuild b/net-misc/netpipe/netpipe-1.0.0_beta2.ebuild new file mode 100644 index 0000000..8d63b42 --- /dev/null +++ b/net-misc/netpipe/netpipe-1.0.0_beta2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/netpipe/netpipe-1.0.0_beta2.ebuild,v 1.9 2007/09/29 12:56:05 coldwind Exp $ + +inherit toolchain-funcs + +DESCRIPTION="tool to reliably distribute binary data using UDP broadcasting techniques" +HOMEPAGE="http://www.wudika.de/~jan/netpipe/" +SRC_URI="http://www.wudika.de/~jan/netpipe/${PN}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="ppc x86" +IUSE="" + +DEPEND="" +RDEPEND="" + +S="${WORKDIR}/${PN}" + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i \ + -e "s:^OPT=.*:OPT = ${CFLAGS} ${LDFLAGS}:" \ + -e "s:^CC=.*:CC = $(tc-getCC):" \ + Makefile +} + +src_install() { + dobin netpipe || die "dobin failed" + dodoc DOCUMENTATION INSTALL TECH-NOTES +} -- cgit v1.2.3-65-gdbad From 729ba267997f709c9646ac1cf362cbb4e93aa15f Mon Sep 17 00:00:00 2001 From: Dane Smith Date: Thu, 26 Aug 2010 15:46:11 -0400 Subject: Some things will never change --- net-misc/netpipe/Manifest | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net-misc/netpipe/Manifest b/net-misc/netpipe/Manifest index 34c6c57..20bf98f 100644 --- a/net-misc/netpipe/Manifest +++ b/net-misc/netpipe/Manifest @@ -1,4 +1,4 @@ DIST netpipe.tar.gz 30593 RMD160 7146d29bdb00ca36a3c3d0fa5a9cb5b026d50982 SHA1 3d5199e92fe5b954b18a42ae4cfd9aaf76e94f75 SHA256 89cfcd5ca5898d77fd5cd64634610667f3b9e087db20536d7636739295d7cdf3 -EBUILD netpipe-1.0.0_beta2.ebuild 783 RMD160 997f781691b863e2b1f8779c57ebe9d982a49431 SHA1 193450d9391886e0e9335461088ba6a78d0fe832 SHA256 25488df0bc1ca9c648223f8b890e889366564fe8017e069c3dcd5d2ec74c2fcf +EBUILD netpipe-1.0.0_beta2.ebuild 783 RMD160 07bdb4c11072897f9ef8df6241589303ddc78a92 SHA1 78678fc20cde598e4e7f92f75f77a60ab9e14fc4 SHA256 9249460647ed832e10d4e47122c34a0838faa8a1b69c2360e6bb0f952cf3beba +MISC ChangeLog 326 RMD160 2ab2dbbcce30b58565ab239f89994606be95d939 SHA1 8ba0e197aee21ecca66cdc13873b6e0814e2c62c SHA256 8f46edba2a2d317266a0dd4ebe594bb1a3a39d692e775f50c0b7985ba3d1a1e8 MISC metadata.xml 231 RMD160 c13056229989c3d4f448a7c7abcff3f4ee7ce13c SHA1 2d63dfb700b223f8f37c078692a81b2237896bce SHA256 4595c2615fd7c9095517949b1a920d4457f92801eb9d46307b18aafe58ec2a8a -MISC netpipe-1.0.0_beta2.ebuild~ 772 RMD160 2aeb87795508c378f2eb81d4192b25b3b675c86c SHA1 e4533565d3702c883a223675bd6271e3758b76fe SHA256 e4089029db22645eca0c6881d9367e86efc2336e8c94dfe58cff82e466ceb054 -- cgit v1.2.3-65-gdbad From 8ab952099a1a5bfeb5a9c8d005caab5741d207bd Mon Sep 17 00:00:00 2001 From: Dane Smith Date: Thu, 26 Aug 2010 15:48:43 -0400 Subject: QA fixes. Should be ready --- net-misc/netpipe/Manifest | 2 +- net-misc/netpipe/netpipe-1.0.0_beta2.ebuild | 9 +++------ 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/net-misc/netpipe/Manifest b/net-misc/netpipe/Manifest index 20bf98f..f7d0b26 100644 --- a/net-misc/netpipe/Manifest +++ b/net-misc/netpipe/Manifest @@ -1,4 +1,4 @@ DIST netpipe.tar.gz 30593 RMD160 7146d29bdb00ca36a3c3d0fa5a9cb5b026d50982 SHA1 3d5199e92fe5b954b18a42ae4cfd9aaf76e94f75 SHA256 89cfcd5ca5898d77fd5cd64634610667f3b9e087db20536d7636739295d7cdf3 -EBUILD netpipe-1.0.0_beta2.ebuild 783 RMD160 07bdb4c11072897f9ef8df6241589303ddc78a92 SHA1 78678fc20cde598e4e7f92f75f77a60ab9e14fc4 SHA256 9249460647ed832e10d4e47122c34a0838faa8a1b69c2360e6bb0f952cf3beba +EBUILD netpipe-1.0.0_beta2.ebuild 786 RMD160 613eac2af6eaa46d2d24365cad8a881d324d39d6 SHA1 6e1331f71199fa59b334d74f128b6da78fe066b8 SHA256 fb2ae1683a81a8beb25a66def3da48c2493bd054941d8644c21129cc099b97bc MISC ChangeLog 326 RMD160 2ab2dbbcce30b58565ab239f89994606be95d939 SHA1 8ba0e197aee21ecca66cdc13873b6e0814e2c62c SHA256 8f46edba2a2d317266a0dd4ebe594bb1a3a39d692e775f50c0b7985ba3d1a1e8 MISC metadata.xml 231 RMD160 c13056229989c3d4f448a7c7abcff3f4ee7ce13c SHA1 2d63dfb700b223f8f37c078692a81b2237896bce SHA256 4595c2615fd7c9095517949b1a920d4457f92801eb9d46307b18aafe58ec2a8a diff --git a/net-misc/netpipe/netpipe-1.0.0_beta2.ebuild b/net-misc/netpipe/netpipe-1.0.0_beta2.ebuild index 8d63b42..66ecd22 100644 --- a/net-misc/netpipe/netpipe-1.0.0_beta2.ebuild +++ b/net-misc/netpipe/netpipe-1.0.0_beta2.ebuild @@ -6,16 +6,13 @@ inherit toolchain-funcs DESCRIPTION="tool to reliably distribute binary data using UDP broadcasting techniques" HOMEPAGE="http://www.wudika.de/~jan/netpipe/" -SRC_URI="http://www.wudika.de/~jan/netpipe/${PN}.tar.gz" +SRC_URI="http://www.wudika.de/~jan/${PN}/${PN}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="ppc x86" IUSE="" -DEPEND="" -RDEPEND="" - S="${WORKDIR}/${PN}" src_unpack() { @@ -24,10 +21,10 @@ src_unpack() { sed -i \ -e "s:^OPT=.*:OPT = ${CFLAGS} ${LDFLAGS}:" \ -e "s:^CC=.*:CC = $(tc-getCC):" \ - Makefile + Makefile || die "sed failed" } src_install() { dobin netpipe || die "dobin failed" - dodoc DOCUMENTATION INSTALL TECH-NOTES + dodoc DOCUMENTATION INSTALL TECH-NOTES || die } -- cgit v1.2.3-65-gdbad From 7d83a61236aa8cbaa89c9a47657a8f6ff43ec36f Mon Sep 17 00:00:00 2001 From: Dane Smith Date: Thu, 26 Aug 2010 20:13:14 -0400 Subject: WITH WORKING MANIFEST! GO ME! --- app-pda/iripdb/ChangeLog | 10 ++++++++++ app-pda/iripdb/Manifest | 4 ++++ app-pda/iripdb/iripdb-0.1.3b.ebuild | 34 ++++++++++++++++++++++++++++++++++ app-pda/iripdb/metadata.xml | 16 ++++++++++++++++ 4 files changed, 64 insertions(+) create mode 100644 app-pda/iripdb/ChangeLog create mode 100644 app-pda/iripdb/Manifest create mode 100644 app-pda/iripdb/iripdb-0.1.3b.ebuild create mode 100644 app-pda/iripdb/metadata.xml diff --git a/app-pda/iripdb/ChangeLog b/app-pda/iripdb/ChangeLog new file mode 100644 index 0000000..ef435f0 --- /dev/null +++ b/app-pda/iripdb/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for app-pda/iripdb +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*iripdb-0.1.3b (27 Aug 2010) + + 27 Aug 2010; Dane Smith (c1pher) + +iripdb-0.1.3b.ebuild, +metadata.xml: + New ebuild for iripdb. Fixes LDFLAG respect wrt bug 334463 + diff --git a/app-pda/iripdb/Manifest b/app-pda/iripdb/Manifest new file mode 100644 index 0000000..bcc1c37 --- /dev/null +++ b/app-pda/iripdb/Manifest @@ -0,0 +1,4 @@ +DIST iRipDB-0.1.3b.zip 32000 RMD160 b6f89ec37fe309fc09b67ac25446453146454e87 SHA1 5c210b43a37eca1e8207dce2a66f6da49b8179b5 SHA256 cbaaeed9549805009801160003473fc1e8899aa8531167ca95a5acb6fccd4f17 +EBUILD iripdb-0.1.3b.ebuild 1031 RMD160 2912805965a0abd5ccc9ef6a625cdcc0c3271db7 SHA1 8c7f6bc15abf40c7b33f575e99758cf80bc3b1a5 SHA256 daf1ad6c52f2ae95a58df04b9a0a7a35187207a5b8b6b61e3a4bc4be0913fce0 +MISC ChangeLog 1753 RMD160 1a819cbd471128061b5fe17794c60fedb4c107b7 SHA1 b2b8c12eb4492c0dae35ea3d66a9789448b23bf4 SHA256 a5e02e92f50964aa32627d43598a6257c66be8daba560554cc5ff287a05ab3e5 +MISC metadata.xml 702 RMD160 400835b4c92ded85e74c170bc32b43baf5babdf6 SHA1 55f8c8d42aaf5ec7caeab7bf1965ac67121bf0a6 SHA256 91b5a5323228dd39138f98b2a36b18094fd9375287b9f840e39beee9fc7392d7 diff --git a/app-pda/iripdb/iripdb-0.1.3b.ebuild b/app-pda/iripdb/iripdb-0.1.3b.ebuild new file mode 100644 index 0000000..7c21935 --- /dev/null +++ b/app-pda/iripdb/iripdb-0.1.3b.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-pda/iripdb/iripdb-0.1.3b.ebuild,v 1.5 2009/08/13 21:13:07 ssuominen Exp $ + +inherit eutils toolchain-funcs + +MY_P=${P/iripdb/iRipDB} +S=${WORKDIR}/${PN} + +DESCRIPTION="iRipDB allows generating the DB files necessary for the iRiver iHP-1xx series of MP3/Ogg HD Player on Linux and Windows." +HOMEPAGE="http://www.fataltourist.com/iripdb/" +SRC_URI="http://www.fataltourist.com/iripdb/${MY_P}.zip" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc ~amd64" +IUSE="" + +RDEPEND="media-libs/taglib + sys-libs/zlib" +DEPEND="${RDEPEND} + app-arch/unzip" + +src_compile() { + echo "$(tc-getCXX) ${CXXFLAGS} -c -o main.o main.cpp" + $(tc-getCXX) ${CXXFLAGS} -c -o main.o -I/usr/include/taglib main.cpp + echo "$(tc-getCC) ${CFLAGS} ${LDFLAGS} -o iripdb main.o -lz -lm -ltag -lstdc++" + $(tc-getCC) ${CFLAGS} ${LDFLAGS} -o iripdb main.o -lz -lm -ltag -lstdc++ +} + +src_install() { + dobin iripdb || die + dodoc AUTHORS README doc/iRivDB_structure || die +} diff --git a/app-pda/iripdb/metadata.xml b/app-pda/iripdb/metadata.xml new file mode 100644 index 0000000..4072cf4 --- /dev/null +++ b/app-pda/iripdb/metadata.xml @@ -0,0 +1,16 @@ + + + + no-herd + + maintainer-needed@gentoo.org + Default assignee for orphaned packages + + + iRipDB allows generating the DB files necessary for the iRiver iHP-1xx + series of MP3/Ogg HD Player on Linux and Windows. That will allow you + to navigate your files through the artist/album/genre menus. It supports + adding MP3 and Ogg files at this point. It's released under the GNU's + General Public License and, at this moment only in source code form. + + -- cgit v1.2.3-65-gdbad From 5513e4d2f97244337255f30bb3dafbb8f115149d Mon Sep 17 00:00:00 2001 From: Dane Smith Date: Thu, 26 Aug 2010 20:14:46 -0400 Subject: AW CRUD --- app-pda/iripdb/Manifest | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app-pda/iripdb/Manifest b/app-pda/iripdb/Manifest index bcc1c37..fadc888 100644 --- a/app-pda/iripdb/Manifest +++ b/app-pda/iripdb/Manifest @@ -1,4 +1,5 @@ DIST iRipDB-0.1.3b.zip 32000 RMD160 b6f89ec37fe309fc09b67ac25446453146454e87 SHA1 5c210b43a37eca1e8207dce2a66f6da49b8179b5 SHA256 cbaaeed9549805009801160003473fc1e8899aa8531167ca95a5acb6fccd4f17 -EBUILD iripdb-0.1.3b.ebuild 1031 RMD160 2912805965a0abd5ccc9ef6a625cdcc0c3271db7 SHA1 8c7f6bc15abf40c7b33f575e99758cf80bc3b1a5 SHA256 daf1ad6c52f2ae95a58df04b9a0a7a35187207a5b8b6b61e3a4bc4be0913fce0 -MISC ChangeLog 1753 RMD160 1a819cbd471128061b5fe17794c60fedb4c107b7 SHA1 b2b8c12eb4492c0dae35ea3d66a9789448b23bf4 SHA256 a5e02e92f50964aa32627d43598a6257c66be8daba560554cc5ff287a05ab3e5 +EBUILD iripdb-0.1.3b.ebuild 1067 RMD160 44f9509f5f7eea4972ada064f1e8718d4980f90b SHA1 d87a39b106a1be8e0a6bfea879cfe74577de9be5 SHA256 ac12a25de3695cbed6bfb37aa7181760af80879dd322cfc36129bcf186062d05 +MISC ChangeLog 305 RMD160 5a37153af78a2ef7c83c56357ca40b526e3fe375 SHA1 dd22fcf3feff3ef0ecbfd2bd55cef665e87e10e3 SHA256 d0d7bb0d90eb2ff51b88f3f13ed64e45b8fe54c23f35baf5461fb8dd7dd26f57 +MISC ChangeLog.new~ 234 RMD160 3460456db4914a1dbdb9149641755b17a18220a3 SHA1 0d7bac4dc5c13c1be8af04f49647957128c61299 SHA256 1bdbced3b7c6183c4860ac0f78e943d3ab2597081644241f2b8957678a94c6ec MISC metadata.xml 702 RMD160 400835b4c92ded85e74c170bc32b43baf5babdf6 SHA1 55f8c8d42aaf5ec7caeab7bf1965ac67121bf0a6 SHA256 91b5a5323228dd39138f98b2a36b18094fd9375287b9f840e39beee9fc7392d7 -- cgit v1.2.3-65-gdbad From 78d440972519d7d38e75ebd00e995addeda54286 Mon Sep 17 00:00:00 2001 From: Dane Smith Date: Tue, 12 Oct 2010 18:33:48 -0400 Subject: Test ebuild for truecrypt --- app-admin/istatd/ChangeLog | 5 +- app-crypt/truecrypt/Manifest | 2 + app-crypt/truecrypt/truecrypt-7.0a.ebuild | 99 +++++++++++++++++++++++++++++++ 3 files changed, 105 insertions(+), 1 deletion(-) create mode 100644 app-crypt/truecrypt/truecrypt-7.0a.ebuild diff --git a/app-admin/istatd/ChangeLog b/app-admin/istatd/ChangeLog index 1f8cfe3..841c236 100644 --- a/app-admin/istatd/ChangeLog +++ b/app-admin/istatd/ChangeLog @@ -2,8 +2,11 @@ # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 05 Oct 2010; Dane Smith (c1pher) ChangeLog: + Fish + 15 Jul 2010; Dane Smith (smithdanea) +istatd-0.5.7.ebuild, +files/istatd-conf, +files/istatd-init, +metadata.xml: - New ebuild for bug 326965. + New ebuild for bug 326965. Thanks. diff --git a/app-crypt/truecrypt/Manifest b/app-crypt/truecrypt/Manifest index 579ad4f..1b7b92a 100644 --- a/app-crypt/truecrypt/Manifest +++ b/app-crypt/truecrypt/Manifest @@ -3,5 +3,7 @@ AUX truecrypt-4.3a-2.6.24.patch 1658 RMD160 c29522d767f96ae01e266fbfd8441ddd3704 AUX truecrypt-4.3a-2.6.29.patch 416 RMD160 dc7721e5ac0ebd5a075c4f6c0d8cf80524cd549b SHA1 25f3ac87d78af68c40956ba788ac323b8ce73941 SHA256 a4d9da64b1976635c8ce97ca0dbd7e8e3b6805efc37d1616aa6046502278d1de AUX truecrypt-stop.sh 308 RMD160 4b2e6f47520f701324c03b5a43118cc38ee409a3 SHA1 7139ba403e482a4746e1d545115b74760b1438ea SHA256 243a9d1041b291e12ce2065959838f0cfe01484bffac7915991ebeb90d2ccd2c DIST truecrypt-7.0.tar.gz 1973038 RMD160 20947227c4e9ba0a0383e0b9b27ea350bb1dc0f8 SHA1 a1e73ce533fb21f7c878d34fa9a62c55a605924e SHA256 0b173af97abb542eb61431312a484d517abf922d86dc0446f5f9ca7c617100ed +DIST truecrypt-7.0a.tar.gz 1996312 RMD160 92b01f87c725feb43aded666ba44fcbd3e3ac740 SHA1 42be0f333e6791e7a122b3e1183e014cd3860198 SHA256 6c845153ee868429e2a531407383e9349754d1579cf66fc838632c44baaba021 EBUILD truecrypt-7.0.ebuild 2617 RMD160 f4b4617c71212da32bcc7aa0501efe9c9e781df6 SHA1 cdc8ad210b00b785bb84c0498cbbab25bd0a20a1 SHA256 df756cbd0818627e97b27754586348e72def08c2ba7ef4a6872b71365bbd90d6 +EBUILD truecrypt-7.0a.ebuild 2451 RMD160 e25a816f7e8188807c7d6f238c3a811bb94790dc SHA1 f2a497ec547c6f64d27de51047c4664a116f9135 SHA256 dcb4edc2921d82ae0d3ce850ac207f852f7e8b3b81795dc73d809cbc3034c3d3 MISC metadata.xml 224 RMD160 74db96ad8aa1d285d83ae93a9f4a767335f55c15 SHA1 d86a171d981b45e7ed0c0b3b5059d2a63c811001 SHA256 9e9ce661a9fdb45a535ad875a247b700a70745359b27533ec29a6a46fa708e86 diff --git a/app-crypt/truecrypt/truecrypt-7.0a.ebuild b/app-crypt/truecrypt/truecrypt-7.0a.ebuild new file mode 100644 index 0000000..68efcd0 --- /dev/null +++ b/app-crypt/truecrypt/truecrypt-7.0a.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +inherit flag-o-matic linux-info multilib toolchain-funcs wxwidgets + +DESCRIPTION="Free open-source disk encryption software" +HOMEPAGE="http://www.truecrypt.org/" +SRC_URI="${P}.tar.gz" + +LICENSE="truecrypt-3.0" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="X" +RESTRICT="bindist fetch mirror" + +RDEPEND="|| ( >=sys-fs/lvm2-2.02.45 sys-fs/device-mapper ) + sys-fs/fuse + x11-libs/wxGTK:2.8[X?]" +DEPEND="${RDEPEND} + || ( dev-libs/pkcs11-helper dev-libs/opensc )" +RDEPEND="${RDEPEND} + app-admin/sudo" + +S="${WORKDIR}/${P}-source" + +pkg_nofetch() { + elog "Please download .tar.gz source from:" + elog "http://www.truecrypt.org/downloads2" + elog "Then put the file in ${DISTDIR}/${SRC_URI}" +} + +pkg_setup() { + local CONFIG_CHECK="~BLK_DEV_DM ~DM_CRYPT ~FUSE_FS ~CRYPTO ~CRYPTO_XTS" + linux-info_pkg_setup + + local WX_GTK_VER="2.8" + if use X; then + need-wxwidgets unicode + else + need-wxwidgets base-unicode + fi +} + +src_prepare() { + if has_version x11-libs/wxGTK[X]; then + # Fix linking when NOGUI=1 + sed -e "s/WX_CONFIG_LIBS := base/&,core/" -i Main/Main.make || die "sed Main/Main.make failed" + fi +} + +src_compile() { + local EXTRA pkcs11_include_directory + + use X || EXTRA+=" NOGUI=1" + + if has_version dev-libs/pkcs11-helper; then + pkcs11_include_directory="/usr/include/pkcs11-helper-1.0" + else + pkcs11_include_directory="/usr/include/opensc" + fi + append-flags -DCKR_NEW_PIN_MODE=0x000001B0 -DCKR_NEXT_OTP=0x000001B1 + + emake \ + ${EXTRA} \ + NOSTRIP=1 \ + NOTEST=1 \ + VERBOSE=1 \ + CC="$(tc-getCC)" \ + CXX="$(tc-getCXX)" \ + AR="$(tc-getAR)" \ + RANLIB="$(tc-getRANLIB)" \ + TC_EXTRA_CFLAGS="${CFLAGS}" \ + TC_EXTRA_CXXFLAGS="${CXXFLAGS}" \ + TC_EXTRA_LFLAGS="${LDFLAGS}" \ + WX_CONFIG="${WX_CONFIG}" \ + PKCS11_INC="${pkcs11_include_directory}" \ + || die "emake failed" +} + +src_test() { + "${S}/Main/truecrypt" --text --test || die "tests failed" +} + +src_install() { + dobin Main/truecrypt + dodoc Readme.txt "Release/Setup Files/TrueCrypt User Guide.pdf" + exeinto "/$(get_libdir)/rcscripts/addons" + newexe "${FILESDIR}/${PN}-stop.sh" "${PN}-stop.sh" +} + +pkg_postinst() { + ewarn "TrueCrypt has very restrictive license." + ewarn "Please read the ${LICENSE} license in ${PORTDIR}/licenses" + ewarn "directory before using TrueCrypt. Please be explicitly aware of" + ewarn "the limitations on redistribution of binaries or modified source." +} -- cgit v1.2.3-65-gdbad From f66ac56c5bbead58d69650df5b1bbbd4f68c9b8b Mon Sep 17 00:00:00 2001 From: Dane Smith Date: Tue, 12 Oct 2010 19:25:09 -0400 Subject: New ebuild for botan to be tested --- dev-libs/botan/ChangeLog | 275 +++++++++++++++++++++ dev-libs/botan/Manifest | 9 + dev-libs/botan/botan-1.8.10.ebuild | 93 +++++++ dev-libs/botan/botan-1.8.8-r1.ebuild | 97 ++++++++ .../botan-1.8.8-darwin-install_name-fix.patch | 13 + ...botan-1.8.8-use_negative_lea_displacement.patch | 29 +++ dev-libs/botan/metadata.xml | 10 + 7 files changed, 526 insertions(+) create mode 100644 dev-libs/botan/ChangeLog create mode 100644 dev-libs/botan/Manifest create mode 100644 dev-libs/botan/botan-1.8.10.ebuild create mode 100644 dev-libs/botan/botan-1.8.8-r1.ebuild create mode 100644 dev-libs/botan/files/botan-1.8.8-darwin-install_name-fix.patch create mode 100644 dev-libs/botan/files/botan-1.8.8-use_negative_lea_displacement.patch create mode 100644 dev-libs/botan/metadata.xml diff --git a/dev-libs/botan/ChangeLog b/dev-libs/botan/ChangeLog new file mode 100644 index 0000000..4635c32 --- /dev/null +++ b/dev-libs/botan/ChangeLog @@ -0,0 +1,275 @@ +# ChangeLog for dev-libs/botan +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/botan/ChangeLog,v 1.60 2010/04/18 17:17:37 nixnut Exp $ + + 18 Apr 2010; botan-1.8.8-r1.ebuild: + ppc stable #312177 + + 08 Apr 2010; Christian Faulhammer + botan-1.8.8-r1.ebuild: + stable x86, bug 312177 + + 05 Apr 2010; Markos Chandras botan-1.8.8-r1.ebuild: + Stable on amd64 wrt bug #312177 + + 30 Mar 2010; Arfrever Frehtes Taifersar Arahesis + botan-1.8.8-r1.ebuild: + Set Python 2 as active version of Python. + + 04 Feb 2010; Markos Chandras botan-1.8.8.ebuild: + Stable on amd64 wrt bug #295701 + +*botan-1.8.8-r1 (23 Jan 2010) + + 23 Jan 2010; Fabian Groffen +botan-1.8.8-r1.ebuild, + +files/botan-1.8.8-darwin-install_name-fix.patch: + Revbump for Prefix/OSX fixes. I changed the ebuild in such a way that + needs less sedding/fixing afterwards basically because I had to to get a + correct install_name on Darwin. Also support case-insensitive filesystems + for the docs installation. Marked ~ppc-macos, fixes bug #299620. + + 28 Dec 2009; Markus Meier botan-1.8.8.ebuild: + x86 stable, bug #295701 + + 09 Dec 2009; nixnut botan-1.8.8.ebuild: + ppc stable #295701 + + 07 Dec 2009; Markus Meier botan-1.8.7.ebuild: + amd64 stable, bug #291749 + + 04 Nov 2009; Arfrever Frehtes Taifersar Arahesis + botan-1.8.8.ebuild, + +files/botan-1.8.8-use_negative_lea_displacement.patch: + Fix building with sys-devel/binutils-2.20.51.0.2 (bug #291785). + +*botan-1.8.8 (03 Nov 2009) + + 03 Nov 2009; Arfrever Frehtes Taifersar Arahesis + -botan-1.8.4.ebuild, -botan-1.8.6.ebuild, +botan-1.8.8.ebuild: + Version bump. + + 03 Nov 2009; Christian Faulhammer botan-1.8.7.ebuild: + stable x86, bug 289437 + + 24 Oct 2009; nixnut botan-1.8.7.ebuild: + ppc stable #289437 + + 27 Sep 2009; nixnut botan-1.8.6.ebuild: + ppc stable #285156 + +*botan-1.8.7 (13 Sep 2009) + + 13 Sep 2009; Arfrever Frehtes Taifersar Arahesis + -botan-1.6.5.ebuild, -botan-1.8.2.ebuild, + -files/botan-1.8.2-respect_LDFLAGS.patch, -botan-1.8.5.ebuild, + +botan-1.8.7.ebuild: + Version bump. + + 12 Sep 2009; Christian Faulhammer botan-1.8.4.ebuild: + stable x86, bug 281841 + + 29 Aug 2009; nixnut botan-1.8.4.ebuild: + ppc stable #281841 + +*botan-1.8.6 (17 Aug 2009) + + 17 Aug 2009; Arfrever Frehtes Taifersar Arahesis + +botan-1.8.6.ebuild: + Version bump. + +*botan-1.8.5 (09 Aug 2009) + + 09 Aug 2009; Arfrever Frehtes Taifersar Arahesis + -botan-1.8.0.ebuild, +botan-1.8.5.ebuild: + Version bump. + + 09 Aug 2009; nixnut botan-1.8.2.ebuild: + ppc stable #277122 + +*botan-1.8.4 (15 Jul 2009) + + 15 Jul 2009; Arfrever Frehtes Taifersar Arahesis + +botan-1.8.4.ebuild: + Version bump (bug #277453). + + 09 Jul 2009; Christian Faulhammer botan-1.8.2.ebuild: + stable x86, bug 277122 + +*botan-1.8.2 (06 Jun 2009) + + 06 Jun 2009; Arfrever Frehtes Taifersar Arahesis + +botan-1.8.2.ebuild, +files/botan-1.8.2-respect_LDFLAGS.patch: + Version bump. Respect LDFLAGS. Fix building with --as-needed (bug + #272242). + + 29 Apr 2009; Raúl Porcel botan-1.8.0.ebuild: + Add ~ia64 wrt #267773 + + 15 Jan 2009; Daniel Black botan-1.8.0.ebuild: + remove alg_ia32 as per bug #253716 thanks Helmut Jarausch, Nickolay + Kolchin-Semyonov et. al + +*botan-1.8.0 (03 Jan 2009) + + 03 Jan 2009; Daniel Black +botan-1.8.0.ebuild: + version bump + + 30 Aug 2008; Daniel Black botan-1.6.1-r1.ebuild, + botan-1.6.5.ebuild: + fixed URLs as per bug #235957 + +*botan-1.6.5 (30 Aug 2008) + + 30 Aug 2008; Daniel Black +botan-1.6.5.ebuild: + version bump as per bug #235957 thanks to Jack Lloyd + + 18 Jun 2008; Daniel Black + files/botan-1.6.1-gcc-4.2.patch, +files/botan-1.6.1-gcc-4.3.patch, + botan-1.6.1-r1.ebuild: + patch for gcc-4.3 compatibility thanks to Jack. bug #227535 + + 02 May 2008; Alon Bar-Lev + +files/botan-1.6.1-gcc-4.2.patch, botan-1.6.1-r1.ebuild: + Fix bug#219896, thanks to Nickolay Kolchin-Semyonov and Jack Lloyd, also fix + g++ CHOST usage + + 11 Nov 2007; Alon Bar-Lev -botan-1.6.1.ebuild: + Cleanup + + 11 Nov 2007; Dawid Węgliński botan-1.6.1-r1.ebuild: + Stable on x86 (bug #198684) + + 10 Nov 2007; Ferris McCormick botan-1.6.1-r1.ebuild: + Sparc stable --- Bug #198684 --- all tests pass. + + 10 Nov 2007; nixnut botan-1.6.1-r1.ebuild: + Stable on ppc wrt bug 19864 + + 15 Oct 2007; Alon Bar-Lev + -files/botan-1.4.4-gcc34.patch, -files/botan-1.4.9-gcc-4.patch, + -files/botan-1.5.11-asm.patch, -botan-1.4.4.ebuild, -botan-1.4.9.ebuild, + -botan-1.4.11.ebuild, -botan-1.4.12.ebuild, -botan-1.5.5.ebuild, + -botan-1.5.11.ebuild, +botan-1.6.1-r1.ebuild: + Cleanup + +*botan-1.6.1-r1 (15 Oct 2007) + + 15 Oct 2007; Alon Bar-Lev +botan-1.6.1-r1.ebuild: + Fix lib location, bug#195982, thanks to Jean Krohn + + 13 Aug 2007; Tobias Scherbaum botan-1.6.1.ebuild: + ppc. stable + + 24 May 2007; Gustavo Zacarias botan-1.6.1.ebuild: + Stable on sparc + + 24 Apr 2007; Raúl Porcel botan-1.6.1.ebuild: + x86 stable + + 03 Mar 2007; Marius Mauch botan-1.4.4.ebuild, + botan-1.4.9.ebuild, botan-1.4.11.ebuild, botan-1.4.12.ebuild, + botan-1.5.5.ebuild, botan-1.5.11.ebuild, botan-1.6.1.ebuild: + Replacing einfo with elog + +*botan-1.6.1 (20 Jan 2007) + + 20 Jan 2007; Alon Bar-Lev + +files/botan-1.6.1-asm.patch, +botan-1.6.1.ebuild: + Version bump, bug#162916, thanks to Jack Lloyd + + 27 Dec 2006; Piotr Jaroszyński botan-1.5.11.ebuild: + Add ~amd64 wrt bug #152692. + + 24 Nov 2006; Alon Bar-Lev botan-1.5.11.ebuild: + Added multilib support, thanks to Christoph Mende, closes bug#156065 + +*botan-1.5.11 (24 Oct 2006) + + 24 Oct 2006; Alon Bar-Lev + +files/botan-1.5.11-asm.patch, +botan-1.5.11.ebuild: + Version bump, thanks to Jack Lloyd, added executable stack fix, closes + bug#149213 + + 20 Feb 2006; Mark Loeser botan-1.5.5.ebuild: + Clean up leading whitespaces, add additional quoting, and drop the + virtual/libc dep + +*botan-1.5.5 (20 Feb 2006) + + 20 Feb 2006; Daniel Black +botan-1.5.5.ebuild: + version bump as per bug #121672 thanks to author Jack Lloyd + +*botan-1.4.12 (22 Jan 2006) + + 22 Jan 2006; Daniel Black +botan-1.4.12.ebuild: + version bump + + 07 Jan 2006; botan-1.4.9.ebuild: + Stable on ppc Bug #118002 + + 06 Jan 2006; Paul Varner botan-1.4.9.ebuild: + Stable on x86 Bug #118002 + + 06 Jan 2006; Gustavo Zacarias botan-1.4.9.ebuild: + Stable on sparc wrt #118002 + +*botan-1.4.11 (06 Jan 2006) + + 06 Jan 2006; Daniel Black + +files/botan-1.4.9-gcc-4.patch, -botan-1.4.6.ebuild, -botan-1.4.7.ebuild, + -botan-1.4.8.ebuild, botan-1.4.9.ebuild, +botan-1.4.11.ebuild: + version bump as promised in bug #117548. Fixes compile problem with gcc-4 as + well. Thanks Lloyd and Dirk + +*botan-1.4.9 (08 Nov 2005) + + 08 Nov 2005; Daniel Black +botan-1.4.9.ebuild: + version bump + +*botan-1.4.8 (18 Oct 2005) + + 18 Oct 2005; Daniel Black +botan-1.4.8.ebuild: + version bump + +*botan-1.4.7 (28 Sep 2005) + + 28 Sep 2005; Daniel Black +botan-1.4.7.ebuild: + version bump + + 29 Jul 2005; Daniel Black botan-1.4.4.ebuild: + removed die from epatch || die. + +*botan-1.4.6 (25 Jun 2005) + + 25 Jun 2005; Daniel Black -botan-1.4.3.ebuild, + botan-1.4.4.ebuild, +botan-1.4.6.ebuild: + version bump thanks to meatoo. old version removed + + 01 Jun 2005; Mike Frysinger botan-1.4.3.ebuild, + botan-1.4.4.ebuild: + Change USE=bzlib to USE=bzip2. + + 09 Dec 2004; Gustavo Zacarias botan-1.4.4.ebuild: + Stable on sparc wrt #71760, fixed the whole sparc mess too + + 08 Dec 2004; Daniel Black botan-1.4.4.ebuild, + +files/botan-1.4.4-gcc34.patch: + Added patch to fix local problem with gcc recognision. Fixed test src_test + routine. Added support for module tm_hard in sparc64, mips64 and i586+. ppc + tested too + +*botan-1.4.4 (04 Dec 2004) + + 04 Dec 2004; Daniel Black botan-1.4.3.ebuild, + +botan-1.4.4.ebuild: + Version bump. Added --dumb-gcc to configure.pl as per bug #71760 + (botan-1.4.3). Thanks to Jack Lloyd and Stefan + Schweizer + +*botan-1.4.3 (09 Nov 2004) + + 09 Nov 2004; Daniel Black +metadata.xml, + +botan-1.4.3.ebuild: + initial import as per bug #51938. Thanks to the author (Jack Lloyd + ) for the program and ebuild + diff --git a/dev-libs/botan/Manifest b/dev-libs/botan/Manifest new file mode 100644 index 0000000..3c814c0 --- /dev/null +++ b/dev-libs/botan/Manifest @@ -0,0 +1,9 @@ +AUX botan-1.8.8-darwin-install_name-fix.patch 511 RMD160 40f5e7361f991de21ca0599b2e51954b6b10f573 SHA1 ad7afc7d13cdd90d72437e160a94568f8cedf48b SHA256 fca8d469d78ae2ec7e26dbef9732e4a73223173565135e48678d0d3f81785e17 +AUX botan-1.8.8-use_negative_lea_displacement.patch 884 RMD160 c259f4d51f3c25df93d2cf99f9f29d6f2f92ea5d SHA1 d5b3deec6fadaea2b2fc41e3b62ca38c8c007f16 SHA256 b88d8a5af5a849e7a0ecbce70d63f5348cb15fd156440080e6f8e6d569084784 +DIST Botan-1.8.10.tbz 2828431 RMD160 fff0f22e768da4e6f0afca434602a4a76f78a006 SHA1 9da4809ba408e98b65f818ebf6aec4fbb61d9b59 SHA256 e9da2d0f6a107f2a2032a5a1dcd27091f4a6ed428d896def5c91b4908be5fb6d +DIST Botan-1.8.8.tgz 2844588 RMD160 f8ac1842ddba312903442038d32da57f25f9bc1b SHA1 699df8f0c5e8d48fa8c65a873bb2e9975d4d66c5 SHA256 60a31bd9ed18ac85293d7f44c7fbb9bd0206eb7df5b42dff8517dd01b446ba84 +EBUILD botan-1.8.10.ebuild 2423 RMD160 5eb9a03c4b37508118c9f4088eb0c3ead690f024 SHA1 d43e32efc62c61ec7548a6d8fe67b2e2b24b5380 SHA256 40f52a82ec0c312df5f12d79e4880991d5c21ba8404073e7b7104dedaa8ee952 +EBUILD botan-1.8.8-r1.ebuild 2545 RMD160 bf8adc409539138c015854cf3ae625de9c6f2017 SHA1 d8d55ce0b1edcd6846f244813b86a4df77835e09 SHA256 f5fabda52dfa1e13f6a7049e67d0162ea71f3c982b42036e5de8742fb3714ccf +MISC ChangeLog 9370 RMD160 2864d801d065e552ae0501e07848abdef019f971 SHA1 e0d308960b4adfc764139ff5eab5b73a4f15e5ca SHA256 f4c1a0cf7b53ff569f060c8f723000ebfe931cc573821646883211c2a70908a3 +MISC botan-1.8.10.ebuild~ 2427 RMD160 ab019878fd4aab0adf747655c2b812299b29b0cc SHA1 c6da3a1430c284970f9474c017f9eb9add4bef75 SHA256 30a6b739ef97d12631a6abf08bf672e4c4c575c695d0dc03814b92b85b00969e +MISC metadata.xml 319 RMD160 084032a656409b8d666fa6e9c0b0f89e3ef955e7 SHA1 77d4f800c80c56a3191d488ef2d6444ab165cee3 SHA256 c0597f70f00af70ca6f77bf906babe3059717b8c1e91a74c61904008e0c14054 diff --git a/dev-libs/botan/botan-1.8.10.ebuild b/dev-libs/botan/botan-1.8.10.ebuild new file mode 100644 index 0000000..a6d29c7 --- /dev/null +++ b/dev-libs/botan/botan-1.8.10.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/botan/botan-1.8.8-r1.ebuild,v 1.5 2010/04/18 17:17:37 nixnut Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +inherit eutils multilib python toolchain-funcs + +MY_PN="Botan" +MY_P="${MY_PN}-${PV}" +DESCRIPTION="A C++ crypto library" +HOMEPAGE="http://botan.randombit.net/" +SRC_URI="http://files.randombit.net/botan/${MY_P}.tbz" + +KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86 ~ppc-macos" +SLOT="0" +LICENSE="BSD" +IUSE="bzip2 gmp ssl threads zlib" + +S="${WORKDIR}/${MY_P}" + +RDEPEND="bzip2? ( >=app-arch/bzip2-1.0.5 ) + zlib? ( >=sys-libs/zlib-1.2.3 ) + gmp? ( >=dev-libs/gmp-4.2.2 ) + ssl? ( >=dev-libs/openssl-0.9.8g )" + +DEPEND="${RDEPEND}" + +pkg_setup() { + python_set_active_version 2 +} + +src_prepare() { + # Install documentation in /usr/share/doc/${PF}. + sed -e "/^DOCDIR *=/s/Botan-\$(VERSION)/${PF}/" -i src/build-data/makefile/unix_shr.in || die "sed failed" +} + +src_configure() { + local disable_modules="proc_walk,unix_procs,cpu_counter" + + if ! useq threads; then + disable_modules="${disable_modules},pthreads" + fi + + # Enable v9 instructions for sparc64 + if [[ "${PROFILE_ARCH}" = "sparc64" ]]; then + CHOSTARCH="sparc32-v9" + else + CHOSTARCH="${CHOST%%-*}" + fi + + cd "${S}" + elog "Disabling modules: ${disable_modules}" + + local myos= + case ${CHOST} in + *-darwin*) myos=darwin ;; + *) myos=linux ;; + esac + + # foobared buildsystem, --prefix translates into DESTDIR, see also make + # install in src_install, we need the correct live-system prefix here on + # Darwin for a shared lib with correct install_name + ./configure.py \ + --prefix="${EPREFIX}/usr" \ + --libdir=$(get_libdir) \ + --docdir=share/doc \ + --cc=gcc \ + --os=${myos} \ + --cpu=${CHOSTARCH} \ + --with-endian="$(tc-endian)" \ + --with-tr1=system \ + $(use_with bzip2) \ + $(use_with gmp gnump) \ + $(use_with ssl openssl) \ + $(use_with zlib) \ + --disable-modules=${disable_modules} \ + || die "configure.py failed" +} + +src_compile() { + emake CXX="$(tc-getCXX)" AR="$(tc-getAR) crs" LIB_OPT="${CXXFLAGS}" MACH_OPT="" || die "emake failed" +} + +src_test() { + chmod -R ugo+rX "${S}" + emake CXX="$(tc-getCXX)" CHECK_OPT="${CXXFLAGS}" check || die "emake check failed" + LD_LIBRARY_PATH="${S}" ./check --validate || die "Validation tests failed" +} + +src_install() { + emake DESTDIR="${ED}usr" install || die "emake install failed" +} diff --git a/dev-libs/botan/botan-1.8.8-r1.ebuild b/dev-libs/botan/botan-1.8.8-r1.ebuild new file mode 100644 index 0000000..debcb21 --- /dev/null +++ b/dev-libs/botan/botan-1.8.8-r1.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/botan/botan-1.8.8-r1.ebuild,v 1.5 2010/04/18 17:17:37 nixnut Exp $ + +EAPI="3" + +inherit eutils multilib python toolchain-funcs + +MY_PN="Botan" +MY_P="${MY_PN}-${PV}" +DESCRIPTION="A C++ crypto library" +HOMEPAGE="http://botan.randombit.net/" +SRC_URI="http://files.randombit.net/botan/${MY_P}.tgz" + +KEYWORDS="amd64 ~ia64 ppc ~sparc x86 ~ppc-macos" +SLOT="0" +LICENSE="BSD" +IUSE="bzip2 gmp ssl threads zlib" + +S="${WORKDIR}/${MY_P}" + +RDEPEND="bzip2? ( >=app-arch/bzip2-1.0.5 ) + zlib? ( >=sys-libs/zlib-1.2.3 ) + gmp? ( >=dev-libs/gmp-4.2.2 ) + ssl? ( >=dev-libs/openssl-0.9.8g )" + +DEPEND="${RDEPEND} + =dev-lang/python-2*" + +pkg_setup() { + python_set_active_version 2 +} + +src_prepare() { + epatch "${FILESDIR}/${P}-use_negative_lea_displacement.patch" + epatch "${FILESDIR}/${P}-darwin-install_name-fix.patch" + + # Install documentation in /usr/share/doc/${PF}. + sed -e "/^DOCDIR *=/s/Botan-\$(VERSION)/${PF}/" -i src/build-data/makefile/unix_shr.in || die "sed failed" +} + +src_configure() { + local disable_modules="proc_walk,unix_procs,cpu_counter" + + if ! useq threads; then + disable_modules="${disable_modules},pthreads" + fi + + # Enable v9 instructions for sparc64 + if [[ "${PROFILE_ARCH}" = "sparc64" ]]; then + CHOSTARCH="sparc32-v9" + else + CHOSTARCH="${CHOST%%-*}" + fi + + cd "${S}" + elog "Disabling modules: ${disable_modules}" + + local myos= + case ${CHOST} in + *-darwin*) myos=darwin ;; + *) myos=linux ;; + esac + + # foobared buildsystem, --prefix translates into DESTDIR, see also make + # install in src_install, we need the correct live-system prefix here on + # Darwin for a shared lib with correct install_name + ./configure.py \ + --prefix="${EPREFIX}/usr" \ + --libdir=$(get_libdir) \ + --docdir=share/doc \ + --cc=gcc \ + --os=${myos} \ + --cpu=${CHOSTARCH} \ + --with-endian="$(tc-endian)" \ + --with-tr1=system \ + $(use_with bzip2) \ + $(use_with gmp gnump) \ + $(use_with ssl openssl) \ + $(use_with zlib) \ + --disable-modules=${disable_modules} \ + || die "configure.py failed" +} + +src_compile() { + emake CXX="$(tc-getCXX)" AR="$(tc-getAR) crs" LIB_OPT="${CXXFLAGS}" MACH_OPT="" || die "emake failed" +} + +src_test() { + chmod -R ugo+rX "${S}" + emake CXX="$(tc-getCXX)" CHECK_OPT="${CXXFLAGS}" check || die "emake check failed" + LD_LIBRARY_PATH="${S}" ./check --validate || die "Validation tests failed" +} + +src_install() { + emake DESTDIR="${ED}usr" install || die "emake install failed" +} diff --git a/dev-libs/botan/files/botan-1.8.8-darwin-install_name-fix.patch b/dev-libs/botan/files/botan-1.8.8-darwin-install_name-fix.patch new file mode 100644 index 0000000..d749ea0 --- /dev/null +++ b/dev-libs/botan/files/botan-1.8.8-darwin-install_name-fix.patch @@ -0,0 +1,13 @@ +install_names (sonames) on Darwin are absolute + +--- src/build-data/cc/gcc.txt ++++ src/build-data/cc/gcc.txt +@@ -31,7 +31,7 @@ + # AIX doesn't seem to have soname support (weird...) + aix -> "$(CXX) -shared -fPIC" + +-darwin -> "$(CXX) -dynamiclib -fPIC -install_name $(SONAME)" ++darwin -> "$(CXX) -dynamiclib -fPIC -install_name $(LIBDIR)/$(SONAME)" + hpux -> "$(CXX) -shared -fPIC -Wl,+h,$(SONAME)" + solaris -> "$(CXX) -shared -fPIC -Wl,-h,$(SONAME)" + # Gotta use ld directly on BeOS, their GCC is busted diff --git a/dev-libs/botan/files/botan-1.8.8-use_negative_lea_displacement.patch b/dev-libs/botan/files/botan-1.8.8-use_negative_lea_displacement.patch new file mode 100644 index 0000000..50faa56 --- /dev/null +++ b/dev-libs/botan/files/botan-1.8.8-use_negative_lea_displacement.patch @@ -0,0 +1,29 @@ +# +# old_revision [a101c8c86b755a666c72baf03154230e09e0667e] +# +# patch "src/hash/sha1_amd64/sha1_amd64_imp.S" +# from [dd263db10309950dec501dd9257a8df43cf6c6aa] +# to [ab1db7a394b41a1d3b9a63a6e8e1571e4671b962] +# +============================================================ +--- src/hash/sha1_amd64/sha1_amd64_imp.S dd263db10309950dec501dd9257a8df43cf6c6aa ++++ src/hash/sha1_amd64/sha1_amd64_imp.S ab1db7a394b41a1d3b9a63a6e8e1571e4671b962 +@@ -103,10 +103,16 @@ ALIGN; + + subq $320, W + ++/* ++* Using negative values for SHA-1 constants > 2^31 to work around ++* a bug in binutils not accepting large lea displacements. ++* -0x70E44324 == 0x8F1BBCDC ++* -0x359D3E2A == 0xCA62C1D6 ++*/ + #define MAGIC1 0x5A827999 + #define MAGIC2 0x6ED9EBA1 +-#define MAGIC3 0x8F1BBCDC +-#define MAGIC4 0xCA62C1D6 ++#define MAGIC3 -0x70E44324 ++#define MAGIC4 -0x359D3E2A + + #define T %esi + #define T2 %eax diff --git a/dev-libs/botan/metadata.xml b/dev-libs/botan/metadata.xml new file mode 100644 index 0000000..b7c2217 --- /dev/null +++ b/dev-libs/botan/metadata.xml @@ -0,0 +1,10 @@ + + + +crypto + + lloyd@randombit.net + Jack Lloyd + Ebuild contributor and botan author + + -- cgit v1.2.3-65-gdbad