parent
5423f2dcb0
commit
06f72c82b9
@ -0,0 +1,116 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/freemind/freemind-1.0.1.ebuild,v 1.1 2014/08/03 09:49:07 sera Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc"
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Mind-mapping software written in Java"
|
||||
HOMEPAGE="http://freemind.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}-src-${PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="groovy latex pdf svg"
|
||||
|
||||
COMMON_DEP="
|
||||
dev-java/javahelp:0
|
||||
dev-java/jgoodies-forms:0
|
||||
dev-java/jibx:0
|
||||
dev-java/jortho:0
|
||||
>=dev-java/simplyhtml-0.13.1:0
|
||||
groovy? ( dev-java/groovy )
|
||||
latex? ( dev-java/hoteqn:0 )
|
||||
pdf? ( dev-java/batik:1.7 >=dev-java/fop-0.95:0 )
|
||||
svg? ( dev-java/batik:1.7 >=dev-java/fop-0.95:0 )"
|
||||
DEPEND="${COMMON_DEP}
|
||||
>=virtual/jdk-1.4
|
||||
pdf? ( dev-java/avalon-framework:4.2 )
|
||||
svg? ( dev-java/avalon-framework:4.2 )"
|
||||
RDEPEND="${COMMON_DEP}
|
||||
>=virtual/jre-1.4"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
java_prepare() {
|
||||
chmod +x check_for_duplicate_resources.sh || die
|
||||
|
||||
# someone got it all wrong (set/unset vs. bool)
|
||||
sed -i -e 's|<property name="include_latex" value="false"/>||' plugins/build.xml || die
|
||||
|
||||
# disable dmg build on Mac OS X
|
||||
sed -i -e 's:<antcall target="dist_\(macos\|icon\)"/>::p' 'build.xml' || die
|
||||
|
||||
use groovy || rm plugins/build_scripting.xml || die
|
||||
use latex || rm plugins/build_latex.xml || die
|
||||
use pdf || use svg || rm plugins/build_svg.xml || die
|
||||
# not compatible with releases of jmapviewer
|
||||
rm plugins/build_map.xml || die
|
||||
|
||||
rm -v $(find "${WORKDIR}" -name '*.jar' -o -name '*.zip') || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local build_files=( $(find "${S}" -name 'build*.xml') )
|
||||
JAVA_PKG_BSFIX_NAME="${build_files[@]##*/}"
|
||||
JAVA_ANT_REWRITE_CLASSPATH="yes"
|
||||
JAVA_ANT_CLASSPATH_TAGS+=" javadoc"
|
||||
JAVA_ANT_ENCODING="utf-8"
|
||||
java-ant-2_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local svg_deps svg_build_deps
|
||||
if use pdf || use svg; then
|
||||
svg_deps="batik-1.7,fop"
|
||||
svg_build_deps=":$(java-pkg_getjars --build-only avalon-framework-4.2)"
|
||||
fi
|
||||
EANT_GENTOO_CLASSPATH="
|
||||
jgoodies-forms,jibx,javahelp,jortho,simplyhtml
|
||||
$(usex groovy groovy '')
|
||||
$(usex latex hoteqn '')
|
||||
${svg_deps}"
|
||||
EANT_GENTOO_CLASSPATH_EXTRA="lib/bindings.jar${svg_build_deps}"
|
||||
EANT_BUILD_TARGET="dist"
|
||||
EANT_DOC_TARGET="doc"
|
||||
EANT_ANT_TASKS="jibx"
|
||||
java-pkg-2_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${WORKDIR}"/bin/dist || die
|
||||
local dest="/usr/share/${PN}/"
|
||||
|
||||
java-pkg_dojar lib/*.jar
|
||||
|
||||
if use doc; then
|
||||
java-pkg_dojavadoc doc/javadoc
|
||||
rm -r doc/javadoc
|
||||
fi
|
||||
|
||||
insinto "${dest}"
|
||||
doins -r accessories browser doc plugins patterns.xml
|
||||
|
||||
# register plugins for java-dep-check
|
||||
local plugins="help"
|
||||
use groovy && plugins+=" script"
|
||||
use latex && plugins+=" latex"
|
||||
if use pdf || use svg; then
|
||||
plugins+=" svg"
|
||||
fi
|
||||
local plugin
|
||||
for plugin in ${plugins}; do
|
||||
java-pkg_regjar "${ED}"${dest}/plugins/${plugin}/*jar
|
||||
done
|
||||
|
||||
java-pkg_dolauncher ${PN} --java_args "-Dfreemind.base.dir=${EPREFIX}${dest}" \
|
||||
--pwd "${EPREFIX}${dest}" --main freemind.main.FreeMindStarter
|
||||
|
||||
newicon "${S}/images/FreeMindWindowIcon.png" freemind.png
|
||||
|
||||
make_desktop_entry freemind Freemind freemind Utility
|
||||
}
|
@ -1,76 +0,0 @@
|
||||
# Copyright 1999-2007 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/jing/jing-20030619-r3.ebuild,v 1.4 2007/03/30 13:32:59 betelgeuse Exp $
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Jing: A RELAX NG validator in Java"
|
||||
HOMEPAGE="http://thaiopensource.com/relaxng/jing.html"
|
||||
SRC_URI="http://www.thaiopensource.com/download/${P}.zip"
|
||||
LICENSE="BSD Apache-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc x86"
|
||||
IUSE="doc source"
|
||||
COMMON_DEPEND="
|
||||
=dev-java/saxon-8*
|
||||
>=dev-java/xerces-2.7
|
||||
dev-java/iso-relax
|
||||
dev-java/xalan
|
||||
dev-java/relaxng-datatype
|
||||
dev-java/ant-core"
|
||||
RDEPEND=">=virtual/jre-1.4
|
||||
${COMMON_DEPEND}"
|
||||
DEPEND=">=virtual/jdk-1.4
|
||||
app-arch/unzip
|
||||
source? ( app-arch/zip )
|
||||
${COMMON_DEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
cp ${FILESDIR}/build-r1.xml build.xml || die
|
||||
|
||||
mkdir src/
|
||||
cd src/
|
||||
unpack ./../src.zip
|
||||
# Has java.util.regex, xerces2 and xerces1 implementation
|
||||
# We only need the first one
|
||||
rm -vr com/thaiopensource/datatype/xsd/regex/{xerces,xerces2} || die
|
||||
epatch "${FILESDIR}/build-patch.diff"
|
||||
epatch "${FILESDIR}/${P}-xerces.patch"
|
||||
|
||||
#remove bundled relaxng-datatype
|
||||
rm -r org || die
|
||||
|
||||
cd ../bin/
|
||||
rm -v *.jar || die
|
||||
java-pkg_jar-from iso-relax
|
||||
java-pkg_jar-from xerces-2
|
||||
java-pkg_jar-from xalan
|
||||
java-pkg_jar-from saxon saxon8.jar saxon.jar
|
||||
java-pkg_jar-from relaxng-datatype
|
||||
java-pkg_jar-from ant-core
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
eant jar #premade javadocs
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local cp
|
||||
for jar in bin/*.jar; do
|
||||
cp="${cp}:${jar}"
|
||||
done
|
||||
# would need some test files could probably take this from the gcj version
|
||||
#java -cp ${cp} com.thaiopensource.datatype.xsd.regex.test.TestDriver || die
|
||||
#java -cp ${cp} com.thaiopensource.datatype.relaxng.util.TestDriver || die
|
||||
#java -cp ${cp} com.thaiopensource.datatype.xsd.regex.test.CategoryTest \
|
||||
# || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar bin/jing.jar
|
||||
java-pkg_dolauncher ${PN} --main com.thaiopensource.relaxng.util.Driver
|
||||
use doc && java-pkg_dohtml -r doc/* readme.html
|
||||
use source && java-pkg_dosrc src/com
|
||||
}
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/tree/tree-1.6.0-r1.ebuild,v 1.14 2014/01/18 05:27:18 vapier Exp $
|
||||
|
||||
EAPI=4
|
||||
inherit toolchain-funcs flag-o-matic bash-completion-r1
|
||||
|
||||
DESCRIPTION="Lists directories recursively, and produces an indented listing of files."
|
||||
HOMEPAGE="http://mama.indstate.edu/users/ice/tree/"
|
||||
SRC_URI="ftp://mama.indstate.edu/linux/tree/${P}.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="!=sci-biology/meme-4.8.1"
|
||||
DEPEND=""
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e 's:LINUX:__linux__:' tree.c \
|
||||
|| die "sed failed"
|
||||
mv doc/tree.1.fr doc/tree.fr.1
|
||||
if use !elibc_glibc ; then
|
||||
# 433972, also previously done only for elibc_uclibc
|
||||
sed -i -e '/^OBJS=/s/$/ strverscmp.o/' Makefile || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
append-lfs-flags
|
||||
emake \
|
||||
CC="$(tc-getCC)" \
|
||||
CFLAGS="${CFLAGS} ${CPPFLAGS}" \
|
||||
LDFLAGS="${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin tree
|
||||
doman doc/tree*.1
|
||||
dodoc CHANGES README*
|
||||
newbashcomp "${FILESDIR}"/${PN}.bashcomp ${PN}
|
||||
}
|
@ -1,10 +1,22 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX 0.9.8-build.xml.patch 771 SHA256 0be482afe8459b005ffce5f67cf18580dc4a593e7aa65cd49bb6e3859aa9ce3c SHA512 b886c7f53bbbb10221b99c3d2ff32513c5388769310714e1c74c69aa662618bc719aa7338ccde92ca2119f9e6fa9591ae260dfe5055fa760f90b5f26ad740190 WHIRLPOOL 4cd022936f57f3c9121216825658bf4a699384c9374152713b51e158ef54d49e360066a75b07509cc739378fccae56cf9c8af8612421a9a26d45090dcae08f58
|
||||
AUX henplus-0.9.7-build.xml.patch 938 SHA256 88e2d5d25ed206245b6139ce70e5c5dba12f35680c273741563d067aed43809d SHA512 643dcc85dd18287e774517e6e6ec82f4c50d22082acfa2cdee1aade15de60e79d33aac489cf6802afc2f0ec3676c6ef249320f30697df22ea7f354fa42efbbb4 WHIRLPOOL e9fe87dfbc94f8bef0ada9d5526c5b33e14ae5a6183ff7169a8b70cceec50b204ef3a78f4a91492c5a18472d9ed906aa9131a68f2d2a69ec595ea84613abdcc1
|
||||
AUX henplus.patch 1331 SHA256 22a377b0a3e8fd38e88d1e3cd7d67c72fa754fc527d37f8f570ddc51f1ab0131 SHA512 1ebe6119d511a8f97cb9b07991ea3326b9a8dfab737bb9976d08dc2d6e20e80268e84dbec02cb8e907f2ca77af0f9283785436a69da1017c4859c0c434601eba WHIRLPOOL 3c31ad4786fe77c385171d0b7351fb36ee702cbefe7b7cb12c13e1294139df8d77d96bff674cc3491482bd9c1b303e06924e9addcbcabb5ed4df68e091a5c5fa
|
||||
AUX henplus.pre 1418 SHA256 cfd948b2b124202cc6c30d95ca29ce47c6ec43eae8fc6724e2fcd978a4442784 SHA512 331138630336c9f7a2f7cbf343b6ea77277d4ad77d706497545a6ff33cf44572cbe126acb4f0d212a40f652a24190b629f7776dbca08630de66d6f8ac3fae26a WHIRLPOOL 4a557f4bb8aa9d6f950da6a55612b04a509052134a59161810e30ebf20f1a1c430fd0c87517f24f42cc1c9a11fb24516c20e31e71dd7e921060489e9c6729cfc
|
||||
DIST henplus-0.9.7.tar.gz 219625 SHA256 9dff883c30c377a5e2c58928ad7442ed94710252df0f1d96fc509063839d33e7 SHA512 34b71c027f5010dcf0709b062aea99ab156465b7c14d13e39b473587fe54ee0ed7d84d4b8a9641cae26624842d290d5e5fc3b472f34489cf21a22782283148bd WHIRLPOOL 5b5747e582fe89267d4233efeb838e804c270fc838e27755949c65fe4627dc302843e389b63fffe785832353406624d768ef66f099e7756db7c0478723fd9824
|
||||
DIST henplus-0.9.8.tar.gz 233035 SHA256 ea7ca363d0503317235e97f66aa0efefe44463d8445e88b304ec0ac1748fe1ff SHA512 a22fc847f4441f627c1fa12f4f365c38d0c8ddfc205758d044e797e83f8d37032995666c2ee3dbb68d0a5f563fa5d574886e85757b1faa0acfc055e92b2fad0b WHIRLPOOL 82236dcde4865049b97d89dc02bbe062e74fbb002bdebd301400fbb84d28a4a196c7bf206fe279c881e47661216c18e5356fe6ff7170f46c6ee1c01cdb61f42e
|
||||
EBUILD henplus-0.9.7-r1.ebuild 1182 SHA256 4a0f8db0c6a94fe6344bf7ec73f5695999be5fe67a55d57f4c78745cb7aab5e6 SHA512 184c9aa84887b4db20d3ce0e2a18cef7bd3f65cc8f62841ce1e9d61541dc359967ce6d2c6db9830928f034af8459dc23f91d0eb66d582e525eb2a87f142959e2 WHIRLPOOL 5e02c625f5591ca5be3f994c7f515ef6556e4a337663e91e938c726dd833f7b283e5f2892d40be2bd8df9ec6c29140324028e02c5c963c01884ebc337e74ef25
|
||||
EBUILD henplus-0.9.8.ebuild 1142 SHA256 481ecda69f9d59e274c9ca1daaf3c7ec07433fd692acbdb602c3eebea3e46eab SHA512 55a159ecb76a34bbc10618eaa4cb97dd15a8dda49bd37e4f87a8613a5d88810b82d1fffbe22dc095aa89fb6fe8a78a8b926dd256008e84ecaa696e8dc081a19b WHIRLPOOL cb0d33edcfd2313e2d591646404626d8614e01d23261b72904ab968561730ba41d0e294c3d5030bebc9867afd6d793d90ad8db49fda2ddc21e6ae4d09969a2f2
|
||||
MISC ChangeLog 3179 SHA256 7100a5a9473973a0f0ededef33afa6ae55c19593b4e4baacd69265c69d2f0d1f SHA512 b0bcda16adb0a11e3a089e3b9345f911a1dc22f10e0862049792145a73514a11df20e9d9f32bc9e7db21ed43763042990bdda67a5557da81cd517910d898446b WHIRLPOOL 0434cd146d95ed9a0982ffa14b220635414ac2ef4762f967236f7c1699b18a65d43249efd44a0b7bfa52f2d2325acc7c20d684f922b020a2026450d1180622b5
|
||||
MISC ChangeLog 3267 SHA256 e8edf80ca1c127bd83898eaf4852c9e49655a6a6ea573130d493493217458933 SHA512 14cb27723ee06ecfa52b23ec35006079041c80d8196dc6cc3c75b55928c7705831c7c646335d7817420d1fec0d2ef6c5e18444b0d23c15c7655f4b7178d3630b WHIRLPOOL 85d86f222ff5906a6438c5b220476449a94542f4b6a55e9df1473e8850f24a6faaa9d930c668b3ff804ccdd48878e67065a34878cf1e338944473e4baab75c49
|
||||
MISC metadata.xml 157 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9 SHA512 bbae663e26f48fdc5e272adc2b06c14f77f34c53caf84acb53908ff036e7c12a3edbbc0929d2db56bee861a453381d979c7e0983a23716f629ed2135c22ffece WHIRLPOOL 887e153e2481e7d76f0f1b67a395f10f0328b93930185ecdb8fcb5fe3c50f839086a18831d61cf45b34657aaffca6c3b7900cf3c04b712846a05027a84602448
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2
|
||||
|
||||
iQEcBAEBCAAGBQJT3eq4AAoJELjwI6Q8XPda5KsIALNYn2J+CWSiEEOZWy8mFSo8
|
||||
t5j421p15R3nobrcqh9WS5xAd2tCEJbeCzZLMC8rsYPHvx6gfvKtV3Bf6gAMAna3
|
||||
lZnMqAZPfrjqfDU0du96YoF+JqRFsnbYVI4MoEyJgLHo3v2IDF4R+mS1Q4vuu1/P
|
||||
AYoSbOw85W2tYJMkwyv1XLVwbAmUOlboMymhISUMi8duxDLkts9YvjpCoBPLq2n+
|
||||
IY7RipATnWrV20meJDmiGri0fHC8hFAnN4js4SH2srFJpHnoREQGHpkN+vyh82oU
|
||||
0qGIAKxYLzdhDyzYQdk7+w7a5kf1LngIT3KxZbUFuF3QQxyaM2XUHt3vOKJyKRQ=
|
||||
=ZiTx
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2007 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/henplus/henplus-0.9.7-r1.ebuild,v 1.5 2007/07/13 06:38:59 mr_bones_ Exp $
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 eutils java-ant-2
|
||||
|
||||
DESCRIPTION="Java-based multisession SQL shell for databases with JDBC support."
|
||||
HOMEPAGE="http://henplus.sf.net"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEPEND="=dev-java/commons-cli-1*
|
||||
dev-java/libreadline-java"
|
||||
RDEPEND=">=virtual/jre-1.3
|
||||
${COMMON_DEPEND}"
|
||||
DEPEND=">=virtual/jdk-1.3
|
||||
${COMMON_DEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
epatch "${FILESDIR}/${P}-build.xml.patch"
|
||||
|
||||
cd lib
|
||||
rm -v *.jar build/*.jar || die
|
||||
java-pkg_jar-from commons-cli-1 commons-cli.jar
|
||||
java-pkg_jar-from libreadline-java libreadline-java.jar
|
||||
}
|
||||
|
||||
src_install () {
|
||||
java-pkg_dojar "build/${PN}.jar"
|
||||
|
||||
java-pkg_dolauncher ${PN} -pre "${FILESDIR}/${PN}.pre" \
|
||||
--main henplus.HenPlus
|
||||
|
||||
dodoc README || die
|
||||
dohtml doc/HenPlus.html || die
|
||||
use doc && java-pkg_dojavadoc javadoc/api
|
||||
|
||||
use source && java-pkg_dosrc "src/${PN}"
|
||||
}
|
@ -1,8 +1,18 @@
|
||||
DIST AppleJavaExtensions.zip 3720 SHA256 859531cbf87327bdb23cf5f006a7848f5173b01c5666891aac06497968c0fd40 SHA512 8da6cbe206dd0bc084848b2c0342099ff4a9f0875fe2ff1a78d4e85123b869577dc2b06bcde0dc5fec03b7b6ea412ef540c3a836a05cc51dc6555f85cab18b42 WHIRLPOOL 9a08fd1dccc48ccf8c981cf7fcfc5b1af0027c98e003cfa41df2957b41f2282b45f3c586d5c1c0f79fd619c5396692a7949295b096c2f1e07968fd92b8225e8b
|
||||
DIST apple-java-extensions-bin-1.3.zip 4970 SHA256 0eaab045e7448b8aaef557e3bd374e51297703dd8bc7cbe20fa73dbc1d0740fd SHA512 d1ce677c3ea4011340aa1384aaafda2c90f446920a7f7b0802e89526e0d5e8c64db71aa4eb14f9cd0c4bfcc2694554868cead2250b8f2a5d4d44ac1caf62e494 WHIRLPOOL 3cf48f91488341b7e3e5f53998bfef04d5122c75ac4a6bfa06000e84fdafa43457bfea6181c58d567693e0fa8c25481038768e3506da843f30e6b15990fd8b6b
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST apple-java-extensions-bin-1.5.zip 18036 SHA256 82a2de820045c484f7850d0a02a36a03890eea8c7f0d3907ba64da43ee9f13bd SHA512 9f3e9a8eab3980feda8584ca75d58da8b31ec0ed77fb2a4a1488d0b2ca0efd845ff705fc372ba3958753690f839b0ccb2e9310d6896564317b625ff9ba9cc456 WHIRLPOOL bad2c6232daafd0a5c755855a8e94f3c095a41db8f3ccdc9688382e87f7b45a815a57f692e3f53189b8f01b6efb33ff3e033bb0e946caf88406d3c72f023f99d
|
||||
EBUILD apple-java-extensions-bin-1.2-r1.ebuild 777 SHA256 94c3d6ba367d63c7fdff3a80bdb7643cf00944eaa684bffcd2cbd02918456211 SHA512 4a00d9c5509ea672a739460d9e70b83f7b9d2aa1fcaf4dcb01534ed4b26ce737e5fde2dde47406b10b63e4b9e1771434d03f09660339f7ea961ca1e8a6c78b36 WHIRLPOOL a5fbcc47d3327935b7045ead90f0e251bb388d23256c01de5fdb8b464ac5bede259eee1a5188ecccf3473c3d58552d55d7034c948630ff336b8f098e1c9c3104
|
||||
EBUILD apple-java-extensions-bin-1.3.ebuild 797 SHA256 9b84cd5e8ed09f2852357bd11c2db973ca73252394a7d7e8f644a2e85a98a73f SHA512 797ee5c0ece777e7f9ca322a3abec4f17ffce6f57d35e712ea8ba6fe3612e31d3d688c2e11b4430644b9cebd4de9f25b7e59418546cb916c115c9e774bd0e4dd WHIRLPOOL 0983041059228bd580b125a7362b964d304c3d33b59691bf7abf04ec62f63da89b67e238092a3d9f77401b0d98143294b38474d43e01e4807857d2db7dd9dbb7
|
||||
EBUILD apple-java-extensions-bin-1.5.ebuild 792 SHA256 003d467b1e37e541b7ca28094ee7abb7454bec3d3aae60edcb9717913818d20f SHA512 a6e783f563a5fc0b29a16aa1b86efa19c04c30c056700b446f4d00a5008bb88866d38c43427bd5feb32bd77f3b820f4cd9ce226db7f9ca7cbd17a6c710f637be WHIRLPOOL 32bf9349e8ce189155b2860868a1e2af91844a2760e2b46ef200a5d75824dffa2cf24d3d14909a513054dc649a578630d2c8ed60f22111a355e3f1a987841ad4
|
||||
MISC ChangeLog 2416 SHA256 462ee1b3a0efbd029c5397c23f38bb483cf93c67368d9ecf68de4f875bb11c70 SHA512 537c866b24415e3a9a9f4e7d7950a011ddaa41de38767756552a4bdc44525cc93e68b6cdbdbf260661313fbfde237b81664dad9d6ec55678d630cb488133dc5a WHIRLPOOL 4f5f7703d96ee9a042e47b0e73ffc975e256e902f6aded56c182f5c8a9f768be6691dbba1740728df009ec5c0181898aa4fa1423a8da83a7d5603c2c8a70abc0
|
||||
MISC ChangeLog 2563 SHA256 17cf5e1bedc2c3329d179ad17b829d3bfa4c2c90093097ee8b52cbae2e97fe1f SHA512 2e15ced2d7cd1f522b136daa7b533b9315891a4be2363c349278467cc6a88c89c02e9f4c990208ce5a8328c744e8b37b032fb6545949bbe1d50677bbba7493f2 WHIRLPOOL 3f1a52a7bed93fb42a26e1c734a85c039839a8a5dbc6b37af5fe660d9b00e6caa9b3cda6ebef27711a3f33f0fade47512cd2f12d81910e15d252c84ec56397a0
|
||||
MISC metadata.xml 426 SHA256 2c5cf491094a7e9c8a82d8805b13e3dd1050ba88c58a3f823d5399c1aba7b38b SHA512 3f2663e7e4e328030a93c34a1581f7e0f100fe77e0a79f7a54680f314eb428436029b0071c6ea57d4714004217c5269e11c267208717cf740e7f7a8e52f02ecd WHIRLPOOL 596062a99dc3b95cedb00c121895d088a2c7dea735b73dd3d247be0edbb73b110f58a60f2e8831749fb74f487a26a0a8357f7efe3a344ba92a0b1fc2e876bde4
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2
|
||||
|
||||
iQEcBAEBCAAGBQJT3gdiAAoJELjwI6Q8XPdajvgH/3x4jVnW2GaX85FuXGNxfsPn
|
||||
HBNgpMuTah/wexG8Lgte1msSlA7OimVydQ7E32wN6ehx5I3xAr/QlNwtf1vBuv5L
|
||||
2M2FoqmdQEjKP3JeO+g71ewcqZ5TifSo08BeZW5ceLzHTTaXmi/ZypEf0Pj+5QHV
|
||||
0NdaGs7oiZNdoppNyFqAfL+Y7fvHdBpu3wI8+QZ5vQFRFtp5dj8xa1UA3IgA4cjZ
|
||||
gwyP7pPZ52kVc1Gdu7zHLnEyW1x5gSpkcx9b+dbD/rMOg4MtQDEqUDjfafeXYUrE
|
||||
k2qr/np1rK4nSddYuO3YHwFdUvFg3b6wE6unBPwVocobypxmGP09cOH3SuRhIU4=
|
||||
=KnAA
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,22 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/apple-java-extensions-bin/apple-java-extensions-bin-1.2-r1.ebuild,v 1.5 2010/03/28 03:56:46 ali_bush Exp $
|
||||
|
||||
inherit java-pkg-2
|
||||
|
||||
DESCRIPTION="A pluggable jar of stub classes representing the new Apple eAWT and eIO APIs for Java on Mac OS X."
|
||||
HOMEPAGE="http://developer.apple.com/samplecode/AppleJavaExtensions/"
|
||||
SRC_URI="http://developer.apple.com/samplecode/AppleJavaExtensions/AppleJavaExtensions.zip"
|
||||
LICENSE="Apple"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc x86"
|
||||
IUSE=""
|
||||
DEPEND="app-arch/unzip"
|
||||
RDEPEND=">=virtual/jre-1.3"
|
||||
|
||||
S=${WORKDIR}/AppleJavaExtensions
|
||||
|
||||
src_install() {
|
||||
dodoc README.txt
|
||||
java-pkg_dojar AppleJavaExtensions.jar
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/apple-java-extensions-bin/apple-java-extensions-bin-1.3.ebuild,v 1.1 2010/03/28 03:56:46 ali_bush Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit java-pkg-2
|
||||
|
||||
DESCRIPTION="A pluggable jar of stub classes representing the new Apple eAWT and eIO APIs for Java on Mac OS X."
|
||||
HOMEPAGE="http://developer.apple.com/samplecode/AppleJavaExtensions/"
|
||||
SRC_URI="http://developer.apple.com/samplecode/AppleJavaExtensions/AppleJavaExtensions.zip -> ${P}.zip"
|
||||
LICENSE="Apple"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
DEPEND="app-arch/unzip"
|
||||
RDEPEND=">=virtual/jre-1.3"
|
||||
|
||||
S=${WORKDIR}/AppleJavaExtensions
|
||||
|
||||
src_install() {
|
||||
dodoc README.txt
|
||||
java-pkg_dojar AppleJavaExtensions.jar
|
||||
}
|
@ -1,19 +1,25 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX aspectwerkz-2.0-gentoo.patch 8362 SHA256 3ec2444b5bce5f43c6bebb1ee0dc74359b93424955f0dd7b521dc2cb5713fb05 SHA512 33d1b35c56ad0ed31104f4328336f10e4bc0140594191fdba4a2a7bf4931b566a786bb7560731883afca1d801fd39bcb703d687c0c2865b6780e59ff30ee213b WHIRLPOOL fc835a8ff2dfd10b0790f5f4f474d956d019eb7d109b3734bd0413fc7699d3eaeafc8ef6f002de44f81d01f435d14b8674937c09a678d547976690e5fdf93318
|
||||
AUX aspectwerkz-2.0-gentoo.patch 8371 SHA256 e267040713cb3828e1bd63c12b6c4a6429435faa0e88063ce5e7b29dfabff441 SHA512 5ee97593edd296aa88b1f4ce342bf4452898dab7db3043b0eb2c8d8716bd78748868649d827af5c3224d6038443cbd58591e138d284d338a764aa3b714d9e5ca WHIRLPOOL bd8c0d02da659345e24cd6696e51fa4f3091c60710ce11b37c92ad3b386f8dc25ee83c76fdbaddc47331431eeafa17f1009626dcba0c31e5f9d222e888fef06a
|
||||
AUX aspectwerkz-2.0-modernise_api.patch 3556 SHA256 f585b3e2ccb759ecba9d3e0da0adeaf35b49bee3bbe19b5e310a07126ef0d9a4 SHA512 1f9ca2ff92092edbcd134b4b156ce5fcc615c46abc1f3b4af28c48d70aecbee25ef6471792fdf747e48b73f26fabb2171239c6df92612e0db93e9411a86c27f6 WHIRLPOOL 5f3dc87e627e531c650cfe1f75d45473800703f6bd9ea77c3ad92a98d1424c3f68f14104491b6eca3dc4a86be6be3adf41eff33b0d905e3137129fa8b27cac3e
|
||||
AUX aspectwerkz-2.0_rc2-gentoo.patch 4866 SHA256 262f71feb10fc60b4fd2d6c160041c9ade5388c7d6b885ef9da18d4f8e4a3b29 SHA512 471a1a1fd9680dd6646b2424085b856bd98a2827237baf1c8ec299935bcd3a8fe158ecc00e540f337465d2c1b1825468c98ba0eb266f613ea4351aba0cc30b7d WHIRLPOOL 9f66d6cec9319f15a0227a784279993c8e2f194cf4bea3a9ed477c81f7393a058a5b7a4e5fd71efc15c189682c76ba1be0940ec7b3630f164f82776d57ae8510
|
||||
AUX aspectwerkz-2.0_rc2-jdk15.patch 4503 SHA256 7e0efe23f8f831bf0e11cc1e252c37387eede1b770847b44d803e0aeef7820de SHA512 b2c570d3a3fad540400fbb16034fad3cdfd2b4ee37eea26f85ec401cea2aba5d64c14bf0164788b11f649213acd53d13410868a6aa04b27caf36fd83f4311eec WHIRLPOOL c66f84803933032644e6c8ffc05f81f9a78e375965c98b428f1e88976626d5186375300efaaad85b364af9d1b3cfe1f685ac3c390c7e15682d0b53be35661951
|
||||
DIST aspectwerkz-2.0.RC2.zip 9758873 SHA256 ca3786ee34d7b339bee93944a1c136dcb2aaf783fd60ea88948c3bf19894e1a8 SHA512 01c9f1a074c90d4ed3d8d6a7521f938a5535a499caf1afed34ff9dbe9ba812e0caf109e91dc6d07c896b76c5be1aed9f14f0f549f190f2ce4d860a2355b0efc5 WHIRLPOOL 9ad1c4ce72688eeac694ae694d1f9665b49e7bc4c8a359d782affa4a3d0004391411bffae1ba27104882d96cc4a045be0e217eaccb2e1d988a1ddb8136cb8f7b
|
||||
DIST aspectwerkz-2.0.zip 14166266 SHA256 6d0f94338539dd0cbb0837337f65a64f65495a4194647e93fa96b27829ba9b46 SHA512 80052e36fcfb67c50c7ddaf3d76bc135add57f8d5eafe80d8e7ec214bc2636c9a22bf72f3c6ed473c042f2c2fadf64a525c2a123466d6426446aa7bfd3305a3f WHIRLPOOL a07d6e6aba5fe2da923314c12ca845010ab853a62caad305256792ea5d4844533efc908feee9233f80362de65887e9b6d0293f77e60aaf399243eb26d0f16c7c
|
||||
EBUILD aspectwerkz-2.0-r1.ebuild 1461 SHA256 b6120bb8b9944e994a7e7b3375aad1f87050b50793daffd66350db1a1eed138f SHA512 0c42b089dc94c643ab24d55af37269a76a97ab8e33bafec04e21c7e0995f32dbc7aaa581734ac1a796b2659565da0f9f9993f7ce7475fcabb9fbe502f39583b7 WHIRLPOOL 92925feaedde91332113597590ba9128a2b3f60825190d4d7fdd789cbf2ffb858b8b7db86b6df6792f1a5541cb408c2450f9243ba687afbddee9890d6e065f19
|
||||
EBUILD aspectwerkz-2.0.ebuild 1664 SHA256 1c5e4e7048bc1362e5b36e794fe5ef5af0a6f61d0738ba8cbbdf856928d253bd SHA512 5075e4fc80ef6ee40e169b83c010472f6c3f96607bbcf7c5e7e0d9b3f3a90c7e3f0eb613f1390028856416a9485b4ff5ee296ee502a537624bf0ab96c26c1e96 WHIRLPOOL ba7e8a89359e0888cb6aa0b3958464e560797110d0d8555400f0819cec5335b127aa221d8f0e622d200ecef00da71df3a7d69f402c1c473e78d0a5c89c1fd843
|
||||
EBUILD aspectwerkz-2.0_rc2-r3.ebuild 1518 SHA256 e143586b79a9038eaa19be24042b8daf7b619834cda7b701172576359288d738 SHA512 41b1670df8060b46a47902ef973efba05a52e9a2c6a468208ba54e4322a515599f492cf86ae85607204c67655bded9fae67f1f19f0b6f6eb7f9707c1a3b97067 WHIRLPOOL 3d68e58234b54652ff2032da3d8492b3d08d453adcbe3cb80f2b9f9e52184ff804dc54964a4b6085cd016e7041f87648ff27cc38763a7647cfe1da9250765579
|
||||
MISC ChangeLog 5111 SHA256 f59c07b4564a202914ddd66b3755105ff3610cfeceef7fd4a6a79531265e692f SHA512 ee98b37c1ecd31e5334efc94e70b64d373039637dcc51772731553e04c4402ee35fc30419f73ad45680c1747e2477f994c140cab60f613a6298e96b63ac25f6e WHIRLPOOL 220970b75a74615a8598e177c36c8f3a41744b372c829c05697c5c56130e63062a9b6dce06c4932686abb8bb161ad2078cdcb6b264339fad3bddcae04149020a
|
||||
MISC ChangeLog 5596 SHA256 9d78dcf5ba667b61ef669588def51beaa3689f4acfeb2e568bc6aec368760e1d SHA512 0ea03ea280c45bd34550d9ca2fcc7bfba9a7b51f80ddd3852e0e30e43b735373b56fc01e2a0f4e8a0588607cb5495a5a12c827f833128fa7f386e7f53afee8fd WHIRLPOOL 9c1b3c98d29bc3a90ea0ad481474d7b36aa0ef797697f0cccac64e13bd3212574a67bc2333b875f1db8c9577bcb04dff75f8e2ff1ea3a9b7f794f5d40b76d2eb
|
||||
MISC metadata.xml 158 SHA256 ea882ceccfd160b16cf7e79de423bdcc12b3fa000f124491a6df36f5783894fb SHA512 54f88fc3270968439ba87295b04365a89101c55d33a8c209a56036dc60244e5c73f78ec09484b3e5af28de9dee2159b1dab670cbd5d80a9e0c4543145c0390a3 WHIRLPOOL fcffc4fb6751b5a6eec33aa833f9d7dea0168d3ab67f7e34565370f92fd917ed882bcc57585481bf4d31e601f83a592d99d1c3f50fc793f1c38cd174cc8b2f26
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.21 (Darwin)
|
||||
Version: GnuPG v2
|
||||
|
||||
iEYEAREIAAYFAlIjKDAACgkQX3X2B8XHTonZ7ACfRa1rOvVjN9HvUbl9MiNRSVpj
|
||||
YqYAoJdqjvHtJ3AIeifhqZht5KwCVoVF
|
||||
=L9WE
|
||||
iQEcBAEBCAAGBQJT3gCmAAoJELjwI6Q8XPdaC+cIALxqk4aWzn2nLHx1oiLPOOVG
|
||||
Vm/PBIwmN2fLTViD2NJ0I2IM8wYTfFQKfhGjJOSNuKzzZrVvmMcPllHoaX6YndUx
|
||||
aKSpdvgyqGTq3BqDkdmA2qAgdQxUxa8dBVp4M+tzYMKkVD00bzB9KANF/SK+TK9z
|
||||
FI7EhFT3SAaWmrSVDfRtXd8uM6Ahutwo+9cS1/hiVDv5c+byTmAWAviFJRoOCbw0
|
||||
6SBgmBcNPvAy6x38jr61JWIhhyMZu/UV7p1Enp/mPo8Wr6xPKevYtST1beOjEHyR
|
||||
MwdTt5RS0+5OJjazxuypqaDNgGwp7a+0VsEmcQptA5G6FCIUhX4a/LQjK+wAMSE=
|
||||
=0+9D
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,60 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/aspectwerkz/aspectwerkz-2.0-r1.ebuild,v 1.1 2014/08/03 09:27:57 sera Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2 eutils
|
||||
|
||||
DESCRIPTION="AspectWerkz is a dynamic, lightweight and high-performant AOP/AOSD framework for Java."
|
||||
SRC_URI="http://dist.codehaus.org/${PN}/distributions/${P}.zip"
|
||||
HOMEPAGE="http://aspectwerkz.codehaus.org"
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="2"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE=""
|
||||
# bug 203268
|
||||
RESTRICT="test"
|
||||
|
||||
COMMON_DEP="
|
||||
dev-java/asm:1.5
|
||||
dev-java/dom4j:1
|
||||
dev-java/jrexx:0
|
||||
dev-java/trove:0
|
||||
dev-java/qdox:1.6
|
||||
dev-java/junit:0
|
||||
java-virtuals/jdk-with-com-sun"
|
||||
RDEPEND="
|
||||
>=virtual/jre-1.5
|
||||
${COMMON_DEP}"
|
||||
DEPEND="
|
||||
>=virtual/jdk-1.5
|
||||
${COMMON_DEP}
|
||||
app-arch/unzip"
|
||||
|
||||
java_prepare() {
|
||||
# unit tests need this
|
||||
chmod +x "bin/${PN}" || die
|
||||
epatch "${FILESDIR}"/${P}-gentoo.patch
|
||||
epatch "${FILESDIR}"/${P}-modernise_api.patch
|
||||
|
||||
find . -name '*.jar' -delete || die
|
||||
}
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="yes"
|
||||
|
||||
EANT_BUILD_TARGET="dist"
|
||||
EANT_GENTOO_CLASSPATH="asm-1.5,dom4j-1,jrexx,junit,trove,qdox-1.6"
|
||||
|
||||
src_install() {
|
||||
use source && java-pkg_dosrc src/*
|
||||
# other stuff besides javadoc here too
|
||||
use doc && java-pkg_dohtml -r docs/*
|
||||
|
||||
cd lib || die
|
||||
for jar in ${PN}*.jar; do
|
||||
java-pkg_newjar ${jar} ${jar/-${PV}}
|
||||
done
|
||||
}
|
@ -0,0 +1,82 @@
|
||||
--- src/main/org/codehaus/aspectwerkz/connectivity/RemoteProxyServer.java.old 2013-09-30 02:03:20.703138370 +0100
|
||||
+++ src/main/org/codehaus/aspectwerkz/connectivity/RemoteProxyServer.java 2013-09-30 05:49:54.768369910 +0100
|
||||
@@ -7,9 +7,13 @@
|
||||
**************************************************************************************/
|
||||
package org.codehaus.aspectwerkz.connectivity;
|
||||
|
||||
-import EDU.oswego.cs.dl.util.concurrent.BoundedBuffer;
|
||||
-import EDU.oswego.cs.dl.util.concurrent.LinkedQueue;
|
||||
-import EDU.oswego.cs.dl.util.concurrent.PooledExecutor;
|
||||
+import java.util.concurrent.ArrayBlockingQueue;
|
||||
+import java.util.concurrent.BlockingQueue;
|
||||
+import java.util.concurrent.LinkedBlockingQueue;
|
||||
+import java.util.concurrent.RejectedExecutionHandler;
|
||||
+import java.util.concurrent.ThreadPoolExecutor;
|
||||
+import java.util.concurrent.TimeUnit;
|
||||
+
|
||||
import org.codehaus.aspectwerkz.exception.WrappedRuntimeException;
|
||||
|
||||
import java.io.FileInputStream;
|
||||
@@ -152,7 +156,7 @@
|
||||
/**
|
||||
* The thread pool.
|
||||
*/
|
||||
- private PooledExecutor m_threadPool = null;
|
||||
+ private ThreadPoolExecutor m_threadPool = null;
|
||||
|
||||
/**
|
||||
* The class loader to use.
|
||||
@@ -262,13 +266,30 @@
|
||||
final int threadPoolInitSize,
|
||||
final int keepAliveTime,
|
||||
final boolean waitWhenBlocked) {
|
||||
- m_threadPool = new PooledExecutor(new BoundedBuffer(threadPoolInitSize), threadPoolMaxSize);
|
||||
- m_threadPool.setKeepAliveTime(keepAliveTime);
|
||||
- m_threadPool.createThreads(threadPoolInitSize);
|
||||
- m_threadPool.setMinimumPoolSize(threadPoolMinSize);
|
||||
+ m_threadPool = new ThreadPoolExecutor(threadPoolInitSize, threadPoolMaxSize,
|
||||
+ keepAliveTime, TimeUnit.MILLISECONDS,
|
||||
+ new ArrayBlockingQueue(threadPoolInitSize) {
|
||||
+ protected void afterExecute(Runnable r, ThreadPoolExecutor e) {
|
||||
+ if (waitWhenBlocked) e.notifyAll();
|
||||
+ }
|
||||
+ });
|
||||
+ m_threadPool.prestartAllCoreThreads();
|
||||
+ m_threadPool.setCorePoolSize(threadPoolMinSize);
|
||||
if (waitWhenBlocked) {
|
||||
- m_threadPool.waitWhenBlocked();
|
||||
- }
|
||||
+ m_threadPool.setRejectedExecutionHandler(new RejectedExecutionHandler() {
|
||||
+ public void rejectedExecution(Runnable r, ThreadPoolExecutor e) {
|
||||
+ if (e.isTerminating() || e.isTerminated())
|
||||
+ return;
|
||||
+ BlockingQueue<Runnable> tasks = e.getQueue();
|
||||
+ int maxSize = e.getMaximumPoolSize();
|
||||
+ while (tasks.remainingCapacity() == 0 || e.getPoolSize() == maxSize)
|
||||
+ try { e.wait(); } catch (InterruptedException ex) {}
|
||||
+ e.execute(r);
|
||||
+ }
|
||||
+ });
|
||||
+ } else {
|
||||
+ m_threadPool.setRejectedExecutionHandler(new ThreadPoolExecutor.CallerRunsPolicy());
|
||||
+ }
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -281,9 +302,10 @@
|
||||
private void createDynamicThreadPool(final int threadPoolMinSize,
|
||||
final int threadPoolInitSize,
|
||||
final int keepAliveTime) {
|
||||
- m_threadPool = new PooledExecutor(new LinkedQueue());
|
||||
- m_threadPool.setKeepAliveTime(keepAliveTime);
|
||||
- m_threadPool.createThreads(threadPoolInitSize);
|
||||
- m_threadPool.setMinimumPoolSize(threadPoolMinSize);
|
||||
+ m_threadPool = new ThreadPoolExecutor(threadPoolInitSize, Integer.MAX_VALUE,
|
||||
+ keepAliveTime, TimeUnit.MILLISECONDS,
|
||||
+ new LinkedBlockingQueue());
|
||||
+ m_threadPool.prestartAllCoreThreads();
|
||||
+ m_threadPool.setCorePoolSize(threadPoolMinSize);
|
||||
}
|
||||
-}
|
||||
\ No newline at end of file
|
||||
+}
|
@ -1,56 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/bcmail/bcmail-1.38-r1.ebuild,v 1.8 2013/07/12 02:42:30 patrick Exp $
|
||||
|
||||
EAPI=1
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
MY_P="${PN}-jdk14-${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 ~amd64-linux ~x86-linux"
|
||||
|
||||
COMMON_DEPEND="~dev-java/bcprov-${PV}:0
|
||||
=dev-java/junit-3.8*
|
||||
dev-java/sun-jaf
|
||||
java-virtuals/javamail"
|
||||
DEPEND=">=virtual/jdk-1.4
|
||||
app-arch/unzip
|
||||
${COMMON_DEPEND}"
|
||||
RDEPEND=">=virtual/jre-1.4
|
||||
${COMMON_DEPEND}"
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
unpack ./src.zip
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
mkdir "${S}/classes"
|
||||
|
||||
find org -name "*.java" > "${T}/src.list"
|
||||
ejavac -d "${S}/classes" \
|
||||
-classpath $(java-pkg_getjars bcprov,junit,sun-jaf,javamail) \
|
||||
"@${T}/src.list"
|
||||
|
||||
cd "${S}/classes"
|
||||
jar -cf "${S}/${PN}.jar" * || die "failed to create jar"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar "${S}/${PN}.jar"
|
||||
|
||||
use source && java-pkg_dosrc org
|
||||
use doc && java-pkg_dojavadoc docs
|
||||
}
|
@ -1,82 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/bcmail/bcmail-1.49.ebuild,v 1.2 2013/06/14 20:03:13 aballier 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"
|
||||
|
||||
COMMON_DEPEND=">=dev-java/bcprov-${PV}-r2:0[test?]
|
||||
>=dev-java/bcpkix-${PV}-r1:0[test?]
|
||||
dev-java/sun-jaf:0
|
||||
java-virtuals/javamail:0"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
app-arch/unzip
|
||||
test? ( dev-java/junit:0 )
|
||||
${COMMON_DEPEND}"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.5
|
||||
${COMMON_DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
# Package can't be build with test as bcprov and bcpkix can't be built with test.
|
||||
RESTRICT="test"
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
cd "${S}"
|
||||
unpack ./src.zip
|
||||
}
|
||||
|
||||
java_prepare() {
|
||||
mkdir "${S}"/classes
|
||||
|
||||
if use test ; then
|
||||
java-pkg_jar-from --build-only junit
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
find org -name "*.java" > "${T}"/src.list
|
||||
|
||||
local cp="$(java-pkg_getjars bcprov,bcpkix,sun-jaf,javamail)"
|
||||
if use test ; then
|
||||
cp="${cp}:junit.jar"
|
||||
else
|
||||
sed -i '/\/test\//d' "${T}"/src.list || die "Failed to remove test classes"
|
||||
fi
|
||||
|
||||
ejavac -d "${S}"/classes -cp ${cp} "@${T}"/src.list
|
||||
|
||||
cd "${S}"/classes
|
||||
jar -cf "${S}"/${PN}.jar * || die "failed to create jar"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local cp="${PN}.jar:bcprov.jar:bcpkix.jar:junit.jar"
|
||||
|
||||
java -cp ${cp} org.bouncycastle.mail.smime.test.AllTests | tee mail.tests
|
||||
|
||||
grep -q FAILURES *.tests && die "Tests failed."
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar "${S}"/${PN}.jar
|
||||
|
||||
use source && java-pkg_dosrc org
|
||||
use doc && java-pkg_dojavadoc docs
|
||||
}
|
@ -1,20 +1,18 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST bcpg-jdk15on-149.tar.gz 652057 SHA256 938c3cb6ae11b43616d08e08af5e4311a1bf291c6cbfd0b5d6a769b8cf82227c SHA512 059fc7a229f2478059a69c28256aa4fdfb214d70204c38ecd1e60cdecda4525868254542b26282ca461b3f41968e2069ebc9d64d7faa299b87e1def292ca865a WHIRLPOOL 25ca6a90e277f0e38b5116c565c189acca057a14dbd6c762eb1e3f57eb8f41dae848412e3cdf3492ad6290dc211ed70b8ab1282326f7500c138f71e663d44f64
|
||||
DIST bcpg-jdk15on-150.tar.gz 691012 SHA256 7a5097f02db626c2dd2b8c05fdb90c09b1c14a9aaec341fa7c94b0d956790b0c SHA512 763d253b9bb45b7e7fab75d557daa784c3d4a503ced979adc986e5688c3939db248853c864a2f4bec6d5b1dd9ed668d5f278c91b5607774fc703971d0b330fe6 WHIRLPOOL b14e374c3750f2a717dbfee3644bb1b69fa626bf04ccb00ef1762cdac81043422d92c4759c63d0dbb0e2d467701214885e064fc3e79a8d72d9111f7323284ba4
|
||||
EBUILD bcpg-1.49-r1.ebuild 2009 SHA256 2aa94c47d1aa11ea28caf8d1b53aabcc2a59c99154cad8f2c3c13aa485256325 SHA512 779a954391c582d7e19e618563492cdebc117a27240f81601fc1fa1143b797b6ff3c643a573f17cc4a9fb3731a46264bc071baa756fa9b7da5583d73105cdfae WHIRLPOOL 5c66298796921f4616ad68617efc12f5c15adf208993ac59564c9a3493b112478d3b846db181728f973d88c1e04e1356918c65a753ef3a0e7b2b3704425f1465
|
||||
EBUILD bcpg-1.50.ebuild 1924 SHA256 429eae9d55c2701e87ed6a67701cda9a1c63fd61f147b34cea92b75ec865ec1f SHA512 743a29304781d15115cd50e598334ce1a5c81da763bb23134e88a505cfe3fdeac8b25b7a8ece7f778f94492669e451984c8e28c70fe245401c10698e9d667420 WHIRLPOOL 853593a66e4a3a2a0d9c1d0d73370edfdda8c523c40f15393f2965982ada37d7a86d053f6c4ad76478806a0bdb73dd1a84be04442f49d1d447feace74b36c656
|
||||
MISC ChangeLog 573 SHA256 a4d8e88e0c056e97116fdf595a312c18739925c0a2660b6769b19b12168c81dd SHA512 995f97471948c8fd523444a3f4f36532b7e516dd01f3750cce4ceb359c048ad760f23f757c3eb23eecaabd76acd443af4441ea4e26069e95422eef8b833c3900 WHIRLPOOL 4faf9892cac27565540905e918c4fbd213d753b46d27ccbf8758b7e938b325424fe65e7025ba5ccf0f2645ff371e766edb7aabf82067aa2d0ff1bdfdb628241e
|
||||
MISC ChangeLog 657 SHA256 52733013c6a1aa7752c1aa26de02578102ba2e3877413954c2c3a5247756a9ac SHA512 db85cf77c3453846ca3f534918e47c4bf60e65df279b60a583315850c26be4c4d3570816aaabc0c6bef9ac44ad31aa3de56decbb6c2ca999135234fd8df33dd3 WHIRLPOOL 4e30aeeeed72e29850821106e0019a376ed5f55ab2b4ddd6587c328e85b7b4e712a34b4adedabc0cf073865d80a24a882da284bd06fc39bf3b0ab4cc72c6f7c3
|
||||
MISC metadata.xml 158 SHA256 ea882ceccfd160b16cf7e79de423bdcc12b3fa000f124491a6df36f5783894fb SHA512 54f88fc3270968439ba87295b04365a89101c55d33a8c209a56036dc60244e5c73f78ec09484b3e5af28de9dee2159b1dab670cbd5d80a9e0c4543145c0390a3 WHIRLPOOL fcffc4fb6751b5a6eec33aa833f9d7dea0168d3ab67f7e34565370f92fd917ed882bcc57585481bf4d31e601f83a592d99d1c3f50fc793f1c38cd174cc8b2f26
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.22 (GNU/Linux)
|
||||
Version: GnuPG v2
|
||||
|
||||
iQEcBAEBCAAGBQJS85TZAAoJEJWyH81tNOV9mekIALwaM8SnLcwniIlc+ccjsyCT
|
||||
1aoQ9h/BKTib7UHQnEGstLGnBICXCq+yOoVQG8CtDjEh/rHcoehMJHee5vca28kc
|
||||
pP3Hr6vnXdOmqg4zTQcp/cdeEwrnLXvUsr8w+Iw6DK71gFWPJJ9ZI6QO3/cHJVbk
|
||||
f7u2zgl+wKOejrZuGrnmke83QtCJEPxBGurUAHELZ2fxr7MNCMAyh2/UZLW69LPK
|
||||
CsIDvFCVrcuTFeiWg00ImzgUJOPcyRat4B5/9yWnvpwF0XxRChWnsYR8KmwdtfAy
|
||||
FFD/FhE22lEcsZ38DeaXTdNADfFr+h8SHgw2yZSDwYU5CgKfq1SiTT/gfSNOOFc=
|
||||
=YtQD
|
||||
iQEcBAEBCAAGBQJT3gf6AAoJELjwI6Q8XPdapMoH/0isMnPplN9H/OM3P0Wo897K
|
||||
+no2OdI8tVC9GpWO8opaemtgddhraux0PeXPonIvxUxX9YhdELwyBts5L/HcmVKG
|
||||
/d1q/wa+AINqfYk6oGJefHBL/R/u01xrQWa5mMU2tLD8qMZkg2ZbRFMKKXCnUIha
|
||||
gKia+VJ/FPila8rZVjEwsHVT1tYNUkIOpXFzN8MqQl1oivgEnQJ/PdPNr7C7vxTp
|
||||
cO8qyRfW9dEiCHt+SDr07Rd+4cv/KwkUrHo+6HWnSXicIZsU6RMqIY5NMr5IO9TG
|
||||
SUW7+1gybAnpM5PpW4HhzivJdkRJT6OjaGXgk882kqlthdMkaslOm1WBfc/dlF4=
|
||||
=ATcQ
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,87 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/bcpg/bcpg-1.49-r1.ebuild,v 1.1 2014/02/06 13:59:13 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
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue