parent
a6fd6d373c
commit
0ab5ee8f3a
@ -1,3 +1 @@
|
||||
DIST rpm2targz-9.0.0.3g.tar.lzma 4299 SHA256 f1ad994f203afac966dd45edff66a9bd18de28a0d512810e21f4809b6e51e071 SHA512 d5efb2b98e913256eb605b1ec93845bb2657be5ee45513be756979dd00da843816bfd83083dbe66ab359cd8dbf1df238748f8d7ad1bfbf305ee206d61d21d12a WHIRLPOOL f099540da001571429de33ec861cdff2eb9048a159014a3df433f2e02563d143eb0d2a10d5aff919bb431d006039a0bf8ab74ba008fd4382aa7f027ea1ab59c1
|
||||
DIST rpm2targz-9.0.0.4g.tar.lzma 4749 SHA256 36de9e468663d16c6b2ae0c5e47c180389235ddc2888024f6a93b4ebef651a2d SHA512 5c818793f5ea572b0b0fae8830be19e4182b26742e39475d834b4c22537a3b5b9482bf95c6360bc9a6e605590ef65915bddca785a58f9c80aa4411b8032a1455 WHIRLPOOL 4bcaf4762b5a52a2c2b59b0befca06ec50e2eb69c2e99ff408636e20531dba970d043da28cbc5f71540512f2ee16b46acf63c9fd18bcb1665e8bfe84a9cab20c
|
||||
DIST rpm2targz-9.0.0.5g.tar.xz 5740 SHA256 4327b7dd30bf55e473198444b920029624948e24af575edff9ce466dcd4075e0 SHA512 a595d23581bd396a3a00b6eae4cf6edca1c65b52510a02c7b162afc3d89f45026663a271279bb519741b4a35a0ee653fbfb124c5a7d6d921b466dc9236cbf549 WHIRLPOOL 24ef16afdd2c6fc1c803d849da9140bf53c10ecc041a1b3363459d233f5862a97f6199186932eaeb43e8100e4b2c015d3c0253a2e0d993b246f9fd0f692ab45b
|
||||
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/rpm2targz/rpm2targz-9.0.0.3g.ebuild,v 1.10 2012/09/30 11:17:14 ulm Exp $
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Convert a .rpm file to a .tar.gz archive"
|
||||
HOMEPAGE="http://www.slackware.com/config/packages.php"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.lzma"
|
||||
|
||||
LICENSE="BSD-1"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="userland_GNU"
|
||||
|
||||
# NOTE: rpm2targz autodetects rpm2cpio at runtime, and uses it if available,
|
||||
# so we don't explicitly set it as a dependency.
|
||||
RDEPEND="app-arch/cpio"
|
||||
DEPEND="app-arch/xz-utils"
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" || die
|
||||
dodoc *.README*
|
||||
}
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-arch/rpm2targz/rpm2targz-9.0.0.4g.ebuild,v 1.10 2012/09/30 11:17:14 ulm Exp $
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Convert a .rpm file to a .tar.gz archive"
|
||||
HOMEPAGE="http://www.slackware.com/config/packages.php"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.lzma"
|
||||
|
||||
LICENSE="BSD-1"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="app-arch/cpio"
|
||||
DEPEND="app-arch/xz-utils"
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" || die
|
||||
dodoc *.README*
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST cdrtools-3.00.tar.bz2 1978563 SHA256 7f9cb64820055573b880f77b2f16662a512518336ba95ab49228a1617973423d SHA512 93887afd6c244814b7f6a623f0ac5b551934626163065a6f32aefe82aa7438450fd7a42737ef3cdaad3f18841c066d25e72e37891531dd0be5be328692712cec WHIRLPOOL a02750131e4ec55df10387a01dab3881afee669cd8b8ea65eaed4fdd82e6bd11040c6d79fc64ccc9377e787f5903ec92ea3ae81db1945554b65a8636737cc931
|
||||
DIST cdrtools-3.01a13.tar.bz2 2053012 SHA256 43d0a271f398851b1692b0a3f481c7238649090b4497752024a6d090816e09f5 SHA512 f5a33375be0002f6ec8d5fc77af8a1e5de65b67218139cd1064dbf2c7a8b3d0d0012c5e062e9976581b4684946a08ee0d4d980e83a38eadb8992003b7f343892 WHIRLPOOL 5ea0f786d839c7050b1820252ca8f638c65d322e35a04765dabb91c0a395de879f2fab1f60e0c7a1568eb5b8a63b7b890525333f17448fa428ad0f5f7bcc7e40
|
||||
DIST cdrtools-3.01a15.tar.bz2 2058342 SHA256 3f07db935c489d30a07429ffa7bf3dd2ecf1853013979117492b7169ae01fa96 SHA512 a4bcc999ebfc2bbb95cf25881904f70e746cc21bcacba8afbfe9a35095d942dc71ad2d4757167c5ba09eff095bb64d4f88ae542e2b585e362b70b30e19e4c5bd WHIRLPOOL 324f68477c7e13109fb522f18bbdf93135ada21c46fb51f4abf474edcd65564b1592d5e6910204b1a3cbb024ad48d8a91b11242dcffc9312e017ca926eae0cff
|
||||
|
@ -1,145 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdrtools/cdrtools-3.01_alpha13.ebuild,v 1.1 2013/03/01 20:04:37 billie Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit multilib eutils toolchain-funcs flag-o-matic
|
||||
|
||||
MY_P="${P/_alpha/a}"
|
||||
|
||||
DESCRIPTION="A set of tools for CD/DVD reading and recording, including cdrecord"
|
||||
HOMEPAGE="http://cdrecord.berlios.de/private/cdrecord.html"
|
||||
SRC_URI="ftp://ftp.berlios.de/pub/cdrecord/$([[ -z ${PV/*_alpha*} ]] && echo 'alpha/')/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1 CDDL-Schily"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="acl nls unicode"
|
||||
|
||||
RDEPEND="acl? ( virtual/acl )
|
||||
nls? ( virtual/libintl )
|
||||
!app-cdr/cdrkit"
|
||||
DEPEND="${RDEPEND}
|
||||
nls? ( >=sys-devel/gettext-0.18.1.1 )"
|
||||
|
||||
S=${WORKDIR}/${P/_alpha[0-9][0-9]}
|
||||
|
||||
src_prepare() {
|
||||
# Remove profiled make files.
|
||||
rm -f $(find . -name '*_p.mk') || die "rm profiled"
|
||||
|
||||
# Adjusting hardcoded paths.
|
||||
sed -i -e 's:opt/schily:usr:' \
|
||||
$(find ./ -type f -name \*.[0-9ch] -exec grep -l 'opt/schily' '{}' '+') \
|
||||
|| die "sed opt/schily"
|
||||
|
||||
sed -i -e "s:\(^INSDIR=\t\tshare/doc/\):\1${PF}/:" \
|
||||
$(find ./ -type f -exec grep -l 'INSDIR.\+doc' '{}' '+') \
|
||||
|| die "sed doc"
|
||||
|
||||
# Respect libdir.
|
||||
sed -i -e "s:\(^INSDIR=\t\t\)lib:\1$(get_libdir):" \
|
||||
$(find ./ -type f -exec grep -l '^INSDIR.\+lib\(/siconv\)\?$' '{}' '+') \
|
||||
|| die "sed multilib"
|
||||
|
||||
# Do not install static libraries.
|
||||
sed -i -e 's:include\t\t.*rules.lib::' \
|
||||
$(find ./ -type f -exec grep -l '^include.\+rules\.lib' '{}' '+') \
|
||||
|| die "sed rules"
|
||||
|
||||
# Respect CC/CXX variables.
|
||||
cd "${S}"/RULES
|
||||
local tcCC=$(tc-getCC)
|
||||
local tcCXX=$(tc-getCXX)
|
||||
sed -i -e "/cc-config.sh/s|\$(C_ARCH:%64=%) \$(CCOM_DEF)|${tcCC} ${tcCC}|" \
|
||||
rules1.top || die "sed rules1.top"
|
||||
sed -i -e "/^\(CC\|DYNLD\|LDCC\|MKDEP\)/s|gcc|${tcCC}|" \
|
||||
-e "/^\(CC++\|DYNLDC++\|LDCC++\|MKC++DEP\)/s|g++|${tcCXX}|" \
|
||||
-e "/COPTOPT=/s/-O//" \
|
||||
-e 's/$(GCCOPTOPT)//' \
|
||||
cc-gcc.rul || die "sed cc-gcc.rul"
|
||||
sed -i -e "s|^#CONFFLAGS +=\t-cc=\$(XCC_COM)$|CONFFLAGS +=\t-cc=${tcCC}|g" \
|
||||
rules.cnf || die "sed rules.cnf"
|
||||
|
||||
# Create additional symlinks needed for some archs (armv4l already created)
|
||||
local t
|
||||
for t in armv4tl armv5l armv5tel armv6l armv7l ppc64 s390x; do
|
||||
ln -s i586-linux-cc.rul ${t}-linux-cc.rul || die
|
||||
ln -s i586-linux-gcc.rul ${t}-linux-gcc.rul || die
|
||||
done
|
||||
|
||||
# Schily make setup.
|
||||
cd "${S}"/DEFAULTS
|
||||
local os="linux"
|
||||
[[ ${CHOST} == *-darwin* ]] && os="mac-os10"
|
||||
|
||||
sed -i \
|
||||
-e "s:/opt/schily:/usr:g" \
|
||||
-e "s:/usr/src/linux/include::g" \
|
||||
-e "s:bin:root:g" \
|
||||
Defaults.${os} || die "sed Schily make setup"
|
||||
}
|
||||
|
||||
# skip obsolete configure script
|
||||
src_configure() { : ; }
|
||||
|
||||
src_compile() {
|
||||
if use unicode; then
|
||||
local flags="$(test-flags -finput-charset=ISO-8859-1 -fexec-charset=UTF-8)"
|
||||
if [[ -n ${flags} ]]; then
|
||||
append-flags ${flags}
|
||||
else
|
||||
ewarn "Your compiler does not support the options required to build"
|
||||
ewarn "cdrtools with unicode in USE. unicode flag will be ignored."
|
||||
fi
|
||||
fi
|
||||
|
||||
if ! use acl; then
|
||||
CFLAGS="${CFLAGS} -DNO_ACL"
|
||||
fi
|
||||
|
||||
# LIB_ACL_TEST removed to support x86-fbsd
|
||||
# If not built with -j1, "sometimes" cdda2wav will not be built.
|
||||
emake -j1 CC="$(tc-getCC)" CPPOPTX="${CPPFLAGS}" COPTX="${CFLAGS}" \
|
||||
LDOPTX="${LDFLAGS}" \
|
||||
INS_BASE="${ED}/usr" INS_RBASE="${ED}" LINKMODE="dynamic" \
|
||||
RUNPATH="" GMAKE_NOWARN="true"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# If not built with -j1, "sometimes" manpages are not installed.
|
||||
emake -j1 CC="$(tc-getCC)" CPPOPTX="${CPPFLAGS}" COPTX="${CFLAGS}" \
|
||||
LDOPTX="${LDFLAGS}" \
|
||||
INS_BASE="${ED}/usr" INS_RBASE="${ED}" LINKMODE="dynamic" \
|
||||
RUNPATH="" GMAKE_NOWARN="true" install
|
||||
|
||||
# These symlinks are for compat with cdrkit.
|
||||
dosym schily /usr/include/scsilib
|
||||
dosym ../scg /usr/include/schily/scg
|
||||
|
||||
dodoc ABOUT Changelog* CONTRIBUTING PORTING README.linux-shm READMEs/README.linux
|
||||
|
||||
cd "${S}"/cdda2wav
|
||||
docinto cdda2wav
|
||||
dodoc Changelog FAQ Frontends HOWTOUSE NEEDED README THANKS TODO
|
||||
|
||||
cd "${S}"/mkisofs
|
||||
docinto mkisofs
|
||||
dodoc ChangeLog* TODO
|
||||
|
||||
# Remove man pages related to the build system
|
||||
rm -rvf "${ED}"/usr/share/man/man5
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
einfo
|
||||
einfo "Darwin/OS X use the following device names:"
|
||||
einfo
|
||||
einfo "CD burners: (probably) ./cdrecord dev=IOCompactDiscServices"
|
||||
einfo
|
||||
einfo "DVD burners: (probably) ./cdrecord dev=IODVDServices"
|
||||
einfo
|
||||
fi
|
||||
}
|
@ -1 +1 @@
|
||||
DIST QtBitcoinTrader-1.07.02.tar.gz 174695 SHA256 7683326a0e34a67b6c6300a3a17b96a3cd644d9bd4c1eb563b5ffa4fcf5d2d2b SHA512 3816ca4409e27d6f599fbd86c2714a17d96b9b968a7bd4f8296571acf161ac05dff6bcbc2ddee752b7c1862f501dd1d55302ccdabe64c32e3d0fbf9833d30258 WHIRLPOOL 2f31ecdbe564053f5f71e6743f3e3ce4a757b9aefb32e10a56ff16cb6fded3f73ab3f7970b9365345cd40c8745f5cbb459b59e1f4441fdb12321d1b8d44d14d1
|
||||
DIST QtBitcoinTrader-1.07.05.tar.gz 175085 SHA256 fd9d7497ac2bada2086aae4a0a41ff45cc5d9a365da7150aad9ca40c44643922 SHA512 f49225d9c8aa84d0c56133db3c4c813ea5d50537187e26f00b1953906d7c439df9b5275b42cbea213a5086d4a40da8b10927bbded36b91320d53d93f9265806f WHIRLPOOL b0a6e8274b85e36322207d99f81010611d99714946e507e34e40540cd4d20850715a0c1a93cd83f3e68b3e3be05b7b20915cb863b75cee1b8292ad5fb73a36c7
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/QtBitcoinTrader/QtBitcoinTrader-1.07.02.ebuild,v 1.1 2013/07/04 07:17:34 alexxy Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/QtBitcoinTrader/QtBitcoinTrader-1.07.05.ebuild,v 1.1 2013/07/05 12:59:10 alexxy Exp $
|
||||
|
||||
EAPI=5
|
||||
|
@ -1,3 +1,3 @@
|
||||
DIST calibre-0.9.27.tar.xz 28696180 SHA256 8fd3779c8f878420333f6919f80493bf69d4b64bf427697ebc365497d2450d1f SHA512 91970f7c7349f661fc582eb43b89b81e77350b1cf2237c78e55c9f028a94b803b5d72bdac3ac11722c4fcf93077c1f8042567f8e380ad03423ba6c7f5dec7318 WHIRLPOOL 2313f94ee2417343693e1b48736434d1bf356795eb781abbaf68b858ba9fd57eb2a78e8afe04b9c992a1879a99eb9cf65527ccea7ed1a91d7554a62dcee7822b
|
||||
DIST calibre-0.9.36.tar.xz 29117576 SHA256 4e0522d61ff5578777603b70d911450badb1b41801dbfd6303eeea196006cbaa SHA512 1663f84bd4c066eacfc73b6411b030cd81b7d0bb84ca99508d59e1418f0c8678b53b04b08eb95412ac0f4ec478619ac35ef48035be652fdd511274f46463b809 WHIRLPOOL 794f541fc80d7badc840706780a128534cede993a70e58353e410b6698257361189bcb67d5bbb9b727985837801d033d7fbbac3a941dca019974788d971a7cc4
|
||||
DIST calibre-0.9.37.tar.xz 29203040 SHA256 b0c88ae578b192a4906f40c497c075fcf5edc887e1878a8800512abcdd255daf SHA512 1c53551fd92be411d06f37e373f365e6929910b359954b70283d94a1defed436d8ecffbcae05c48af2fa68cfc597f713a661284437b0641583f4cee519e17e1f WHIRLPOOL 787681aa85e42f929d077d3e72e9776e4a7b1fec02a949f3cc6648c047cb3b13ddd3ac3798c381008f26dd6bfeab3d03266035d5aa143531391fc5fcf99a9a33
|
||||
DIST calibre-0.9.38.tar.xz 29265476 SHA256 f19718735f923a9c88feb946874b32464fcff02e158431302481b9b87b522f23 SHA512 0f5ae91924a96b4cfeb3112de6afcaf5b512c0495a205e5896f439cb03b2a5067fe881a8f2cab4e0db407421b81f92099c0d744c494738c5135496c1d01d5e33 WHIRLPOOL 1a7582a6694baaaabb13597fd9cef2cceca1da26fa327bbb6244e5a9bb0c32646bcf45bcbab70561125ea61509f753944362b7e2dfdffde7378be07336d70461
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-0.9.36.ebuild,v 1.1 2013/06/21 23:33:57 zmedico Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-0.9.38.ebuild,v 1.1 2013/07/06 01:48:02 zmedico Exp $
|
||||
|
||||
EAPI=5
|
||||
|
@ -1,97 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/noweb/noweb-2.11b-r1.ebuild,v 1.7 2012/01/08 22:43:06 ulm Exp $
|
||||
|
||||
inherit eutils toolchain-funcs elisp-common
|
||||
|
||||
DESCRIPTION="a literate programming tool, lighter than web"
|
||||
HOMEPAGE="http://www.eecs.harvard.edu/~nr/noweb/"
|
||||
SRC_URI="http://www.eecs.harvard.edu/~nr/noweb/dist/${P}.tgz"
|
||||
|
||||
LICENSE="noweb emacs? ( GPL-2 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86"
|
||||
IUSE="emacs examples"
|
||||
|
||||
DEPEND="virtual/tex-base
|
||||
dev-lang/icon
|
||||
sys-apps/debianutils
|
||||
emacs? ( virtual/emacs )"
|
||||
RDEPEND=${DEPEND}
|
||||
|
||||
S=${WORKDIR}/${P}/src
|
||||
|
||||
SITEFILE=50${PN}-gentoo.el
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
# glibc2.10 compat (bug 270757)
|
||||
# mkdir d && cp -r c/* d/
|
||||
sed "s:getline (:getline_nonlibc (:" -i c/getline.{c,h} || die
|
||||
sed "s:getline(:getline_nonlibc(:" -i c/{notangle.c,getline.c,finduses.c} || die
|
||||
# diff -u d/ c/
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-2.9-security.patch
|
||||
# dont run texhash...
|
||||
sed -i -e "s/texhash/true/" Makefile
|
||||
# dont strip...
|
||||
sed -i -e "s/strip/true/" Makefile
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# noweb tries to use notangle and noweb; see bug #50429
|
||||
( cd c; emake ICONC="icont" CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LIBSRC="icon" ) || die
|
||||
export PATH="${PATH}:${T}"
|
||||
emake ICONC="icont" CC="$(tc-getCC)" BIN="${T}" LIB="${T}" LIBSRC="icon" install-code \
|
||||
|| die "make temporal install failed."
|
||||
|
||||
emake ICONC="icont" CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LIBSRC="icon" || die "make failed"
|
||||
# Set awk to awk not nawk
|
||||
./awkname awk
|
||||
|
||||
if use emacs; then
|
||||
elisp-compile elisp/noweb-mode.el || die "elisp-compile failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install () {
|
||||
# It needs the directories to exist first...
|
||||
dodir /usr/bin
|
||||
dodir /usr/libexec/${PN}
|
||||
dodir /usr/share/man
|
||||
dodir /usr/share/texmf/tex/inputs
|
||||
emake ICONC="icont" \
|
||||
BIN="${D}/usr/bin" \
|
||||
LIBSRC="icon" \
|
||||
LIBNAME="/usr/libexec/${PN}" \
|
||||
LIB="${D}/usr/libexec/${PN}" \
|
||||
MAN="${D}/usr/share/man" \
|
||||
TEXNAME="/usr/share/texmf/tex/inputs" \
|
||||
TEXINPUTS="${D}/usr/share/texmf/tex/inputs" \
|
||||
install || die "make install failed"
|
||||
cd "${WORKDIR}/${P}"
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins examples/*
|
||||
fi
|
||||
dodoc CHANGES README
|
||||
|
||||
if use emacs; then
|
||||
elisp-install ${PN} src/elisp/noweb-mode.{el,elc} \
|
||||
|| die "elisp-install failed"
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}" \
|
||||
|| die "elisp-site-file-install failed"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
einfo "Running texhash to complete installation.."
|
||||
texhash
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -1,101 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/noweb/noweb-2.11b-r2.ebuild,v 1.9 2012/03/25 15:41:46 armin76 Exp $
|
||||
|
||||
inherit eutils toolchain-funcs elisp-common
|
||||
|
||||
DESCRIPTION="a literate programming tool, lighter than web"
|
||||
HOMEPAGE="http://www.eecs.harvard.edu/~nr/noweb/"
|
||||
SRC_URI="http://www.eecs.harvard.edu/~nr/noweb/dist/${P}.tgz"
|
||||
|
||||
LICENSE="noweb emacs? ( GPL-2 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86"
|
||||
IUSE="emacs examples"
|
||||
|
||||
DEPEND="virtual/tex-base
|
||||
dev-lang/icon
|
||||
sys-apps/debianutils
|
||||
emacs? ( virtual/emacs )"
|
||||
RDEPEND=${DEPEND}
|
||||
|
||||
S=${WORKDIR}/${P}/src
|
||||
|
||||
SITEFILE=50${PN}-gentoo.el
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
# glibc2.10 compat (bug 270757)
|
||||
# mkdir d && cp -r c/* d/
|
||||
sed "s:getline (:getline_nonlibc (:" -i c/getline.{c,h} || die
|
||||
sed "s:getline(:getline_nonlibc(:" -i c/{notangle.c,getline.c,finduses.c} || die
|
||||
# diff -u d/ c/
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-2.9-security.patch
|
||||
# dont run texhash...
|
||||
sed -i -e "s/texhash/true/" Makefile
|
||||
# dont strip...
|
||||
sed -i -e "s/strip/true/" Makefile
|
||||
|
||||
cd "${WORKDIR}/${P}"
|
||||
epatch "${FILESDIR}"/${P}-recmake.patch
|
||||
epatch "${FILESDIR}"/${P}-ldflags.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# noweb tries to use notangle and noweb; see bug #50429
|
||||
( cd c; emake ICONC="icont" CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LIBSRC="icon" ) || die
|
||||
export PATH="${PATH}:${T}"
|
||||
emake ICONC="icont" CC="$(tc-getCC)" BIN="${T}" LIB="${T}" LIBSRC="icon" install-code \
|
||||
|| die "make temporal install failed."
|
||||
|
||||
emake ICONC="icont" CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LIBSRC="icon" || die "make failed"
|
||||
# Set awk to awk not nawk
|
||||
./awkname awk
|
||||
|
||||
if use emacs; then
|
||||
elisp-compile elisp/noweb-mode.el || die "elisp-compile failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install () {
|
||||
# It needs the directories to exist first...
|
||||
dodir /usr/bin
|
||||
dodir /usr/libexec/${PN}
|
||||
dodir /usr/share/man
|
||||
dodir /usr/share/texmf/tex/inputs
|
||||
emake ICONC="icont" \
|
||||
BIN="${D}/usr/bin" \
|
||||
LIBSRC="icon" \
|
||||
LIBNAME="/usr/libexec/${PN}" \
|
||||
LIB="${D}/usr/libexec/${PN}" \
|
||||
MAN="${D}/usr/share/man" \
|
||||
TEXNAME="/usr/share/texmf/tex/inputs" \
|
||||
TEXINPUTS="${D}/usr/share/texmf/tex/inputs" \
|
||||
install || die "make install failed"
|
||||
cd "${WORKDIR}/${P}"
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins examples/*
|
||||
fi
|
||||
dodoc CHANGES README
|
||||
|
||||
if use emacs; then
|
||||
elisp-install ${PN} src/elisp/noweb-mode.{el,elc} \
|
||||
|| die "elisp-install failed"
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}" \
|
||||
|| die "elisp-site-file-install failed"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
einfo "Running texhash to complete installation.."
|
||||
texhash
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-antlr/ant-antlr-1.9.1.ebuild,v 1.1 2013/07/05 11:05:19 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
ANT_TASK_DEPNAME=""
|
||||
|
||||
inherit ant-tasks
|
||||
|
||||
DESCRIPTION="Apache Ant's optional tasks for Antlr"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~x64-freebsd ~x86-freebsd \
|
||||
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris \
|
||||
~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
RDEPEND=">=dev-java/antlr-2.7.5-r3:0[java]"
|
||||
|
||||
src_install() {
|
||||
ant-tasks_src_install
|
||||
java-pkg_register-dependency antlr
|
||||
}
|
@ -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/dev-java/ant-apache-bcel/ant-apache-bcel-1.9.1.ebuild,v 1.1 2013/07/05 11:08:01 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
ANT_TASK_DEPNAME="bcel"
|
||||
|
||||
inherit ant-tasks
|
||||
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x64-freebsd ~x86-freebsd \
|
||||
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris \
|
||||
~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
DEPEND=">=dev-java/bcel-5.1-r3:0"
|
||||
RDEPEND="${DEPEND}"
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-apache-bsf/ant-apache-bsf-1.9.1.ebuild,v 1.1 2013/07/05 11:10:12 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
ANT_TASK_DEPNAME="bsf-2.3"
|
||||
|
||||
inherit ant-tasks
|
||||
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x64-freebsd ~x86-freebsd \
|
||||
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris \
|
||||
~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="python javascript tcl"
|
||||
|
||||
DEPEND=">=dev-java/bsf-2.4.0-r1:2.3[python?,javascript?,tcl?]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z "${REPLACING_VERSIONS}" ]]; then
|
||||
elog "Also, >=dev-java/bsf-2.4.0-r1 adds optional support for groovy,"
|
||||
elog "ruby and beanshell. See its postinst elog messages for instructions."
|
||||
fi
|
||||
}
|
@ -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/dev-java/ant-apache-log4j/ant-apache-log4j-1.9.1.ebuild,v 1.1 2013/07/05 11:12:19 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
ANT_TASK_DEPNAME="log4j"
|
||||
|
||||
inherit ant-tasks
|
||||
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x64-freebsd ~x86-freebsd \
|
||||
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris \
|
||||
~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
DEPEND=">=dev-java/log4j-1.2.13-r2:0"
|
||||
RDEPEND="${DEPEND}"
|
@ -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/dev-java/ant-apache-oro/ant-apache-oro-1.9.1.ebuild,v 1.1 2013/07/05 11:14:13 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
ANT_TASK_DEPNAME="jakarta-oro-2.0"
|
||||
|
||||
inherit ant-tasks
|
||||
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x64-freebsd ~x86-freebsd \
|
||||
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris \
|
||||
~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
DEPEND=">=dev-java/jakarta-oro-2.0.8-r2:2.0"
|
||||
RDEPEND="${DEPEND}"
|
@ -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/dev-java/ant-apache-regexp/ant-apache-regexp-1.9.1.ebuild,v 1.1 2013/07/05 11:15:54 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
ANT_TASK_DEPNAME="jakarta-regexp-1.4"
|
||||
|
||||
inherit ant-tasks
|
||||
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x64-freebsd ~x86-freebsd \
|
||||
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris \
|
||||
~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
DEPEND=">=dev-java/jakarta-regexp-1.4-r1:1.4"
|
||||
RDEPEND="${DEPEND}"
|
@ -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/dev-java/ant-apache-resolver/ant-apache-resolver-1.9.1.ebuild,v 1.1 2013/07/05 11:17:38 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
ANT_TASK_DEPNAME="xml-commons-resolver"
|
||||
|
||||
inherit ant-tasks
|
||||
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x64-freebsd ~x86-freebsd \
|
||||
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris \
|
||||
~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
DEPEND=">=dev-java/xml-commons-resolver-1.2:0"
|
||||
RDEPEND="${DEPEND}"
|
@ -0,0 +1,20 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-apache-xalan2/ant-apache-xalan2-1.9.1.ebuild,v 1.1 2013/07/05 11:19:57 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
ANT_TASK_DEPNAME="xalan"
|
||||
|
||||
inherit ant-tasks
|
||||
|
||||
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x64-freebsd ~x86-freebsd \
|
||||
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris \
|
||||
~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
DEPEND="dev-java/xalan"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
ant-tasks_src_unpack all
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-commons-logging/ant-commons-logging-1.9.1.ebuild,v 1.1 2013/07/05 12:10:49 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit ant-tasks
|
||||
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x64-freebsd ~x86-freebsd \
|
||||
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris \
|
||||
~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
DEPEND=">=dev-java/commons-logging-1.0.4-r2:0"
|
||||
RDEPEND="${DEPEND}"
|
@ -0,0 +1,14 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-commons-net/ant-commons-net-1.9.1.ebuild,v 1.1 2013/07/05 12:12:50 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit ant-tasks
|
||||
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x64-freebsd ~x86-freebsd \
|
||||
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris \
|
||||
~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
DEPEND=">=dev-java/commons-net-1.4.1-r1:0"
|
||||
RDEPEND="${DEPEND}"
|
@ -0,0 +1,113 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-core/ant-core-1.9.1.ebuild,v 1.1 2013/07/05 11:02:05 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
# Don't depend on itself.
|
||||
JAVA_ANT_DISABLE_ANT_CORE_DEP="true"
|
||||
|
||||
# Rewriting build.xml files for the testcases has no use at the moment.
|
||||
JAVA_PKG_BSFIX_ALL="no"
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2 prefix versionator
|
||||
|
||||
MY_P="apache-ant-${PV}"
|
||||
|
||||
DESCRIPTION="Java-based build tool similar to 'make' that uses XML configuration files."
|
||||
HOMEPAGE="http://ant.apache.org/"
|
||||
SRC_URI="mirror://apache/ant/source/${MY_P}-src.tar.bz2
|
||||
http://dev.gentoo.org/~tomwij/files/dist/ant-${PV}-gentoo.tar.bz2"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd \
|
||||
~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos \
|
||||
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
!dev-java/ant-tasks
|
||||
!dev-java/ant-optional"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_FORCE="yes" EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches/"
|
||||
eprefixify "${WORKDIR}/ant"
|
||||
|
||||
# use our split-ant build.xml.
|
||||
mv -f "${WORKDIR}/build.xml" . || die
|
||||
|
||||
# See bug #196080 for more details.
|
||||
java-ant_bsfix_one build.xml
|
||||
java-pkg-2_src_prepare
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export ANT_HOME=""
|
||||
|
||||
local bsyscp
|
||||
|
||||
# This ensures that when building ant with bootstrapped ant,
|
||||
# only the source is used for resolving references, and not
|
||||
# the classes in bootstrapped ant but jikes in kaffe has issues with this...
|
||||
if ! java-pkg_current-vm-matches kaffe; then
|
||||
bsyscp="-Dbuild.sysclasspath=ignore"
|
||||
fi
|
||||
|
||||
CLASSPATH="$(java-config -t)" ./build.sh ${bsyscp} jars internal_dist \
|
||||
$(use_doc javadocs) || die "build failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /usr/share/ant/lib
|
||||
|
||||
for jar in ant.jar ant-bootstrap.jar ant-launcher.jar ; do
|
||||
java-pkg_dojar build/lib/${jar}
|
||||
dosym /usr/share/${PN}/lib/${jar} /usr/share/ant/lib/${jar}
|
||||
done
|
||||
|
||||
dobin "${WORKDIR}/ant"
|
||||
|
||||
dodir /usr/share/${PN}/bin
|
||||
for each in antRun antRun.pl runant.pl runant.py complete-ant-cmd.pl ; do
|
||||
dobin "${S}/src/script/${each}"
|
||||
dosym /usr/bin/${each} /usr/share/${PN}/bin/${each}
|
||||
done
|
||||
dosym /usr/share/${PN}/bin /usr/share/ant/bin
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
doins -r dist/etc
|
||||
dosym /usr/share/${PN}/etc /usr/share/ant/etc
|
||||
|
||||
echo "ANT_HOME=\"${EPREFIX}/usr/share/ant\"" > "${T}/20ant"
|
||||
doenvd "${T}/20ant"
|
||||
|
||||
dodoc NOTICE README WHATSNEW KEYS
|
||||
|
||||
if use doc; then
|
||||
dohtml -r manual/*
|
||||
java-pkg_dojavadoc --symlink manual/api build/javadocs
|
||||
fi
|
||||
|
||||
use source && java-pkg_dosrc src/main/*
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -n ${REPLACING_VERSIONS} ]]; then
|
||||
if ! version_is_at_least 1.7.0 ${REPLACING_VERSIONS}; then
|
||||
elog "The way of packaging ant in Gentoo has changed significantly since"
|
||||
elog "the 1.7.0 version, For more information, please see:"
|
||||
elog "http://www.gentoo.org/proj/en/java/ant-guide.xml"
|
||||
fi
|
||||
|
||||
if ! version_is_at_least 1.7.1 ${REPLACING_VERSIONS}; then
|
||||
elog "Since 1.7.1, the ant-tasks meta-ebuild has been removed and its USE"
|
||||
elog "flags have been moved to dev-java/ant."
|
||||
fi
|
||||
fi
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST apache-ivy-2.0.0-src.tar.gz 2248438 SHA256 99b550f826f0d5611e48503cf83f27840c4eae3c0605b15dc058f2fb8e73ad1d SHA512 eb932069c42b42c421afc5b49a94204d5359b8f6f23708d3cbd04fee260c2348eea540bddbee7950cd71c8a5290383f7f2d4044e03fc8b53013fb381e410f1f6 WHIRLPOOL bbf9abcab217711af018c166717d9484df7c46a0a5a4f460b7f4440425c6b3137accb06d888bbf2d80920758a1b66b9f4a3eb3be04fea354fca8d915f450fed6
|
||||
DIST apache-ivy-2.3.0-src.tar.gz 2790722 SHA256 20f9ba64b6f24328497394d8b3e24b8e15e12ad230958be9c76d6f8cccf081de SHA512 fde43ff288cd8c77f2bdecdcbf52f180247ed99a8526be9d875d60e209b66155d5526e968400382d2cef22cabb8899c3b0912e049ae7d23e2cb79be8a81fe00f WHIRLPOOL 5be77a1316d089c9ce1b7dd2387c0b4a99bfb2f0bb5747ac49d2ea45973425376f9b775d297d57c3c503921ca7bcfeb65074f8ee96add47e11fcf76994bd9b72
|
||||
DIST ivy-1.3.1-src.zip 1302693 SHA256 2a4653de892b739f8dfbf21403bfbf49c7febe9fb5a3d855cd9ad4bb29964fa0 SHA512 35c425ea8adc714496dbc2bc0d5a6037fe295967bea9014a16850e54ab3925192e42579ca1e23d68d776326e81e1e195ce85f1a7791a6b0b20ed179c09a22f82 WHIRLPOOL 5e8d07ee947c53b7e36dd7da8ba5566d962e922e2d3119e402e6bb441e55e6335c4ee848620ab2f9ad76ec2586f8500b7899a3f3780d1c104fb3413865f7fde6
|
||||
DIST ivy-1.4.1-src.zip 751792 SHA256 7e8b88dcca3481f5efd0a86436abaae6dd77f659b779cdd84c4e55386db16236 SHA512 8ccb4680e8c32178bf12b74f4c6df668bbdd06c6dce6a2d0bf1b9daeec8fb5166d4d510cadb247dc4e2a91b71f5dc7fc429d0d7faed95a2898fd4f9d0888ee8d WHIRLPOOL 9f058618d51f90979889d9bdf5df616da7276aba4ae4ae6b2cd447fa331edae5e8f03e585e1f4e9a2bf975078500c8d8d3a2ba856fcea7f78416ce50e2b3f693
|
||||
|
@ -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/dev-java/ant-ivy/ant-ivy-2.3.0.ebuild,v 1.1 2013/07/05 14:09:15 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc examples source test"
|
||||
|
||||
# Register this as a split-ant task.
|
||||
WANT_SPLIT_ANT="true"
|
||||
|
||||
# Don't rewrite examples, that's bad.
|
||||
JAVA_PKG_BSFIX_ALL="no"
|
||||
|
||||
inherit java-pkg-2 java-ant-2 eutils
|
||||
|
||||
MY_PN="apache-ivy"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Ivy is a free java based dependency manager"
|
||||
HOMEPAGE="http://ant.apache.org/ivy"
|
||||
SRC_URI="mirror://apache/ant/ivy/${PV}/${MY_P}-src.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="2"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos"
|
||||
|
||||
# We cannot build tests yet as there is no org.apache.tools.ant.BuildFileTest packaged anywhere yet.
|
||||
RESTRICT="test"
|
||||
|
||||
# There may be additional optional dependencies (commons-logging, commons-lang...)
|
||||
COMMON_DEP="
|
||||
dev-java/ant-core:0
|
||||
dev-java/bcpg:0
|
||||
dev-java/bcpkix:0
|
||||
dev-java/bcprov:0
|
||||
dev-java/jakarta-oro:2.0
|
||||
dev-java/jsch:0
|
||||
dev-java/commons-httpclient:3
|
||||
<dev-java/commons-vfs-2:0"
|
||||
|
||||
DEPEND="
|
||||
>=virtual/jdk-1.4
|
||||
test? ( dev-java/ant-junit )
|
||||
${COMMON_DEP}"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.4
|
||||
${COMMON_DEP}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
java_prepare() {
|
||||
rm -rf test/repositories
|
||||
rm -rf test/triggers
|
||||
rm -rf src/example/chained-resolvers/settings/repository/test-1.0.jar
|
||||
rm -rf test/java/org/apache/ivy/core/settings/custom-resolver.jar
|
||||
|
||||
# Removing obsolete documentation.
|
||||
rm -rf doc/reports
|
||||
rm -rf doc/configuration
|
||||
|
||||
java-ant_rewrite-classpath
|
||||
mkdir lib
|
||||
}
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||||
EANT_GENTOO_CLASSPATH="ant-core,bcpg,bcpkix,bcprov,commons-vfs,jakarta-oro-2.0,jsch,commons-httpclient-3"
|
||||
|
||||
EANT_BUILD_TARGET="/offline jar"
|
||||
|
||||
EANT_EXTRA_ARGS="-Dbuild.version=${PV} -Dbundle.version=${PV}"
|
||||
|
||||
src_test() {
|
||||
java-pkg_jar-from --into lib junit
|
||||
ANT_TASKS="ant-junit" eant "/offline test"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar "build/artifact/jars/ivy.jar"
|
||||
|
||||
use doc && java-pkg_dojavadoc "build/doc/reports/api"
|
||||
use doc && dohtml -r "doc"
|
||||
use examples && java-pkg_doexamples "src/example"
|
||||
use source && java-pkg_dosrc src/java/*
|
||||
|
||||
java-pkg_register-ant-task
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-jai/ant-jai-1.9.1.ebuild,v 1.1 2013/07/05 14:11:30 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
ANT_TASK_DEPNAME="sun-jai-bin"
|
||||
|
||||
inherit ant-tasks
|
||||
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
|
||||
|
||||
# Unmigrated, has textrels and there's also some source one now too.
|
||||
DEPEND=">=dev-java/sun-jai-bin-1.1.2.01-r1"
|
||||
RDEPEND="${DEPEND}"
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-javamail/ant-javamail-1.9.1.ebuild,v 1.1 2013/07/05 14:13:11 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
ANT_TASK_DEPNAME="--virtual javamail"
|
||||
|
||||
inherit ant-tasks
|
||||
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x64-freebsd ~x86-freebsd \
|
||||
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris \
|
||||
~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
DEPEND="java-virtuals/javamail
|
||||
java-virtuals/jaf"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
ant-tasks_src_unpack all
|
||||
java-pkg_jar-from --virtual jaf
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-jdepend/ant-jdepend-1.9.1.ebuild,v 1.1 2013/07/05 14:15:03 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit ant-tasks
|
||||
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x64-freebsd ~x86-freebsd \
|
||||
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris \
|
||||
~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
DEPEND=">=dev-java/jdepend-2.9-r2:0"
|
||||
RDEPEND="${DEPEND}"
|
@ -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/dev-java/ant-jmf/ant-jmf-1.9.1.ebuild,v 1.1 2013/07/05 14:16:51 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
# Seems we don't need to depend on jmf-bin, the classes ant imports are in J2SE
|
||||
# API since version 1.3.
|
||||
ANT_TASK_DEPNAME=""
|
||||
|
||||
inherit ant-tasks
|
||||
|
||||
DESCRIPTION="Apache Ant's optional tasks for the Java Media Framework (JMF)."
|
||||
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux \
|
||||
~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
@ -0,0 +1,14 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-jsch/ant-jsch-1.9.1.ebuild,v 1.1 2013/07/05 14:18:24 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit ant-tasks
|
||||
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x64-freebsd ~x86-freebsd \
|
||||
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris \
|
||||
~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
DEPEND=">=dev-java/jsch-0.1.37:0"
|
||||
RDEPEND="${DEPEND}"
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-junit/ant-junit-1.9.1.ebuild,v 1.1 2013/07/05 12:17:48 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit ant-tasks
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd \
|
||||
~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos \
|
||||
~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
DEPEND="dev-java/junit:4"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||||
EANT_GENTOO_CLASSPATH="junit-4"
|
||||
|
||||
src_compile() {
|
||||
eant jar-junit
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-junit4/ant-junit4-1.9.1.ebuild,v 1.1 2013/07/05 14:20:20 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
ANT_TASK_JDKVER=1.5
|
||||
ANT_TASK_JREVER=1.5
|
||||
ANT_TASK_DEPNAME="junit-4"
|
||||
|
||||
inherit ant-tasks
|
||||
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
|
||||
|
||||
DEPEND="dev-java/junit:4
|
||||
~dev-java/ant-junit-${PV}"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||||
EANT_GENTOO_CLASSPATH="junit-4,ant-junit"
|
||||
|
||||
src_compile() {
|
||||
eant jar-junit4
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# No registration as ant-task, would be loaded together with ant-junit.
|
||||
java-pkg_dojar build/lib/ant-junit4.jar
|
||||
|
||||
# As we dont't want to depend on and-junit in package.env, because it depends
|
||||
# on junit:0. Instead, we "steal" its jar and record it to our package.env as
|
||||
# if it belongs to this package's classpath.
|
||||
java-pkg_getjar --build-only ant-junit ant-junit.jar
|
||||
java-pkg_regjar $(java-pkg_getjar --build-only ant-junit ant-junit.jar)
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-nodeps/ant-nodeps-1.9.1.ebuild,v 1.1 2013/07/05 14:22:09 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
ANT_TASK_DEPNAME=""
|
||||
ANT_TASK_DISABLE_VM_DEPS="true"
|
||||
|
||||
inherit ant-tasks
|
||||
|
||||
DESCRIPTION="Formerly Ant's optional tasks w/o external deps, now compat empty jar"
|
||||
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
# Dependency needed for jar.
|
||||
DEPEND=">=virtual/jdk-1.4"
|
||||
|
||||
src_compile() {
|
||||
# The classes were moved to ant-core in 1.8.2, this is just for compatibility.
|
||||
mkdir -p build/lib/empty && cd build/lib/empty || die
|
||||
jar -cf ../${PN}.jar . || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Upstream has removed ant-nodeps.jar as of 1.8.2 and moved the classes to ant.jar"
|
||||
elog "This package thus installs an empty jar for compatibility"
|
||||
elog "and will be removed once reverse dependencies are transitioned."
|
||||
}
|
@ -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/dev-java/ant-swing/ant-swing-1.9.1.ebuild,v 1.1 2013/07/05 14:25:24 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
# No extra dependencies are needed.
|
||||
ANT_TASK_DEPNAME=""
|
||||
|
||||
inherit ant-tasks
|
||||
|
||||
DESCRIPTION="Apache Ant's optional tasks for Swing."
|
||||
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux \
|
||||
~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris \
|
||||
~x64-solaris ~x86-solaris"
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-testutil/ant-testutil-1.9.1.ebuild,v 1.1 2013/07/05 14:28:11 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit ant-tasks
|
||||
|
||||
DESCRIPTION="Apache Ant's optional test utility classes"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux \
|
||||
~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris \
|
||||
~x64-solaris ~x86-solaris"
|
||||
|
||||
CDEPEND="dev-java/ant-core:0"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
>=virtual/jdk-1.6
|
||||
>=dev-java/junit-4.11:4
|
||||
~dev-java/ant-swing-${PV}
|
||||
~dev-java/ant-junit4-${PV}"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
>=virtual/jre-1.6"
|
||||
|
||||
# The build system builds much more than it actually packages, so there are many
|
||||
# build-only deps, but since those are quite common, it wasn't worth to patch it.
|
||||
|
||||
src_unpack() {
|
||||
ant-tasks_src_unpack base
|
||||
java-pkg_jar-from --build-only junit-4,ant-junit4,ant-swing
|
||||
java-pkg_jar-from --build-only ant-core ant-launcher.jar
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
eant test-jar
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-trax/ant-trax-1.9.1.ebuild,v 1.1 2013/07/05 14:32:34 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
ANT_TASK_DEPNAME=""
|
||||
ANT_TASK_DISABLE_VM_DEPS="true"
|
||||
|
||||
inherit ant-tasks
|
||||
|
||||
DESCRIPTION="Apache Ant .jar with optional tasks depending on XML transformer (Deprecated!)"
|
||||
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x64-freebsd \
|
||||
~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos \
|
||||
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
# Dependency needed for jar.
|
||||
DEPEND=">=virtual/jdk-1.4"
|
||||
|
||||
src_compile() {
|
||||
# The classes were moved to ant-core in 1.8.1, this is just for compatibility.
|
||||
mkdir -p build/lib/empty && cd build/lib/empty || die
|
||||
jar -cf ../${PN}.jar .
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Upstream has removed ant-trax.jar as of 1.8.1 and moved the classes to ant.jar"
|
||||
elog "This package thus installs an empty jar for compatibility"
|
||||
elog "and will be removed once reverse dependencies are transitioned."
|
||||
}
|
@ -0,0 +1,66 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/ant/ant-1.9.1.ebuild,v 1.1 2013/07/05 14:38:33 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit versionator
|
||||
|
||||
DESCRIPTION="Java-based build tool similar to 'make' that uses XML configuration files."
|
||||
HOMEPAGE="http://ant.apache.org/"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd ~x64-freebsd ~x86-freebsd \
|
||||
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris \
|
||||
~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
DEPEND="~dev-java/ant-core-${PV}"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
IUSE="X +antlr +bcel +bsf +commonslogging +commonsnet jai +javamail +jdepend jmf
|
||||
+jsch +log4j +oro +regexp +resolver testutil"
|
||||
|
||||
RDEPEND="~dev-java/ant-core-${PV}
|
||||
~dev-java/ant-nodeps-${PV}
|
||||
~dev-java/ant-junit-${PV}
|
||||
!dev-java/ant-optional
|
||||
!dev-java/ant-tasks
|
||||
~dev-java/ant-trax-${PV}
|
||||
~dev-java/ant-apache-xalan2-${PV}
|
||||
antlr? ( ~dev-java/ant-antlr-${PV} )
|
||||
bcel? ( ~dev-java/ant-apache-bcel-${PV} )
|
||||
bsf? ( ~dev-java/ant-apache-bsf-${PV} )
|
||||
log4j? ( ~dev-java/ant-apache-log4j-${PV} )
|
||||
oro? ( ~dev-java/ant-apache-oro-${PV} )
|
||||
regexp? ( ~dev-java/ant-apache-regexp-${PV} )
|
||||
resolver? ( ~dev-java/ant-apache-resolver-${PV} )
|
||||
commonslogging? ( ~dev-java/ant-commons-logging-${PV} )
|
||||
commonsnet? ( ~dev-java/ant-commons-net-${PV} )
|
||||
jai? ( ~dev-java/ant-jai-${PV} )
|
||||
javamail? ( ~dev-java/ant-javamail-${PV} )
|
||||
jdepend? ( ~dev-java/ant-jdepend-${PV} )
|
||||
jmf? ( ~dev-java/ant-jmf-${PV} )
|
||||
jsch? ( ~dev-java/ant-jsch-${PV} )
|
||||
testutil? ( ~dev-java/ant-testutil-${PV} )
|
||||
X? ( ~dev-java/ant-swing-${PV} )"
|
||||
|
||||
DEPEND=""
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -n ${REPLACING_VERSIONS} ]]; then
|
||||
# if we update from a version below 1.7.1
|
||||
if ! version_is_at_least 1.7.1 ${REPLACING_VERSIONS}; then
|
||||
elog "Since 1.7.1, the ant-tasks meta-ebuild has been removed and its USE"
|
||||
elog "flags have been moved to dev-java/ant."
|
||||
elog
|
||||
elog "You may now freely set the USE flags of this package without breaking"
|
||||
elog "building of Java packages, which depend on the exact ant tasks they need."
|
||||
elog "The USE flags default to enabled (except X, jai and jmf) for convenience."
|
||||
fi
|
||||
fi
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST bcpg-jdk15on-149.tar.gz 652057 SHA256 938c3cb6ae11b43616d08e08af5e4311a1bf291c6cbfd0b5d6a769b8cf82227c SHA512 059fc7a229f2478059a69c28256aa4fdfb214d70204c38ecd1e60cdecda4525868254542b26282ca461b3f41968e2069ebc9d64d7faa299b87e1def292ca865a WHIRLPOOL 25ca6a90e277f0e38b5116c565c189acca057a14dbd6c762eb1e3f57eb8f41dae848412e3cdf3492ad6290dc211ed70b8ab1282326f7500c138f71e663d44f64
|
@ -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/dev-java/bcpg/bcpg-1.49.ebuild,v 1.1 2013/07/05 10:39:36 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 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos"
|
||||
|
||||
# Tests are currently broken. Appears to need older version of bcprov; but since bcprov is not slotted, this can cause conflicts.
|
||||
# Needs further investigation; though, only a small part has tests and there are no tests for bcpg itself.
|
||||
RESTRICT="test"
|
||||
|
||||
COMMON_DEPEND="
|
||||
~dev-java/bcmail-${PV}:0[test?]
|
||||
~dev-java/bcprov-${PV}: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 bcmail
|
||||
java-pkg_jar-from bcprov
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
find org -name "*.java" > "${T}"/src.list
|
||||
|
||||
local cp="bcmail.jar: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:bcmail.jar:bcprov.jar:junit.jar"
|
||||
local pkg="org.bouncycastle"
|
||||
|
||||
java -cp ${cp} ${pkg}.openpgp.test.AllTests | tee openpgp.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,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>java</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1 @@
|
||||
DIST bndlib-2.1.0.tar.gz 123217291 SHA256 5e4c3c5d786acc1044103f57f4769acf54ea7d247f58f3c6a7b7769fb37df30f SHA512 6965143ced45c15fc2316716de32e80506cc411d52309b24313fff37e0713a45ad200d5b3701f0d47a131a3163ec266ed8acb4544884cd1c59c9716c7a2b285e WHIRLPOOL 3df261dec93655d2f4e483952b58d531fdf1936c505552f013f9447ac7fc8100e51f2412fd66224fe7871fa68fe1a6ec86c9c2787ffbfc65c8dc9863bac31fe5
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/bnd-junit/bnd-junit-2.1.0.ebuild,v 1.1 2013/07/05 13:20:20 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="test"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Junit plugin for bndlib, a swiss army knife for OSGi."
|
||||
HOMEPAGE="http://www.aqute.biz/Bnd/Bnd"
|
||||
SRC_URI="https://github.com/bndtools/bnd/archive/${PV}.REL.tar.gz -> bndlib-${PV}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
CDEPEND="dev-java/osgi-core-api:0
|
||||
dev-java/bndlib:0
|
||||
test? ( dev-java/junit:4 )"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
${CDEPEND}"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.5
|
||||
${CDEPEND}"
|
||||
|
||||
S="${WORKDIR}/bnd-${PV}.REL/biz.aQute.junit"
|
||||
|
||||
EANT_BUILD_TARGET="build"
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||||
EANT_GENTOO_CLASSPATH="bndlib,junit-4,osgi-core-api"
|
||||
|
||||
# Tests appear broken and cause a circular dependency.
|
||||
RESTRICT="test"
|
||||
|
||||
java_prepare() {
|
||||
# Move the correct build.xml into place, needed for testing.
|
||||
cp ../cnf/build.xml . || die
|
||||
|
||||
# Remove bundled jar files.
|
||||
find . -name '*.jar' -delete > /dev/null
|
||||
}
|
||||
|
||||
src_test() {
|
||||
java-pkg-2_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar generated/biz.aQute.junit.jar
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>java</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1 @@
|
||||
DIST bndlib-2.1.0.tar.gz 123217291 SHA256 5e4c3c5d786acc1044103f57f4769acf54ea7d247f58f3c6a7b7769fb37df30f SHA512 6965143ced45c15fc2316716de32e80506cc411d52309b24313fff37e0713a45ad200d5b3701f0d47a131a3163ec266ed8acb4544884cd1c59c9716c7a2b285e WHIRLPOOL 3df261dec93655d2f4e483952b58d531fdf1936c505552f013f9447ac7fc8100e51f2412fd66224fe7871fa68fe1a6ec86c9c2787ffbfc65c8dc9863bac31fe5
|
@ -0,0 +1,72 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/bndlib/bndlib-2.1.0.ebuild,v 1.1 2013/07/05 13:12:38 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="test"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="A swiss army knife for OSGi."
|
||||
HOMEPAGE="http://www.aqute.biz/Bnd/Bnd"
|
||||
SRC_URI="https://github.com/bndtools/bnd/archive/${PV}.REL.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
CDEPEND="dev-java/libg:0
|
||||
dev-java/osgi-compendium:0
|
||||
dev-java/osgi-core-api:0
|
||||
dev-java/osgi-enterprise-api:0"
|
||||
|
||||
# Tests appear broken and cause a circular dependency.
|
||||
# test? ( dev-java/bnd-junit:0 )
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
${CDEPEND}
|
||||
test? ( dev-java/junit:4 )"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.5
|
||||
${CDEPEND}"
|
||||
|
||||
S="${WORKDIR}/bnd-${PV}.REL/biz.aQute.${PN}"
|
||||
|
||||
EANT_BUILD_TARGET="build"
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||||
|
||||
# Tests appear broken and cause a circular dependency.
|
||||
RESTRICT="test"
|
||||
|
||||
java_prepare() {
|
||||
# Move the correct build.xml into place, needed for testing.
|
||||
cp ../cnf/build.xml . || die
|
||||
|
||||
# Remove bundled jar files.
|
||||
find . -name '*.jar' -delete > /dev/null
|
||||
|
||||
if ! use test ; then
|
||||
rm -rf src/aQute/bnd/test || die "Failed to remove tests."
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local extra_cp=""
|
||||
|
||||
if use test ; then
|
||||
extra_cp=":$(java-pkg_getjars --build-only junit-4)"
|
||||
fi
|
||||
|
||||
EANT_EXTRA_ARGS="-Dgentoo.classpath=$(java-pkg_getjars libg):$(java-pkg_getjars osgi-compendium):$(java-pkg_getjars osgi-core-api):$(java-pkg_getjars osgi-enterprise-api)${extra_cp}" \
|
||||
java-pkg-2_src_compile
|
||||
}
|
||||
|
||||
EANT_TEST_GENTOO_CLASSPATH="junit-4,bnd-junit"
|
||||
src_test() {
|
||||
java-pkg-2_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar generated/biz.aQute.${PN}.jar
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>java</herd>
|
||||
</pkgmetadata>
|
@ -1 +1,2 @@
|
||||
DIST commons-vfs-1.0-src.tar.gz 278588 SHA256 796af4b966b06f9147b062efa4f590689177c80534edf9702009812548ebe957 SHA512 5826ccd3faf574d7573b22fbab5f7f3ddc83b22504eb0822efbcc4570059db410d1a32811bf411414d275bdeb16ce39fd7cca2150d8537841cd888b1aef2b5a1 WHIRLPOOL 98d0083377daad95675e7204818de2617cf7a9c9821b6701bb1907c2e6c33907c6003fb3b97446f54205c87e3b32744c3c390e30b597825b45f5c084930e54c7
|
||||
DIST commons-vfs-2.0-src.tar.gz 335255 SHA256 a90d4d1e9ff17bb856d0d9eb56dd8587db9e7ed33a10e0a680534e125e7a6ebe SHA512 433828b9eba73df14dbedaa4037e3da1c69bf1892553c1ae4d213ba864e4ee579e0c7799f39e3cb4ec087d7c9223f54442be46de9c4916d7b7ff8a51214d6346 WHIRLPOOL 43427c215f3eaaf5cba46682a99d31b1767f24dc9eb85f8b0a31e9b1a2ada421c11f8c60211c37b0922d48a35696663109dcfbfe0474175f7d8da7a12ac8266f
|
||||
|
@ -0,0 +1,70 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-vfs/commons-vfs-2.0.ebuild,v 1.1 2013/07/05 13:51:35 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="A single API for accessing various different file systems"
|
||||
HOMEPAGE="http://commons.apache.org/vfs/"
|
||||
SRC_URI="mirror://apache/commons/vfs/source/${P}-src.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
|
||||
COMMON_DEP="
|
||||
dev-java/ant-core:0
|
||||
dev-java/commons-collections:0
|
||||
dev-java/commons-logging:0
|
||||
>=dev-java/commons-net-3.2:0
|
||||
dev-java/commons-httpclient:3
|
||||
dev-java/jackrabbit-webdav:0
|
||||
dev-java/jsch:0
|
||||
"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.5
|
||||
${COMMON_DEP}"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
${COMMON_DEP}"
|
||||
|
||||
S="${WORKDIR}/${P}/core"
|
||||
|
||||
java_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-incompatibility.patch
|
||||
|
||||
cp "${FILESDIR}"/${P}-build.xml build.xml || die
|
||||
|
||||
java-ant_rewrite-classpath
|
||||
java-ant_ignore-system-classes
|
||||
}
|
||||
|
||||
EANT_GENTOO_CLASSPATH="
|
||||
ant-core
|
||||
commons-collections
|
||||
commons-logging
|
||||
commons-net
|
||||
commons-httpclient-3
|
||||
jackrabbit-webdav
|
||||
jsch
|
||||
"
|
||||
EANT_EXTRA_ARGS="-Dlibdir=${T}"
|
||||
|
||||
# The build.xml is generated from maven and can't run the tests properly
|
||||
# Use maven test to execute these manually but that means downloading deps from
|
||||
# the internet. Also the tests need to login to some ftp servers and samba
|
||||
# shares so I doubt they work for everyone.
|
||||
#src_test() {
|
||||
# ANT_TASKS="ant-junit" eant test
|
||||
#}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar target/*.jar
|
||||
|
||||
use doc && java-pkg_dojavadoc target/site/apidocs
|
||||
use source && java-pkg_dosrc src/main/java
|
||||
}
|
@ -0,0 +1,298 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== -->
|
||||
<!-- ====================================================================== -->
|
||||
<!-- -->
|
||||
<!-- Any modifications will be overwritten. -->
|
||||
<!-- -->
|
||||
<!-- Generated by Maven Ant Plugin on 5/29/13 3:05 PM -->
|
||||
<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ -->
|
||||
<!-- -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<project name="commons-vfs2-from-maven" default="package" basedir=".">
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Build environment properties -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<property file="${user.home}/.m2/maven.properties"/>
|
||||
<property file="maven-build.properties"/>
|
||||
|
||||
<property name="maven.build.finalName" value="commons-vfs2-2.0"/>
|
||||
<property name="maven.build.dir" value="target"/>
|
||||
<property name="maven.build.outputDir" value="${maven.build.dir}/classes"/>
|
||||
<property name="maven.build.srcDir.0" value="src/main/java"/>
|
||||
<property name="maven.build.resourceDir.0" value="src/main/java"/>
|
||||
<property name="maven.build.resourceDir.1" value=".."/>
|
||||
<property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/>
|
||||
<property name="maven.build.testDir.0" value="src/test/java"/>
|
||||
<property name="maven.build.testResourceDir.0" value="src/test/resources"/>
|
||||
<property name="maven.build.testResourceDir.1" value=".."/>
|
||||
<property name="maven.test.reports" value="${maven.build.dir}/test-reports"/>
|
||||
<property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/>
|
||||
|
||||
<property name="maven.repo.local" value="${user.home}/.m2/repository"/>
|
||||
<property name="maven.settings.offline" value="false"/>
|
||||
<property name="maven.settings.interactiveMode" value="true"/>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Defining classpaths -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<path id="build.classpath">
|
||||
<pathelement location="${maven.repo.local}/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar"/>
|
||||
<pathelement location="${maven.repo.local}/ant/ant/1.6.2/ant-1.6.2.jar"/>
|
||||
<pathelement location="${maven.repo.local}/commons-net/commons-net/2.2/commons-net-2.2.jar"/>
|
||||
<pathelement location="${maven.repo.local}/commons-collections/commons-collections/3.1/commons-collections-3.1.jar"/>
|
||||
<pathelement location="${maven.repo.local}/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar"/>
|
||||
<pathelement location="${maven.repo.local}/commons-codec/commons-codec/1.2/commons-codec-1.2.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/apache/jackrabbit/jackrabbit-webdav/1.5.2/jackrabbit-webdav-1.5.2.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/apache/jackrabbit/jackrabbit-jcr-commons/1.5.2/jackrabbit-jcr-commons-1.5.2.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/slf4j/slf4j-api/1.5.3/slf4j-api-1.5.3.jar"/>
|
||||
<pathelement location="${maven.repo.local}/com/jcraft/jsch/0.1.42/jsch-0.1.42.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/apache/maven/scm/maven-scm-api/1.4/maven-scm-api-1.4.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/codehaus/plexus/plexus-utils/1.5.6/plexus-utils-1.5.6.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/apache/maven/scm/maven-scm-provider-svnexe/1.4/maven-scm-provider-svnexe-1.4.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/apache/maven/scm/maven-scm-provider-svn-commons/1.4/maven-scm-provider-svn-commons-1.4.jar"/>
|
||||
<pathelement location="${maven.repo.local}/regexp/regexp/1.3/regexp-1.3.jar"/>
|
||||
</path>
|
||||
<path id="build.test.classpath">
|
||||
<pathelement location="${maven.repo.local}/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar"/>
|
||||
<pathelement location="${maven.repo.local}/ant/ant/1.6.2/ant-1.6.2.jar"/>
|
||||
<pathelement location="${maven.repo.local}/commons-net/commons-net/2.2/commons-net-2.2.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/apache/commons/commons-compress/1.1/commons-compress-1.1.jar"/>
|
||||
<pathelement location="${maven.repo.local}/commons-collections/commons-collections/3.1/commons-collections-3.1.jar"/>
|
||||
<pathelement location="${maven.repo.local}/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar"/>
|
||||
<pathelement location="${maven.repo.local}/commons-codec/commons-codec/1.2/commons-codec-1.2.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/apache/jackrabbit/jackrabbit-webdav/1.5.2/jackrabbit-webdav-1.5.2.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/apache/jackrabbit/jackrabbit-jcr-commons/1.5.2/jackrabbit-jcr-commons-1.5.2.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/slf4j/slf4j-api/1.5.3/slf4j-api-1.5.3.jar"/>
|
||||
<pathelement location="${maven.repo.local}/com/jcraft/jsch/0.1.42/jsch-0.1.42.jar"/>
|
||||
<pathelement location="${maven.repo.local}/junit/junit/4.8.2/junit-4.8.2.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/apache/maven/scm/maven-scm-api/1.4/maven-scm-api-1.4.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/codehaus/plexus/plexus-utils/1.5.6/plexus-utils-1.5.6.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/apache/maven/scm/maven-scm-provider-svnexe/1.4/maven-scm-provider-svnexe-1.4.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/apache/maven/scm/maven-scm-provider-svn-commons/1.4/maven-scm-provider-svn-commons-1.4.jar"/>
|
||||
<pathelement location="${maven.repo.local}/regexp/regexp/1.3/regexp-1.3.jar"/>
|
||||
</path>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Cleaning up target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="clean" description="Clean the output directory">
|
||||
<delete dir="${maven.build.dir}"/>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Compilation target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="compile" depends="get-deps" description="Compile the code">
|
||||
<mkdir dir="${maven.build.outputDir}"/>
|
||||
<javac destdir="${maven.build.outputDir}"
|
||||
encoding="iso-8859-1"
|
||||
nowarn="false"
|
||||
debug="true"
|
||||
optimize="false"
|
||||
deprecation="true"
|
||||
target="1.5"
|
||||
verbose="false"
|
||||
fork="false"
|
||||
source="1.5">
|
||||
<src>
|
||||
<pathelement location="${maven.build.srcDir.0}"/>
|
||||
</src>
|
||||
<classpath refid="build.classpath"/>
|
||||
</javac>
|
||||
<copy todir="${maven.build.outputDir}">
|
||||
<fileset dir="${maven.build.resourceDir.0}">
|
||||
<exclude name="**/*.java"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
<mkdir dir="${maven.build.outputDir}/META-INF"/>
|
||||
<copy todir="${maven.build.outputDir}/META-INF">
|
||||
<fileset dir="${maven.build.resourceDir.1}">
|
||||
<include name="NOTICE.txt"/>
|
||||
<include name="LICENSE.txt"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Test-compilation target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="compile-tests"
|
||||
depends="compile"
|
||||
description="Compile the test code"
|
||||
unless="maven.test.skip">
|
||||
<mkdir dir="${maven.build.testOutputDir}"/>
|
||||
<javac destdir="${maven.build.testOutputDir}"
|
||||
encoding="iso-8859-1"
|
||||
nowarn="false"
|
||||
debug="true"
|
||||
optimize="false"
|
||||
deprecation="true"
|
||||
target="1.5"
|
||||
verbose="false"
|
||||
fork="false"
|
||||
source="1.5">
|
||||
<src>
|
||||
<pathelement location="${maven.build.testDir.0}"/>
|
||||
</src>
|
||||
<classpath>
|
||||
<path refid="build.test.classpath"/>
|
||||
<pathelement location="${maven.build.outputDir}"/>
|
||||
</classpath>
|
||||
</javac>
|
||||
<copy todir="${maven.build.testOutputDir}">
|
||||
<fileset dir="${maven.build.testResourceDir.0}"/>
|
||||
</copy>
|
||||
<mkdir dir="${maven.build.testOutputDir}/META-INF"/>
|
||||
<copy todir="${maven.build.testOutputDir}/META-INF">
|
||||
<fileset dir="${maven.build.testResourceDir.1}">
|
||||
<include name="NOTICE.txt"/>
|
||||
<include name="LICENSE.txt"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Run all tests -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="test"
|
||||
depends="compile-tests, junit-missing"
|
||||
unless="junit.skipped"
|
||||
description="Run the test cases">
|
||||
<mkdir dir="${maven.test.reports}"/>
|
||||
<junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir=".">
|
||||
<sysproperty key="basedir" value="."/>
|
||||
<formatter type="xml"/>
|
||||
<formatter type="plain" usefile="false"/>
|
||||
<classpath>
|
||||
<path refid="build.test.classpath"/>
|
||||
<pathelement location="${maven.build.outputDir}"/>
|
||||
<pathelement location="${maven.build.testOutputDir}"/>
|
||||
</classpath>
|
||||
<batchtest todir="${maven.test.reports}" unless="test">
|
||||
<fileset dir="${maven.build.testDir.0}">
|
||||
<include name="**/Test*.java"/>
|
||||
<include name="**/*Test.java"/>
|
||||
<include name="**/*TestCase.java"/>
|
||||
<exclude name="**/RunTest.java"/>
|
||||
<exclude name="**/*$*"/>
|
||||
</fileset>
|
||||
</batchtest>
|
||||
<batchtest todir="${maven.test.reports}" if="test">
|
||||
<fileset dir="${maven.build.testDir.0}">
|
||||
<include name="**/${test}.java"/>
|
||||
<exclude name="**/RunTest.java"/>
|
||||
<exclude name="**/*$*"/>
|
||||
</fileset>
|
||||
</batchtest>
|
||||
</junit>
|
||||
</target>
|
||||
|
||||
<target name="test-junit-present">
|
||||
<available classname="junit.framework.Test" property="junit.present"/>
|
||||
</target>
|
||||
|
||||
<target name="test-junit-status"
|
||||
depends="test-junit-present">
|
||||
<condition property="junit.missing">
|
||||
<and>
|
||||
<isfalse value="${junit.present}"/>
|
||||
<isfalse value="${maven.test.skip}"/>
|
||||
</and>
|
||||
</condition>
|
||||
<condition property="junit.skipped">
|
||||
<or>
|
||||
<isfalse value="${junit.present}"/>
|
||||
<istrue value="${maven.test.skip}"/>
|
||||
</or>
|
||||
</condition>
|
||||
</target>
|
||||
|
||||
<target name="junit-missing"
|
||||
depends="test-junit-status"
|
||||
if="junit.missing">
|
||||
<echo>=================================== WARNING ===================================</echo>
|
||||
<echo> JUnit is not present in your $ANT_HOME/lib directory. Tests not executed.</echo>
|
||||
<echo>===============================================================================</echo>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Javadoc target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="javadoc" description="Generates the Javadoc of the application">
|
||||
<javadoc sourcepath="${maven.build.srcDir.0}"
|
||||
packagenames="*"
|
||||
destdir="${maven.reporting.outputDirectory}/apidocs"
|
||||
access="protected"
|
||||
old="false"
|
||||
verbose="false"
|
||||
encoding="iso-8859-1"
|
||||
version="true"
|
||||
use="true"
|
||||
author="true"
|
||||
splitindex="false"
|
||||
nodeprecated="false"
|
||||
nodeprecatedlist="false"
|
||||
notree="false"
|
||||
noindex="false"
|
||||
nohelp="false"
|
||||
nonavbar="false"
|
||||
serialwarn="false"
|
||||
charset="ISO-8859-1"
|
||||
source="1.5"
|
||||
linksource="true"
|
||||
breakiterator="false">
|
||||
<link href="http://download.oracle.com/javase/6/docs/api/"/>
|
||||
</javadoc>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Package target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="package" depends="compile,test" description="Package the application">
|
||||
<jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar"
|
||||
compress="true"
|
||||
index="false"
|
||||
basedir="${maven.build.outputDir}"
|
||||
excludes="**/package.html">
|
||||
</jar>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- A dummy target for the package named after the type it creates -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="jar" depends="package" description="Builds the jar for the application"/>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Download dependencies target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="test-offline">
|
||||
<condition property="maven.mode.offline">
|
||||
<equals arg1="${maven.settings.offline}" arg2="true"/>
|
||||
</condition>
|
||||
</target>
|
||||
|
||||
<target name="get-deps"
|
||||
depends="test-offline"
|
||||
description="Download all dependencies"
|
||||
unless="maven.mode.offline">
|
||||
</target>
|
||||
|
||||
</project>
|
@ -0,0 +1,41 @@
|
||||
diff -urN a/core/src/main/java/org/apache/commons/vfs2/provider/webdav/ExceptionConverter.java b/core/src/main/java/org/apache/commons/vfs2/provider/webdav/ExceptionConverter.java
|
||||
--- a/core/src/main/java/org/apache/commons/vfs2/provider/webdav/ExceptionConverter.java 2013-07-05 15:28:39.072739044 +0200
|
||||
+++ b/core/src/main/java/org/apache/commons/vfs2/provider/webdav/ExceptionConverter.java 2013-07-05 15:30:24.799404027 +0200
|
||||
@@ -50,7 +50,7 @@
|
||||
{
|
||||
try
|
||||
{
|
||||
- Element error = davExc.toXml(DomUtil.BUILDER_FACTORY.newDocumentBuilder().newDocument());
|
||||
+ Element error = davExc.toXml(DomUtil.createDocument());
|
||||
if (DomUtil.matches(error, DavException.XML_ERROR, DavConstants.NAMESPACE))
|
||||
{
|
||||
if (DomUtil.hasChildElement(error, "exception", null))
|
||||
diff -urN a/core/src/main/java/org/apache/commons/vfs2/provider/webdav/WebdavFileObject.java b/core/src/main/java/org/apache/commons/vfs2/provider/webdav/WebdavFileObject.java
|
||||
--- a/core/src/main/java/org/apache/commons/vfs2/provider/webdav/WebdavFileObject.java 2013-07-05 15:28:39.072739044 +0200
|
||||
+++ b/core/src/main/java/org/apache/commons/vfs2/provider/webdav/WebdavFileObject.java 2013-07-05 15:31:02.449403426 +0200
|
||||
@@ -63,6 +63,7 @@
|
||||
import org.apache.jackrabbit.webdav.client.methods.UncheckoutMethod;
|
||||
import org.apache.jackrabbit.webdav.client.methods.VersionControlMethod;
|
||||
import org.apache.jackrabbit.webdav.property.DavProperty;
|
||||
+import org.apache.jackrabbit.webdav.property.DavPropertyIterator;
|
||||
import org.apache.jackrabbit.webdav.property.DavPropertyName;
|
||||
import org.apache.jackrabbit.webdav.property.DavPropertyNameSet;
|
||||
import org.apache.jackrabbit.webdav.property.DavPropertySet;
|
||||
@@ -294,7 +294,7 @@
|
||||
DavPropertySet properties = getProperties(fileName, PropFindMethod.PROPFIND_ALL_PROP,
|
||||
new DavPropertyNameSet(), false);
|
||||
@SuppressWarnings("unchecked") // iterator() is documented to return DavProperty instances
|
||||
- Iterator<DavProperty> iter = properties.iterator();
|
||||
+ DavPropertyIterator iter = properties.iterator();
|
||||
while (iter.hasNext())
|
||||
{
|
||||
DavProperty property = iter.next();
|
||||
@@ -302,7 +302,7 @@
|
||||
}
|
||||
properties = getPropertyNames(fileName);
|
||||
@SuppressWarnings("unchecked") // iterator() is documented to return DavProperty instances
|
||||
- Iterator<DavProperty> iter2 = properties.iterator();
|
||||
+ DavPropertyIterator iter2 = properties.iterator();
|
||||
while (iter2.hasNext())
|
||||
{
|
||||
DavProperty property = iter2.next();
|
@ -0,0 +1 @@
|
||||
DIST jackrabbit-2.6.2-src.zip 12531985 SHA256 a65bafb520f1a0f8cefb21e96427f675728cc552ae90c7c54f1ffd348fe0232a SHA512 07faaebc7160382d9a58f621210c7c3267367fd6b317749fd0f08fd68e0a7fbd35eb4a4e4f563d936eeac356e4d2edc404c22a81a175fe9ca5f49f6cf540f7b2 WHIRLPOOL 6ce1d60c3370eee7db23344035bc0cc2276749a6f95fa3a5c4c85506da794772745c80b1d43c93ae30b820470d5bc0eaf9a43350daa1586bd4291c5ef62875db
|
@ -0,0 +1,349 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== -->
|
||||
<!-- ====================================================================== -->
|
||||
<!-- -->
|
||||
<!-- Any modifications will be overwritten. -->
|
||||
<!-- -->
|
||||
<!-- Generated by Maven Ant Plugin on 6/23/13 10:08 AM -->
|
||||
<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ -->
|
||||
<!-- -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<project name="jackrabbit-webdav-from-maven" default="package" basedir=".">
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Build environment properties -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<property file="${user.home}/.m2/maven.properties"/>
|
||||
<property file="maven-build.properties"/>
|
||||
|
||||
<property name="maven.build.finalName" value="jackrabbit-webdav-2.6.2"/>
|
||||
<property name="maven.build.dir" value="target"/>
|
||||
<property name="maven.build.outputDir" value="${maven.build.dir}/classes"/>
|
||||
<property name="maven.build.srcDir.0" value="src/main/java"/>
|
||||
<property name="maven.build.resourceDir.0" value="src/main/resources"/>
|
||||
<property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/>
|
||||
<property name="maven.build.testDir.0" value="src/test/java"/>
|
||||
<property name="maven.build.testResourceDir.0" value="src/test/resources"/>
|
||||
<property name="maven.test.reports" value="${maven.build.dir}/test-reports"/>
|
||||
<property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/>
|
||||
|
||||
<property name="maven.repo.local" value="${user.home}/.m2/repository"/>
|
||||
<property name="maven.settings.offline" value="false"/>
|
||||
<property name="maven.settings.interactiveMode" value="true"/>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Defining classpaths -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<path id="build.classpath">
|
||||
<pathelement location="${maven.repo.local}/biz/aQute/bndlib/1.43.0/bndlib-1.43.0.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/slf4j/slf4j-api/1.6.4/slf4j-api-1.6.4.jar"/>
|
||||
<pathelement location="${maven.repo.local}/javax/servlet/servlet-api/2.3/servlet-api-2.3.jar"/>
|
||||
<pathelement location="${maven.repo.local}/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar"/>
|
||||
<pathelement location="${maven.repo.local}/commons-codec/commons-codec/1.2/commons-codec-1.2.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/slf4j/jcl-over-slf4j/1.6.4/jcl-over-slf4j-1.6.4.jar"/>
|
||||
</path>
|
||||
<path id="build.test.classpath">
|
||||
<pathelement location="${maven.repo.local}/biz/aQute/bndlib/1.43.0/bndlib-1.43.0.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/slf4j/slf4j-api/1.6.4/slf4j-api-1.6.4.jar"/>
|
||||
<pathelement location="${maven.repo.local}/javax/servlet/servlet-api/2.3/servlet-api-2.3.jar"/>
|
||||
<pathelement location="${maven.repo.local}/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar"/>
|
||||
<pathelement location="${maven.repo.local}/commons-codec/commons-codec/1.2/commons-codec-1.2.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/slf4j/jcl-over-slf4j/1.6.4/jcl-over-slf4j-1.6.4.jar"/>
|
||||
<pathelement location="${maven.repo.local}/junit/junit/4.10/junit-4.10.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar"/>
|
||||
<pathelement location="${maven.repo.local}/ch/qos/logback/logback-classic/1.0.0/logback-classic-1.0.0.jar"/>
|
||||
<pathelement location="${maven.repo.local}/ch/qos/logback/logback-core/1.0.0/logback-core-1.0.0.jar"/>
|
||||
</path>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Cleaning up target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="clean" description="Clean the output directory">
|
||||
<delete dir="${maven.build.dir}"/>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Compilation target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="compile" depends="get-deps" description="Compile the code">
|
||||
<mkdir dir="${maven.build.outputDir}"/>
|
||||
<javac destdir="${maven.build.outputDir}"
|
||||
nowarn="false"
|
||||
debug="true"
|
||||
optimize="false"
|
||||
deprecation="true"
|
||||
target="1.6"
|
||||
verbose="false"
|
||||
fork="false"
|
||||
source="1.6">
|
||||
<src>
|
||||
<pathelement location="${maven.build.srcDir.0}"/>
|
||||
</src>
|
||||
<classpath refid="build.classpath"/>
|
||||
</javac>
|
||||
<copy todir="${maven.build.outputDir}">
|
||||
<fileset dir="${maven.build.resourceDir.0}"/>
|
||||
</copy>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Test-compilation target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="compile-tests"
|
||||
depends="compile"
|
||||
description="Compile the test code"
|
||||
unless="maven.test.skip">
|
||||
<mkdir dir="${maven.build.testOutputDir}"/>
|
||||
<javac destdir="${maven.build.testOutputDir}"
|
||||
nowarn="false"
|
||||
debug="true"
|
||||
optimize="false"
|
||||
deprecation="true"
|
||||
target="1.6"
|
||||
verbose="false"
|
||||
fork="false"
|
||||
source="1.6">
|
||||
<src>
|
||||
<pathelement location="${maven.build.testDir.0}"/>
|
||||
</src>
|
||||
<classpath>
|
||||
<path refid="build.test.classpath"/>
|
||||
<pathelement location="${maven.build.outputDir}"/>
|
||||
</classpath>
|
||||
</javac>
|
||||
<copy todir="${maven.build.testOutputDir}">
|
||||
<fileset dir="${maven.build.testResourceDir.0}"/>
|
||||
</copy>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Run all tests -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="test"
|
||||
depends="compile-tests, junit-missing"
|
||||
unless="junit.skipped"
|
||||
description="Run the test cases">
|
||||
<mkdir dir="${maven.test.reports}"/>
|
||||
<junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir=".">
|
||||
<sysproperty key="basedir" value="."/>
|
||||
<formatter type="xml"/>
|
||||
<formatter type="plain" usefile="false"/>
|
||||
<classpath>
|
||||
<path refid="build.test.classpath"/>
|
||||
<pathelement location="${maven.build.outputDir}"/>
|
||||
<pathelement location="${maven.build.testOutputDir}"/>
|
||||
</classpath>
|
||||
<batchtest todir="${maven.test.reports}" unless="test">
|
||||
<fileset dir="${maven.build.testDir.0}">
|
||||
<include name="**/*TestAll.java"/>
|
||||
<exclude name="**/*Abstract*Test.java"/>
|
||||
</fileset>
|
||||
</batchtest>
|
||||
<batchtest todir="${maven.test.reports}" if="test">
|
||||
<fileset dir="${maven.build.testDir.0}">
|
||||
<include name="**/${test}.java"/>
|
||||
<exclude name="**/*Abstract*Test.java"/>
|
||||
</fileset>
|
||||
</batchtest>
|
||||
</junit>
|
||||
</target>
|
||||
|
||||
<target name="test-junit-present">
|
||||
<available classname="junit.framework.Test" property="junit.present"/>
|
||||
</target>
|
||||
|
||||
<target name="test-junit-status"
|
||||
depends="test-junit-present">
|
||||
<condition property="junit.missing">
|
||||
<and>
|
||||
<isfalse value="${junit.present}"/>
|
||||
<isfalse value="${maven.test.skip}"/>
|
||||
</and>
|
||||
</condition>
|
||||
<condition property="junit.skipped">
|
||||
<or>
|
||||
<isfalse value="${junit.present}"/>
|
||||
<istrue value="${maven.test.skip}"/>
|
||||
</or>
|
||||
</condition>
|
||||
</target>
|
||||
|
||||
<target name="junit-missing"
|
||||
depends="test-junit-status"
|
||||
if="junit.missing">
|
||||
<echo>=================================== WARNING ===================================</echo>
|
||||
<echo> JUnit is not present in your $ANT_HOME/lib directory. Tests not executed.</echo>
|
||||
<echo>===============================================================================</echo>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Javadoc target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="javadoc" description="Generates the Javadoc of the application">
|
||||
<javadoc sourcepath="${maven.build.srcDir.0}"
|
||||
packagenames="*"
|
||||
destdir="${maven.reporting.outputDirectory}/apidocs"
|
||||
access="protected"
|
||||
old="false"
|
||||
verbose="false"
|
||||
version="true"
|
||||
use="true"
|
||||
author="true"
|
||||
splitindex="false"
|
||||
nodeprecated="false"
|
||||
nodeprecatedlist="false"
|
||||
notree="false"
|
||||
noindex="false"
|
||||
nohelp="false"
|
||||
nonavbar="false"
|
||||
serialwarn="false"
|
||||
charset="ISO-8859-1"
|
||||
source="1.6"
|
||||
linksource="false"
|
||||
breakiterator="false">
|
||||
<link href="http://docs.oracle.com/javase/6/docs/api/"/>
|
||||
<link href="http://www.day.com/maven/javax.jcr/javadocs/jcr-2.0/"/>
|
||||
</javadoc>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Package target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="package" depends="compile,test" description="Package the application">
|
||||
<jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar"
|
||||
compress="true"
|
||||
index="false"
|
||||
basedir="${maven.build.outputDir}"
|
||||
excludes="**/package.html">
|
||||
</jar>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- A dummy target for the package named after the type it creates -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="jar" depends="package" description="Builds the jar for the application"/>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Download dependencies target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="test-offline">
|
||||
<condition property="maven.mode.offline">
|
||||
<equals arg1="${maven.settings.offline}" arg2="true"/>
|
||||
</condition>
|
||||
</target>
|
||||
|
||||
<target name="get-deps"
|
||||
depends="test-offline"
|
||||
description="Download all dependencies"
|
||||
unless="maven.mode.offline">
|
||||
<mkdir dir="${maven.repo.local}"/>
|
||||
<mkdir dir="${maven.repo.local}/biz/aQute/bndlib/1.43.0"/>
|
||||
<get src="http://repository.apache.org/snapshots/biz/aQute/bndlib/1.43.0/bndlib-1.43.0.jar"
|
||||
dest="${maven.repo.local}/biz/aQute/bndlib/1.43.0/bndlib-1.43.0.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
<get src="http://repo.maven.apache.org/maven2/biz/aQute/bndlib/1.43.0/bndlib-1.43.0.jar"
|
||||
dest="${maven.repo.local}/biz/aQute/bndlib/1.43.0/bndlib-1.43.0.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
<mkdir dir="${maven.repo.local}/org/slf4j/slf4j-api/1.6.4"/>
|
||||
<get src="http://repository.apache.org/snapshots/org/slf4j/slf4j-api/1.6.4/slf4j-api-1.6.4.jar"
|
||||
dest="${maven.repo.local}/org/slf4j/slf4j-api/1.6.4/slf4j-api-1.6.4.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
<get src="http://repo.maven.apache.org/maven2/org/slf4j/slf4j-api/1.6.4/slf4j-api-1.6.4.jar"
|
||||
dest="${maven.repo.local}/org/slf4j/slf4j-api/1.6.4/slf4j-api-1.6.4.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
<mkdir dir="${maven.repo.local}/javax/servlet/servlet-api/2.3"/>
|
||||
<get src="http://repository.apache.org/snapshots/javax/servlet/servlet-api/2.3/servlet-api-2.3.jar"
|
||||
dest="${maven.repo.local}/javax/servlet/servlet-api/2.3/servlet-api-2.3.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
<get src="http://repo.maven.apache.org/maven2/javax/servlet/servlet-api/2.3/servlet-api-2.3.jar"
|
||||
dest="${maven.repo.local}/javax/servlet/servlet-api/2.3/servlet-api-2.3.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
<mkdir dir="${maven.repo.local}/commons-httpclient/commons-httpclient/3.1"/>
|
||||
<get src="http://repository.apache.org/snapshots/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar"
|
||||
dest="${maven.repo.local}/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
<get src="http://repo.maven.apache.org/maven2/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar"
|
||||
dest="${maven.repo.local}/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
<mkdir dir="${maven.repo.local}/commons-codec/commons-codec/1.2"/>
|
||||
<get src="http://repository.apache.org/snapshots/commons-codec/commons-codec/1.2/commons-codec-1.2.jar"
|
||||
dest="${maven.repo.local}/commons-codec/commons-codec/1.2/commons-codec-1.2.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
<get src="http://repo.maven.apache.org/maven2/commons-codec/commons-codec/1.2/commons-codec-1.2.jar"
|
||||
dest="${maven.repo.local}/commons-codec/commons-codec/1.2/commons-codec-1.2.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
<mkdir dir="${maven.repo.local}/org/slf4j/jcl-over-slf4j/1.6.4"/>
|
||||
<get src="http://repository.apache.org/snapshots/org/slf4j/jcl-over-slf4j/1.6.4/jcl-over-slf4j-1.6.4.jar"
|
||||
dest="${maven.repo.local}/org/slf4j/jcl-over-slf4j/1.6.4/jcl-over-slf4j-1.6.4.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
<get src="http://repo.maven.apache.org/maven2/org/slf4j/jcl-over-slf4j/1.6.4/jcl-over-slf4j-1.6.4.jar"
|
||||
dest="${maven.repo.local}/org/slf4j/jcl-over-slf4j/1.6.4/jcl-over-slf4j-1.6.4.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
<mkdir dir="${maven.repo.local}/junit/junit/4.10"/>
|
||||
<get src="http://repository.apache.org/snapshots/junit/junit/4.10/junit-4.10.jar"
|
||||
dest="${maven.repo.local}/junit/junit/4.10/junit-4.10.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
<get src="http://repo.maven.apache.org/maven2/junit/junit/4.10/junit-4.10.jar"
|
||||
dest="${maven.repo.local}/junit/junit/4.10/junit-4.10.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
<mkdir dir="${maven.repo.local}/org/hamcrest/hamcrest-core/1.1"/>
|
||||
<get src="http://repository.apache.org/snapshots/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar"
|
||||
dest="${maven.repo.local}/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
<get src="http://repo.maven.apache.org/maven2/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar"
|
||||
dest="${maven.repo.local}/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
<mkdir dir="${maven.repo.local}/ch/qos/logback/logback-classic/1.0.0"/>
|
||||
<get src="http://repository.apache.org/snapshots/ch/qos/logback/logback-classic/1.0.0/logback-classic-1.0.0.jar"
|
||||
dest="${maven.repo.local}/ch/qos/logback/logback-classic/1.0.0/logback-classic-1.0.0.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
<get src="http://repo.maven.apache.org/maven2/ch/qos/logback/logback-classic/1.0.0/logback-classic-1.0.0.jar"
|
||||
dest="${maven.repo.local}/ch/qos/logback/logback-classic/1.0.0/logback-classic-1.0.0.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
<mkdir dir="${maven.repo.local}/ch/qos/logback/logback-core/1.0.0"/>
|
||||
<get src="http://repository.apache.org/snapshots/ch/qos/logback/logback-core/1.0.0/logback-core-1.0.0.jar"
|
||||
dest="${maven.repo.local}/ch/qos/logback/logback-core/1.0.0/logback-core-1.0.0.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
<get src="http://repo.maven.apache.org/maven2/ch/qos/logback/logback-core/1.0.0/logback-core-1.0.0.jar"
|
||||
dest="${maven.repo.local}/ch/qos/logback/logback-core/1.0.0/logback-core-1.0.0.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
</target>
|
||||
|
||||
</project>
|
@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/jackrabbit-webdav/jackrabbit-webdav-2.6.2.ebuild,v 1.1 2013/07/05 13:26:51 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc test"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
MY_PN="${PN/-*/}"
|
||||
|
||||
DESCRIPTION="Fully conforming implementation of the JRC API (specified in JSR 170 and 283)."
|
||||
HOMEPAGE="http://jackrabbit.apache.org/"
|
||||
SRC_URI="mirror://apache/${MY_PN}/${PV}/${MY_PN}-${PV}-src.zip"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}/${PN}"
|
||||
|
||||
CDEPEND="dev-java/bndlib:0
|
||||
dev-java/commons-httpclient:3
|
||||
dev-java/slf4j-api:0
|
||||
java-virtuals/servlet-api:2.3"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
${CDEPEND}
|
||||
test? ( dev-java/junit:0 )"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.5
|
||||
${CDEPEND}"
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||||
EANT_GENTOO_CLASSPATH="bndlib,commons-httpclient-3,servlet-api-2.3,slf4j-api"
|
||||
EANT_TEST_GENTOO_CLASSPATH="junit"
|
||||
|
||||
java_prepare() {
|
||||
cp "${FILESDIR}"/${P}-build.xml build.xml || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
java-pkg-2_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar target/${P}.jar
|
||||
|
||||
use doc && java-pkg_dojavadoc target/site/apidocs
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>java</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1 @@
|
||||
DIST bndlib-2.1.0.tar.gz 123217291 SHA256 5e4c3c5d786acc1044103f57f4769acf54ea7d247f58f3c6a7b7769fb37df30f SHA512 6965143ced45c15fc2316716de32e80506cc411d52309b24313fff37e0713a45ad200d5b3701f0d47a131a3163ec266ed8acb4544884cd1c59c9716c7a2b285e WHIRLPOOL 3df261dec93655d2f4e483952b58d531fdf1936c505552f013f9447ac7fc8100e51f2412fd66224fe7871fa68fe1a6ec86c9c2787ffbfc65c8dc9863bac31fe5
|
@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/libg/libg-2.1.0.ebuild,v 1.1 2013/07/05 12:53:41 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Lots of small utilities for bndlib, a swiss army knife for OSGi."
|
||||
HOMEPAGE="http://www.aqute.biz/Bnd/Bnd"
|
||||
SRC_URI="https://github.com/bndtools/bnd/archive/${PV}.REL.tar.gz -> bndlib-${PV}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
# Tests depend on biz.aQute.junit, which depends on biz.aQute.bndlib, which on
|
||||
# its own turn again depends on aQute.libg again; we can temporarily assume that
|
||||
# if bndlib tests pass that libg is sufficiently tested, in the future we should
|
||||
# look whether it is feasible to combine the packages or otherwise temporarily
|
||||
# build biz.aquite.bndlib and biz.aqute.junit in this package.
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.5"
|
||||
RDEPEND=">=virtual/jre-1.5"
|
||||
|
||||
S="${WORKDIR}/bnd-${PV}.REL/aQute.${PN}"
|
||||
|
||||
EANT_BUILD_TARGET="build"
|
||||
|
||||
java_prepare() {
|
||||
# Move the correct build.xml into place, needed for testing.
|
||||
cp ../cnf/build.xml . || die "Failed to move build file into the right place."
|
||||
|
||||
# Remove bundled jar files.
|
||||
find . -name '*.jar' -delete
|
||||
|
||||
# Remove test files
|
||||
if ! use test ; then
|
||||
find src/test -name '*.java' -delete || die "Failed to remove test files."
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar generated/aQute.${PN}.jar
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>java</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1 @@
|
||||
DIST osgi.cmpn-4.3.1.jar 741615 SHA256 d73af7676eb25236057598907ae40c7542b6a8dcdd5b9a0001552fb4b2134bbe SHA512 803e929b4b7cfee13a3ffa2c60ad03775afd8409c972bf26e3f79abc590466c2d885bdc339d9af2a3e8fda9cdf082d23a298362ac37935b0ede0719dee27e9f9 WHIRLPOOL d24c488ed334bd634b1b5349e433274af5534a442c7a934b1f891279f4e9269459d84aed2bcdc96f268ae4ea8d25b49dcaf70e12d6c344899dbe0279c6148ab9
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>java</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/osgi-compendium/osgi-compendium-4.3.1.ebuild,v 1.1 2013/07/05 13:05:59 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="OSGi Service Platform Compendium API (Companion Code)"
|
||||
HOMEPAGE="http://www.osgi.org/Specifications/HomePage"
|
||||
SRC_URI="http://www.osgi.org/download/r4v43/osgi.cmpn-${PV}.jar"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
COMMON_DEPEND="dev-java/glassfish-persistence:0
|
||||
dev-java/osgi-core-api:0
|
||||
dev-java/osgi-foundation:0
|
||||
dev-java/tomcat-servlet-api:3.0"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=virtual/jdk-1.5
|
||||
app-arch/unzip"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
>=virtual/jre-1.5"
|
||||
|
||||
JAVA_SRC_DIR="OSGI-OPT/src"
|
||||
|
||||
JAVA_GENTOO_CLASSPATH="glassfish-persistence,osgi-core-api,osgi-foundation,tomcat-servlet-api-3.0"
|
||||
|
||||
java_prepare() {
|
||||
rm -r org || die
|
||||
}
|
@ -0,0 +1,218 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== -->
|
||||
<!-- ====================================================================== -->
|
||||
<!-- -->
|
||||
<!-- Any modifications will be overwritten. -->
|
||||
<!-- -->
|
||||
<!-- Generated by Maven Ant Plugin on 5/11/13 9:36 AM -->
|
||||
<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ -->
|
||||
<!-- -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<project name="org.osgi.foundation-from-maven" default="package" basedir=".">
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Build environment properties -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<property file="${user.home}/.m2/maven.properties"/>
|
||||
<property file="maven-build.properties"/>
|
||||
|
||||
<property name="maven.build.finalName" value="org.osgi.foundation-1.2.0"/>
|
||||
<property name="maven.build.dir" value="target"/>
|
||||
<property name="maven.build.outputDir" value="${maven.build.dir}/classes"/>
|
||||
<property name="maven.build.srcDir.0" value="src/main/java"/>
|
||||
<property name="maven.build.resourceDir.0" value="src/main/resources"/>
|
||||
<property name="maven.build.resourceDir.1" value="."/>
|
||||
<property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/>
|
||||
<property name="maven.build.testDir.0" value="src/test/java"/>
|
||||
<property name="maven.build.testResourceDir.0" value="src/test/resources"/>
|
||||
<property name="maven.test.reports" value="${maven.build.dir}/test-reports"/>
|
||||
<property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/>
|
||||
|
||||
<property name="maven.repo.local" value="${user.home}/.m2/repository"/>
|
||||
<property name="maven.settings.offline" value="false"/>
|
||||
<property name="maven.settings.interactiveMode" value="true"/>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Defining classpaths -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<path id="build.classpath"/>
|
||||
<path id="build.test.classpath">
|
||||
<pathelement location="${maven.repo.local}/junit/junit/3.8.1/junit-3.8.1.jar"/>
|
||||
<pathelement location="${maven.repo.local}/easymock/easymock/1.2_Java1.3/easymock-1.2_Java1.3.jar"/>
|
||||
</path>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Cleaning up target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="clean" description="Clean the output directory">
|
||||
<delete dir="${maven.build.dir}"/>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Compilation target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="compile" depends="get-deps" description="Compile the code">
|
||||
<mkdir dir="${maven.build.outputDir}"/>
|
||||
<javac destdir="${maven.build.outputDir}"
|
||||
nowarn="false"
|
||||
debug="true"
|
||||
optimize="false"
|
||||
deprecation="true"
|
||||
target="1.3"
|
||||
verbose="false"
|
||||
fork="false"
|
||||
source="1.3">
|
||||
<src>
|
||||
<pathelement location="${maven.build.srcDir.0}"/>
|
||||
</src>
|
||||
<classpath refid="build.classpath"/>
|
||||
</javac>
|
||||
<mkdir dir="${maven.build.outputDir}/META-INF"/>
|
||||
<copy todir="${maven.build.outputDir}/META-INF">
|
||||
<fileset dir="${maven.build.resourceDir.1}">
|
||||
<include name="LICENSE*"/>
|
||||
<include name="NOTICE*"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Test-compilation target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="compile-tests"
|
||||
depends="compile"
|
||||
description="Compile the test code"
|
||||
unless="maven.test.skip">
|
||||
<mkdir dir="${maven.build.testOutputDir}"/>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Run all tests -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="test"
|
||||
depends="compile-tests, junit-missing"
|
||||
unless="junit.skipped"
|
||||
description="Run the test cases"/>
|
||||
|
||||
<target name="test-junit-present">
|
||||
<available classname="junit.framework.Test" property="junit.present"/>
|
||||
</target>
|
||||
|
||||
<target name="test-junit-status"
|
||||
depends="test-junit-present">
|
||||
<condition property="junit.missing">
|
||||
<and>
|
||||
<isfalse value="${junit.present}"/>
|
||||
<isfalse value="${maven.test.skip}"/>
|
||||
</and>
|
||||
</condition>
|
||||
<condition property="junit.skipped">
|
||||
<or>
|
||||
<isfalse value="${junit.present}"/>
|
||||
<istrue value="${maven.test.skip}"/>
|
||||
</or>
|
||||
</condition>
|
||||
</target>
|
||||
|
||||
<target name="junit-missing"
|
||||
depends="test-junit-status"
|
||||
if="junit.missing">
|
||||
<echo>=================================== WARNING ===================================</echo>
|
||||
<echo> JUnit is not present in your $ANT_HOME/lib directory. Tests not executed.</echo>
|
||||
<echo>===============================================================================</echo>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Javadoc target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="javadoc" description="Generates the Javadoc of the application">
|
||||
<javadoc sourcepath="${maven.build.srcDir.0}"
|
||||
packagenames="*"
|
||||
destdir="${maven.reporting.outputDirectory}/apidocs"
|
||||
access="protected"
|
||||
old="false"
|
||||
verbose="false"
|
||||
version="true"
|
||||
use="true"
|
||||
author="true"
|
||||
splitindex="false"
|
||||
nodeprecated="false"
|
||||
nodeprecatedlist="false"
|
||||
notree="false"
|
||||
noindex="false"
|
||||
nohelp="false"
|
||||
nonavbar="false"
|
||||
serialwarn="false"
|
||||
charset="ISO-8859-1"
|
||||
linksource="false"
|
||||
breakiterator="false"/>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Package target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="package" depends="compile,test" description="Package the application">
|
||||
<jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar"
|
||||
compress="true"
|
||||
index="false"
|
||||
basedir="${maven.build.outputDir}"
|
||||
excludes="**/package.html"/>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- A dummy target for the package named after the type it creates -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="jar" depends="package" description="Builds the jar for the application"/>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Download dependencies target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="test-offline">
|
||||
<condition property="maven.mode.offline">
|
||||
<equals arg1="${maven.settings.offline}" arg2="true"/>
|
||||
</condition>
|
||||
</target>
|
||||
|
||||
<target name="get-deps"
|
||||
depends="test-offline"
|
||||
description="Download all dependencies"
|
||||
unless="maven.mode.offline">
|
||||
<mkdir dir="${maven.repo.local}"/>
|
||||
<mkdir dir="${maven.repo.local}/junit/junit/3.8.1"/>
|
||||
<get src="http://people.apache.org/repo/m2-snapshot-repository/junit/junit/3.8.1/junit-3.8.1.jar"
|
||||
dest="${maven.repo.local}/junit/junit/3.8.1/junit-3.8.1.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
<get src="http://repo.maven.apache.org/maven2/junit/junit/3.8.1/junit-3.8.1.jar"
|
||||
dest="${maven.repo.local}/junit/junit/3.8.1/junit-3.8.1.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
<mkdir dir="${maven.repo.local}/easymock/easymock/1.2_Java1.3"/>
|
||||
<get src="http://people.apache.org/repo/m2-snapshot-repository/easymock/easymock/1.2_Java1.3/easymock-1.2_Java1.3.jar"
|
||||
dest="${maven.repo.local}/easymock/easymock/1.2_Java1.3/easymock-1.2_Java1.3.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
<get src="http://repo.maven.apache.org/maven2/easymock/easymock/1.2_Java1.3/easymock-1.2_Java1.3.jar"
|
||||
dest="${maven.repo.local}/easymock/easymock/1.2_Java1.3/easymock-1.2_Java1.3.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
</target>
|
||||
|
||||
</project>
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>java</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/osgi-foundation/osgi-foundation-1.2.0.ebuild,v 1.1 2013/07/05 13:03:01 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit subversion java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="OSGi R4 Foundation EE by Apache Felix"
|
||||
HOMEPAGE="http://felix.apache.org/"
|
||||
ESVN_REPO_URI="https://svn.apache.org/repos/asf/felix/releases/org.osgi.foundation-${PV}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
app-arch/unzip"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.5"
|
||||
|
||||
java_prepare() {
|
||||
cp "${FILESDIR}"/${P}-build.xml "${S}"/build.xml || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar target/org.osgi.foundation-${PV}.jar org.osgi.foundation.jar
|
||||
}
|
@ -0,0 +1,794 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/php-5.4.17.ebuild,v 1.1 2013/07/05 06:39:25 olemarkus Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils autotools flag-o-matic versionator depend.apache apache-module db-use libtool
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
|
||||
function php_get_uri ()
|
||||
{
|
||||
case "${1}" in
|
||||
"php-pre")
|
||||
echo "http://downloads.php.net/stas/${2}"
|
||||
;;
|
||||
"php")
|
||||
echo "http://www.php.net/distributions/${2}"
|
||||
;;
|
||||
"olemarkus")
|
||||
echo "http://dev.gentoo.org/~olemarkus/php/${2}"
|
||||
;;
|
||||
"gentoo")
|
||||
echo "mirror://gentoo/${2}"
|
||||
;;
|
||||
*)
|
||||
die "unhandled case in php_get_uri"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
PHP_MV="$(get_major_version)"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
|
||||
# alias, so we can handle different types of releases (finals, rcs, alphas,
|
||||
# betas, ...) w/o changing the whole ebuild
|
||||
PHP_PV="${PV/_rc/RC}"
|
||||
PHP_PV="${PHP_PV/_alpha/alpha}"
|
||||
PHP_PV="${PHP_PV/_beta/beta}"
|
||||
PHP_RELEASE="php"
|
||||
[[ ${PV} == ${PV/_alpha/} ]] || PHP_RELEASE="php-pre"
|
||||
[[ ${PV} == ${PV/_beta/} ]] || PHP_RELEASE="php-pre"
|
||||
[[ ${PV} == ${PV/_rc/} ]] || PHP_RELEASE="php-pre"
|
||||
PHP_P="${PN}-${PHP_PV}"
|
||||
|
||||
PHP_PATCHSET_LOC="olemarkus"
|
||||
|
||||
PHP_SRC_URI="$(php_get_uri "${PHP_RELEASE}" "${PHP_P}.tar.bz2")"
|
||||
|
||||
PHP_PATCHSET="2"
|
||||
PHP_PATCHSET_URI="
|
||||
$(php_get_uri "${PHP_PATCHSET_LOC}" "php-patchset-${SLOT}-r${PHP_PATCHSET}.tar.bz2")"
|
||||
|
||||
PHP_FPM_INIT_VER="4"
|
||||
PHP_FPM_CONF_VER="1"
|
||||
|
||||
SRC_URI="
|
||||
${PHP_SRC_URI}
|
||||
${PHP_PATCHSET_URI}"
|
||||
|
||||
DESCRIPTION="The PHP language runtime engine: CLI, CGI, FPM/FastCGI, Apache2 and embed SAPIs."
|
||||
HOMEPAGE="http://php.net/"
|
||||
LICENSE="PHP-3"
|
||||
|
||||
S="${WORKDIR}/${PHP_P}"
|
||||
|
||||
# We can build the following SAPIs in the given order
|
||||
SAPIS="embed cli cgi fpm apache2"
|
||||
|
||||
# SAPIs and SAPI-specific USE flags (cli SAPI is default on):
|
||||
IUSE="${IUSE}
|
||||
${SAPIS/cli/+cli}
|
||||
threads"
|
||||
|
||||
IUSE="${IUSE} bcmath berkdb bzip2 calendar cdb cjk
|
||||
crypt +ctype curl curlwrappers debug
|
||||
enchant exif frontbase +fileinfo +filter firebird
|
||||
flatfile ftp gd gdbm gmp +hash +iconv imap inifile
|
||||
intl iodbc ipv6 +json kerberos ldap ldap-sasl libedit mhash
|
||||
mssql mysql mysqlnd mysqli nls
|
||||
oci8-instant-client odbc pcntl pdo +phar +posix postgres qdbm
|
||||
readline recode selinux +session sharedmem
|
||||
+simplexml snmp soap sockets spell sqlite ssl
|
||||
sybase-ct sysvipc tidy +tokenizer truetype unicode wddx
|
||||
+xml xmlreader xmlwriter xmlrpc xpm xslt zip zlib"
|
||||
|
||||
DEPEND="
|
||||
>=app-admin/eselect-php-0.7.0[apache2?,fpm?]
|
||||
>=dev-libs/libpcre-8.32[unicode]
|
||||
apache2? ( www-servers/apache[threads=] )
|
||||
berkdb? ( =sys-libs/db-4* )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
cdb? ( || ( dev-db/cdb dev-db/tinycdb ) )
|
||||
cjk? ( !gd? (
|
||||
virtual/jpeg
|
||||
media-libs/libpng:0=
|
||||
sys-libs/zlib
|
||||
) )
|
||||
crypt? ( >=dev-libs/libmcrypt-2.4 )
|
||||
curl? ( >=net-misc/curl-7.10.5 )
|
||||
enchant? ( app-text/enchant )
|
||||
exif? ( !gd? (
|
||||
virtual/jpeg
|
||||
media-libs/libpng:0=
|
||||
sys-libs/zlib
|
||||
) )
|
||||
firebird? ( dev-db/firebird )
|
||||
gd? ( virtual/jpeg media-libs/libpng:0= sys-libs/zlib )
|
||||
gdbm? ( >=sys-libs/gdbm-1.8.0 )
|
||||
gmp? ( >=dev-libs/gmp-4.1.2 )
|
||||
iconv? ( virtual/libiconv )
|
||||
imap? ( virtual/imap-c-client[ssl=] )
|
||||
intl? ( dev-libs/icu:= )
|
||||
iodbc? ( dev-db/libiodbc )
|
||||
kerberos? ( virtual/krb5 )
|
||||
ldap? ( >=net-nds/openldap-1.2.11 )
|
||||
ldap-sasl? ( dev-libs/cyrus-sasl >=net-nds/openldap-1.2.11 )
|
||||
libedit? ( || ( sys-freebsd/freebsd-lib dev-libs/libedit ) )
|
||||
mssql? ( dev-db/freetds[mssql] )
|
||||
!mysqlnd? (
|
||||
mysql? ( virtual/mysql )
|
||||
mysqli? ( >=virtual/mysql-4.1 )
|
||||
)
|
||||
nls? ( sys-devel/gettext )
|
||||
oci8-instant-client? ( dev-db/oracle-instantclient-basic )
|
||||
odbc? ( >=dev-db/unixODBC-1.8.13 )
|
||||
postgres? ( dev-db/postgresql-base )
|
||||
qdbm? ( dev-db/qdbm )
|
||||
readline? ( sys-libs/readline )
|
||||
recode? ( app-text/recode )
|
||||
sharedmem? ( dev-libs/mm )
|
||||
simplexml? ( >=dev-libs/libxml2-2.6.8 )
|
||||
snmp? ( >=net-analyzer/net-snmp-5.2 )
|
||||
soap? ( >=dev-libs/libxml2-2.6.8 )
|
||||
spell? ( >=app-text/aspell-0.50 )
|
||||
sqlite? ( >=dev-db/sqlite-3.7.6.3 )
|
||||
ssl? ( >=dev-libs/openssl-0.9.7 )
|
||||
sybase-ct? ( dev-db/freetds )
|
||||
tidy? ( app-text/htmltidy )
|
||||
truetype? (
|
||||
=media-libs/freetype-2*
|
||||
>=media-libs/t1lib-5.0.0
|
||||
!gd? (
|
||||
virtual/jpeg media-libs/libpng:0= sys-libs/zlib )
|
||||
)
|
||||
unicode? ( dev-libs/oniguruma )
|
||||
wddx? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xml? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xmlrpc? ( >=dev-libs/libxml2-2.6.8 virtual/libiconv )
|
||||
xmlreader? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xmlwriter? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xpm? (
|
||||
x11-libs/libXpm
|
||||
virtual/jpeg
|
||||
media-libs/libpng:0= sys-libs/zlib
|
||||
)
|
||||
xslt? ( dev-libs/libxslt >=dev-libs/libxml2-2.6.8 )
|
||||
zip? ( sys-libs/zlib )
|
||||
zlib? ( sys-libs/zlib )
|
||||
virtual/mta
|
||||
"
|
||||
|
||||
php="=${CATEGORY}/${PF}"
|
||||
|
||||
REQUIRED_USE="
|
||||
truetype? ( gd )
|
||||
cjk? ( gd )
|
||||
exif? ( gd )
|
||||
|
||||
xpm? ( gd )
|
||||
gd? ( zlib )
|
||||
simplexml? ( xml )
|
||||
soap? ( xml )
|
||||
wddx? ( xml )
|
||||
xmlrpc? ( || ( xml iconv ) )
|
||||
xmlreader? ( xml )
|
||||
xslt? ( xml )
|
||||
ldap-sasl? ( ldap )
|
||||
mhash? ( hash )
|
||||
phar? ( hash )
|
||||
mysqlnd? ( || (
|
||||
mysql
|
||||
mysqli
|
||||
pdo
|
||||
) )
|
||||
|
||||
qdbm? ( !gdbm )
|
||||
readline? ( !libedit )
|
||||
recode? ( !imap !mysql !mysqli )
|
||||
sharedmem? ( !threads )
|
||||
|
||||
!cli? ( !cgi? ( !fpm? ( !apache2? ( !embed? ( cli ) ) ) ) )"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
RDEPEND="${RDEPEND} fpm? ( selinux? ( sec-policy/selinux-phpfpm ) )"
|
||||
|
||||
DEPEND="${DEPEND}
|
||||
sys-devel/flex
|
||||
>=sys-devel/m4-1.4.3
|
||||
>=sys-devel/libtool-1.5.18"
|
||||
|
||||
# Allow users to install production version if they want to
|
||||
|
||||
case "${PHP_INI_VERSION}" in
|
||||
production|development)
|
||||
;;
|
||||
*)
|
||||
PHP_INI_VERSION="development"
|
||||
;;
|
||||
esac
|
||||
|
||||
PHP_INI_UPSTREAM="php.ini-${PHP_INI_VERSION}"
|
||||
PHP_INI_FILE="php.ini"
|
||||
|
||||
want_apache
|
||||
|
||||
pkg_setup() {
|
||||
depend.apache_pkg_setup
|
||||
}
|
||||
|
||||
php_install_ini() {
|
||||
local phpsapi="${1}"
|
||||
|
||||
# work out where we are installing the ini file
|
||||
php_set_ini_dir "${phpsapi}"
|
||||
|
||||
local phpinisrc="${PHP_INI_UPSTREAM}-${phpsapi}"
|
||||
cp "${PHP_INI_UPSTREAM}" "${phpinisrc}"
|
||||
|
||||
# default to /tmp for save_path, bug #282768
|
||||
sed -e 's|^;session.save_path .*$|session.save_path = "'"${EPREFIX}"'/tmp"|g' -i "${phpinisrc}"
|
||||
|
||||
# Set the extension dir
|
||||
sed -e "s|^extension_dir .*$|extension_dir = ${extension_dir}|g" -i "${phpinisrc}"
|
||||
|
||||
# Set the include path to point to where we want to find PEAR packages
|
||||
sed -e 's|^;include_path = ".:/php/includes".*|include_path = ".:'"${EPREFIX}"'/usr/share/php'${PHP_MV}':'"${EPREFIX}"'/usr/share/php"|' -i "${phpinisrc}"
|
||||
|
||||
if use_if_iuse opcache; then
|
||||
elog "Adding opcache to ${phpinisrc}"
|
||||
echo "zend_extension=${PHP_DESTDIR}/$(get_libdir)/opcache.so" >> ${phpinisrc}
|
||||
fi
|
||||
|
||||
dodir "${PHP_INI_DIR#${EPREFIX}}"
|
||||
insinto "${PHP_INI_DIR#${EPREFIX}}"
|
||||
newins "${phpinisrc}" "${PHP_INI_FILE}"
|
||||
|
||||
elog "Installing php.ini for ${phpsapi} into ${PHP_INI_DIR#${EPREFIX}}"
|
||||
elog
|
||||
|
||||
dodir "${PHP_EXT_INI_DIR#${EPREFIX}}"
|
||||
dodir "${PHP_EXT_INI_DIR_ACTIVE#${EPREFIX}}"
|
||||
|
||||
# SAPI-specific handling
|
||||
|
||||
if [[ "${sapi}" == "fpm" ]] ; then
|
||||
[[ -z ${PHP_FPM_CONF_VER} ]] && PHP_FPM_CONF_VER=0
|
||||
einfo "Installing FPM CGI config file php-fpm.conf"
|
||||
insinto "${PHP_INI_DIR#${EPREFIX}}"
|
||||
newins "${FILESDIR}/php-fpm-r${PHP_FPM_CONF_VER}.conf" php-fpm.conf
|
||||
|
||||
# Remove bogus /etc/php-fpm.conf.default (bug 359906)
|
||||
[[ -f "${ED}/etc/php-fpm.conf.default" ]] && rm "${ED}/etc/php-fpm.conf.default"
|
||||
fi
|
||||
|
||||
# Install PHP ini files into /usr/share/php
|
||||
|
||||
dodoc php.ini-development
|
||||
dodoc php.ini-production
|
||||
|
||||
}
|
||||
|
||||
php_set_ini_dir() {
|
||||
PHP_INI_DIR="${EPREFIX}/etc/php/${1}-php${SLOT}"
|
||||
PHP_EXT_INI_DIR="${PHP_INI_DIR}/ext"
|
||||
PHP_EXT_INI_DIR_ACTIVE="${PHP_INI_DIR}/ext-active"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# USE=sharedmem (session/mod_mm to be exact) tries to mmap() this path
|
||||
# ([empty session.save_path]/session_mm_[sapi][gid].sem)
|
||||
# there is no easy way to circumvent that, all php calls during
|
||||
# install use -n, so no php.ini file will be used.
|
||||
# As such, this is the easiest way to get around
|
||||
addpredict /session_mm_cli250.sem
|
||||
addpredict /session_mm_cli0.sem
|
||||
|
||||
# Change PHP branding
|
||||
# Get the alpha/beta/rc version
|
||||
sed -re "s|^(PHP_EXTRA_VERSION=\").*(\")|\1-pl${PR/r/}-gentoo\2|g" \
|
||||
-i configure.in || die "Unable to change PHP branding"
|
||||
|
||||
# Apply generic PHP patches
|
||||
EPATCH_SOURCE="${WORKDIR}/patches/generic" EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
EPATCH_MULTI_MSG="Applying generic patches and fixes from upstream..." epatch
|
||||
|
||||
# Patch PHP to show Gentoo as the server platform
|
||||
sed -e 's/PHP_UNAME=`uname -a | xargs`/PHP_UNAME=`uname -s -n -r -v | xargs`/g' \
|
||||
-i configure.in || die "Failed to fix server platform name"
|
||||
|
||||
# Prevent PHP from activating the Apache config,
|
||||
# as we will do that ourselves
|
||||
sed -i \
|
||||
-e "s,-i -a -n php${PHP_MV},-i -n php${PHP_MV},g" \
|
||||
-e "s,-i -A -n php${PHP_MV},-i -n php${PHP_MV},g" \
|
||||
configure sapi/apache2filter/config.m4 sapi/apache2handler/config.m4
|
||||
|
||||
# Patch PHP to support heimdal instead of mit-krb5
|
||||
if has_version "app-crypt/heimdal" ; then
|
||||
sed -e 's|gssapi_krb5|gssapi|g' -i acinclude.m4 \
|
||||
|| die "Failed to fix heimdal libname"
|
||||
sed -e 's|PHP_ADD_LIBRARY(k5crypto, 1, $1)||g' -i acinclude.m4 \
|
||||
|| die "Failed to fix heimdal crypt library reference"
|
||||
fi
|
||||
|
||||
#Add user patches #357637
|
||||
epatch_user
|
||||
|
||||
#force rebuilding aclocal.m4
|
||||
rm aclocal.m4
|
||||
eautoreconf
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
# http://bugs.php.net/bug.php?id=48795, bug #343481
|
||||
sed -i -e '/BUILD_CGI="\\$(CC)/s/CC/CXX/' configure || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
addpredict /usr/share/snmp/mibs/.index
|
||||
addpredict /var/lib/net-snmp/mib_indexes
|
||||
|
||||
PHP_DESTDIR="${EPREFIX}/usr/$(get_libdir)/php${SLOT}"
|
||||
|
||||
# This is a global variable and should be in caps. It isn't because the
|
||||
# phpconfutils eclass relies on exactly this name...
|
||||
# for --with-libdir see bug #327025
|
||||
my_conf="
|
||||
--prefix="${PHP_DESTDIR}"
|
||||
--mandir="${PHP_DESTDIR}"/man
|
||||
--infodir="${PHP_DESTDIR}"/info
|
||||
--libdir="${PHP_DESTDIR}"/lib
|
||||
--with-libdir=$(get_libdir)
|
||||
--without-pear
|
||||
$(use_enable threads maintainer-zts)"
|
||||
|
||||
# extension USE flag shared
|
||||
my_conf+="
|
||||
$(use_enable bcmath bcmath )
|
||||
$(use_with bzip2 bz2 "${EPREFIX}"/usr)
|
||||
$(use_enable calendar calendar )
|
||||
$(use_enable ctype ctype )
|
||||
$(use_with curl curl "${EPREFIX}"/usr)
|
||||
$(use_with curlwrappers curlwrappers "${EPREFIX}"/usr)
|
||||
$(use_enable xml dom )
|
||||
$(use_with enchant enchant "${EPREFIX}"/usr)
|
||||
$(use_enable exif exif )
|
||||
$(use_enable fileinfo fileinfo )
|
||||
$(use_enable filter filter )
|
||||
$(use_enable ftp ftp )
|
||||
$(use_with nls gettext "${EPREFIX}"/usr)
|
||||
$(use_with gmp gmp "${EPREFIX}"/usr)
|
||||
$(use_enable hash hash )
|
||||
$(use_with mhash mhash "${EPREFIX}"/usr)
|
||||
$(use_with iconv iconv $(use elibc_glibc || echo "${EPREFIX}"/usr))
|
||||
$(use_enable intl intl )
|
||||
$(use_enable ipv6 ipv6 )
|
||||
$(use_enable json json )
|
||||
$(use_with kerberos kerberos "${EPREFIX}"/usr)
|
||||
$(use_enable xml libxml )
|
||||
$(use_with xml libxml-dir "${EPREFIX}"/usr)
|
||||
$(use_enable unicode mbstring )
|
||||
$(use_with crypt mcrypt "${EPREFIX}"/usr)
|
||||
$(use_with mssql mssql "${EPREFIX}"/usr)
|
||||
$(use_with unicode onig "${EPREFIX}"/usr)
|
||||
$(use_with ssl openssl "${EPREFIX}"/usr)
|
||||
$(use_with ssl openssl-dir "${EPREFIX}"/usr)
|
||||
$(use_enable pcntl pcntl )
|
||||
$(use_enable phar phar )
|
||||
$(use_enable pdo pdo )
|
||||
$(use_with postgres pgsql "${EPREFIX}"/usr)
|
||||
$(use_enable posix posix )
|
||||
$(use_with spell pspell "${EPREFIX}"/usr)
|
||||
$(use_with recode recode "${EPREFIX}"/usr)
|
||||
$(use_enable simplexml simplexml )
|
||||
$(use_enable sharedmem shmop )
|
||||
$(use_with snmp snmp "${EPREFIX}"/usr)
|
||||
$(use_enable soap soap )
|
||||
$(use_enable sockets sockets )
|
||||
$(use_with sqlite sqlite3 "${EPREFIX}"/usr)
|
||||
$(use_with sybase-ct sybase-ct "${EPREFIX}"/usr)
|
||||
$(use_enable sysvipc sysvmsg )
|
||||
$(use_enable sysvipc sysvsem )
|
||||
$(use_enable sysvipc sysvshm )
|
||||
$(use_with tidy tidy "${EPREFIX}"/usr)
|
||||
$(use_enable tokenizer tokenizer )
|
||||
$(use_enable wddx wddx )
|
||||
$(use_enable xml xml )
|
||||
$(use_enable xmlreader xmlreader )
|
||||
$(use_enable xmlwriter xmlwriter )
|
||||
$(use_with xmlrpc xmlrpc)
|
||||
$(use_with xslt xsl "${EPREFIX}"/usr)
|
||||
$(use_enable zip zip )
|
||||
$(use_with zlib zlib "${EPREFIX}"/usr)
|
||||
$(use_enable debug debug )"
|
||||
|
||||
# DBA support
|
||||
if use cdb || use berkdb || use flatfile || use gdbm || use inifile \
|
||||
|| use qdbm ; then
|
||||
my_conf="${my_conf} --enable-dba${shared}"
|
||||
fi
|
||||
|
||||
# DBA drivers support
|
||||
my_conf+="
|
||||
$(use_with cdb cdb)
|
||||
$(use_with berkdb db4 ${EPREFIX}/usr)
|
||||
$(use_enable flatfile flatfile )
|
||||
$(use_with gdbm gdbm ${EPREFIX}/usr)
|
||||
$(use_enable inifile inifile )
|
||||
$(use_with qdbm qdbm ${EPREFIX}/usr)"
|
||||
|
||||
# Support for the GD graphics library
|
||||
my_conf+="
|
||||
$(use_with truetype freetype-dir ${EPREFIX}/usr)
|
||||
$(use_with truetype t1lib ${EPREFIX}/usr)
|
||||
$(use_enable cjk gd-jis-conv )
|
||||
$(use_with gd jpeg-dir ${EPREFIX}/usr)
|
||||
$(use_with gd png-dir ${EPREFIX}/usr)
|
||||
$(use_with xpm xpm-dir ${EPREFIX}/usr)"
|
||||
# enable gd last, so configure can pick up the previous settings
|
||||
my_conf+="
|
||||
$(use_with gd gd)"
|
||||
|
||||
# IMAP support
|
||||
if use imap ; then
|
||||
my_conf+="
|
||||
$(use_with imap imap ${EPREFIX}/usr)
|
||||
$(use_with ssl imap-ssl ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
# Interbase/firebird support
|
||||
|
||||
if use firebird ; then
|
||||
my_conf+="
|
||||
$(use_with firebird interbase ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
# LDAP support
|
||||
if use ldap ; then
|
||||
my_conf+="
|
||||
$(use_with ldap ldap ${EPREFIX}/usr)
|
||||
$(use_with ldap-sasl ldap-sasl ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
# MySQL support
|
||||
if use mysql ; then
|
||||
if use mysqlnd ; then
|
||||
my_conf+="
|
||||
$(use_with mysql mysql mysqlnd)"
|
||||
else
|
||||
my_conf+="
|
||||
$(use_with mysql mysql ${EPREFIX}/usr)"
|
||||
fi
|
||||
my_conf+="
|
||||
$(use_with mysql mysql-sock ${EPREFIX}/var/run/mysqld/mysqld.sock)"
|
||||
fi
|
||||
|
||||
# MySQLi support
|
||||
if use mysqlnd ; then
|
||||
my_conf+="
|
||||
$(use_with mysqli mysqli mysqlnd)"
|
||||
else
|
||||
my_conf+="
|
||||
$(use_with mysqli mysqli ${EPREFIX}/usr/bin/mysql_config)"
|
||||
fi
|
||||
|
||||
# ODBC support
|
||||
if use odbc ; then
|
||||
my_conf+="
|
||||
$(use_with odbc unixODBC ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
if use iodbc ; then
|
||||
my_conf+="
|
||||
$(use_with iodbc iodbc ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
# Oracle support
|
||||
if use oci8-instant-client ; then
|
||||
my_conf+="
|
||||
$(use_with oci8-instant-client oci8)"
|
||||
fi
|
||||
|
||||
# PDO support
|
||||
if use pdo ; then
|
||||
my_conf+="
|
||||
$(use_with mssql pdo-dblib )"
|
||||
if use mysqlnd ; then
|
||||
my_conf+="
|
||||
$(use_with mysqlnd pdo-mysql mysqlnd)"
|
||||
else
|
||||
my_conf+="
|
||||
$(use_with mysql pdo-mysql ${EPREFIX}/usr)"
|
||||
fi
|
||||
my_conf+="
|
||||
$(use_with postgres pdo-pgsql )
|
||||
$(use_with sqlite pdo-sqlite ${EPREFIX}/usr)
|
||||
$(use_with odbc pdo-odbc unixODBC,${EPREFIX}/usr)"
|
||||
if use oci8-instant-client ; then
|
||||
my_conf+="
|
||||
$(use_with oci8-instant-client pdo-oci)"
|
||||
fi
|
||||
fi
|
||||
|
||||
# readline/libedit support
|
||||
my_conf+="
|
||||
$(use_with readline readline ${EPREFIX}/usr)
|
||||
$(use_with libedit libedit ${EPREFIX}/usr)"
|
||||
|
||||
# Session support
|
||||
if use session ; then
|
||||
my_conf+="
|
||||
$(use_with sharedmem mm ${EPREFIX}/usr)"
|
||||
else
|
||||
my_conf+="
|
||||
$(use_enable session session )"
|
||||
fi
|
||||
|
||||
# Use pic for shared modules such as apache2's mod_php
|
||||
my_conf="${my_conf} --with-pic"
|
||||
|
||||
# we use the system copy of pcre
|
||||
# --with-pcre-regex affects ext/pcre
|
||||
# --with-pcre-dir affects ext/filter and ext/zip
|
||||
my_conf="${my_conf} --with-pcre-regex=${EPREFIX}/usr --with-pcre-dir=${EPREFIX}/usr"
|
||||
|
||||
# Catch CFLAGS problems
|
||||
# Fixes bug #14067.
|
||||
# Changed order to run it in reverse for bug #32022 and #12021.
|
||||
replace-cpu-flags "k6*" "i586"
|
||||
|
||||
# Support user-passed configuration parameters
|
||||
my_conf="${my_conf} ${EXTRA_ECONF:-}"
|
||||
|
||||
# Support the Apache2 extras, they must be set globally for all
|
||||
# SAPIs to work correctly, especially for external PHP extensions
|
||||
|
||||
mkdir -p "${WORKDIR}/sapis-build"
|
||||
for one_sapi in $SAPIS ; do
|
||||
use "${one_sapi}" || continue
|
||||
php_set_ini_dir "${one_sapi}"
|
||||
|
||||
cp -r "${S}" "${WORKDIR}/sapis-build/${one_sapi}"
|
||||
cd "${WORKDIR}/sapis-build/${one_sapi}"
|
||||
|
||||
sapi_conf="${my_conf} --with-config-file-path=${PHP_INI_DIR}
|
||||
--with-config-file-scan-dir=${PHP_EXT_INI_DIR_ACTIVE}"
|
||||
|
||||
for sapi in $SAPIS ; do
|
||||
case "$sapi" in
|
||||
cli|cgi|embed|fpm)
|
||||
if [[ "${one_sapi}" == "${sapi}" ]] ; then
|
||||
sapi_conf="${sapi_conf} --enable-${sapi}"
|
||||
else
|
||||
sapi_conf="${sapi_conf} --disable-${sapi}"
|
||||
fi
|
||||
;;
|
||||
|
||||
apache2)
|
||||
if [[ "${one_sapi}" == "${sapi}" ]] ; then
|
||||
sapi_conf="${sapi_conf} --with-apxs2=${EPREFIX}/usr/sbin/apxs"
|
||||
else
|
||||
sapi_conf="${sapi_conf} --without-apxs2"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
econf ${sapi_conf}
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# snmp seems to run during src_compile, too (bug #324739)
|
||||
addpredict /usr/share/snmp/mibs/.index
|
||||
addpredict /var/lib/net-snmp/mib_indexes
|
||||
|
||||
for sapi in ${SAPIS} ; do
|
||||
if use "${sapi}"; then
|
||||
cd "${WORKDIR}/sapis-build/$sapi" || "Failed to change dir to ${WORKDIR}/sapis-build/$1"
|
||||
emake || die "emake failed"
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# see bug #324739 for what happens when we don't have that
|
||||
addpredict /usr/share/snmp/mibs/.index
|
||||
|
||||
# grab the first SAPI that got built and install common files from there
|
||||
local first_sapi=""
|
||||
for sapi in $SAPIS ; do
|
||||
if use $sapi ; then
|
||||
first_sapi=$sapi
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
# Makefile forgets to create this before trying to write to it...
|
||||
dodir "${PHP_DESTDIR#${EPREFIX}}/bin"
|
||||
|
||||
# Install php environment (without any sapis)
|
||||
cd "${WORKDIR}/sapis-build/$first_sapi"
|
||||
emake INSTALL_ROOT="${D}" \
|
||||
install-build install-headers install-programs \
|
||||
|| die "emake install failed"
|
||||
|
||||
local extension_dir="$("${ED}/${PHP_DESTDIR#${EPREFIX}}/bin/php-config" --extension-dir)"
|
||||
|
||||
# Create the directory where we'll put version-specific php scripts
|
||||
keepdir /usr/share/php${PHP_MV}
|
||||
|
||||
local sapi="", file=""
|
||||
local sapi_list=""
|
||||
|
||||
for sapi in ${SAPIS}; do
|
||||
if use "${sapi}" ; then
|
||||
einfo "Installing SAPI: ${sapi}"
|
||||
cd "${WORKDIR}/sapis-build/${sapi}"
|
||||
|
||||
if [[ "${sapi}" == "apache2" ]] ; then
|
||||
# We're specifically not using emake install-sapi as libtool
|
||||
# may cause unnecessary relink failures (see bug #351266)
|
||||
insinto "${PHP_DESTDIR#${EPREFIX}}/apache2/"
|
||||
newins ".libs/libphp5$(get_libname)" "libphp${PHP_MV}$(get_libname)"
|
||||
keepdir "/usr/$(get_libdir)/apache2/modules"
|
||||
else
|
||||
# needed each time, php_install_ini would reset it
|
||||
local dest="${PHP_DESTDIR#${EPREFIX}}"
|
||||
into "${dest}"
|
||||
case "$sapi" in
|
||||
cli)
|
||||
source="sapi/cli/php"
|
||||
;;
|
||||
cgi)
|
||||
source="sapi/cgi/php-cgi"
|
||||
;;
|
||||
fpm)
|
||||
source="sapi/fpm/php-fpm"
|
||||
;;
|
||||
embed)
|
||||
source="libs/libphp${PHP_MV}$(get_libname)"
|
||||
;;
|
||||
*)
|
||||
die "unhandled sapi in src_install"
|
||||
;;
|
||||
esac
|
||||
|
||||
if [[ "${source}" == *"$(get_libname)" ]]; then
|
||||
dolib.so "${source}" || die "Unable to install ${sapi} sapi"
|
||||
else
|
||||
dobin "${source}" || die "Unable to install ${sapi} sapi"
|
||||
local name="$(basename ${source})"
|
||||
dosym "${dest}/bin/${name}" "/usr/bin/${name}${SLOT}"
|
||||
fi
|
||||
fi
|
||||
|
||||
php_install_ini "${sapi}"
|
||||
|
||||
# construct correct SAPI string for php-config
|
||||
# thanks to ferringb for the bash voodoo
|
||||
if [[ "${sapi}" == "apache2" ]]; then
|
||||
sapi_list="${sapi_list:+${sapi_list} }apache2handler"
|
||||
else
|
||||
sapi_list="${sapi_list:+${sapi_list} }${sapi}"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
# Installing opcache module
|
||||
if use_if_iuse opcache ; then
|
||||
dolib.so "modules/opcache$(get_libname)" || die "Unable to install opcache module"
|
||||
fi
|
||||
|
||||
# Install env.d files
|
||||
newenvd "${FILESDIR}/20php5-envd" \
|
||||
"20php${SLOT}"
|
||||
sed -e "s|/lib/|/$(get_libdir)/|g" -i \
|
||||
"${ED}/etc/env.d/20php${SLOT}"
|
||||
sed -e "s|php5|php${SLOT}|g" -i \
|
||||
"${ED}/etc/env.d/20php${SLOT}"
|
||||
|
||||
# set php-config variable correctly (bug #278439)
|
||||
sed -e "s:^\(php_sapis=\)\".*\"$:\1\"${sapi_list}\":" -i \
|
||||
"${ED}/usr/$(get_libdir)/php${SLOT}/bin/php-config"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
echo ">>> Test phase [test]: ${CATEGORY}/${PF}"
|
||||
PHP_BIN="${WORKDIR}/sapis-build/cli/sapi/cli/php"
|
||||
if [[ ! -x "${PHP_BIN}" ]] ; then
|
||||
ewarn "Test phase requires USE=cli, skipping"
|
||||
return
|
||||
else
|
||||
export TEST_PHP_EXECUTABLE="${PHP_BIN}"
|
||||
fi
|
||||
|
||||
if [[ -x "${WORKDIR}/sapis/cgi/php-cgi" ]] ; then
|
||||
export TEST_PHP_CGI_EXECUTABLE="${WORKDIR}/sapis/cgi/php-cgi"
|
||||
fi
|
||||
|
||||
REPORT_EXIT_STATUS=1 "${TEST_PHP_EXECUTABLE}" -n -d "session.save_path=${T}" \
|
||||
"${WORKDIR}/sapis-build/cli/run-tests.php" -n -q -d "session.save_path=${T}"
|
||||
|
||||
for name in ${EXPECTED_TEST_FAILURES}; do
|
||||
mv "${name}.out" "${name}.out.orig" 2>/dev/null
|
||||
done
|
||||
|
||||
local failed="$(find -name '*.out')"
|
||||
if [[ ${failed} != "" ]] ; then
|
||||
ewarn "The following test cases failed unexpectedly:"
|
||||
for name in ${failed}; do
|
||||
ewarn " ${name/.out/}"
|
||||
done
|
||||
else
|
||||
einfo "No unexpected test failures, all fine"
|
||||
fi
|
||||
|
||||
if [[ ${PHP_SHOW_UNEXPECTED_TEST_PASS} == "1" ]] ; then
|
||||
local passed=""
|
||||
for name in ${EXPECTED_TEST_FAILURES}; do
|
||||
[[ -f "${name}.diff" ]] && continue
|
||||
passed="${passed} ${name}"
|
||||
done
|
||||
if [[ ${passed} != "" ]] ; then
|
||||
einfo "The following test cases passed unexpectedly:"
|
||||
for name in ${passed}; do
|
||||
ewarn " ${passed}"
|
||||
done
|
||||
else
|
||||
einfo "None of the known-to-fail tests passed, all fine"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Output some general info to the user
|
||||
if use apache2 ; then
|
||||
APACHE2_MOD_DEFINE="PHP5"
|
||||
APACHE2_MOD_CONF="70_mod_php5"
|
||||
apache-module_pkg_postinst
|
||||
fi
|
||||
|
||||
# Create the symlinks for php
|
||||
for m in ${SAPIS}; do
|
||||
[[ ${m} == 'embed' ]] && continue;
|
||||
if use $m ; then
|
||||
local ci=$(eselect php show $m)
|
||||
if [[ -z $ci ]]; then
|
||||
eselect php set $m php${SLOT}
|
||||
einfo "Switched ${m} to use php:${SLOT}"
|
||||
einfo
|
||||
elif [[ $ci != "php${SLOT}" ]] ; then
|
||||
elog "To switch $m to use php:${SLOT}, run"
|
||||
elog " eselect php set $m php${SLOT}"
|
||||
elog
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
elog "Make sure that PHP_TARGETS in ${EPREFIX}/etc/make.conf includes php${SLOT/./-} in order"
|
||||
elog "to compile extensions for the ${SLOT} ABI"
|
||||
elog
|
||||
if ! use readline && use cli ; then
|
||||
ewarn "Note that in order to use php interactivly, you need to enable"
|
||||
ewarn "the readline USE flag or php -a will hang"
|
||||
fi
|
||||
elog
|
||||
elog "This ebuild installed a version of php.ini based on php.ini-${PHP_INI_VERSION} version."
|
||||
elog "You can chose which version of php.ini to install by default by setting PHP_INI_VERSION to either"
|
||||
elog "'production' or 'development' in ${EPREFIX}/etc/make.conf"
|
||||
elog "Both versions of php.ini can be found in ${EPREFIX}/usr/share/doc/${PF}"
|
||||
|
||||
elog
|
||||
elog "For more details on how minor version slotting works (PHP_TARGETS) please read the upgrade guide:"
|
||||
elog "http://www.gentoo.org/proj/en/php/php-upgrading.xml"
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
eselect php cleanup
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST libburn-1.2.8.tar.gz 926601 SHA256 5f33c8616c49950729133a4eb751b1bfe4a61943b59ea0a6e5968d475448845c SHA512 0fcab29201292a4a7341806281b550f36d3849268e5de25b9fe8d5e1610da457897eafdf2b7f2a2b9d3adb1258b5e072bdfd717675dea28ecab11d1f1c8951f1 WHIRLPOOL e07498fbd278bd930f842da01d1ebfe3eeca3f83ff2be4493716bbaf361a87bdfb19da883d887aecaa73920bca08717144853833807bff967ad104ee150f095b
|
||||
DIST libburn-1.3.0.pl01.tar.gz 929085 SHA256 c90c566f7a54f3de0f3ed5ddc6a5b897245ac6e6ec6c0be752feb7ec6001e17c SHA512 7f328e21ac90653e5e8a72f4c3f68f70dec878004811ebd430ed5cec571e7630c9e39e5e331ad8b4d8ad0a2a97dbadb5e6b654b2736359dd040815b2f2b3b229 WHIRLPOOL a95a311a408f2c08a755ddf049f5094b858aee3b6dcd7093dc5474649d28d3ce5dd6aa18763e3488d918059186eebed60f94124ec83ce5f206b3d15a87e2f92d
|
||||
|
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libburn/libburn-1.2.8.ebuild,v 1.10 2013/04/26 09:20:49 ago Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="Libburn is an open-source library for reading, mastering and writing optical discs."
|
||||
HOMEPAGE="http://libburnia-project.org"
|
||||
SRC_URI="http://files.libburnia-project.org/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86"
|
||||
IUSE="cdio debug static-libs track-src-odirect"
|
||||
|
||||
RDEPEND="cdio? ( >=dev-libs/libcdio-0.83 )"
|
||||
DEPEND="$RDEPEND
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable track-src-odirect) \
|
||||
--enable-pkg-check-modules \
|
||||
$(use_enable cdio libcdio) \
|
||||
--disable-ldconfig-at-install \
|
||||
$(use_enable debug)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
dodoc CONTRIBUTORS doc/{comments,*.txt}
|
||||
|
||||
cd "${S}"/cdrskin
|
||||
docinto cdrskin
|
||||
dodoc *.txt README
|
||||
docinto cdrskin/html
|
||||
dohtml cdrskin_eng.html
|
||||
|
||||
find "${D}" -name '*.la' -exec rm -rf '{}' '+' || die "la removal failed"
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST libisoburn-1.2.4.tar.gz 1279036 SHA256 be5c3adfcf8c32e8489ac77de5842c39cfefd8e994edebabb8353262945a85bf SHA512 379febdaad104cdb020d2fee94da0843f8ae7db497eb4e5fe55cb4da20f88fd07c8ae766767c905abbe7120684a38b2eae7d62169ce00305d4d420204db72390 WHIRLPOOL 07e05f872c7ba7b7546edfe9b18ce44fdbb0d2e0e0d5369ca30c67a116026eb9e17461220035afccbafec3635fd799a6ac99749ad07eb851c435d4ed73025607
|
||||
DIST libisoburn-1.2.8.tar.gz 1370701 SHA256 f6fc41f1ad00ae5edb2ef7e204e3c3465bd348dc2fee27c327bb31741cae0e88 SHA512 5706cf15008e5fb280d3c6f7172a06aea3cfb2090ab709ee79983962da220139d68940c0db154ccea44b97b63017f50c90b64570bca90b190238c750db60abe7 WHIRLPOOL 9e472848a80dff2e123c4f8b5de6b1ae6de04de8f79ea94969f246380bc93922e82f5849a3d62280411ef63e72a4524385ce40a6fc73ce58bf69e0c53f1c0214
|
||||
DIST libisoburn-1.3.0.tar.gz 1376920 SHA256 f90128ed2d6b3771a0f5e869eea351a0dc11eed3e82e823f3323924cf85aea7d SHA512 ceae1a339362ca63b3987dc8e54f4ea6ffc993087dd19a06e5d6e7e3dc28616d950ecce5788c7ecb743a5d2cacd2210410139e3936617c2d3a98252e983b8d05 WHIRLPOOL afe65e53ac2543e54ff2cfb48ec2a55cdb3f0e461d75c11fca199120df7bfeb76eec621343adb999c166fcb52274ddb0066a351d02c31be18a9df1d5e253a431
|
||||
|
@ -1,52 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libisoburn/libisoburn-1.2.4.ebuild,v 1.7 2012/09/30 18:59:44 armin76 Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="Enables creation and expansion of ISO-9660 filesystems on all CD/DVD media supported by libburn"
|
||||
HOMEPAGE="http://libburnia-project.org/"
|
||||
SRC_URI="http://files.libburnia-project.org/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ppc ppc64 x86"
|
||||
IUSE="acl cdio debug external-filters external-filters-setuid readline static-libs xattr zlib"
|
||||
|
||||
RDEPEND=">=dev-libs/libburn-1.2.4
|
||||
>=dev-libs/libisofs-1.2.4
|
||||
readline? ( sys-libs/readline )
|
||||
acl? ( virtual/acl )
|
||||
xattr? ( sys-apps/attr )
|
||||
zlib? ( sys-libs/zlib )
|
||||
cdio? ( >=dev-libs/libcdio-0.83 )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable readline libreadline) \
|
||||
$(use_enable acl libacl) \
|
||||
$(use_enable xattr) \
|
||||
$(use_enable zlib) \
|
||||
--disable-libjte \
|
||||
$(use_enable cdio libcdio) \
|
||||
$(use_enable external-filters) \
|
||||
$(use_enable external-filters-setuid) \
|
||||
--disable-ldconfig-at-install \
|
||||
--enable-pkg-check-modules \
|
||||
$(use_enable debug)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
dodoc CONTRIBUTORS doc/{comments,*.wiki,startup_file.txt}
|
||||
|
||||
cd "${S}"/xorriso
|
||||
docinto xorriso
|
||||
dodoc changelog.txt README_gnu_xorriso
|
||||
|
||||
find "${D}" -name '*.la' -exec rm -rf '{}' '+' || die "la removal failed"
|
||||
}
|
@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libisoburn/libisoburn-1.2.8.ebuild,v 1.7 2013/04/22 09:07:31 ago Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="Enables creation and expansion of ISO-9660 filesystems on all CD/DVD media supported by libburn"
|
||||
HOMEPAGE="http://libburnia-project.org/"
|
||||
SRC_URI="http://files.libburnia-project.org/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2 GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 hppa ppc ppc64 x86"
|
||||
IUSE="acl cdio debug external-filters external-filters-setuid frontend-optional launch-frontend launch-frontend-setuid readline static-libs xattr zlib"
|
||||
|
||||
REQUIRED_USE="frontend-optional? ( || ( launch-frontend launch-frontend-setuid ) )"
|
||||
|
||||
RDEPEND=">=dev-libs/libburn-1.2.8
|
||||
>=dev-libs/libisofs-1.2.8
|
||||
readline? ( sys-libs/readline )
|
||||
acl? ( virtual/acl )
|
||||
xattr? ( sys-apps/attr )
|
||||
zlib? ( sys-libs/zlib )
|
||||
cdio? ( >=dev-libs/libcdio-0.83 )
|
||||
launch-frontend? ( dev-lang/tcl dev-lang/tk )
|
||||
launch-frontend-setuid? ( dev-lang/tcl dev-lang/tk )
|
||||
frontend-optional? ( dev-tcltk/bwidget )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable readline libreadline) \
|
||||
$(use_enable acl libacl) \
|
||||
$(use_enable xattr) \
|
||||
$(use_enable zlib) \
|
||||
--disable-libjte \
|
||||
$(use_enable cdio libcdio) \
|
||||
$(use_enable external-filters) \
|
||||
$(use_enable external-filters-setuid) \
|
||||
$(use_enable launch-frontend) \
|
||||
$(use_enable launch-frontend-setuid) \
|
||||
--disable-ldconfig-at-install \
|
||||
--enable-pkg-check-modules \
|
||||
$(use_enable debug)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
dodoc CONTRIBUTORS doc/{comments,*.wiki,startup_file.txt}
|
||||
|
||||
cd "${S}"/xorriso
|
||||
docinto xorriso
|
||||
dodoc changelog.txt README_gnu_xorriso
|
||||
|
||||
find "${D}" -name '*.la' -exec rm -rf '{}' '+' || die "la removal failed"
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST libisofs-1.2.8.tar.gz 764335 SHA256 665f07752d416d05bc780ff12cccc438b9b0a9917b943750f2b3236ddeac65a0 SHA512 707a220fe49ff5ecd6816ac69d614823a3fa38e79d29c03f0bf696551cdeb6489b0f251ec7532fe79887cddb31183e5233862ce0b859fde46092588fd4313a38 WHIRLPOOL 81082eca7f73d8efac457138320f9a0bc8c5a4f42e4b252ee11b86f6e14bdc5f6dffc8508a1311ea258bb1975fdabd72e9952e9379f4aa75fd69028754d69a44
|
||||
DIST libisofs-1.3.0.tar.gz 768516 SHA256 6a4b84b9faf3c017725ee8edf4461a0dc325d25a272f884244dea94b19191f91 SHA512 1033038cf4a88bc701562a6b386a50925189f2780c6abfdbac78635f3855db18b6de6bbc6e5744a804c5bb84814175dc079e64572db713bec4939c6767b7597e WHIRLPOOL 67d2d5a3f5be6a8da2994dde4b45f6ad890b917110bbe896910b19619316e4f531e6a1a0e09340e63fd59c5950218b1c312d5f8395221519f55ebeaf92891472
|
||||
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libisofs/libisofs-1.2.8.ebuild,v 1.10 2013/04/26 09:21:09 ago Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="libisofs is an open-source library for reading, mastering and writing optical discs."
|
||||
HOMEPAGE="http://libburnia-project.org/"
|
||||
SRC_URI="http://files.libburnia-project.org/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86"
|
||||
IUSE="acl debug static-libs verbose-debug xattr zlib"
|
||||
|
||||
RDEPEND="acl? ( virtual/acl )
|
||||
xattr? ( sys-apps/attr )
|
||||
zlib? ( sys-libs/zlib )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable verbose-debug) \
|
||||
$(use_enable acl libacl) \
|
||||
$(use_enable xattr) \
|
||||
$(use_enable zlib) \
|
||||
--disable-libjte \
|
||||
--disable-ldconfig-at-install
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
dodoc Roadmap doc/{checksums.txt,susp_aaip*,Tutorial,zisofs_format.txt}
|
||||
|
||||
find "${D}" -name '*.la' -exec rm -rf '{}' '+' || die "la removal failed"
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST xmlrpc-c-1.28.03.tar.gz 751969 SHA256 6bc078a7fa7ea41bce40df490b0a670f9014678566acef3cd1ea0ce605fee422 SHA512 e729cad61de76ab38e234e3f2db0c6a8a45423fae992a7fe0c6e6e9f887fc89d08104ce1c7b4920a2f8089f919daf29cc2174a4951dd6868aeb838ee8a30abff WHIRLPOOL 3440aed117feeda88f2feaeac39869c7d3dc9bce76cee5ab1f0a989ccad31921e93ad1ed0d1590e415c05079d6c0951206f64010564c92afa356d1ef457be3d6
|
||||
DIST xmlrpc-c-1.32.05.tar.gz 769040 SHA256 cefd25dcb90556c90358cb44013a644f1aeafd37d2e18be37e66a3355b5ae0d2 SHA512 40813ad97010684e346ce4f286d9d7314547572f8681cf99d4c3c36cb7aa38b1cb72b84d63ab46e44282dc2bd95b85dbb022e3039700caa939469c6f7bf08d1f WHIRLPOOL 1e6ebbc1b3caa78e1e22210d81a61b74d71f61a33d1ea97f96ef250a5277d3cbe6d532d286bed8bb57e1ba4ccb54fd38bdf51f8d3bdbba00225bb5678de17292
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue