parent
49e5b37017
commit
a37e1f24fe
@ -0,0 +1,90 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/ec2-api-tools/ec2-api-tools-1.6.7.2-r3.ebuild,v 1.1 2013/06/01 06:26:27 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit versionator java-pkg-2
|
||||
|
||||
DESCRIPTION="These command-line tools serve as the client interface to the Amazon EC2 web service"
|
||||
HOMEPAGE="http://developer.amazonwebservices.com/connect/entry.jspa?externalID=351&categoryID=88"
|
||||
SRC_URI="http://s3.amazonaws.com/ec2-downloads/${PN}-${PV}.zip"
|
||||
|
||||
S=${WORKDIR}/${PN}-${PV}
|
||||
|
||||
LICENSE="Amazon"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
RESTRICT="mirror"
|
||||
|
||||
CDEPEND="dev-java/bcprov:0
|
||||
dev-java/commons-cli:1
|
||||
dev-java/commons-codec:0
|
||||
dev-java/commons-discovery:0
|
||||
dev-java/commons-httpclient:3
|
||||
dev-java/commons-logging:0
|
||||
dev-java/jaxb:2
|
||||
dev-java/jax-ws:2
|
||||
dev-java/jsr173:0
|
||||
dev-java/jdom:1.0
|
||||
dev-java/log4j:0
|
||||
dev-java/wsdl4j:0
|
||||
dev-java/xalan:0
|
||||
dev-java/xalan-serializer:0
|
||||
dev-java/xerces:2"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
app-arch/unzip:0"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
>=virtual/jre-1.4"
|
||||
|
||||
java_prepare() {
|
||||
rm lib/{bcprov-jdk*,commons-cli-*,commons-codec-*,commons-discovery,commons-httpclient-*,commons-logging-adapters-*,commons-logging-api-*,jaxb-api,jaxb-impl,jaxws-api,jdom,log4j-*,stax2-api-*,wsdl4j,xalan,xercesImpl}.jar \
|
||||
|| die "Failed to remove bundled jar files that are provided by system."
|
||||
|
||||
find . -name '*.cmd' -delete || die "Failed to remove non-Linux files."
|
||||
|
||||
sed -i "s:LIBDIR=\".*\":LIBDIR=\"/usr/share/${PN}/lib\":g" bin/ec2-cmd || die "Failed to set the library path in the wrapper."
|
||||
|
||||
for FILE in bin/* ; do
|
||||
sed -i 's:${EC2_HOME}:/usr:g' ${FILE} || die "Failed to set the EC2_HOME value in the wrappers."
|
||||
sed -i '/PREFIX__EC2_HOME/d' ${FILE} || die "Failed to remove remaining redundant PREFIX__EC2_HOME lines from wrappers."
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto /usr/bin
|
||||
doexe bin/*
|
||||
|
||||
local libs="/usr/share/${PN}/lib"
|
||||
insinto ${libs}
|
||||
doins lib/*.jar
|
||||
dosym $(java-pkg_getjar bcprov{,.jar}) ${libs}/bcprov-jdk15-145.jar
|
||||
dosym $(java-pkg_getjar commons-cli{-1,.jar}) ${libs}/commons-cli-1.1.jar
|
||||
dosym $(java-pkg_getjar commons-codec{,.jar}) ${libs}/commons-codec-1.4.jar
|
||||
dosym $(java-pkg_getjar commons-discovery{,.jar}) ${libs}/commons-discovery.jar
|
||||
dosym $(java-pkg_getjar commons-httpclient{-3,.jar}) ${libs}/commons-httpclient-3.1.jar
|
||||
dosym $(java-pkg_getjar commons-logging{,-adapters.jar}) ${libs}/commons-logging-adapters-1.1.1.jar
|
||||
dosym $(java-pkg_getjar commons-logging{,-api.jar}) ${libs}/commons-logging-api-1.1.1.jar
|
||||
dosym $(java-pkg_getjar jaxb{-2,-api.jar}) ${libs}/jaxb-api.jar
|
||||
dosym $(java-pkg_getjar jaxb{-2,-impl.jar}) ${libs}/jaxb-impl.jar
|
||||
dosym $(java-pkg_getjar jax-ws{-2,.jar}) ${libs}/jaxws-api.jar
|
||||
dosym $(java-pkg_getjar jdom{-1.0,.jar}) ${libs}/jdom.jar
|
||||
dosym $(java-pkg_getjar log4j{,.jar}) ${libs}/log4j-1.2.14.jar
|
||||
dosym $(java-pkg_getjar jsr173{,.jar}) ${libs}/stax2-api-3.0.1.jar
|
||||
dosym $(java-pkg_getjar wsdl4j{,.jar}) ${libs}/wsdl4j.jar
|
||||
dosym $(java-pkg_getjar xalan{,.jar}) ${libs}/xalan.jar
|
||||
dosym $(java-pkg_getjar xerces{-2,Impl.jar}) ${libs}/xercesImpl.jar
|
||||
|
||||
dodoc THIRDPARTYLICENSE.TXT
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog ""
|
||||
elog "You need to put the following in your ~/.bashrc replacing the"
|
||||
elog "values with the full paths to your key and certificate."
|
||||
elog ""
|
||||
elog " export EC2_PRIVATE_KEY=/path/to/pk-HKZYKTAIG2ECMXYIBH3HXV4ZBZQ55CLO.pem"
|
||||
elog " export EC2_CERT=/path/to/cert-HKZYKTAIG2ECMXYIBH3HXV4ZBZQ55CLO.pem"
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/emacs-updater/emacs-updater-1.12.ebuild,v 1.1 2013/03/11 11:27:03 ulm Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="Rebuild Emacs packages"
|
||||
HOMEPAGE="http://www.gentoo.org/proj/en/lisp/emacs/"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-arch/xz-utils"
|
||||
RDEPEND=">=app-portage/portage-utils-0.3
|
||||
virtual/emacs"
|
||||
|
||||
src_prepare() {
|
||||
if [[ -n ${EPREFIX} ]]; then
|
||||
sed -i -e "1s:/:${EPREFIX%/}/:" \
|
||||
-e "s:^\(EMACS\|SITELISP\)=:&${EPREFIX%/}:" \
|
||||
emacs-updater || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dosbin emacs-updater
|
||||
doman emacs-updater.8
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/emacs-updater/emacs-updater-1.9.ebuild,v 1.10 2012/10/11 16:13:22 ulm Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="Rebuild Emacs packages"
|
||||
HOMEPAGE="http://www.gentoo.org/proj/en/lisp/emacs/"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="!<=app-admin/eselect-emacs-1.5
|
||||
>=app-portage/portage-utils-0.1.28
|
||||
virtual/emacs"
|
||||
|
||||
src_prepare() {
|
||||
if [ -n "${EPREFIX}" ]; then
|
||||
sed -i -e "1s:/:${EPREFIX%/}/:" \
|
||||
-e "s:^\(EMACS\|SITELISP\)=:&${EPREFIX%/}:" \
|
||||
emacs-updater || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dosbin emacs-updater
|
||||
doman emacs-updater.8
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST audicle.eselect-1.0.0.bz2 1274 SHA256 77d1fdd7f550203ac3301d27bfc5bc8611cff031cd0b17fcf4b104e604f99fed SHA512 02e849b3475e95f82d37251b07eef2183dc25ea70fd1e9526723524aa2d6aeca01f9bf3f65febc956bb8ec037ca812d92d70d48bef79c2c4d1fca6b779ae421a WHIRLPOOL dc3e1bc79e3e34abab7b2b4298c17edde3451b1199536924dfe8b859d1dfe189fb31f74fc2cddca8cdf18c28302e8cee9e29b08f8a174a4f29b5672ce9229330
|
||||
DIST audicle.eselect-1.0.1.bz2 1266 SHA256 d2237a17902003b6263c755b99eb5c85c639c45fe9a3f45ef564f6ed384bca31 SHA512 bf60c4d1679ad4d8e5334fc3841c417b78cf836ed9ea313a8d4c4c0be092a6ae1cc85daf8eb545a420803e56f57c334c3f4b529df476f40de99ce365fb75e659 WHIRLPOOL 3c0354bc0663830828ed4cbf31ff8d02a2f71dab3c825a7cb304f8d9ddb3814f08a7555a0482c6f6d34c588722b6fc1bec2952e6f8b1828f7a9fb2d3fa4fe45d
|
||||
|
@ -1,19 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-audicle/eselect-audicle-1.0.0.ebuild,v 1.1 2009/08/13 21:30:41 cedk Exp $
|
||||
|
||||
DESCRIPTION="Manages the /usr/bin/audicle symlink"
|
||||
HOMEPAGE="http://www.gentoo.org/"
|
||||
SRC_URI="mirror://gentoo/audicle.eselect-${PVR}.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-admin/eselect-1.0.6"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/eselect/modules
|
||||
newins "${WORKDIR}/audicle.eselect-${PVR}" audicle.eselect || die
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST chuck.eselect-1.0.0.bz2 1270 SHA256 3faf45337c99d562bbf6b3ebc40f84b166b9fa464e1473d64a0a66323d7c833a SHA512 c367708bf78834384498a3bfa257326486b2d8126be82353bb1cafe7123494c875f34e6fe88208f7904d9f605afd67df9e1634fb36da46fa84ef8916cb0db2ad WHIRLPOOL 3743fd7ff3db081082dd3b1552633d321bff1e93ed07146591ebc710a5648d84505e57d38e1c5138a523082f064961b430d28b11e4936576a778b1b6b673c703
|
||||
DIST chuck.eselect-1.0.1.bz2 1268 SHA256 8ce7ecbbc77e35eace774e34223b453329dc2a79a8e2acf5dc495c9f029f1c1e SHA512 875c27bb71bdad309554c0541e495d76cac6c663e0c2b3371376f52bca127dbcdc409790a689dee2b2306999eec9ebde6c0afae093891fc151695838567d2483 WHIRLPOOL 38e3b588b0ee38c3f9150c3e89bcd6c6e31face8bfbf76a1d62f50b71dc53bee3ebefb11f80d39da412b0fa1b4636f974082ca37055e15bf09307269eb8306fb
|
||||
|
@ -1,20 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-chuck/eselect-chuck-1.0.0.ebuild,v 1.1 2009/08/09 11:34:14 cedk Exp $
|
||||
|
||||
DESCRIPTION="Manages the /usr/bin/chuck symlink"
|
||||
HOMEPAGE="http://www.gentoo.org/"
|
||||
SRC_URI="mirror://gentoo/chuck.eselect-${PVR}.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-admin/eselect-1.0.6"
|
||||
DEPEND="!<=media-sound/chuck-1.2.1.2"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/eselect/modules
|
||||
newins "${WORKDIR}/chuck.eselect-${PVR}" chuck.eselect || die
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST miniaudicle.eselect-1.0.0.bz2 1287 SHA256 1e3135fc4f4e23b4a910c7c4bd090378dab9a4804fd2b0a0e462d7e727af916d SHA512 9164f14bae489f78f8deef0c1bc926035a4ab03b1403d6402f94c9e0a1e59f1ead28542870f6453c9cdf7f0e6eb6717872362c87382bf784a5de8f46d5faa3a4 WHIRLPOOL 84255f7910853e5ec571f8f48ed47edce76147217094d255037396f546c35a8107a311bbc2e5a20f6ee127c8011e7126c32d47d17449eb5da453e117fdefe6c3
|
||||
DIST miniaudicle.eselect-1.0.1.bz2 1284 SHA256 c5ff356568e0903385b938192bd59dc2d32867419431ef2336ff48e19415a64b SHA512 259a9e566fcdaae04ed845c1fc797faba422dd562da3721d6d07c1b6ea6de856f7e9fe4dfe5c6895b464231c3e9dfa7fa8718a49085fc3e8f79b9e4c4c340085 WHIRLPOOL 4c3d5567024d7eb9a7901b61864c91d2b96834d420e3857e170050c040caaf204cef6a138de47461e75cd2ed523436f85a4da3ea01c8d10a7b5602701d962680
|
||||
|
@ -1,19 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-miniaudicle/eselect-miniaudicle-1.0.0.ebuild,v 1.1 2009/08/09 14:18:05 cedk Exp $
|
||||
|
||||
DESCRIPTION="Manages the /usr/bin/miniAudicle symlink"
|
||||
HOMEPAGE="http://www.gentoo.org/"
|
||||
SRC_URI="mirror://gentoo/miniaudicle.eselect-${PVR}.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-admin/eselect-1.0.6"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/eselect/modules
|
||||
newins "${WORKDIR}/miniaudicle.eselect-${PVR}" miniaudicle.eselect || die
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST sndpeek.eselect-1.0.0.bz2 1279 SHA256 22e0470420b490b8dd448796f04f1e2129cd67f034958eecf380d55a52043885 SHA512 b74dc6cfaee2ebd6b4575086c5a5e0fc5d42d1343f6c2f93433b25a2d1a20d289cb72a1925ccb4c5a9e5f6a5f11052b76c63cf09d9fbc613eabecf143158aab9 WHIRLPOOL e2e651044c944ce2b4ff0a65b5ab0e3403dfb5d94dad2c140c407aa18b0f10db44eed8f966a12ddc5c26513f292ee1431e3c7b8965c5ec1807ef8158e6e19979
|
||||
DIST sndpeek.eselect-1.0.1.bz2 1263 SHA256 f29bac268b3f4c801565e0af10101b5a1685c70ec0108c932fbddf2c5381cfa1 SHA512 39cc065d4fbe408db9c406d84a0ebf4a69a9c50f440f26b714b5f154bf7b5de497df4226434d60c0b1e4e073bbe3a0ca96c3bd574148772a4912e2fc9c9c6b5b WHIRLPOOL 5d04de6553b85197ec2ea53719eb4e76010333a5f3b2b91fa2d75a1753e59991e161b30ddf18492eaac2d6768a0e1bfa86ee1097724ff00c4d2bc7ab19d5f2e9
|
||||
|
@ -1,19 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-sndpeek/eselect-sndpeek-1.0.0.ebuild,v 1.1 2009/08/08 18:11:21 cedk Exp $
|
||||
|
||||
DESCRIPTION="Manages the /usr/bin/sndpeek symlink"
|
||||
HOMEPAGE="http://www.gentoo.org/"
|
||||
SRC_URI="mirror://gentoo/sndpeek.eselect-${PVR}.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-admin/eselect-1.0.6"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/eselect/modules
|
||||
newins "${WORKDIR}/sndpeek.eselect-${PVR}" sndpeek.eselect || die
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
If you intend to use syslog-ng together with the systemd journal,
|
||||
please be sure to configure it to listen accordingly, e.g. replace
|
||||
|
||||
unix-dgram("/dev/log");
|
||||
|
||||
with
|
||||
|
||||
unix-dgram("/run/systemd/journal/syslog");
|
||||
|
||||
in /etc/syslog-ng/syslog-ng.conf
|
@ -1,13 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>c1pher@gentoo.org</email>
|
||||
<name>Dane Smith</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name='pic'>Force shared libraries to be built as PIC (this is slower)</flag>
|
||||
</use>
|
||||
<maintainer>
|
||||
<email>jlec@gentoo.org</email>
|
||||
<name>Justin Lecher</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="pic">Force shared libraries to be built as PIC (this is slower)</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
@ -1,2 +1 @@
|
||||
DIST pinentry-0.8.1.tar.gz 504101 SHA256 3e17e1d410686d197f96b61b04e3fad28bd6bcb029077bdfd902780934de9132 SHA512 a7f9a582b1d9c347c65f4a842dc4f3270199dc23eab2487e5150e37b71d666628a8a60d44f85d64bba5b1a7018379dd181e810bc373994c9a94fafe706adf76a WHIRLPOOL ee6ea273cf1307c9d6946f9dabaca076ea563f57e64a044d169200a95944173ae8ac60d9fe167bf5e9e1a21216ac41ff680f8097d5a6431e9e80a0a4ec77d024
|
||||
DIST pinentry-0.8.2.tar.bz2 428514 SHA256 5084b7b6aac5725303f3b0185f126daa8b33ee78ade538edf1e20034594a39b1 SHA512 f012ed163b8905e10714e8667a4434eb192e9519e0fa91a686b097224252bf2e73c3b35d682b6fd4a9df80eefcb3afbf2ec763aef58a3ab5a1e71268fd83e158 WHIRLPOOL 0a17bf30390895dddbaad14bcf07b3064fb7e3c1ed97ba22231e13201f24cfc194a8ef110da7316f137ed3942c094c1990aa51a80b352c5572748b42f40a77d7
|
||||
|
@ -1,99 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/pinentry/pinentry-0.8.1.ebuild,v 1.14 2013/03/02 19:15:26 hwoarang Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
inherit multilib eutils flag-o-matic
|
||||
|
||||
DESCRIPTION="Collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol"
|
||||
HOMEPAGE="http://gnupg.org/aegypten2/index.html"
|
||||
SRC_URI="mirror://gnupg/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="gtk ncurses qt4 caps static"
|
||||
|
||||
RDEPEND="app-admin/eselect-pinentry
|
||||
static? ( >=sys-libs/ncurses-5.7-r5[static-libs] )
|
||||
!static? (
|
||||
gtk? ( x11-libs/gtk+:2 )
|
||||
ncurses? ( sys-libs/ncurses )
|
||||
qt4? ( >=dev-qt/qtgui-4.4.1:4 )
|
||||
!gtk? ( !qt4? ( !ncurses? ( sys-libs/ncurses ) ) )
|
||||
)
|
||||
caps? ( sys-libs/libcap )"
|
||||
DEPEND="${RDEPEND}
|
||||
!static? (
|
||||
gtk? ( virtual/pkgconfig )
|
||||
qt4? ( virtual/pkgconfig )
|
||||
)"
|
||||
|
||||
pkg_setup() {
|
||||
use static && append-ldflags -static
|
||||
|
||||
if use static && { use gtk || use qt4; }; then
|
||||
ewarn
|
||||
ewarn "The static USE flag is only supported with the ncurses USE flags, disabling the gtk and qt4 USE flags."
|
||||
ewarn
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if use qt4; then
|
||||
local file
|
||||
for file in qt4/*.moc; do
|
||||
"${EPREFIX}"/usr/bin/moc ${file/.moc/.h} > ${file} || die
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=""
|
||||
|
||||
if ! { use qt4 || use gtk || use ncurses; }
|
||||
then
|
||||
myconf="--enable-pinentry-curses --enable-fallback-curses"
|
||||
elif use static
|
||||
then
|
||||
myconf="--enable-pinentry-curses --enable-fallback-curses --disable-pinentry-gtk2 --disable-pinentry-qt4"
|
||||
fi
|
||||
|
||||
# Issues finding qt on multilib systems
|
||||
export QTLIB="${QTDIR}/$(get_libdir)"
|
||||
|
||||
econf \
|
||||
--disable-dependency-tracking \
|
||||
--enable-maintainer-mode \
|
||||
--disable-pinentry-gtk \
|
||||
$(use_enable gtk pinentry-gtk2) \
|
||||
--disable-pinentry-qt \
|
||||
$(use_enable ncurses pinentry-curses) \
|
||||
$(use_enable ncurses fallback-curses) \
|
||||
$(use_enable qt4 pinentry-qt4) \
|
||||
$(use_with caps libcap) \
|
||||
--without-x \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
dodoc AUTHORS ChangeLog NEWS README THANKS TODO
|
||||
rm -f "${ED}"/usr/bin/pinentry || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "We no longer install pinentry-curses and pinentry-qt SUID root by default."
|
||||
elog "Linux kernels >=2.6.9 support memory locking for unprivileged processes."
|
||||
elog "The soft resource limit for memory locking specifies the limit an"
|
||||
elog "unprivileged process may lock into memory. You can also use POSIX"
|
||||
elog "capabilities to allow pinentry to lock memory. To do so activate the caps"
|
||||
elog "USE flag and add the CAP_IPC_LOCK capability to the permitted set of"
|
||||
elog "your users."
|
||||
eselect pinentry update ifunset
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect pinentry update ifunset
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST libydpdict-0.99.3.tar.gz 328779 SHA256 534fc2747b8206fbb6100b38674b0211ba72ad43d92cbe6d022953e332eec5e6 SHA512 44809f03435d6834e4814f6f0004e3f19fb614efaa1f4cf2fe54b74fdfeec06282b73c554ea23fbc7ffd3ea7b081a520254e1856841ae3779d35154fb04e2a6c WHIRLPOOL f3187cf02953c63362c4b75793856ba778494df63c922625cea1b86813d4d46a46d29439db273136239d8ff4c087b81a128d1b1b63fc8c9c64136a2012acc416
|
||||
DIST libydpdict-1.0.0.tar.gz 333292 SHA256 2067657ea52991d33084f45caddb645f1fcd2505b03c393f04337c4ad50d5ffd SHA512 5851910106394652fcae6cfd48c33c5691b9cd652191c044579fcf4932d6699868fed11081569ef34a5709d1def968aa7cba378f57d9aabc024d87a6b7240b8e WHIRLPOOL 67320c84aaa5f1eb725dfbe247fd14172281a7758d93613017ba46a3271d2d55916373843ddfd71ed783d9b8757ce37e0df8947a0207c3674ac47555e53be04d
|
||||
DIST libydpdict-1.0.2.tar.gz 297184 SHA256 2e45fe847facd26f5f2eac10031dbaad8d3bf79345306f9140669843a8fb708d SHA512 ccf2335e627a820a580c4cc95e04eca372f88232c4ca4d86bd5c8c5f9af1756f4642addaf39fa2702d3abe816d31f650d86cb480dbaf5f66f0a20b66cf5181b5 WHIRLPOOL d6df5fa44beb8fb4a451cb40e1b7887d07210c3400d4fd9db476f5c76fa2684c14f6227a4bc02e34ef1dc7f469ac2eca23a4623c7240c32b16c35ae3eb387045
|
||||
|
@ -1,20 +0,0 @@
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-dicts/libydpdict/libydpdict-1.0.0.ebuild,v 1.1 2008/09/07 11:15:22 spock Exp $
|
||||
|
||||
DESCRIPTION="Library for handling the Collins Dictionary database."
|
||||
HOMEPAGE="http://toxygen.net/ydpdict/"
|
||||
SRC_URI="http://toxygen.net/ydpdict/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
dodoc AUTHORS
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST scite325.tgz 1974782 SHA256 ac3ca9588bb23ef21da2e22f6ef21416bbd7bf6957130a8e4057b3e5f3c58bef SHA512 2ebd98a2ae064630d4b784d9be91f2727e17d95deac6ef3e096c1df86540546aee174d770e14efe10f1cb4d1c11e68d98bec47ad108219a781dd01bcf0137716 WHIRLPOOL dcfbc7839d3fc3aba0c05868e417a95fd8d264e38c4a81cc2e5c613b284758ea04c41511c0b99890f4d40b6d1f6d2af046a545c3ff53f9c99e49a85949795619
|
||||
DIST scite331.tgz 1983596 SHA256 96f1b74f728375e405a39f210b34dfabbbd2654b9c30ba886d8c3b4acbafc717 SHA512 171b39cff7068fa4aca35e0597a27547465bd5f299b78a2b5ed6cebdf5341ee73973f6904b2f40c880127afd1f30d05e2b2e63003016aa5e726376d306ccf0d9 WHIRLPOOL 727a565bd0599fcd55b9b37ac0ee7374f972ea5f6fb2dcc1e0fbad6050f139600101530be2294eb89601f261f8b16a7ad78f57e0a13eaa587129da14d154aa92
|
||||
DIST scite333.tgz 1992362 SHA256 ee4d8e976d1a13657cb1b60af392cef60fbb2c441932e0398f2c9562fbcbe6a3 SHA512 d1bfcf9b83ccd5423c47169f33880b25736931a9a42e543cccd1101fd915ea3b14a51aa74c0879d908f4bb69852059c89f6fdb621731ec43afb6b96b564a7ac3 WHIRLPOOL 390d9d157d8f802ea05db41668115e61cbdb0f47ee81daa85fbbba87d322b527cc33f20af3381db72ce4d9d1eefc7e54188f15397ec5404347ef0a3b45780c8e
|
||||
|
@ -0,0 +1,87 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/scite/scite-3.3.3.ebuild,v 1.1 2013/06/02 12:37:28 ago Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit toolchain-funcs eutils
|
||||
|
||||
MY_PV=${PV//./}
|
||||
DESCRIPTION="A very powerful editor for programmers"
|
||||
HOMEPAGE="http://www.scintilla.org/SciTE.html"
|
||||
SRC_URI="mirror://sourceforge/scintilla/${PN}${MY_PV}.tgz"
|
||||
|
||||
LICENSE="HPND lua? ( MIT )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux"
|
||||
IUSE="lua"
|
||||
|
||||
RDEPEND="dev-libs/glib
|
||||
x11-libs/cairo
|
||||
x11-libs/gtk+:2
|
||||
x11-libs/gdk-pixbuf
|
||||
x11-libs/pango
|
||||
lua? ( >=dev-lang/lua-5 )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
>=sys-apps/sed-4"
|
||||
|
||||
S="${WORKDIR}/${PN}/gtk"
|
||||
|
||||
src_prepare() {
|
||||
cd "${WORKDIR}/scintilla/gtk"
|
||||
sed -i makefile \
|
||||
-e "s#^CXXFLAGS=#CXXFLAGS=${CXXFLAGS} #" \
|
||||
-e "s#^\(CXXFLAGS=.*\)-Os#\1#" \
|
||||
-e "s#^CC =\(.*\)#CC = $(tc-getCXX)#" \
|
||||
-e "s#^CCOMP =\(.*\)#CCOMP = $(tc-getCC)#" \
|
||||
-e "s#-Os##" \
|
||||
|| die "error patching makefile"
|
||||
|
||||
cd "${WORKDIR}/scite/gtk"
|
||||
sed -i makefile \
|
||||
-e "s#-rdynamic#-rdynamic ${LDFLAGS}#" \
|
||||
|| die "error patching makefile"
|
||||
|
||||
cd "${S}"
|
||||
sed -i makefile \
|
||||
-e 's#usr/local#usr#g' \
|
||||
-e 's#/gnome/apps/Applications#/applications#' \
|
||||
-e "s#^CXXFLAGS=#CXXFLAGS=${CXXFLAGS} #" \
|
||||
-e "s#^\(CXXFLAGS=.*\)-Os#\1#" \
|
||||
-e "s#^CC =\(.*\)#CC = $(tc-getCXX)#" \
|
||||
-e "s#^CCOMP =\(.*\)#CCOMP = $(tc-getCC)#" \
|
||||
-e 's#${D}##' \
|
||||
-e 's#-g root#-g 0#' \
|
||||
-e "s#-Os##" \
|
||||
|| die "error patching makefile"
|
||||
cd "${WORKDIR}"
|
||||
epatch "${FILESDIR}/${PN}-3.0.1-no-lua.patch"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -C ../../scintilla/gtk AR="$(tc-getAR)"
|
||||
if use lua; then
|
||||
emake
|
||||
else
|
||||
emake NO_LUA=1
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /usr/bin
|
||||
dodir /usr/share/{pixmaps,applications}
|
||||
|
||||
emake prefix="${ED}/usr" install
|
||||
|
||||
# we have to keep this because otherwise it'll break upgrading
|
||||
mv "${ED}/usr/bin/SciTE" "${ED}/usr/bin/scite" || die
|
||||
dosym /usr/bin/scite /usr/bin/SciTE
|
||||
|
||||
# replace .desktop file with our own working version
|
||||
rm -f "${ED}/usr/share/applications/SciTE.desktop"
|
||||
domenu "${FILESDIR}/scite.desktop"
|
||||
|
||||
doman ../doc/scite.1
|
||||
dodoc ../README
|
||||
}
|
@ -0,0 +1,233 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-editors/xemacs/xemacs-21.5.33.ebuild,v 1.1 2013/06/02 09:18:02 matsl Exp $
|
||||
|
||||
# Note: xemacs currently does not work with a hardened profile. If you
|
||||
# want to use xemacs on a hardened profile then compile with the
|
||||
# -nopie flag in CFLAGS or help fix bug #75028.
|
||||
|
||||
EAPI=4
|
||||
|
||||
export WANT_AUTOCONF="2.5"
|
||||
inherit eutils flag-o-matic multilib
|
||||
|
||||
DESCRIPTION="highly customizable open source text editor and application development system"
|
||||
HOMEPAGE="http://www.xemacs.org/"
|
||||
SRC_URI="http://ftp.xemacs.org/xemacs-21.5/${P}.tar.gz
|
||||
http://www.malfunction.de/afterstep/files/NeXT_XEmacs.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd"
|
||||
IUSE="alsa debug eolconv gif gpm pop postgres ldap xface nas dnd X jpeg tiff png mule motif freewnn canna xft xim athena neXt Xaw3d gdbm berkdb"
|
||||
|
||||
X_DEPEND="x11-libs/libXt x11-libs/libXmu x11-libs/libXext x11-misc/xbitmaps"
|
||||
|
||||
RDEPEND="
|
||||
berkdb? ( >=sys-libs/db-4 !!<sys-libs/db-4 )
|
||||
gdbm? ( >=sys-libs/gdbm-1.8.3[berkdb(+)] )
|
||||
>=sys-libs/zlib-1.1.4
|
||||
>=dev-libs/openssl-0.9.6
|
||||
>=media-libs/audiofile-0.2.3
|
||||
gpm? ( >=sys-libs/gpm-1.19.6 )
|
||||
postgres? ( dev-db/postgresql-base )
|
||||
ldap? ( net-nds/openldap )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
nas? ( media-libs/nas )
|
||||
X? ( $X_DEPEND !Xaw3d? ( !neXt? ( x11-libs/libXaw ) ) )
|
||||
dnd? ( x11-libs/dnd )
|
||||
motif? ( >=x11-libs/motif-2.3:0[xft=] )
|
||||
athena? ( x11-libs/libXaw )
|
||||
Xaw3d? ( x11-libs/libXaw3d )
|
||||
xft? ( media-libs/freetype:2 x11-libs/libXft x11-libs/libXrender >=media-libs/fontconfig-2.5.0 )
|
||||
neXt? ( x11-libs/neXtaw )
|
||||
xface? ( media-libs/compface )
|
||||
tiff? ( media-libs/tiff )
|
||||
png? ( >=media-libs/libpng-1.2 )
|
||||
jpeg? ( virtual/jpeg )
|
||||
canna? ( app-i18n/canna )
|
||||
freewnn? ( app-i18n/freewnn )
|
||||
>=sys-libs/ncurses-5.2"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
>=app-admin/eselect-emacs-1.2"
|
||||
|
||||
PDEPEND="app-xemacs/xemacs-base
|
||||
mule? ( app-xemacs/mule-base )"
|
||||
|
||||
src_unpack() {
|
||||
default_src_unpack
|
||||
|
||||
use neXt && unpack NeXT_XEmacs.tar.gz
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
use neXt && cp "${WORKDIR}"/NeXT.XEmacs/xemacs-icons/* "${S}"/etc/toolbar/
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=""
|
||||
|
||||
if use X; then
|
||||
|
||||
myconf="${myconf} --with-widgets=athena"
|
||||
myconf="${myconf} --with-dialogs=athena"
|
||||
myconf="${myconf} --with-menubars=lucid"
|
||||
myconf="${myconf} --with-scrollbars=lucid"
|
||||
if use motif ; then
|
||||
myconf="--with-widgets=motif"
|
||||
myconf="${myconf} --with-dialogs=motif"
|
||||
myconf="${myconf} --with-scrollbars=motif"
|
||||
myconf="${myconf} --with-menubars=lucid"
|
||||
fi
|
||||
if use athena or use Xaw3d ; then
|
||||
myconf="--with-scrollbars=athena"
|
||||
fi
|
||||
|
||||
if use Xaw3d; then
|
||||
myconf="${myconf} --with-athena=3d"
|
||||
elif use neXt; then
|
||||
myconf="${myconf} --with-athena=next"
|
||||
else
|
||||
myconf="${myconf} --with-athena=xaw"
|
||||
fi
|
||||
|
||||
use dnd && myconf="${myconf} --with-dragndrop --with-offix"
|
||||
|
||||
myconf="${myconf} $(use_with tiff )"
|
||||
myconf="${myconf} $(use_with png )"
|
||||
myconf="${myconf} $(use_with jpeg )"
|
||||
myconf="${myconf} $(use_with xface )"
|
||||
|
||||
use xft && myconf="${myconf} --with-xft=emacs,tabs,menubars,gauges" ||
|
||||
myconf="${myconf} --with-xft=no"
|
||||
|
||||
else
|
||||
myconf="${myconf}
|
||||
--without-x
|
||||
--without-xpm
|
||||
--without-dragndrop
|
||||
--with-xft=no
|
||||
--with-gif=no"
|
||||
fi
|
||||
|
||||
if use mule ; then
|
||||
myconf="${myconf} --with-mule"
|
||||
|
||||
if use xim ; then
|
||||
if use motif ; then
|
||||
myconf="${myconf} --with-xim=motif"
|
||||
else
|
||||
myconf="${myconf} --with-xim=xlib"
|
||||
fi
|
||||
else
|
||||
myconf="${myconf} --with-xim=no"
|
||||
fi
|
||||
|
||||
myconf="${myconf} $(use_with canna )"
|
||||
myconf="${myconf} $(use_with freewnn wnn )"
|
||||
fi
|
||||
|
||||
# This determines the type of sounds we are playing
|
||||
local soundconf="native"
|
||||
|
||||
# This determines how these sounds should be played
|
||||
use nas && soundconf="${soundconf},nas"
|
||||
use alsa && soundconf="${soundconf},alsa"
|
||||
|
||||
myconf="${myconf} --with-sound=${soundconf}"
|
||||
|
||||
if use gdbm || use berkdb ; then
|
||||
use gdbm && mydb="gdbm"
|
||||
use berkdb && mydb="${mydb},berkdb"
|
||||
|
||||
myconf="${myconf} --with-database=${mydb}"
|
||||
else
|
||||
myconf="${myconf} --without-database"
|
||||
fi
|
||||
|
||||
use debug && myconf="${myconf} --with-debug" ||
|
||||
myconf="${myconf} --with-optimization"
|
||||
|
||||
econf ${myconf} \
|
||||
$(use_with gif ) \
|
||||
$(use_with gpm ) \
|
||||
$(use_with postgres postgresql ) \
|
||||
$(use_with ldap ) \
|
||||
$(use_with eolconv file-coding ) \
|
||||
$(use_with pop ) \
|
||||
--prefix=/usr \
|
||||
--with-ncurses \
|
||||
--with-msw=no \
|
||||
--with-mail-locking=flock \
|
||||
--with-site-lisp=yes \
|
||||
--with-site-modules=yes \
|
||||
--with-newgc \
|
||||
--enable-option-checking=no \
|
||||
--with-last-packages=/usr/lib/xemacs \
|
||||
|| die "configuration failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake prefix="${D}"/usr \
|
||||
mandir="${D}"/usr/share/man/man1 \
|
||||
infodir="${D}"/usr/share/info \
|
||||
libdir="${D}"/usr/$(get_libdir) \
|
||||
datadir="${D}"/usr/share \
|
||||
install gzip-el || die
|
||||
|
||||
# Rename some applications installed in bin so that it is clear
|
||||
# which application installed them and so that conflicting
|
||||
# packages (emacs) can't clobber the actual applications.
|
||||
# Addresses bug #62991.
|
||||
for i in b2m ctags etags ; do
|
||||
mv "${D}"/usr/bin/${i} "${D}"/usr/bin/${i}-xemacs || die "mv ${i} failed"
|
||||
done
|
||||
|
||||
# rename man pages
|
||||
for i in ctags etags; do
|
||||
mv "${D}"/usr/share/man/man1/${i}{,-xemacs}.1 || die "mv ${i}.1 failed"
|
||||
done
|
||||
|
||||
# install base packages directories
|
||||
dodir /usr/lib/xemacs/xemacs-packages/
|
||||
dodir /usr/lib/xemacs/site-packages/
|
||||
dodir /usr/lib/xemacs/site-modules/
|
||||
dodir /usr/lib/xemacs/site-lisp/
|
||||
|
||||
if use mule;
|
||||
then
|
||||
dodir /usr/lib/xemacs/mule-packages
|
||||
fi
|
||||
|
||||
# remove extraneous info files
|
||||
cd "${D}"/usr/share/info
|
||||
rm -f dir info.info texinfo* termcap* standards*
|
||||
|
||||
cd "${S}"
|
||||
dodoc CHANGES-* ChangeLog INSTALL Installation PROBLEMS README*
|
||||
|
||||
newicon "${S}"/etc/${PN}-icon.xpm ${PN}.xpm
|
||||
|
||||
domenu "${FILESDIR}"/${PN}.desktop
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect emacs update ifunset
|
||||
|
||||
einfo "If you are upgrading from XEmacs 21.4 you should note the following"
|
||||
einfo "incompatibilities:"
|
||||
einfo "- Mule-UCS is no longer supported due to proper UTF-8 support in XEmacs 21.5"
|
||||
einfo "- The X resource class has changed from Emacs to XEmacs,"
|
||||
einfo " settings in your .Xdefaults file should be updated accordingly."
|
||||
|
||||
if use xft;
|
||||
then
|
||||
einfo "You have enabled Xft font support. Xft requires font names to be provided"
|
||||
einfo "in a different way, so you may need to adjust your .Xdefaults accordingly."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect emacs update ifunset
|
||||
}
|
Before Width: | Height: | Size: 851 B |
@ -1,2 +1 @@
|
||||
DIST mht-rip-0.4.c 6942 SHA256 1e79a68e107e590508dc433c0bca1dc3feac9f0671d723ac1f1f38ba82d37b38 SHA512 50a2819d5ffa441107035243a8a674534f546c8f13370b9a1b01f90c48a9fa514b148a487c88e1ee88d8dad489f157b74f0a4b021001500bd93c44ac36a6a482 WHIRLPOOL 1ab220f49f08f5360b15964cbd5dada7087bae7c8d99becea56b04ba0cb2440dd4b4653d69c56ad9c97d0ed3c111fa741bff16750e325aa0d7e6a6919b5cb8a8
|
||||
DIST mht-rip-0.8.c 9105 SHA256 f30669b1dd036e59ef9af70bbf257e6beb3b736c1b31672bef52dea18f0410de SHA512 377643c75e621dfa88f426db8e0f8e0959aaa841d1950ab1cc4d514de1a4120cbd20e9f18aa58607b6012a9417095489de968002bd8d91fd89f71dcc0b90357e WHIRLPOOL 35f82466220e36f3d2e37932038e46be8165a93fefbcbb383ec5e9dbd4f7d48d4360a65bbb9b5bc703ecc8db1759d3847472a5783198c8653ae4986554a4c6da
|
||||
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/mht-rip/mht-rip-0.4.ebuild,v 1.1 2009/01/19 01:59:05 vapier Exp $
|
||||
|
||||
DESCRIPTION="convert mht/mhtml files to something usable"
|
||||
HOMEPAGE="http://www.loganowen.com/mht-rip/"
|
||||
SRC_URI="http://www.loganowen.com/mht-rip/${P}.c"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_unpack() {
|
||||
cp "${DISTDIR}"/${A} ${PN}.c || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake ${PN} || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN} || die
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST align-42.tar.bz2 34555 SHA256 05e07af8e2de9c76e2bee5d29a60926b5baf18ae21031ca39695295d46530565 SHA512 ddf7e011b207c41c6a8be84a86a3e7b2328b1c3a92b3870debe841cf01d2530c7b69259c7fe2e8204ad4064c42ca1d79dced33e5a97b4be1a9f9d722a9fe99ec WHIRLPOOL 50689ddd6aeb3414a246c9ccabe95cbe35b674d1f6fd0fa480c6fde5c10bb3e98ed796dc6350a205e1bd3b5756cfa843e3d789b28bc7bfa226bad44aa993c239
|
||||
DIST align-43.tar.bz2 34490 SHA256 d778ee6e5d4e017d5cce6c20ac2f24c1714cc5d8955d28112110024f8ff46f68 SHA512 b796ce56a60982a1b974a55e6b3ec74cd13ad8b572b00f49d814f22385d76441cb244c913216af3ef0d2ad128d5871eb60e5fc70343e55ce88453356941b0ecd WHIRLPOOL f3de49c6ad69944eed6e0cf02270dda05fb182a670c4e8f92fff09dbb162f471d8bddb989314882e96ba8df3e7d6c6dd455c22792001ff312c4de8ed0b428a7f
|
||||
|
@ -0,0 +1,16 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-vim/align/align-43.ebuild,v 1.1 2013/06/01 22:19:37 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
DESCRIPTION="vim plugin: commands and maps to help produce aligned text"
|
||||
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=294"
|
||||
LICENSE="vim"
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~sparc ~x86"
|
||||
|
||||
RDEPEND="app-vim/cecutil"
|
||||
|
||||
VIM_PLUGIN_HELPFILES="align"
|
@ -1,3 +1,2 @@
|
||||
DIST dbext-13.00.zip 113209 SHA256 bccf3957e365e71f039a2aca0e5c048dd09eb791d8f9c36a5911745b8ce90ee8 SHA512 bcb9bc3cf07e8a87d5f1704adf09488db72a58280717ddd211e3eda97369542ee2bbdec732b0761cab22a6bda90b37f56e1287f1976a6306547ade4b79341506 WHIRLPOOL 63fabecd0c3853324dc1fb92524a6a9a1e465ecd82f855b5166428ccc523abcaa170709ce37b81d09171852dd128daa9ea678dc2e20d011451b8ce606163fe21
|
||||
DIST dbext-16.0.tar.bz2 90518 SHA256 9c5f584e551ea9d2e364e92d13121d0c395f763eca4329563aac11087366d07b SHA512 951f2a0da40f89b1592a0bcbbb2978ab95426b7f39e466abd5d663f14fdc8161392582368e9b7e10b2da6c15109b1e96c8a3a4b5faf8f601d42ecbe36d860de3 WHIRLPOOL 61d80bf43c3f33fcd7c0f9678f415739e606e43d9891aa49167dc6d676c9ff0c77c4888d8f12a53ed0d21823ac4c6d3513f9fe7eca891a549ddeeb6324330c62
|
||||
DIST dbext-18.0.tar.bz2 94127 SHA256 e9100bf15cae64c9a814314035a79ff3e0495eb0ed90fc1c473536b09a924295 SHA512 44a1c8db65113c48778343dd7b47a8efc87b0c14cef4683572cfab1f8d1972edbaf569a58ec4ec736f67995d50227ddb0c1379f51e404e07157e7a1ca553a7f3 WHIRLPOOL ad447b671c8b12e92ecc1f4a67d0216bf19f84542a4ca0e2719fa4d692a27f2ff9cbbe052e37881d7c42447ac2384ef752457ea7653d9f9906b8d3f5eebeca4d
|
||||
DIST dbext-19.0.tar.bz2 94922 SHA256 6fd27c86bd378e8116fc5790cc1bfa4a74959b65d21100086eb5f25d07cef3bb SHA512 cd5cdd47a38658147b8c162db7a08fd40cff740991e375602d249e93abbdc72aa3cf30ab5b7bf0d3420d1aae2f2a4924db4cbf28e794c492ab63f9120b21c3ff WHIRLPOOL 53be4c01de81f07610d5b0ef5c65e597017dd352e7825684c51f2b5188f9f04218197139cd4f0a31d7ebaa3addd385d793802a552f806670292ce5cb28fb82ed
|
||||
|
@ -1,24 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-vim/dbext/dbext-13.00.ebuild,v 1.4 2011/12/14 09:18:47 phajdan.jr Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
DESCRIPTION="vim plugin: easy access to databases"
|
||||
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=356"
|
||||
SRC_URI="http://www.vim.org/scripts/download_script.php?src_id=15864 -> ${P}.zip"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="amd64 ~mips ~ppc x86"
|
||||
IUSE=""
|
||||
|
||||
VIM_PLUGIN_HELPFILES="${PN}.txt"
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_prepare() {
|
||||
rm -f doc/dbext_gpl.dat
|
||||
}
|
@ -1,15 +1,14 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-vim/dbext/dbext-16.0.ebuild,v 1.3 2012/12/04 11:22:43 ago Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-vim/dbext/dbext-19.0.ebuild,v 1.1 2013/06/01 22:14:58 radhermit Exp $
|
||||
|
||||
EAPI=4
|
||||
EAPI=5
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
DESCRIPTION="vim plugin: easy access to databases"
|
||||
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=356"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="amd64 ~mips ~ppc x86"
|
||||
IUSE=""
|
||||
KEYWORDS="~amd64 ~mips ~ppc ~x86"
|
||||
|
||||
VIM_PLUGIN_HELPFILES="${PN}.txt"
|
@ -1,2 +1,3 @@
|
||||
DIST tagbar-2.2.tar.gz 33517 SHA256 b95207079af0baff0fc3c670e5fd1a064d90aa81874160ed62c5b6ca3878a4c5 SHA512 e9826da6615d9611092fe4b75b4e41325d6b165ae93aa70932e49e3dc961b99a6192eadd0b8ce8deec323283494675d697ec1c4a2674be696fd3325a5df3975b WHIRLPOOL b891167af876a7a6bccecc8b290e284f48212dc549d2957b3e0e0e97ef871f993a5112d924005c10f344281df74096adf6bc54438080b1ab075f670432541d27
|
||||
DIST tagbar-2.4.1.tar.gz 41021 SHA256 50718df07e709bac4bbd5a33f03bf4b8c00095b2bd9977e871ba0d3fb2f39b93 SHA512 7daa990ef06a9b36398512e121623435fc36d4194d9111128ac42bb46e58fdcd5647d108b5fb19094c000ed1b039cd0ed3cc6bc325e818c8aecd8dea7b2809ad WHIRLPOOL 3f4b6ce531a1d84f3bc3c6515c2caff38c690f6ab3212292723c63894877bda7a23bd7fe5126a00d1ba298516296ac66c8b3146abbb30aaf1341599762311e50
|
||||
DIST tagbar-2.5.tar.gz 44838 SHA256 b9632c1924dbe2c4b39ecda49a61bf956e059a09cf0017995059cc85078b8ae8 SHA512 da6491abc77fdcaf5f8ed1de82533d5d007f07d13bda67efeaf50a2a227117417a21bef92b5b05bed9ab5c0031d51ee386352581969ac714f92393de989da690 WHIRLPOOL 2dca052fdd03d5eb1207a4e12a4050f9a3d35b671fe2b6a786ab6ac5531e8cce7f3f28614986d57503e5369af67f6fe00a3d144df332ba6a656c88f8be76249c
|
||||
|
@ -0,0 +1,18 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-vim/tagbar/tagbar-2.5.ebuild,v 1.1 2013/06/01 22:27:42 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
DESCRIPTION="vim plugin: display tags of the current file ordered by scope"
|
||||
HOMEPAGE="http://majutsushi.github.com/tagbar/
|
||||
http://www.vim.org/scripts/script.php?script_id=3465"
|
||||
SRC_URI="https://github.com/majutsushi/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="vim"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND=">=dev-util/ctags-5.5"
|
||||
|
||||
VIM_PLUGIN_HELPFILES="${PN}.txt"
|
@ -1,2 +1,3 @@
|
||||
DIST vcscommand-1.99.45.tar.gz 33729 SHA256 9795f33ed1642cde107d5c825e04fc37d5c94161e71328f08cd5978db729daac SHA512 70361db670cdf37d7fdf8e12a2b46964157fc853aee4422540b6563b9353bfd28a74f256d048cf2880dcee1c396df1964e3d40e431466ed89ba466477a016089 WHIRLPOOL 524af20a1ac7c5c3898ab2fbdd2b0b1de7c7606a704cc6ec2b717f22f6adf0e212e5054dcef9a3fc270dc104c001e7b6c5bf53db03a02066a67c769ae69af3ef
|
||||
DIST vcscommand-1.99.46.tar.bz2 27316 SHA256 bb8d208b060a2bd30541ba45924b3c4f07a1faacdadcf7728f3ab43c9eaf947d SHA512 3ca212408d46bc80bb744122add95893aef66ae4d8eebf02a8f9297570f63348cbafbb383b889260ad10b410e6fa2ae217e0a7ff398ac1590851b7ddf32fe267 WHIRLPOOL 67a045ccd725a17cbcc3c26de10afc7fae9287c9a8feae571b1a8b3f8deb0ed92ab55ec238543370cfaeef86a1ad767cbacc38c7c2666f08d04af26b0be7dd37
|
||||
DIST vcscommand-1.99.47.tar.bz2 27281 SHA256 1e219f3e941e49086fb5083a1493c9563cffd004e8bae8a7f6ac65596adf3f56 SHA512 df9180cc3a87dc5fab52d149c1f87993822658edabd77965756fa8ba05ef6f1c5a4f336b54d0b18e3c2bba8f53324ca60526258953a85ce170ab065b5f2e11c7 WHIRLPOOL 9c056921e8757b234ce71a840a7fcebb507dfe7813f2034bdb360ac60038cbfc01fc333353ec8b24b8142236271fa1295d53d7c5650046cbbb61f5bc6a80d478
|
||||
|
@ -0,0 +1,16 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-vim/vcscommand/vcscommand-1.99.47.ebuild,v 1.1 2013/06/01 22:23:23 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
DESCRIPTION="vim plugin: CVS/SVN/SVK/git/bzr/hg integration plugin"
|
||||
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=90"
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
|
||||
|
||||
RDEPEND="!app-vim/cvscommand"
|
||||
|
||||
VIM_PLUGIN_HELPFILES="${PN}.txt"
|
@ -1,3 +1,2 @@
|
||||
DIST vim-r-0.9.7.tar.bz2 116621 SHA256 6ef80b5c8308c65cdbf1df08d81b440cef4649ed205e48601c12cd9999960f01 SHA512 44f382e009ab02c892803fc05021c04b21eabe85b9228d9cac3972bc1c84ef513733937fe81dce2524f4d612d8098685201f14d4de6935ea5fecb316b4d3c9a1 WHIRLPOOL f196d7bc8454e56dca476ca279bd2b181871190fb78f0a98e1abb2ee196ddc733faf102f21dd58f5525c0e6ce9b0efc71747af735bad5c9299612a4f44103298
|
||||
DIST vim-r-0.9.9.1.tar.bz2 125040 SHA256 510e971de66fac30ad6cb92094cc4b413547de74efdaa9b98b915e1a3b14abe7 SHA512 262135b8db7523347c0299caf2794a2ebb2f26faa160afdb80e78f7bde30d7f45241c7e25465e2e67ac50ab93f32b820b53cf8577b87927a44608bac4f1c64ba WHIRLPOOL 6b7d8f6d40a907603d1a8bebb7f36a095e3aa274c125a349ae29a74d19e637970ea61060f5e06b1a915b95c865a1043c96c9f2b9a01c4e057f2364685406b2f2
|
||||
DIST vim-r-0.9.9.2.tar.bz2 125721 SHA256 4e6f73f9c2c9032e5e0480b0ffc52e8967bf24188545599ad5eda6021a449340 SHA512 c6e4ad970e0f80c35883cb059a7649b182c3c89587725a992b0e5190b113b7bbe4a130ff6d99c6f5d480f21e9dfcd241d87b57e59a2fe6e02ac7ee7a630f38f4 WHIRLPOOL 257445cba31341523c3c245f92e36705783539015c61caeb3bb38b228fd2ecc2586dc0e2dcd5050b66ab414dc55ea1d46a70a8bad158f8a7754ea09ff5065499
|
||||
DIST vim-r-0.9.9.3.tar.bz2 126223 SHA256 e395b346c755da4f7844d914641d03af315860d8d0f70afe9b4519e254e2d3c6 SHA512 6660e34cdaa14613cdc7b4a6992001b615740bddc4fafd15ffb3d10a51c055dbc8cb18a4ec7013f2587e7075de3826d7c24eed79571efdf466420a8bbea30bab WHIRLPOOL 62e9292af83c6ec987140b76834dd9958301ee8a9e3ba57a83cd246ea09599e85bf8ff8937c485629f614c24a3412c54c59b88fd0629a60b1c505985695321ad
|
||||
|
@ -1,19 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-vim/vim-r/vim-r-0.9.7.ebuild,v 1.1 2012/09/18 03:45:24 radhermit Exp $
|
||||
|
||||
EAPI="4"
|
||||
VIM_PLUGIN_VIM_VERSION="7.3"
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
DESCRIPTION="vim plugin: integrate vim with R"
|
||||
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=2628"
|
||||
LICENSE="public-domain"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-lang/R
|
||||
|| ( app-vim/conque app-vim/screen )"
|
||||
|
||||
VIM_PLUGIN_HELPFILES="r-plugin.txt"
|
@ -1,2 +1,3 @@
|
||||
DIST bcmail-jdk14-138.tar.gz 386478 SHA256 629bbe7f00c96b201db4b76f777014763110d9de5021593505f906a31fa7bb7c SHA512 1d79aebee02a8d0017dc0b05f68e49fc031a797043eec173aa68ef0148e06b6ebe4d001a1494d6ed95114b1534ece7c47982e119ad8aec2485323babe34f3a13 WHIRLPOOL 272b1c73ffb4a46737a5a4bd5c2105a7411d6cddfcb1dd511688662fc6d55c20027cf1adb30da9a4ce24db34800cff3d71771a60d57e157b1081c1bc7f16eef7
|
||||
DIST bcmail-jdk15-145.tar.gz 483519 SHA256 e74e2a48135e9396ed3622d9dae64eb66e6e88e4b0d17a3522c8d55ee5e95d62 SHA512 2d3232d5eb1cd75ad56a7316beb32880f3f935fcd3ed0a6cb2cc3e1861dc9f0bece0cbae53471760246505adb5c28328691eb82e11fedb0b160c1248d21c48bb WHIRLPOOL abb41f525717886b21551808dfc375a691ceed1a192eb46603fb91398c132768093229389b0247a49121b098d0338f37980bd8980c0c1a85fb91754f586d411f
|
||||
DIST bcmail-jdk15on-149.tar.gz 223450 SHA256 60287652b35962761d5b7f347d4abdf40d8eb687ecb822a9dab79de425374daf SHA512 fe6c7a8455692a388ddc19d8e0346167e71f34bc96a9797f88584c4c101b1fe88928a97ca601135969947137a7577b61a2f314af83f633b381c5b9adfc425849 WHIRLPOOL 60b808e401134889ef17c1ad6908548c2912aa63ec065c0a3df9f96a77a8734b9d75aa07a221723dcabfe1a10e09915227b0eed6176627c2a2808c1ab37bb8c8
|
||||
|
@ -0,0 +1,82 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/bcmail/bcmail-1.49.ebuild,v 1.1 2013/06/01 15:38:25 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
MY_P="${PN}-jdk15on-${PV/./}"
|
||||
|
||||
DESCRIPTION="Java cryptography APIs"
|
||||
HOMEPAGE="http://www.bouncycastle.org/java.html"
|
||||
SRC_URI="http://www.bouncycastle.org/download/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos"
|
||||
|
||||
COMMON_DEPEND=">=dev-java/bcprov-${PV}-r2:0[test?]
|
||||
>=dev-java/bcpkix-${PV}-r1:0[test?]
|
||||
dev-java/sun-jaf:0
|
||||
java-virtuals/javamail:0"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
app-arch/unzip
|
||||
test? ( dev-java/junit:0 )
|
||||
${COMMON_DEPEND}"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.5
|
||||
${COMMON_DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
# Package can't be build with test as bcprov and bcpkix can't be built with test.
|
||||
RESTRICT="test"
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
cd "${S}"
|
||||
unpack ./src.zip
|
||||
}
|
||||
|
||||
java_prepare() {
|
||||
mkdir "${S}"/classes
|
||||
|
||||
if use test ; then
|
||||
java-pkg_jar-from --build-only junit
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
find org -name "*.java" > "${T}"/src.list
|
||||
|
||||
local cp="$(java-pkg_getjars bcprov,bcpkix,sun-jaf,javamail)"
|
||||
if use test ; then
|
||||
cp="${cp}:junit.jar"
|
||||
else
|
||||
sed -i '/\/test\//d' "${T}"/src.list || die "Failed to remove test classes"
|
||||
fi
|
||||
|
||||
ejavac -d "${S}"/classes -cp ${cp} "@${T}"/src.list
|
||||
|
||||
cd "${S}"/classes
|
||||
jar -cf "${S}"/${PN}.jar * || die "failed to create jar"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local cp="${PN}.jar:bcprov.jar:bcpkix.jar:junit.jar"
|
||||
|
||||
java -cp ${cp} org.bouncycastle.mail.smime.test.AllTests | tee mail.tests
|
||||
|
||||
grep -q FAILURES *.tests && die "Tests failed."
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar "${S}"/${PN}.jar
|
||||
|
||||
use source && java-pkg_dosrc org
|
||||
use doc && java-pkg_dojavadoc docs
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST bcpkix-jdk15on-149.tar.gz 1212204 SHA256 8adcc21c2f848e449d6a15daec96adf73174c93015ddf0f4eb8bb6f964500f8a SHA512 be70da827c8edf5c4a4960aa78b16bdde62932e140ae1294a011402b1ec0914bcee246bd69fe6fde6c7c5d637c33fa68c7c6b791341cad9d12ad52ccee9ca2c6 WHIRLPOOL f4786f609833ca43dce0eefb5ccea5f9aaa7d53ad574bae3b069b95fba1678839140ef1e98f5924bc8703a22a4f446d22819cabb4161401dd71560c35d0af9fc
|
@ -0,0 +1,95 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/bcpkix/bcpkix-1.49-r1.ebuild,v 1.1 2013/06/01 15:33:25 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
MY_P="${PN}-jdk15on-${PV/./}"
|
||||
|
||||
DESCRIPTION="Java cryptography APIs"
|
||||
HOMEPAGE="http://www.bouncycastle.org/java.html"
|
||||
SRC_URI="http://www.bouncycastle.org/download/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos"
|
||||
|
||||
# Tests are currently broken. Needs further investigation.
|
||||
# java.lang.RuntimeException: java.security.NoSuchProviderException: JCE cannot authenticate the provider BC
|
||||
RESTRICT="test"
|
||||
|
||||
COMMON_DEPEND="
|
||||
~dev-java/bcprov-${PV}-r2:0[test?]"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
app-arch/unzip
|
||||
test? ( dev-java/junit:0 )
|
||||
${COMMON_DEPEND}"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.5
|
||||
${COMMON_DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
cd "${S}"
|
||||
unpack ./src.zip
|
||||
}
|
||||
|
||||
java_prepare() {
|
||||
mkdir "${S}"/classes
|
||||
|
||||
if use test ; then
|
||||
java-pkg_jar-from --build-only junit
|
||||
fi
|
||||
|
||||
java-pkg_jar-from bcprov
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
find org -name "*.java" > "${T}"/src.list
|
||||
|
||||
local cp="bcprov.jar"
|
||||
if use test ; then
|
||||
cp="${cp}:junit.jar"
|
||||
else
|
||||
sed -i '/\/test\//d' "${T}"/src.list || die "Failed to remove test classes"
|
||||
fi
|
||||
|
||||
ejavac -d "${S}"/classes -cp ${cp} "@${T}"/src.list
|
||||
|
||||
cd "${S}"/classes || die
|
||||
|
||||
jar -cf "${S}"/${PN}.jar * || die "Failed to create jar."
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local cp="${PN}.jar:bcprov.jar:junit.jar"
|
||||
local pkg="org.bouncycastle"
|
||||
|
||||
java -cp ${cp} ${pkg}.tsp.test.AllTests | tee tsp.tests
|
||||
java -cp ${cp} ${pkg}.pkcs.test.AllTests | tee pkcs.tests
|
||||
java -cp ${cp} ${pkg}.openssl.test.AllTests | tee openssl.tests
|
||||
java -cp ${cp} ${pkg}.mozilla.test.AllTests | tee mozilla.tests
|
||||
java -cp ${cp} ${pkg}.eac.test.AllTests | tee eac.tests
|
||||
java -cp ${cp} ${pkg}.dvcs.test.AllTests | tee dvcs.tests
|
||||
java -cp ${cp} ${pkg}.cms.test.AllTests | tee cms.tests
|
||||
java -cp ${cp} ${pkg}.cert.test.AllTests | tee cert.tests
|
||||
java -cp ${cp} ${pkg}.cert.ocsp.test.AllTests | tee cert.ocsp.tests
|
||||
java -cp ${cp} ${pkg}.cert.crmf.test.AllTests | tee cert.crmf.tests
|
||||
java -cp ${cp} ${pkg}.cert.cmp.test.AllTests | tee cert.cmp.tests
|
||||
|
||||
grep -q FAILURES *.tests && die "Tests failed."
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar "${S}"/${PN}.jar
|
||||
|
||||
use source && java-pkg_dosrc org
|
||||
use doc && java-pkg_dojavadoc docs
|
||||
}
|
@ -1,8 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>jer@gentoo.org</email>
|
||||
<name>Jeroen Roovers</name>
|
||||
</maintainer>
|
||||
<herd>java</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,81 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/bcprov/bcprov-1.49-r2.ebuild,v 1.1 2013/06/01 15:33:22 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
MY_P="${PN}-jdk15on-${PV/./}"
|
||||
DESCRIPTION="Java cryptography APIs"
|
||||
HOMEPAGE="http://www.bouncycastle.org/java.html"
|
||||
SRC_URI="http://www.bouncycastle.org/download/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x64-macos"
|
||||
|
||||
# Tests are currently broken. Needs further investigation.
|
||||
# java.security.NoSuchAlgorithmException: Cannot find any provider supporting McElieceFujisakiWithSHA256
|
||||
RESTRICT="test"
|
||||
|
||||
# The src_unpack find needs a new find
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=182276
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
userland_GNU? ( >=sys-apps/findutils-4.3 )
|
||||
app-arch/unzip
|
||||
test? ( dev-java/junit:4 )"
|
||||
RDEPEND=">=virtual/jre-1.5"
|
||||
|
||||
IUSE="userland_GNU"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
|
||||
cd "${S}" || die
|
||||
unpack ./src.zip
|
||||
}
|
||||
|
||||
java_prepare() {
|
||||
mkdir "${S}"/classes || die
|
||||
|
||||
if use test ; then
|
||||
java-pkg_jar-from --build-only junit-4
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
find . -name "*.java" > "${T}"/src.list
|
||||
|
||||
local cp
|
||||
if use test ; then
|
||||
cp="-cp junit.jar"
|
||||
else
|
||||
sed -i '/\/test\//d' "${T}"/src.list || die "Failed to remove test classes"
|
||||
fi
|
||||
|
||||
ejavac $cp -encoding ISO-8859-1 -d "${S}"/classes "@${T}"/src.list
|
||||
|
||||
cd "${S}"/classes || die
|
||||
|
||||
jar -cf "${S}"/${PN}.jar * || die "Failed to create jar."
|
||||
}
|
||||
|
||||
src_test() {
|
||||
java -cp ${PN}.jar:junit.jar org.bouncycastle.pqc.jcajce.provider.test.AllTests | tee pqc.tests
|
||||
java -cp ${PN}.jar:junit.jar org.bouncycastle.ocsp.test.AllTests | tee oscp.tests
|
||||
java -cp ${PN}.jar:junit.jar org.bouncycastle.jce.provider.test.AllTests | tee jce.tests
|
||||
|
||||
grep -q FAILURES *.tests && die "Tests failed."
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar ${PN}.jar
|
||||
|
||||
use source && java-pkg_dosrc org
|
||||
use doc && java-pkg_dojavadoc docs
|
||||
}
|
@ -0,0 +1,707 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ghc/ghc-7.6.3.ebuild,v 1.1 2013/06/01 14:16:25 slyfox Exp $
|
||||
|
||||
# Brief explanation of the bootstrap logic:
|
||||
#
|
||||
# Previous ghc ebuilds have been split into two: ghc and ghc-bin,
|
||||
# where ghc-bin was primarily used for bootstrapping purposes.
|
||||
# From now on, these two ebuilds have been combined, with the
|
||||
# binary USE flag used to determine whether or not the pre-built
|
||||
# binary package should be emerged or whether ghc should be compiled
|
||||
# from source. If the latter, then the relevant ghc-bin for the
|
||||
# arch in question will be used in the working directory to compile
|
||||
# ghc from source.
|
||||
#
|
||||
# This solution has the advantage of allowing us to retain the one
|
||||
# ebuild for both packages, and thus phase out virtual/ghc.
|
||||
|
||||
# Note to users of hardened gcc-3.x:
|
||||
#
|
||||
# If you emerge ghc with hardened gcc it should work fine (because we
|
||||
# turn off the hardened features that would otherwise break ghc).
|
||||
# However, emerging ghc while using a vanilla gcc and then switching to
|
||||
# hardened gcc (using gcc-config) will leave you with a broken ghc. To
|
||||
# fix it you would need to either switch back to vanilla gcc or re-emerge
|
||||
# ghc (or ghc-bin). Note that also if you are using hardened gcc-3.x and
|
||||
# you switch to gcc-4.x that this will also break ghc and you'll need to
|
||||
# re-emerge ghc (or ghc-bin). People using vanilla gcc can switch between
|
||||
# gcc-3.x and 4.x with no problems.
|
||||
|
||||
EAPI="5"
|
||||
|
||||
# to make make a crosscompiler use crossdev and symlink ghc tree into
|
||||
# cross overlay. result would look like 'cross-sparc-unknown-linux-gnu/ghc'
|
||||
#
|
||||
# 'CTARGET' definition and 'is_crosscompile' are taken from 'toolchain.eclass'
|
||||
export CTARGET=${CTARGET:-${CHOST}}
|
||||
if [[ ${CTARGET} = ${CHOST} ]] ; then
|
||||
if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then
|
||||
export CTARGET=${CATEGORY/cross-}
|
||||
fi
|
||||
fi
|
||||
|
||||
inherit base autotools bash-completion-r1 eutils flag-o-matic multilib toolchain-funcs ghc-package versionator pax-utils
|
||||
|
||||
DESCRIPTION="The Glasgow Haskell Compiler"
|
||||
HOMEPAGE="http://www.haskell.org/ghc/"
|
||||
|
||||
# we don't have any binaries yet
|
||||
arch_binaries=""
|
||||
|
||||
# sorted!
|
||||
#arch_binaries="$arch_binaries alpha? ( http://code.haskell.org/~slyfox/ghc-alpha/ghc-bin-${PV}-alpha.tbz2 )"
|
||||
#arch_binaries="$arch_binaries arm? ( http://code.haskell.org/~slyfox/ghc-arm/ghc-bin-${PV}-arm.tbz2 )"
|
||||
arch_binaries="$arch_binaries amd64? ( http://code.haskell.org/~slyfox/ghc-amd64/ghc-bin-${PV}-amd64.tbz2 )"
|
||||
#arch_binaries="$arch_binaries ia64? ( http://code.haskell.org/~slyfox/ghc-ia64/ghc-bin-${PV}-ia64.tbz2 )"
|
||||
#arch_binaries="$arch_binaries ppc? ( http://code.haskell.org/~slyfox/ghc-ppc/ghc-bin-${PV}-ppc.tbz2 )"
|
||||
#arch_binaries="$arch_binaries ppc64? ( http://code.haskell.org/~slyfox/ghc-ppc64/ghc-bin-${PV}-ppc64.tbz2 )"
|
||||
#arch_binaries="$arch_binaries sparc? ( http://code.haskell.org/~slyfox/ghc-sparc/ghc-bin-${PV}-sparc.tbz2 )"
|
||||
arch_binaries="$arch_binaries x86? ( http://code.haskell.org/~slyfox/ghc-x86/ghc-bin-${PV}-x86.tbz2 )"
|
||||
|
||||
# various ports:
|
||||
#arch_binaries="$arch_binaries x86-fbsd? ( http://code.haskell.org/~slyfox/ghc-x86-fbsd/ghc-bin-${PV}-x86-fbsd.tbz2 )"
|
||||
|
||||
# 0 - yet
|
||||
yet_binary() {
|
||||
case "${ARCH}" in
|
||||
#alpha) return 0 ;;
|
||||
#arm)
|
||||
# ewarn "ARM binary is built on armv5tel-eabi toolchain. Use with caution."
|
||||
# return 0
|
||||
#;;
|
||||
amd64) return 0 ;;
|
||||
#ia64) return 0 ;;
|
||||
#ppc) return 0 ;;
|
||||
#ppc64) return 0 ;;
|
||||
#sparc) return 0 ;;
|
||||
x86) return 0 ;;
|
||||
*) return 1 ;;
|
||||
esac
|
||||
}
|
||||
|
||||
SRC_URI="!binary? ( http://www.haskell.org/ghc/dist/${PV}/${P}-src.tar.bz2 )"
|
||||
[[ -n $arch_binaries ]] && SRC_URI+=" !ghcbootstrap? ( $arch_binaries )"
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="doc ghcbootstrap ghcmakebinary +gmp llvm"
|
||||
IUSE+=" binary" # don't forget about me later!
|
||||
IUSE+=" elibc_glibc" # system stuff
|
||||
|
||||
RDEPEND="
|
||||
!kernel_Darwin? ( >=sys-devel/gcc-2.95.3 )
|
||||
kernel_linux? ( >=sys-devel/binutils-2.17 )
|
||||
kernel_SunOS? ( >=sys-devel/binutils-2.17 )
|
||||
>=dev-lang/perl-5.6.1
|
||||
>=dev-libs/gmp-5
|
||||
virtual/libffi
|
||||
!<dev-haskell/haddock-2.4.2
|
||||
sys-libs/ncurses[unicode]"
|
||||
# earlier versions than 2.4.2 of haddock only works with older ghc releases
|
||||
|
||||
# force dependency on >=gmp-5, even if >=gmp-4.1 would be enough. this is due to
|
||||
# that we want the binaries to use the latest versioun available, and not to be
|
||||
# built against gmp-4
|
||||
|
||||
# similar for glibc. we have bootstrapped binaries against glibc-2.14
|
||||
DEPEND="${RDEPEND}
|
||||
ghcbootstrap? ( >=dev-haskell/alex-2.3
|
||||
>=dev-haskell/happy-1.18
|
||||
doc? ( app-text/docbook-xml-dtd:4.2
|
||||
app-text/docbook-xml-dtd:4.5
|
||||
app-text/docbook-xsl-stylesheets
|
||||
>=dev-libs/libxslt-1.1.2 ) )
|
||||
!ghcbootstrap? ( !prefix? ( elibc_glibc? ( >=sys-libs/glibc-2.15 ) ) )"
|
||||
|
||||
PDEPEND="!ghcbootstrap? ( =app-admin/haskell-updater-1.2* )"
|
||||
PDEPEND="
|
||||
${PDEPEND}
|
||||
llvm? ( sys-devel/llvm )"
|
||||
|
||||
# ia64 fails to return from STG GMP primitives (stage2 always SIGSEGVs)
|
||||
REQUIRED_USE="ia64? ( !gmp )"
|
||||
|
||||
is_crosscompile() {
|
||||
[[ ${CHOST} != ${CTARGET} ]]
|
||||
}
|
||||
|
||||
append-ghc-cflags() {
|
||||
local flag compile assemble link
|
||||
for flag in $*; do
|
||||
case ${flag} in
|
||||
compile) compile="yes";;
|
||||
assemble) assemble="yes";;
|
||||
link) link="yes";;
|
||||
*)
|
||||
[[ ${compile} ]] && GHC_FLAGS="${GHC_FLAGS} -optc${flag}" CFLAGS="${CFLAGS} ${flag}"
|
||||
[[ ${assemble} ]] && GHC_FLAGS="${GHC_FLAGS} -opta${flag}" CFLAGS="${CFLAGS} ${flag}"
|
||||
[[ ${link} ]] && GHC_FLAGS="${GHC_FLAGS} -optl${flag}" FILTERED_LDFLAGS="${FILTERED_LDFLAGS} ${flag}";;
|
||||
esac
|
||||
done
|
||||
}
|
||||
|
||||
ghc_setup_cflags() {
|
||||
if is_crosscompile; then
|
||||
export CFLAGS=${GHC_CFLAGS-"-O2 -pipe"}
|
||||
export LDFLAGS=${GHC_LDFLAGS-"-Wl,-O1"}
|
||||
einfo "Crosscompiling mode:"
|
||||
einfo " CHOST: ${CHOST}"
|
||||
einfo " CTARGET: ${CTARGET}"
|
||||
einfo " CFLAGS: ${CFLAGS}"
|
||||
einfo " LDFLAGS: ${LDFLAGS}"
|
||||
return
|
||||
fi
|
||||
# We need to be very careful with the CFLAGS we ask ghc to pass through to
|
||||
# gcc. There are plenty of flags which will make gcc produce output that
|
||||
# breaks ghc in various ways. The main ones we want to pass through are
|
||||
# -mcpu / -march flags. These are important for arches like alpha & sparc.
|
||||
# We also use these CFLAGS for building the C parts of ghc, ie the rts.
|
||||
strip-flags
|
||||
strip-unsupported-flags
|
||||
|
||||
GHC_FLAGS=""
|
||||
for flag in ${CFLAGS}; do
|
||||
case ${flag} in
|
||||
|
||||
# Ignore extra optimisation (ghc passes -O to gcc anyway)
|
||||
# -O2 and above break on too many systems
|
||||
-O*) ;;
|
||||
|
||||
# Arch and ABI flags are what we're really after
|
||||
-m*) append-ghc-cflags compile assemble ${flag};;
|
||||
|
||||
# Sometimes it's handy to see backtrace of RTS
|
||||
# to get an idea what happens there
|
||||
-g*) append-ghc-cflags compile ${flag};;
|
||||
|
||||
# Ignore all other flags, including all -f* flags
|
||||
esac
|
||||
done
|
||||
|
||||
FILTERED_LDFLAGS=""
|
||||
for flag in ${LDFLAGS}; do
|
||||
case ${flag} in
|
||||
# Pass the canary. we don't quite respect LDFLAGS, but we have an excuse!
|
||||
"-Wl,--hash-style="*) append-ghc-cflags link ${flag};;
|
||||
|
||||
# Ignore all other flags
|
||||
esac
|
||||
done
|
||||
|
||||
# hardened-gcc needs to be disabled, because the mangler doesn't accept
|
||||
# its output.
|
||||
gcc-specs-pie && append-ghc-cflags compile link -nopie
|
||||
gcc-specs-ssp && append-ghc-cflags compile -fno-stack-protector
|
||||
|
||||
# prevent from failind building unregisterised ghc:
|
||||
# http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg171602.html
|
||||
use ppc64 && append-ghc-cflags compile -mminimal-toc
|
||||
# fix the similar issue as ppc64 TOC on ia64. ia64 has limited size of small data
|
||||
# currently ghc fails to build haddock
|
||||
# http://osdir.com/ml/gnu.binutils.bugs/2004-10/msg00050.html
|
||||
use ia64 && append-ghc-cflags compile -G0 -Os
|
||||
|
||||
# Unfortunately driver/split/ghc-split.lprl is dumb
|
||||
# enough to preserve stack marking for each split object
|
||||
# and it flags stack marking violation:
|
||||
# * !WX --- --- usr/lib64/ghc-7.4.1/base-4.5.0.0/libHSbase-4.5.0.0.a:Fingerprint__1.o
|
||||
# * !WX --- --- usr/lib64/ghc-7.4.1/base-4.5.0.0/libHSbase-4.5.0.0.a:Fingerprint__2.o
|
||||
# * !WX --- --- usr/lib64/ghc-7.4.1/base-4.5.0.0/libHSbase-4.5.0.0.a:Fingerprint__3.o
|
||||
case $($(tc-getAS) -v 2>&1 </dev/null) in
|
||||
*"GNU Binutils"*) # GNU ld
|
||||
append-ghc-cflags compile assemble -Wa,--noexecstack
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
# substitutes string $1 to $2 in files $3 $4 ...
|
||||
relocate_path() {
|
||||
local from=$1
|
||||
local to=$2
|
||||
shift 2
|
||||
local file=
|
||||
for file in "$@"
|
||||
do
|
||||
sed -i -e "s|$from|$to|g" \
|
||||
"$file" || die "path relocation failed for '$file'"
|
||||
done
|
||||
}
|
||||
|
||||
# changes hardcoded ghc paths and updates package index
|
||||
# $1 - new absolute root path
|
||||
relocate_ghc() {
|
||||
local to=$1
|
||||
|
||||
# backup original script to use it later after relocation
|
||||
local gp_back="${T}/ghc-pkg-${PV}-orig"
|
||||
cp "${WORKDIR}/usr/bin/ghc-pkg-${PV}" "$gp_back" || die "unable to backup ghc-pkg wrapper"
|
||||
|
||||
# Relocate from /usr to ${EPREFIX}/usr
|
||||
relocate_path "/usr" "${to}/usr" \
|
||||
"${WORKDIR}/usr/bin/ghc-${PV}" \
|
||||
"${WORKDIR}/usr/bin/ghci-${PV}" \
|
||||
"${WORKDIR}/usr/bin/ghc-pkg-${PV}" \
|
||||
"${WORKDIR}/usr/bin/hsc2hs" \
|
||||
"${WORKDIR}/usr/$(get_libdir)/${P}/package.conf.d/"*
|
||||
|
||||
# this one we will use to regenerate cache
|
||||
# so it shoult point to current tree location
|
||||
relocate_path "/usr" "${WORKDIR}/usr" "$gp_back"
|
||||
|
||||
if use prefix; then
|
||||
# and insert LD_LIBRARY_PATH entry to EPREFIX dir tree
|
||||
# TODO: add the same for darwin's CHOST and it's DYLD_
|
||||
local new_ldpath='LD_LIBRARY_PATH="'${EPREFIX}/$(get_libdir):${EPREFIX}/usr/$(get_libdir)'${LD_LIBRARY_PATH:+:}${LD_LIBRARY_PATH}"\nexport LD_LIBRARY_PATH'
|
||||
sed -i -e '2i'"$new_ldpath" \
|
||||
"${WORKDIR}/usr/bin/ghc-${PV}" \
|
||||
"${WORKDIR}/usr/bin/ghci-${PV}" \
|
||||
"${WORKDIR}/usr/bin/ghc-pkg-${PV}" \
|
||||
"$gp_back" \
|
||||
"${WORKDIR}/usr/bin/hsc2hs" \
|
||||
|| die "Adding LD_LIBRARY_PATH for wrappers failed"
|
||||
fi
|
||||
|
||||
# regenerate the binary package cache
|
||||
"$gp_back" recache || die "failed to update cache after relocation"
|
||||
rm "$gp_back"
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
if use ghcbootstrap; then
|
||||
ewarn "You requested ghc bootstrapping, this is usually only used"
|
||||
ewarn "by Gentoo developers to make binary .tbz2 packages for"
|
||||
ewarn "use with the ghc ebuild's USE=\"binary\" feature."
|
||||
use binary && \
|
||||
die "USE=\"ghcbootstrap binary\" is not a valid combination."
|
||||
[[ -z $(type -P ghc) ]] && \
|
||||
die "Could not find a ghc to bootstrap with."
|
||||
else
|
||||
if ! yet_binary; then
|
||||
eerror "Please try emerging with USE=ghcbootstrap and report build"
|
||||
eerror "sucess or failure to the haskell team (haskell@gentoo.org)"
|
||||
die "No binary available for '${ARCH}' arch yet, USE=ghcbootstrap"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
# Create the ${S} dir if we're using the binary version
|
||||
use binary && mkdir "${S}"
|
||||
|
||||
# the Solaris and Darwin binaries from ghc (maeder) need to be
|
||||
# unpacked separately, so prevent them from being unpacked
|
||||
local ONLYA=${A}
|
||||
case ${CHOST} in
|
||||
*-darwin* | *-solaris*) ONLYA=${P}-src.tar.bz2 ;;
|
||||
esac
|
||||
unpack ${ONLYA}
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
ghc_setup_cflags
|
||||
|
||||
if ! use ghcbootstrap && [[ ${CHOST} != *-darwin* && ${CHOST} != *-solaris* ]]; then
|
||||
# Modify the wrapper script from the binary tarball to use GHC_FLAGS.
|
||||
# See bug #313635.
|
||||
sed -i -e "s|\"\$topdir\"|\"\$topdir\" ${GHC_FLAGS}|" \
|
||||
"${WORKDIR}/usr/bin/ghc-${PV}"
|
||||
|
||||
# allow hardened users use vanilla binary to bootstrap ghc
|
||||
# ghci uses mmap with rwx protection at it implements dynamic
|
||||
# linking on it's own (bug #299709)
|
||||
pax-mark -m "${WORKDIR}/usr/$(get_libdir)/${P}/ghc"
|
||||
fi
|
||||
|
||||
if use binary; then
|
||||
if use prefix; then
|
||||
relocate_ghc "${EPREFIX}"
|
||||
fi
|
||||
|
||||
# Move unpacked files to the expected place
|
||||
mv "${WORKDIR}/usr" "${S}"
|
||||
else
|
||||
if ! use ghcbootstrap; then
|
||||
case ${CHOST} in
|
||||
*-darwin* | *-solaris*)
|
||||
# UPDATE ME for ghc-7
|
||||
mkdir "${WORKDIR}"/ghc-bin-installer || die
|
||||
pushd "${WORKDIR}"/ghc-bin-installer > /dev/null || die
|
||||
use sparc-solaris && unpack ghc-6.10.4-sparc-sun-solaris2.tar.bz2
|
||||
use x86-solaris && unpack ghc-7.0.3-i386-unknown-solaris2.tar.bz2
|
||||
use x86-macos && unpack ghc-7.4.1-i386-apple-darwin.tar.bz2
|
||||
use x64-macos && unpack ghc-7.4.1-x86_64-apple-darwin.tar.bz2
|
||||
popd > /dev/null
|
||||
|
||||
pushd "${WORKDIR}"/ghc-bin-installer/ghc-[67].?*.? > /dev/null || die
|
||||
# fix the binaries so they run, on Solaris we need an
|
||||
# LD_LIBRARY_PATH which has our prefix libdirs, on
|
||||
# Darwin we need to replace the frameworks with our libs
|
||||
# from the prefix fix before installation, because some
|
||||
# of the tools are actually used during configure/make
|
||||
if [[ ${CHOST} == *-solaris* ]] ; then
|
||||
export LD_LIBRARY_PATH="${EPREFIX}/$(get_libdir):${EPREFIX}/usr/$(get_libdir):${LD_LIBRARY_PATH}"
|
||||
elif [[ ${CHOST} == *-darwin* ]] ; then
|
||||
local readline_framework=GNUreadline.framework/GNUreadline
|
||||
local gmp_framework=/opt/local/lib/libgmp.10.dylib
|
||||
local ncurses_file=/opt/local/lib/libncurses.5.dylib
|
||||
for binary in $(scanmacho -BRE MH_EXECUTE -F '%F' .) ; do
|
||||
install_name_tool -change \
|
||||
${readline_framework} \
|
||||
"${EPREFIX}"/lib/libreadline.dylib \
|
||||
${binary} || die
|
||||
install_name_tool -change \
|
||||
${gmp_framework} \
|
||||
"${EPREFIX}"/usr/lib/libgmp.dylib \
|
||||
${binary} || die
|
||||
install_name_tool -change \
|
||||
${ncurses_file} \
|
||||
"${EPREFIX}"/usr/lib/libncurses.dylib \
|
||||
${binary} || die
|
||||
done
|
||||
# we don't do frameworks!
|
||||
sed -i \
|
||||
-e 's/\(frameworks = \)\["GMP"\]/\1[]/g' \
|
||||
-e 's/\(extraLibraries = \)\["m"\]/\1["m","gmp"]/g' \
|
||||
rts/package.conf.in || die
|
||||
fi
|
||||
|
||||
# it is autoconf, but we really don't want to give it too
|
||||
# much arguments, in fact we do the make in-place anyway
|
||||
./configure --prefix="${WORKDIR}"/usr || die
|
||||
make install || die
|
||||
popd > /dev/null
|
||||
;;
|
||||
*)
|
||||
relocate_ghc "${WORKDIR}"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
sed -i -e "s|\"\$topdir\"|\"\$topdir\" ${GHC_FLAGS}|" \
|
||||
"${S}/ghc/ghc.wrapper"
|
||||
|
||||
cd "${S}" # otherwise epatch will break
|
||||
|
||||
epatch "${FILESDIR}/ghc-7.0.4-CHOST-prefix.patch"
|
||||
|
||||
# epatch "${FILESDIR}"/${PN}-7.0.4-darwin8.patch
|
||||
# failed to apply. FIXME
|
||||
#epatch "${FILESDIR}"/${PN}-6.12.3-mach-o-relocation-limit.patch
|
||||
|
||||
# epatch "${FILESDIR}"/${PN}-7.4-rc2-macos-prefix-respect-gcc.patch
|
||||
# epatch "${FILESDIR}"/${PN}-7.2.1-freebsd-CHOST.patch
|
||||
|
||||
we_want_libffi_workaround() {
|
||||
use ghcmakebinary && return 1
|
||||
|
||||
# pick only registerised arches
|
||||
# http://bugs.gentoo.org/463814
|
||||
use amd64 && return 0
|
||||
use x86 && return 0
|
||||
return 1
|
||||
}
|
||||
# one mode external depend with unstable ABI be careful to stash it
|
||||
# avoid external libffi runtime when we build binaries
|
||||
we_want_libffi_workaround && epatch "${FILESDIR}"/${PN}-7.5.20120505-system-libffi.patch
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-7.4.1-ticket-7339-fix-unaligned-unreg.patch
|
||||
epatch "${FILESDIR}"/${PN}-7.6.2-integer-simple-div-mod.patch
|
||||
|
||||
if use prefix; then
|
||||
# Make configure find docbook-xsl-stylesheets from Prefix
|
||||
sed -e '/^FP_DIR_DOCBOOK_XSL/s:\[.*\]:['"${EPREFIX}"'/usr/share/sgml/docbook/xsl-stylesheets/]:' \
|
||||
-i utils/haddock/doc/configure.ac || die
|
||||
fi
|
||||
|
||||
# as we have changed the build system
|
||||
eautoreconf
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
GHC_PV=${PV} # overrided in live ebuilds
|
||||
|
||||
if ! use binary; then
|
||||
# initialize build.mk
|
||||
echo '# Gentoo changes' > mk/build.mk
|
||||
|
||||
# Put docs into the right place, ie /usr/share/doc/ghc-${PV}
|
||||
echo "docdir = ${EPREFIX}/usr/share/doc/${P}" >> mk/build.mk
|
||||
echo "htmldir = ${EPREFIX}/usr/share/doc/${P}" >> mk/build.mk
|
||||
|
||||
# We also need to use the GHC_FLAGS flags when building ghc itself
|
||||
echo "SRC_HC_OPTS+=${GHC_FLAGS}" >> mk/build.mk
|
||||
echo "SRC_CC_OPTS+=${CFLAGS}" >> mk/build.mk
|
||||
echo "SRC_LD_OPTS+=${FILTERED_LDFLAGS}" >> mk/build.mk
|
||||
|
||||
# We can't depend on haddock except when bootstrapping when we
|
||||
# must build docs and include them into the binary .tbz2 package
|
||||
# app-text/dblatex is not in portage, can not build PDF or PS
|
||||
if use ghcbootstrap && use doc; then
|
||||
echo "BUILD_DOCBOOK_PDF = NO" >> mk/build.mk
|
||||
echo "BUILD_DOCBOOK_PS = NO" >> mk/build.mk
|
||||
echo "BUILD_DOCBOOK_HTML = YES" >> mk/build.mk
|
||||
if is_crosscompile; then
|
||||
# TODO this is a workaround for this build error with the live ebuild with haddock:
|
||||
# make[1]: *** No rule to make target `compiler/stage2/build/Module.hi',
|
||||
# needed by `utils/haddock/dist/build/Main.o'. Stop.
|
||||
echo "HADDOCK_DOCS = NO" >> mk/build.mk
|
||||
else
|
||||
echo "HADDOCK_DOCS = YES" >> mk/build.mk
|
||||
fi
|
||||
else
|
||||
echo "BUILD_DOCBOOK_PDF = NO" >> mk/build.mk
|
||||
echo "BUILD_DOCBOOK_PS = NO" >> mk/build.mk
|
||||
echo "BUILD_DOCBOOK_HTML = NO" >> mk/build.mk
|
||||
echo "HADDOCK_DOCS = NO" >> mk/build.mk
|
||||
fi
|
||||
|
||||
# circumvent a very strange bug that seems related with ghc producing
|
||||
# too much output while being filtered through tee (e.g. due to
|
||||
# portage logging) reported as bug #111183
|
||||
echo "SRC_HC_OPTS+=-w" >> mk/build.mk
|
||||
|
||||
# some arches do not support ELF parsing for ghci module loading
|
||||
# PPC64: never worked (should be easy to implement)
|
||||
# alpha: never worked
|
||||
# arm: http://hackage.haskell.org/trac/ghc/changeset/27302c9094909e04eb73f200d52d5e9370c34a8a
|
||||
if use alpha || use ppc64; then
|
||||
echo "GhcWithInterpreter=NO" >> mk/build.mk
|
||||
fi
|
||||
|
||||
# we have to tell it to build unregisterised on some arches
|
||||
# ppc64: EvilMangler currently does not understand some TOCs
|
||||
# ia64: EvilMangler bitrot
|
||||
# set GHC_IS_UNREG if you like to build slow unregisterised
|
||||
# host compiler. Handy if you plan to user resulting
|
||||
# host compiler as a booting compiler for crosscompiler
|
||||
# which can work only in unregisterised mode.
|
||||
if use alpha || use ia64 || use ppc64 || [[ -n ${GHC_IS_UNREG} ]]; then
|
||||
echo "GhcUnregisterised=YES" >> mk/build.mk
|
||||
echo "GhcWithNativeCodeGen=NO" >> mk/build.mk
|
||||
echo "SplitObjs=NO" >> mk/build.mk
|
||||
echo "GhcRTSWays := debug" >> mk/build.mk
|
||||
echo "GhcNotThreaded=YES" >> mk/build.mk
|
||||
fi
|
||||
|
||||
# arm: no EvilMangler support, no NCG support
|
||||
if use arm; then
|
||||
echo "GhcUnregisterised=YES" >> mk/build.mk
|
||||
echo "GhcWithNativeCodeGen=NO" >> mk/build.mk
|
||||
fi
|
||||
|
||||
# Have "ld -r --relax" problem with split-objs on sparc:
|
||||
if use sparc; then
|
||||
echo "SplitObjs=NO" >> mk/build.mk
|
||||
fi
|
||||
|
||||
if ! use llvm; then
|
||||
echo "GhcWithLlvmCodeGen=NO" >> mk/build.mk
|
||||
fi
|
||||
|
||||
# allows overriding build flavours for libraries:
|
||||
# v - vanilla (static libs)
|
||||
# p - profiled
|
||||
# dyn - shared libraries
|
||||
# example: GHC_LIBRARY_WAYS="v dyn"
|
||||
if [[ -n ${GHC_LIBRARY_WAYS} ]]; then
|
||||
echo "GhcLibWays=${GHC_LIBRARY_WAYS}" >> mk/build.mk
|
||||
fi
|
||||
|
||||
# Get ghc from the unpacked binary .tbz2
|
||||
# except when bootstrapping we just pick ghc up off the path
|
||||
if ! use ghcbootstrap; then
|
||||
export PATH="${WORKDIR}/usr/bin:${PATH}"
|
||||
fi
|
||||
|
||||
if use gmp; then
|
||||
echo "INTEGER_LIBRARY=integer-gmp" >> mk/build.mk
|
||||
else
|
||||
echo "INTEGER_LIBRARY=integer-simple" >> mk/build.mk
|
||||
fi
|
||||
|
||||
# Since GHC 6.12.2 the GHC wrappers store which GCC version GHC was
|
||||
# compiled with, by saving the path to it. The purpose is to make sure
|
||||
# that GHC will use the very same gcc version when it compiles haskell
|
||||
# sources, as the extra-gcc-opts files contains extra gcc options which
|
||||
# match only this GCC version.
|
||||
# However, this is not required in Gentoo, as only modern GCCs are used
|
||||
# (>4).
|
||||
# Instead, this causes trouble when for example ccache is used during
|
||||
# compilation, but we don't want the wrappers to point to ccache.
|
||||
# Due to the above, we simply set GCC to be "gcc". When compiling ghc it
|
||||
# might point to ccache, once installed it will point to the users
|
||||
# regular gcc.
|
||||
|
||||
local econf_args=()
|
||||
|
||||
is_crosscompile || econf_args+=--with-gcc=${CHOST}-gcc
|
||||
|
||||
econf ${econf_args[@]} --enable-bootstrap-with-devel-snapshot \
|
||||
|| die "econf failed"
|
||||
|
||||
[[ ${PV} == *9999* ]] && GHC_PV="$(grep 'S\[\"PACKAGE_VERSION\"\]' config.status | sed -e 's@^.*=\"\(.*\)\"@\1@')"
|
||||
GHC_TPF="$(grep 'S\[\"TargetPlatformFull\"\]' config.status | sed -e 's@^.*=\"\(.*\)\"@\1@')"
|
||||
fi # ! use binary
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if ! use binary; then
|
||||
#limit_jobs() {
|
||||
# if [[ -n ${I_DEMAND_MY_CORES_LOADED} ]]; then
|
||||
# ewarn "You have requested parallel build which is known to break."
|
||||
# ewarn "Please report all breakages upstream."
|
||||
# return
|
||||
# fi
|
||||
# echo $@
|
||||
#}
|
||||
# ghc massively parallel make: #409631, #409873
|
||||
# but let users screw it by setting 'I_DEMAND_MY_CORES_LOADED'
|
||||
#emake $(limit_jobs -j1) all
|
||||
# ^ above seems to be fixed.
|
||||
emake all V=1
|
||||
|
||||
if is_crosscompile; then
|
||||
# runghc does not work for a stage1 compiler, we can build it anyway
|
||||
# so it will print the error message: not built for interactive use
|
||||
pushd "${S}/utils/runghc" || die "Could not cd to utils/runghc"
|
||||
if [ ! -f Setup.hs ]; then
|
||||
echo 'import Distribution.Simple; main = defaultMainWithHooks defaultUserHooks' \
|
||||
> Setup.hs || die "failed to create default Setup.hs"
|
||||
fi
|
||||
ghc -o setup --make Setup.hs || die "setup build failed"
|
||||
./setup configure || die "runghc configure failed"
|
||||
sed -e "s@VERSION@\"${GHC_PV}\"@" -i runghc.hs
|
||||
./setup build || die "runghc build failed"
|
||||
popd
|
||||
fi
|
||||
fi # ! use binary
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use binary; then
|
||||
use prefix && mkdir -p "${ED}"
|
||||
mv "${S}/usr" "${ED}"
|
||||
|
||||
# Remove the docs if not requested
|
||||
if ! use doc; then
|
||||
rm -rf "${ED}/usr/share/doc/${P}/*/" \
|
||||
"${ED}/usr/share/doc/${P}/*.html" \
|
||||
|| die "could not remove docs (P vs PF revision mismatch?)"
|
||||
fi
|
||||
else
|
||||
local insttarget="install"
|
||||
|
||||
# We only built docs if we were bootstrapping, otherwise
|
||||
# we copy them out of the unpacked binary .tbz2
|
||||
if use doc && ! use ghcbootstrap; then
|
||||
mkdir -p "${ED}/usr/share/doc"
|
||||
mv "${WORKDIR}/usr/share/doc/${P}" "${ED}/usr/share/doc" \
|
||||
|| die "failed to copy docs"
|
||||
else
|
||||
dodoc "${S}/README" "${S}/ANNOUNCE" "${S}/LICENSE" "${S}/VERSION"
|
||||
fi
|
||||
|
||||
emake -j1 ${insttarget} \
|
||||
DESTDIR="${D}" \
|
||||
|| die "make ${insttarget} failed"
|
||||
|
||||
# remove wrapper and linker
|
||||
rm -f "${ED}"/usr/bin/haddock*
|
||||
|
||||
# ghci uses mmap with rwx protection at it implements dynamic
|
||||
# linking on it's own (bug #299709)
|
||||
# so mark resulting binary
|
||||
pax-mark -m "${ED}/usr/$(get_libdir)/${P}/ghc"
|
||||
|
||||
if [[ ! -f "${S}/VERSION" ]]; then
|
||||
echo "${GHC_PV}" > "${S}/VERSION" \
|
||||
|| die "Could not create file ${S}/VERSION"
|
||||
fi
|
||||
dobashcomp "${FILESDIR}/ghc-bash-completion"
|
||||
|
||||
fi
|
||||
|
||||
# path to the package.cache
|
||||
local package_confdir="${ED}/usr/$(get_libdir)/${PN}-${GHC_PV}/package.conf.d"
|
||||
PKGCACHE="${package_confdir}"/package.cache
|
||||
# copy the package.conf.d, including timestamp, save it so we can help
|
||||
# users that have a broken package.conf.d
|
||||
cp -pR "${package_confdir}"{,.initial} || die "failed to backup intial package.conf.d"
|
||||
|
||||
# copy the package.conf, including timestamp, save it so we later can put it
|
||||
# back before uninstalling, or when upgrading.
|
||||
cp -p "${PKGCACHE}"{,.shipped} \
|
||||
|| die "failed to copy package.conf.d/package.cache"
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# have we got an earlier version of ghc installed?
|
||||
if has_version "<${CATEGORY}/${PF}"; then
|
||||
haskell_updater_warn="1"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ghc-reregister
|
||||
|
||||
# path to the package.cache
|
||||
PKGCACHE="${EROOT}/usr/$(get_libdir)/${P}/package.conf.d/package.cache"
|
||||
|
||||
# give the cache a new timestamp, it must be as recent as
|
||||
# the package.conf.d directory.
|
||||
touch "${PKGCACHE}"
|
||||
|
||||
if [[ "${haskell_updater_warn}" == "1" ]]; then
|
||||
ewarn
|
||||
ewarn "\e[1;31m************************************************************************\e[0m"
|
||||
ewarn
|
||||
ewarn "You have just upgraded from an older version of GHC."
|
||||
ewarn "You may have to run"
|
||||
ewarn " 'haskell-updater --upgrade'"
|
||||
ewarn "to rebuild all ghc-based Haskell libraries."
|
||||
ewarn
|
||||
ewarn "\e[1;31m************************************************************************\e[0m"
|
||||
ewarn
|
||||
fi
|
||||
if is_crosscompile; then
|
||||
ewarn
|
||||
ewarn "\e[1;31m************************************************************************\e[0m"
|
||||
ewarn
|
||||
ewarn "GHC built as a cross compiler. The interpreter, ghci and runghc, do"
|
||||
ewarn "not work for a cross compiler."
|
||||
ewarn "For the ghci error: \"<command line>: not built for interactive use\" see:"
|
||||
ewarn "http://www.haskell.org/haskellwiki/GHC:FAQ#When_I_try_to_start_ghci_.28probably_one_I_compiled_myself.29_it_says_ghc-5.02:_not_built_for_interactive_use"
|
||||
ewarn
|
||||
ewarn "\e[1;31m************************************************************************\e[0m"
|
||||
ewarn
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
# Be very careful here... Call order when upgrading is (according to PMS):
|
||||
# * src_install for new package
|
||||
# * pkg_preinst for new package
|
||||
# * pkg_postinst for new package
|
||||
# * pkg_prerm for the package being replaced
|
||||
# * pkg_postrm for the package being replaced
|
||||
# so you'll actually be touching the new packages files, not the one you
|
||||
# uninstall, due to that or installation directory ${P} will be the same for
|
||||
# both packages.
|
||||
|
||||
# Call order for reinstalling is (according to PMS):
|
||||
# * src_install
|
||||
# * pkg_preinst
|
||||
# * pkg_prerm for the package being replaced
|
||||
# * pkg_postrm for the package being replaced
|
||||
# * pkg_postinst
|
||||
|
||||
# Overwrite the modified package.cache with a copy of the
|
||||
# original one, so that it will be removed during uninstall.
|
||||
|
||||
PKGCACHE="${EROOT}/usr/$(get_libdir)/${P}/package.conf.d/package.cache"
|
||||
rm -rf "${PKGCACHE}"
|
||||
|
||||
cp -p "${PKGCACHE}"{.shipped,}
|
||||
}
|
@ -1 +1 @@
|
||||
DIST ispc-1.3.1.tar.gz 18936400 SHA256 4ac2547cd35acddc44ecfca11fb083052f8fa25e403fbe42f85d65a775d3aa64 SHA512 3d04f919fb09ef7ec523391d2ec5894ef3bbf5ac595d7ad280da8cf9fb70a00db268c5316b519d7844cfdeeb1a2d5f83bfc91313166c9f37b2d419004c7923d8 WHIRLPOOL ff17d5641c293211821a6c45db2dc2c59bb778c2770162dcb9c9ad989d48fe6f3c26140c94aa759647403b87eef280b59f896477645cb1332573ffcc3cb9f53e
|
||||
DIST ispc-1.4.1.tar.gz 18940564 SHA256 fd09161d52635095b33fd947040110a3bfa1b0e2e4343246c469decdc9390213 SHA512 6cf1d8251df79de3de76f961886534b5528c06c16f893dd8d95d33a7ab2cf1940d5d7e1ad21d99baf6c0690e6c9bbcf4de129ac342bb36aeb71e926aa2193500 WHIRLPOOL effaf56d55233e75564d8fc2d57aa21cddbe998599d6cf2c664a639b28803205abc1a9e5f878e0e0f0d32ccca45186117c3dac12b5b6fd1fe784191f477c844d
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue