parent
e079124e04
commit
9a4f5236bf
@ -0,0 +1,97 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit eutils systemd unpacker user
|
||||
|
||||
DESCRIPTION="general puppet client utils along with mcollective hiera and facter"
|
||||
HOMEPAGE="https://puppetlabs.com/"
|
||||
SRC_BASE="http://apt.puppetlabs.com/pool/wheezy/PC1/${PN:0:1}/${PN}/${PN}_${PV}-1wheezy"
|
||||
SRC_URI="
|
||||
amd64? ( ${SRC_BASE}_amd64.deb )
|
||||
x86? ( ${SRC_BASE}_i386.deb )
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="puppetdb selinux"
|
||||
RESTRICT="strip"
|
||||
|
||||
CDEPEND="!app-admin/augeas
|
||||
!app-admin/mcollective
|
||||
!app-admin/puppet
|
||||
!dev-ruby/hiera
|
||||
!dev-ruby/facter
|
||||
!app-emulation/virt-what"
|
||||
|
||||
DEPEND="
|
||||
${CDEPEND}"
|
||||
RDEPEND="${CDEPEND}
|
||||
sys-apps/dmidecode
|
||||
selinux? (
|
||||
sys-libs/libselinux[ruby]
|
||||
sec-policy/selinux-puppet
|
||||
)
|
||||
puppetdb? ( >=dev-ruby/puppetdb-termini-3.1.0 )"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
QA_PREBUILT="
|
||||
/opt/puppetlabs/puppet
|
||||
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/2.1.0/x86_64-linux/*
|
||||
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/mathn/*
|
||||
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/io/*
|
||||
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/dl/*
|
||||
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/racc/*
|
||||
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/enc/*
|
||||
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/json/ext/*
|
||||
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/rbconfig/*
|
||||
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/digest/*
|
||||
/opt/puppetlabs/puppet/lib/engines/*
|
||||
/opt/puppetlabs/puppet/lib/virt-what/*
|
||||
/opt/puppetlabs/puppet/bin/*"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup puppet
|
||||
enewuser puppet -1 -1 /var/run/puppet puppet
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# conf.d
|
||||
doconfd etc/default/puppet
|
||||
doconfd etc/default/mcollective
|
||||
# logrotate.d
|
||||
insinto /etc/logrotate.d
|
||||
doins etc/logrotate.d/mcollective
|
||||
# puppet itself
|
||||
insinto /etc/puppetlabs
|
||||
doins -r etc/puppetlabs/*
|
||||
# logdir for systemd
|
||||
dodir var/log/puppetlabs/puppet/
|
||||
fperms 0750 var/log/puppetlabs/puppet/
|
||||
# the rest
|
||||
insinto /opt
|
||||
dodir opt/puppetlabs/puppet/cache
|
||||
doins -r opt/*
|
||||
fperms 0750 /opt/puppetlabs/puppet/cache
|
||||
# init
|
||||
newinitd "${FILESDIR}/puppet.initd" puppet
|
||||
newinitd "${FILESDIR}/mcollective.initd" mcollective
|
||||
systemd_dounit "${FILESDIR}/puppet.service"
|
||||
systemd_dounit "${FILESDIR}/mcollective.service"
|
||||
systemd_newtmpfilesd "${FILESDIR}/puppet-agent.conf.tmpfilesd" puppet-agent.conf
|
||||
# symlinks
|
||||
chmod 0755 -R "${D}/opt/puppetlabs/puppet/bin/"
|
||||
chmod 0755 "${D}//opt/puppetlabs/puppet/lib/virt-what/virt-what-cpuid-helper"
|
||||
dosym /opt/puppetlabs/bin/facter /usr/bin/facter
|
||||
dosym /opt/puppetlabs/bin/hiera /usr/bin/hiera
|
||||
dosym /opt/puppetlabs/bin/mco /usr/bin/mco
|
||||
dosym /opt/puppetlabs/bin/puppet /usr/bin/puppet
|
||||
dosym /opt/puppetlabs/puppet/bin/mcollectived /usr/sbin/mcollectived
|
||||
dosym /opt/puppetlabs/puppet/bin/virt-what /usr/bin/virt-what
|
||||
dosym /opt/puppetlabs/puppet/bin/augparse /usr/bin/augparse
|
||||
dosym /opt/puppetlabs/puppet/bin/augtool /usr/bin/augtool
|
||||
dosym /opt/puppetlabs/puppet/bin/extlookup2hiera /usr/bin/extlookup2hiera
|
||||
}
|
@ -0,0 +1,91 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit multilib systemd user
|
||||
|
||||
DESCRIPTION="PuppetDB collects data generated by Puppet."
|
||||
HOMEPAGE="http://docs.puppetlabs.com/puppetdb/"
|
||||
SRC_URI="https://downloads.puppetlabs.com/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
# will need the same keywords as puppet
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND+=">=virtual/jdk-1.7.0"
|
||||
DEPEND+=""
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup puppetdb
|
||||
enewuser puppetdb -1 -1 /opt/puppetlabs/server/data/puppetdb "puppetdb"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i 's/sysconfig/conf\.d/g' ext/redhat/puppetdb.service || die
|
||||
sed -i 's/sysconfig/conf\.d/g' ext/bin/puppetdb || die
|
||||
sed -i 's/sysconfig/conf\.d/g' install.sh || die
|
||||
sed -i 's/var\/run/run/g' ext/puppetdb.tmpfiles.conf || die
|
||||
sed -i 's/var\/run/run/g' install.sh || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
einfo "not compiling"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /opt/puppetlabs/server/data/puppetdb
|
||||
insinto /opt/puppetlabs/server/apps/puppetdb
|
||||
insopts -m0744
|
||||
doins ext/ezbake-functions.sh
|
||||
insopts -m0644
|
||||
doins ext/ezbake.manifest
|
||||
doins puppetdb.jar
|
||||
insinto /etc/puppetlabs/puppetdb
|
||||
doins ext/config/logback.xml
|
||||
doins ext/config/bootstrap.cfg
|
||||
doins ext/config/request-logging.xml
|
||||
insinto /etc/puppetlabs/puppetdb/conf.d
|
||||
doins ext/config/conf.d/jetty.ini
|
||||
doins ext/config/conf.d/repl.ini
|
||||
doins ext/config/conf.d/database.ini
|
||||
doins ext/config/conf.d/config.ini
|
||||
insopts -m0755
|
||||
insinto /opt/puppetlabs/server/apps/puppetdb/scripts
|
||||
doins install.sh
|
||||
insinto /opt/puppetlabs/server/apps/puppetdb/cli/apps
|
||||
doins ext/cli/foreground
|
||||
doins ext/cli/ssl-setup
|
||||
doins ext/cli/export
|
||||
doins ext/cli/config-migration
|
||||
doins ext/cli/foreground
|
||||
doins ext/cli/anonymize
|
||||
doins ext/cli/import
|
||||
insinto /opt/puppetlabs/server/apps/puppetdb/bin
|
||||
doins ext/bin/puppetdb
|
||||
insopts -m0644
|
||||
dodir /opt/puppetlabs/server/bin
|
||||
dosym ../apps/puppetdb/bin/puppetdb /opt/puppetlabs/server/bin/puppetdb
|
||||
dodir /opt/puppetlabs/bin
|
||||
dosym ../server/apps/puppetdb/bin/puppetdb /opt/puppetlabs/bin/puppetdb
|
||||
dosym /opt/puppetlabs/server/apps/puppetdb/bin/puppetdb /usr/bin/puppetdb
|
||||
# init type tasks
|
||||
newconfd ext/default puppetdb
|
||||
systemd_dounit ext/redhat/puppetdb.service
|
||||
systemd_newtmpfilesd ext/puppetdb.tmpfiles.conf puppetdb.conf
|
||||
newinitd "${FILESDIR}/puppetdb.initd" puppetdb
|
||||
# misc
|
||||
insinto /etc/logrotate.d
|
||||
newins ext/puppetdb.logrotate.conf puppetdb
|
||||
fowners -R puppetdb:puppetdb /opt/puppetlabs/server/data/puppetdb
|
||||
fperms -R 770 /opt/puppetlabs/server/data/puppetdb
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "to install please run '/opt/puppetlabs/server/bin/puppetdb ssl-setup'"
|
||||
elog
|
||||
elog "to upgrade please run '/opt/puppetlabs/server/bin/puppetdb config-migration'"
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST ecjsrc-3.7.2.jar 1366333 SHA256 755d871c3066f15cfaf5ea84075527eb97c92f9685058c3a326057e797f69e6b SHA512 53b9800a53d494330ef517983c756d622eaab242552586775f85a694142faa43d348131f9b49ec6ba41066c7d19dcb339eab3140302d46ccbcc7a2edd30e9d32 WHIRLPOOL 399d971251b022cea47d6db2ddea6f6b0a325789c5a09661782d7fad2b29840863b406f1c2b5f49b8b34b55ff3283519e63a76aed09305fe92b3a0ec866c6d97
|
||||
DIST ecjsrc-4.2.1.jar 1417043 SHA256 d261b2158f598640f1923805d2e9bf47eb21d8333f4e1b37f59f847ad00d48f4 SHA512 967b47a722893ea1f9eb17e69d386881dc87516e93c1d7a2a119d6fb2e053faa0d9d6455b6e4b89c3f23a3ec7ae33686f4acc305d7c6e51929ce7837c9c93eaf WHIRLPOOL 3f91bbf654d8ce0621e3ce21b5a1fce5058c86ad1dd24f89269aba6716945bff8686b6e1829c602864c15f62b45c65f5d5fe0430052dd2419da7e0c0225c95d5
|
||||
DIST ecjsrc-4.4.2.jar 1764959 SHA256 ad3daf77ab710268f88c41fba87218dcdf502b423217a3799b5227ddf03b5858 SHA512 53e850fc64994b104d45f58c22f1302ceb1f23bcf69300940be5689dfa6278bea14b4506746fec7b14db6f48c24ccbee16755943fffcdd7f6ad4fe5d9ddc1f20 WHIRLPOOL 5c4e40e482b8c30143bb7043822935eac9ff6f425a9d4f175ef5968ebe0bf0cf219f0f5d8046bfc9b77e067a6ff62166bdb7f7c51f887e5675064a2ca85fe721
|
||||
DIST ecjsrc-4.5.1.jar 1809543 SHA256 101a31ee0474282a287b16c46fa6e793ede43ceecaecabbd382f6e0b1b67ef72 SHA512 ee615e6fb7fb4a16ef4aeefdff93bafdbf36c9d0ce15713b81f1d4dce0ae87379fa4a6de34c32a134f78db6ed1a68d6c7b4e2a431b7de57bf8262a718fdd6553 WHIRLPOOL 739746de8dfb3c9b9ad40925e99ed58de1f594d6d4e20fd71ce07394a99f2f3f51984daf27c32a76ae5c4a25abf99c6dfb012b62858806d91a5f584d3a4da9f7
|
||||
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple prefix
|
||||
|
||||
DMF="R-${PV}-201509040015"
|
||||
|
||||
DESCRIPTION="Ant Compiler Adapter for Eclipse Java Compiler"
|
||||
HOMEPAGE="http://www.eclipse.org/"
|
||||
SRC_URI="http://download.eclipse.org/eclipse/downloads/drops4/${DMF}/ecjsrc-${PV}.jar"
|
||||
|
||||
LICENSE="EPL-1.0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris"
|
||||
SLOT="4.5"
|
||||
IUSE=""
|
||||
|
||||
CDEPEND="~dev-java/eclipse-ecj-${PV}:${SLOT}
|
||||
>=dev-java/ant-core-1.7"
|
||||
RDEPEND="${CDEPEND}
|
||||
>=virtual/jre-1.7"
|
||||
DEPEND="${CDEPEND}
|
||||
app-arch/unzip
|
||||
>=virtual/jdk-1.7"
|
||||
|
||||
JAVA_GENTOO_CLASSPATH="ant-core,eclipse-ecj-${SLOT}"
|
||||
|
||||
java_prepare() {
|
||||
# Remove everything but the Ant component.
|
||||
find org -type f ! -path "org/eclipse/jdt/internal/antadapter/*" ! -name "JDTCompilerAdapter.java" -delete || die
|
||||
|
||||
rm build.xml || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
java-pkg-simple_src_compile
|
||||
find org -type f ! -name "*.java" | xargs jar uvf "${PN}.jar" || die "jar update failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg-simple_src_install
|
||||
insinto /usr/share/java-config-2/compiler
|
||||
doins "${FILESDIR}/ecj-${SLOT}"
|
||||
eprefixify "${D}"/usr/share/java-config-2/compiler/ecj-${SLOT}
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
JAVAC="@GENTOO_PORTAGE_EPREFIX@/usr/bin/ecj-4.5"
|
||||
PACKAGE="=dev-java/ant-eclipse-ecj-4.5*"
|
||||
SUPPORTED_TARGET="1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8"
|
||||
SUPPORTED_SOURCE="1.3 1.4 1.5 1.6 1.7 1.8"
|
||||
ANT_BUILD_COMPILER="org.eclipse.jdt.core.JDTCompilerAdapter"
|
||||
ANT_BUILD_COMPILER_DEPS="eclipse-ecj-4.5,ant-eclipse-ecj-4.5"
|
||||
GENERATION="2"
|
@ -1,3 +1,4 @@
|
||||
DIST ecjsrc-3.7.2.jar 1366333 SHA256 755d871c3066f15cfaf5ea84075527eb97c92f9685058c3a326057e797f69e6b SHA512 53b9800a53d494330ef517983c756d622eaab242552586775f85a694142faa43d348131f9b49ec6ba41066c7d19dcb339eab3140302d46ccbcc7a2edd30e9d32 WHIRLPOOL 399d971251b022cea47d6db2ddea6f6b0a325789c5a09661782d7fad2b29840863b406f1c2b5f49b8b34b55ff3283519e63a76aed09305fe92b3a0ec866c6d97
|
||||
DIST ecjsrc-4.2.1.jar 1417043 SHA256 d261b2158f598640f1923805d2e9bf47eb21d8333f4e1b37f59f847ad00d48f4 SHA512 967b47a722893ea1f9eb17e69d386881dc87516e93c1d7a2a119d6fb2e053faa0d9d6455b6e4b89c3f23a3ec7ae33686f4acc305d7c6e51929ce7837c9c93eaf WHIRLPOOL 3f91bbf654d8ce0621e3ce21b5a1fce5058c86ad1dd24f89269aba6716945bff8686b6e1829c602864c15f62b45c65f5d5fe0430052dd2419da7e0c0225c95d5
|
||||
DIST ecjsrc-4.4.2.jar 1764959 SHA256 ad3daf77ab710268f88c41fba87218dcdf502b423217a3799b5227ddf03b5858 SHA512 53e850fc64994b104d45f58c22f1302ceb1f23bcf69300940be5689dfa6278bea14b4506746fec7b14db6f48c24ccbee16755943fffcdd7f6ad4fe5d9ddc1f20 WHIRLPOOL 5c4e40e482b8c30143bb7043822935eac9ff6f425a9d4f175ef5968ebe0bf0cf219f0f5d8046bfc9b77e067a6ff62166bdb7f7c51f887e5675064a2ca85fe721
|
||||
DIST ecjsrc-4.5.1.jar 1809543 SHA256 101a31ee0474282a287b16c46fa6e793ede43ceecaecabbd382f6e0b1b67ef72 SHA512 ee615e6fb7fb4a16ef4aeefdff93bafdbf36c9d0ce15713b81f1d4dce0ae87379fa4a6de34c32a134f78db6ed1a68d6c7b4e2a431b7de57bf8262a718fdd6553 WHIRLPOOL 739746de8dfb3c9b9ad40925e99ed58de1f594d6d4e20fd71ce07394a99f2f3f51984daf27c32a76ae5c4a25abf99c6dfb012b62858806d91a5f584d3a4da9f7
|
||||
|
@ -0,0 +1,69 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
MY_PN="ecj"
|
||||
DMF="R-${PV}-201509040015"
|
||||
|
||||
DESCRIPTION="Eclipse Compiler for Java"
|
||||
HOMEPAGE="http://www.eclipse.org/"
|
||||
SRC_URI="http://download.eclipse.org/eclipse/downloads/drops4/${DMF}/${MY_PN}src-${PV}.jar"
|
||||
|
||||
LICENSE="EPL-1.0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris"
|
||||
SLOT="4.5"
|
||||
IUSE="+ant"
|
||||
|
||||
COMMON_DEP="
|
||||
app-eselect/eselect-java"
|
||||
RDEPEND="${COMMON_DEP}
|
||||
>=virtual/jre-1.7"
|
||||
DEPEND="${COMMON_DEP}
|
||||
>=virtual/jdk-1.7
|
||||
app-arch/unzip"
|
||||
PDEPEND="
|
||||
ant? ( ~dev-java/ant-eclipse-ecj-${PV} )"
|
||||
|
||||
JAVA_JAR_FILENAME="${MY_PN}.jar"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
# See https://bugs.eclipse.org/bugs/show_bug.cgi?id=479134 for details
|
||||
java_prepare() {
|
||||
# These have their own package.
|
||||
rm org/eclipse/jdt/core/JDTCompilerAdapter.java || die
|
||||
rm -r org/eclipse/jdt/internal/antadapter || die
|
||||
|
||||
# JavaCore is not distributed in the jar
|
||||
sed -i -e '/import org.eclipse.jdt.core.JavaCore;/d' \
|
||||
-e 's|JavaCore.getOptions()||g' \
|
||||
org/eclipse/jdt/internal/compiler/batch/ClasspathDirectory.java
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
java-pkg-simple_src_compile
|
||||
find org META-INF -type f ! -name "*.java" | xargs jar uvf "${JAVA_JAR_FILENAME}" || die "jar update failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg-simple_src_install
|
||||
java-pkg_dolauncher ${MY_PN}-${SLOT} --main \
|
||||
org.eclipse.jdt.internal.compiler.batch.Main
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "To select between slots of ECJ..."
|
||||
einfo " # eselect ecj"
|
||||
|
||||
eselect ecj update ecj-${SLOT}
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect ecj update
|
||||
}
|
@ -0,0 +1,93 @@
|
||||
|
||||
<project name="Tomcat Serlvet API 3.1/JSP API 2.3" default="deploy" basedir=".">
|
||||
|
||||
<property name="compile.source" value="1.7"/>
|
||||
|
||||
<property name="tomcat.build" value="${basedir}/output/build"/>
|
||||
<property name="tomcat.classes" value="${basedir}/output/classes"/>
|
||||
<property name="servlet-api.jar" value="${tomcat.build}/lib/servlet-api.jar"/>
|
||||
<property name="jsp-api.jar" value="${tomcat.build}/lib/jsp-api.jar"/>
|
||||
<property name="el-api.jar" value="${tomcat.build}/lib/el-api.jar"/>
|
||||
|
||||
<!-- Just build Tomcat -->
|
||||
<target name="build-prepare">
|
||||
|
||||
<available classname="junit.framework.TestCase" property="junit.present" />
|
||||
|
||||
<mkdir dir="${tomcat.build}"/>
|
||||
<mkdir dir="${tomcat.build}/lib"/>
|
||||
<mkdir dir="${tomcat.classes}"/>
|
||||
|
||||
</target>
|
||||
|
||||
<target name="compile">
|
||||
|
||||
<!-- Compile internal server components -->
|
||||
<javac srcdir="java" destdir="${tomcat.classes}"
|
||||
debug="${compile.debug}"
|
||||
deprecation="${compile.deprecation}"
|
||||
source="${compile.source}"
|
||||
optimize="${compile.optimize}"
|
||||
excludes="**/CVS/**,**/.svn/**">
|
||||
<exclude name="java/javax/annotation/**" />
|
||||
<exclude name="java/javax/ejb/**" />
|
||||
<exclude name="java/javax/mail/**" />
|
||||
<exclude name="java/javax/persistence/**" />
|
||||
<exclude name="java/javax/xml/**" />
|
||||
<exclude name="org/**" />
|
||||
</javac>
|
||||
<tstamp>
|
||||
<format property="TODAY" pattern="MMM d yyyy" locale="en"/>
|
||||
<format property="TSTAMP" pattern="hh:mm:ss"/>
|
||||
</tstamp>
|
||||
<!-- Copy static resource files -->
|
||||
<filter token="VERSION" value="${version}"/>
|
||||
<filter token="VERSION_NUMBER" value="${version.number}"/>
|
||||
<filter token="VERSION_BUILT" value="${TODAY} ${TSTAMP}"/>
|
||||
<copy todir="${tomcat.classes}" filtering="true">
|
||||
<fileset dir="java">
|
||||
<include name="**/*.properties"/>
|
||||
<include name="**/*.dtd"/>
|
||||
<include name="**/*.tasks"/>
|
||||
<include name="**/*.xsd"/>
|
||||
<include name="**/*.xml"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
|
||||
</target>
|
||||
|
||||
<target name="jar" depends="build-prepare,compile">
|
||||
<!-- Servlet 3.1 Implementation JAR File -->
|
||||
<jar jarfile="${servlet-api.jar}">
|
||||
<fileset dir="${tomcat.classes}">
|
||||
<include name="javax/servlet/*" />
|
||||
<include name="javax/servlet/annotation/*" />
|
||||
<include name="javax/servlet/descriptor/*" />
|
||||
<include name="javax/servlet/http/*" />
|
||||
<include name="javax/servlet/resources/*" />
|
||||
<!-- Javadoc and i18n exclusions -->
|
||||
<exclude name="**/package.html" />
|
||||
<exclude name="**/LocalStrings_*" />
|
||||
</fileset>
|
||||
</jar>
|
||||
|
||||
<!-- JSP 2.3 Implementation JAR File -->
|
||||
<jar jarfile="${jsp-api.jar}">
|
||||
<fileset dir="${tomcat.classes}">
|
||||
<include name="javax/servlet/jsp/**" />
|
||||
<!-- Javadoc and i18n exclusions -->
|
||||
<exclude name="**/package.html" />
|
||||
<exclude name="**/LocalStrings_*" />
|
||||
</fileset>
|
||||
</jar>
|
||||
|
||||
<!-- JSP 2.3 EL Implementation JAR File -->
|
||||
<jar jarfile="${el-api.jar}">
|
||||
<fileset dir="${tomcat.classes}">
|
||||
<include name="javax/el/**" />
|
||||
</fileset>
|
||||
</jar>
|
||||
|
||||
</target>
|
||||
|
||||
</project>
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
JAVA_PKG_IUSE="source"
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
MY_PV="${PV/_alpha/.M}"
|
||||
MY_A="apache-${PN}-${MY_PV}-src"
|
||||
MY_P="${MY_A/-servlet-api/}"
|
||||
DESCRIPTION="Tomcat's Servlet API 4.0/JSP API 2.3 implementation"
|
||||
HOMEPAGE="http://tomcat.apache.org/"
|
||||
SRC_URI="mirror://apache/tomcat/tomcat-9/v${MY_PV}/src/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="4.0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=virtual/jdk-1.8"
|
||||
RDEPEND=">=virtual/jre-1.8"
|
||||
|
||||
S="${WORKDIR}/${MY_P}/"
|
||||
|
||||
java_prepare() {
|
||||
cp "${FILESDIR}/${SLOT}-build.xml" build.xml || die "Could not replace build.xml"
|
||||
rm -fR */*/build.xml
|
||||
einfo "Removing bundled jars and classes"
|
||||
find "${S}" '(' -name '*.class' -o -name '*.jar' ')' -exec rm -frv {} +
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar "${S}"/output/build/lib/*.jar
|
||||
use source && java-pkg_dosrc java/javax/servlet/
|
||||
}
|
@ -1,6 +1,4 @@
|
||||
DIST fldigi-3.22.13.tar.gz 2909523 SHA256 f055b607dd28bde847541bd4518e5ceac49e0eccf4bda97c4c589d598c4a3baf SHA512 ef4d4cccf24a6c7f7ad6657af89cfbc617655c9852150ac45b92178549a91a8aed6d6d6d4737ac69ded64e85bfbc727697f16f64b5d24e4eb756a8c1ca11a57c WHIRLPOOL a8a175d59e656df86b321b9753a7656e10403c8921dc7081859e088a6868324594f2807a20b09c91eb3ec616404dc1a7ce0f721881e27ff27958c545d9fbf0b6
|
||||
DIST fldigi-3.23.00.tar.gz 2950875 SHA256 34585f3755a51552bf2c65cc5c74db4b739a9c3239202f9dd5b3e0e3805a598b SHA512 83982feea33332e2365d6c2a5e840dd1ff815ced4ad9a7b8f31277dd3d92c08bbdadbb1614200d756b00e870be2d5f1bec845be388d9c1740664ed9377bfae67 WHIRLPOOL 1599b32a1781e575d55402c90d152209201b5dd0b699ed68c858327e35f8c6bf549725fd7c4001f485ac97a1e76e067d3f852ba2162a81023855a0e116239eed
|
||||
DIST fldigi-3.23.01.tar.gz 2950969 SHA256 2daf2cca7c2abc9106e791cea28137a77b8b4e4e4c397efc8af350f208e357c3 SHA512 7ef3d9d614b188c593df704f96f5f238f08e02335f27ce819f1483d1c79bf32007e10750a63d842bd132bb7b8a8ec08509740a62b8810ea55d0d94b477029e45 WHIRLPOOL c195e986beb591bd5b7aff663938b14ba8bdfc4e52432b192ebec064b8f106a1a280a69b5b196e2c356949e2f5ee8412d77b81a0026d5843632f0181fa0a14dd
|
||||
DIST fldigi-3.23.03.tar.gz 2951727 SHA256 b308ceb0581e7668eedf83042baf6f9ae4af938648436cd1857655cad8fe978e SHA512 fde20fd72bc86a5f61a1bf4becad645ac23b672cf801731004909fd2a77c1f2bb409e562a77ba5ca6a6fdc9cf954e958125a59b66fb5ea7d7344a142eea1c338 WHIRLPOOL b914bb13f9adecf2c79b06e04535321858400d055efce787f095c90431f54d7bd32006bdec52cd27cac61b1d0390f0ba2fb2d703d46f2bcfaef0dde9528eccf4
|
||||
DIST fldigi-3.23.04.tar.gz 2959610 SHA256 1fcc8b125dd8c1f61277e0d14a55fa4f69fe3bcc468ff51af29d4fbceec4b001 SHA512 af332e0da86300e5a18adec8841dabad3ceaea8cf0352b49a88a3387bf53422b4d19e73894352eb0f454f47f6612f37a5476f32dd25ddc49a80f287e345aeb3b WHIRLPOOL c87fd0340cfaa567752af3818083ceaaa657307cf27b71cef679c65ae6393041fd96d865efe59912101ee7837a3655a0e28feb51f2d43180b573c5369c66b675
|
||||
DIST fldigi-3.23.05.tar.gz 2967919 SHA256 6e24501ac3ce94a303e0ed006e0159fc19b8f6c379fde9c86d1daed7163cbb58 SHA512 499a192f150dbf95aab2a9d05a230fcf652f7a5787da6e2ce9594cf6328055bb2d3de33f9a4e1d2fc9bda291c62f45fe6f3d9f1340967d967d6fe47707e4c4e0 WHIRLPOOL 4ddedb13e82546ca812e6ac9f41346c37399ed4bd946734695c6814468a50f02efa7ec7b82154d3930a7668de5d5c064165c0fd05191748b3a0b73421e759f88
|
||||
DIST fldigi-3.23.06.tar.gz 2970900 SHA256 4c21a92f8f7a4070a2fc3687ab7cf0895ff105dfdef7a84efe4a9b4519e6cc21 SHA512 18c07304eb424be4d72301630e748a14ce4efa2868293489f15fa9e36e2ac3ed1de16513b2cdf73f2733798632669008d85f621dee0facf5c1d4391dbe67df16 WHIRLPOOL ebc957d2d3303a681b9638061918875125ce99a5ca277e2717d8bbb1e9d009267554813fa3bf47c391c5e138446b46db50bff989be806270d1e394d76d02de65
|
||||
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="Sound card based multimode software modem for Amateur Radio use"
|
||||
HOMEPAGE="http://www.w1hkj.com/Fldigi.html"
|
||||
SRC_URI="http://www.w1hkj.com/downloads/fldigi/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="hamlib nls portaudio pulseaudio sndfile"
|
||||
|
||||
RDEPEND="x11-libs/fltk:1[threads,xft]
|
||||
media-libs/libsamplerate
|
||||
media-libs/libpng:0
|
||||
x11-misc/xdg-utils
|
||||
dev-perl/RPC-XML
|
||||
dev-perl/Term-ReadLine-Perl
|
||||
hamlib? ( media-libs/hamlib )
|
||||
portaudio? ( >=media-libs/portaudio-19_pre20071207 )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
sndfile? ( >=media-libs/libsndfile-1.0.10 )"
|
||||
DEPEND="${RDEPEND}
|
||||
nls? ( sys-devel/gettext )
|
||||
virtual/pkgconfig"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS README )
|
||||
|
||||
src_configure() {
|
||||
econf $(use_with sndfile) \
|
||||
$(use_with portaudio) \
|
||||
$(use_with hamlib) \
|
||||
$(use_enable nls) \
|
||||
$(use_with pulseaudio) \
|
||||
--disable-silent-rules \
|
||||
--without-asciidoc
|
||||
}
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="Sound card based multimode software modem for Amateur Radio use"
|
||||
HOMEPAGE="http://www.w1hkj.com/Fldigi.html"
|
||||
SRC_URI="http://www.w1hkj.com/downloads/fldigi/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="hamlib nls portaudio pulseaudio sndfile"
|
||||
|
||||
RDEPEND="x11-libs/fltk:1[threads,xft]
|
||||
media-libs/libsamplerate
|
||||
media-libs/libpng:0
|
||||
x11-misc/xdg-utils
|
||||
dev-perl/RPC-XML
|
||||
dev-perl/Term-ReadLine-Perl
|
||||
hamlib? ( media-libs/hamlib )
|
||||
portaudio? ( >=media-libs/portaudio-19_pre20071207 )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
sndfile? ( >=media-libs/libsndfile-1.0.10 )"
|
||||
DEPEND="${RDEPEND}
|
||||
nls? ( sys-devel/gettext )
|
||||
virtual/pkgconfig"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog NEWS README )
|
||||
|
||||
src_configure() {
|
||||
econf $(use_with sndfile) \
|
||||
$(use_with portaudio) \
|
||||
$(use_with hamlib) \
|
||||
$(use_enable nls) \
|
||||
$(use_with pulseaudio) \
|
||||
--disable-silent-rules \
|
||||
--without-asciidoc
|
||||
}
|
@ -1 +1 @@
|
||||
Fri, 04 Dec 2015 15:49:17 +0000
|
||||
Fri, 04 Dec 2015 20:15:29 +0000
|
||||
|
@ -1 +1 @@
|
||||
Fri, 04 Dec 2015 15:49:18 +0000
|
||||
Fri, 04 Dec 2015 20:15:29 +0000
|
||||
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=install setup unpack
|
||||
DEPEND=!app-admin/augeas !app-admin/mcollective !app-admin/puppet !dev-ruby/hiera !dev-ruby/facter !app-emulation/virt-what virtual/pkgconfig
|
||||
DESCRIPTION=general puppet client utils along with mcollective hiera and facter
|
||||
EAPI=5
|
||||
HOMEPAGE=https://puppetlabs.com/
|
||||
IUSE=puppetdb selinux
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=Apache-2.0
|
||||
RDEPEND=!app-admin/augeas !app-admin/mcollective !app-admin/puppet !dev-ruby/hiera !dev-ruby/facter !app-emulation/virt-what sys-apps/dmidecode selinux? ( sys-libs/libselinux[ruby] sec-policy/selinux-puppet ) puppetdb? ( >=dev-ruby/puppetdb-termini-3.1.0 )
|
||||
RESTRICT=strip
|
||||
SLOT=0
|
||||
SRC_URI=amd64? ( http://apt.puppetlabs.com/pool/wheezy/PC1/p/puppet-agent/puppet-agent_1.3.2-1wheezy_amd64.deb ) x86? ( http://apt.puppetlabs.com/pool/wheezy/PC1/p/puppet-agent/puppet-agent_1.3.2-1wheezy_i386.deb )
|
||||
_eclasses_=eutils d9bd2ddd85a58e470b49ca997e255a4c multilib 3972ca401cf7dbb430df9995f5d8d580 systemd 3165c885f3c71ffae7a867d931fb0e07 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 unpacker 1d149d9bda7723e740cfd28118f27813 user 906f3c8eb3a2350a4f1191a89baa3e46
|
||||
_md5_=0346c274509d569df515333e542568a3
|
@ -0,0 +1,12 @@
|
||||
DEFINED_PHASES=compile install postinst prepare setup
|
||||
DEPEND=virtual/pkgconfig
|
||||
DESCRIPTION=PuppetDB collects data generated by Puppet.
|
||||
EAPI=5
|
||||
HOMEPAGE=http://docs.puppetlabs.com/puppetdb/
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=Apache-2.0
|
||||
RDEPEND=>=virtual/jdk-1.7.0
|
||||
SLOT=0
|
||||
SRC_URI=https://downloads.puppetlabs.com/puppetdb/puppetdb-3.2.2.tar.gz
|
||||
_eclasses_=multilib 3972ca401cf7dbb430df9995f5d8d580 systemd 3165c885f3c71ffae7a867d931fb0e07 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 user 906f3c8eb3a2350a4f1191a89baa3e46
|
||||
_md5_=3254abda450b3384badb60d8029b0127
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=compile install preinst prepare setup
|
||||
DEPEND=~dev-java/eclipse-ecj-4.5.1:4.5 >=dev-java/ant-core-1.7 app-arch/unzip >=virtual/jdk-1.7 >=dev-java/java-config-2.2.0 source? ( app-arch/zip )
|
||||
DESCRIPTION=Ant Compiler Adapter for Eclipse Java Compiler
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.eclipse.org/
|
||||
IUSE=elibc_FreeBSD doc source elibc_FreeBSD
|
||||
KEYWORDS=~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris
|
||||
LICENSE=EPL-1.0
|
||||
RDEPEND=~dev-java/eclipse-ecj-4.5.1:4.5 >=dev-java/ant-core-1.7 >=virtual/jre-1.7 >=dev-java/java-config-2.2.0 source? ( app-arch/zip )
|
||||
SLOT=4.5
|
||||
SRC_URI=http://download.eclipse.org/eclipse/downloads/drops4/R-4.5.1-201509040015/ecjsrc-4.5.1.jar
|
||||
_eclasses_=eutils d9bd2ddd85a58e470b49ca997e255a4c java-pkg-2 b02dc1e46b3648e467b5fbdf7857cf28 java-pkg-simple bdf24e52707f01512ffea6d3aa05425b java-utils-2 a96633177f44ee992b3fce360d1c4f16 multilib 3972ca401cf7dbb430df9995f5d8d580 prefix e7f2b9c6e57342e5d25eac22fce23062 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||
_md5_=f8a0e92018c0a58a01bd430900537127
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile install postinst postrm preinst prepare setup
|
||||
DEPEND=app-eselect/eselect-java >=virtual/jdk-1.7 app-arch/unzip >=dev-java/java-config-2.2.0 source? ( app-arch/zip )
|
||||
DESCRIPTION=Eclipse Compiler for Java
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.eclipse.org/
|
||||
IUSE=+ant elibc_FreeBSD doc source elibc_FreeBSD
|
||||
KEYWORDS=~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris
|
||||
LICENSE=EPL-1.0
|
||||
PDEPEND=ant? ( ~dev-java/ant-eclipse-ecj-4.5.1 )
|
||||
RDEPEND=app-eselect/eselect-java >=virtual/jre-1.7 >=dev-java/java-config-2.2.0 source? ( app-arch/zip )
|
||||
SLOT=4.5
|
||||
SRC_URI=http://download.eclipse.org/eclipse/downloads/drops4/R-4.5.1-201509040015/ecjsrc-4.5.1.jar
|
||||
_eclasses_=eutils d9bd2ddd85a58e470b49ca997e255a4c java-pkg-2 b02dc1e46b3648e467b5fbdf7857cf28 java-pkg-simple bdf24e52707f01512ffea6d3aa05425b java-utils-2 a96633177f44ee992b3fce360d1c4f16 multilib 3972ca401cf7dbb430df9995f5d8d580 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||
_md5_=aab3f1c2933001e4b53ececeed8b42a4
|
@ -0,0 +1,13 @@
|
||||
DEFINED_PHASES=compile configure install preinst prepare setup
|
||||
DEPEND=>=virtual/jdk-1.8 >=dev-java/java-config-2.2.0 source? ( app-arch/zip ) >=dev-java/ant-core-1.8.2:0 >=dev-java/javatoolkit-0.3.0-r2
|
||||
DESCRIPTION=Tomcat's Servlet API 4.0/JSP API 2.3 implementation
|
||||
EAPI=5
|
||||
HOMEPAGE=http://tomcat.apache.org/
|
||||
IUSE=elibc_FreeBSD source elibc_FreeBSD
|
||||
KEYWORDS=~amd64 ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris
|
||||
LICENSE=Apache-2.0
|
||||
RDEPEND=>=virtual/jre-1.8 >=dev-java/java-config-2.2.0 source? ( app-arch/zip )
|
||||
SLOT=4.0
|
||||
SRC_URI=mirror://apache/tomcat/tomcat-9/v9.0.0.M1/src/apache-tomcat-9.0.0.M1-src.tar.gz
|
||||
_eclasses_=eutils d9bd2ddd85a58e470b49ca997e255a4c java-ant-2 7c5d0c274d390745f5033754a319f515 java-pkg-2 b02dc1e46b3648e467b5fbdf7857cf28 java-utils-2 a96633177f44ee992b3fce360d1c4f16 multilib 3972ca401cf7dbb430df9995f5d8d580 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||
_md5_=b69075048c9527c1f22e985bc08b0207
|
@ -1,12 +0,0 @@
|
||||
DEFINED_PHASES=configure
|
||||
DEPEND=x11-libs/fltk:1[threads,xft] media-libs/libsamplerate media-libs/libpng:0 x11-misc/xdg-utils dev-perl/RPC-XML dev-perl/Term-ReadLine-Perl hamlib? ( media-libs/hamlib ) portaudio? ( >=media-libs/portaudio-19_pre20071207 ) pulseaudio? ( media-sound/pulseaudio ) sndfile? ( >=media-libs/libsndfile-1.0.10 ) nls? ( sys-devel/gettext ) virtual/pkgconfig
|
||||
DESCRIPTION=Sound card based multimode software modem for Amateur Radio use
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.w1hkj.com/Fldigi.html
|
||||
IUSE=hamlib nls portaudio pulseaudio sndfile
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-3
|
||||
RDEPEND=x11-libs/fltk:1[threads,xft] media-libs/libsamplerate media-libs/libpng:0 x11-misc/xdg-utils dev-perl/RPC-XML dev-perl/Term-ReadLine-Perl hamlib? ( media-libs/hamlib ) portaudio? ( >=media-libs/portaudio-19_pre20071207 ) pulseaudio? ( media-sound/pulseaudio ) sndfile? ( >=media-libs/libsndfile-1.0.10 )
|
||||
SLOT=0
|
||||
SRC_URI=http://www.w1hkj.com/downloads/fldigi/fldigi-3.23.00.tar.gz
|
||||
_md5_=bca2a3d112e31a5e43281ef96916e1c0
|
@ -1,12 +0,0 @@
|
||||
DEFINED_PHASES=configure
|
||||
DEPEND=x11-libs/fltk:1[threads,xft] media-libs/libsamplerate media-libs/libpng:0 x11-misc/xdg-utils dev-perl/RPC-XML dev-perl/Term-ReadLine-Perl hamlib? ( media-libs/hamlib ) portaudio? ( >=media-libs/portaudio-19_pre20071207 ) pulseaudio? ( media-sound/pulseaudio ) sndfile? ( >=media-libs/libsndfile-1.0.10 ) nls? ( sys-devel/gettext ) virtual/pkgconfig
|
||||
DESCRIPTION=Sound card based multimode software modem for Amateur Radio use
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.w1hkj.com/Fldigi.html
|
||||
IUSE=hamlib nls portaudio pulseaudio sndfile
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-3
|
||||
RDEPEND=x11-libs/fltk:1[threads,xft] media-libs/libsamplerate media-libs/libpng:0 x11-misc/xdg-utils dev-perl/RPC-XML dev-perl/Term-ReadLine-Perl hamlib? ( media-libs/hamlib ) portaudio? ( >=media-libs/portaudio-19_pre20071207 ) pulseaudio? ( media-sound/pulseaudio ) sndfile? ( >=media-libs/libsndfile-1.0.10 )
|
||||
SLOT=0
|
||||
SRC_URI=http://www.w1hkj.com/downloads/fldigi/fldigi-3.23.03.tar.gz
|
||||
_md5_=bca2a3d112e31a5e43281ef96916e1c0
|
@ -0,0 +1,14 @@
|
||||
DEFINED_PHASES=compile configure install postinst preinst prepare setup test
|
||||
DEPEND=dev-java/eclipse-ecj:4.5 dev-java/oracle-javamail:0 dev-java/tomcat-servlet-api:4.0 app-admin/pwgen >=virtual/jdk-1.8 test? ( >=dev-java/ant-junit-1.9:0 dev-java/easymock:3.2 ) >=dev-java/java-config-2.2.0 source? ( app-arch/zip ) >=dev-java/ant-core-1.8.2:0 >=dev-java/javatoolkit-0.3.0-r2
|
||||
DESCRIPTION=Tomcat Servlet-4.0/JSP-2.3 Container
|
||||
EAPI=5
|
||||
HOMEPAGE=http://tomcat.apache.org/
|
||||
IUSE=extra-webapps elibc_FreeBSD doc source test elibc_FreeBSD
|
||||
KEYWORDS=~amd64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris
|
||||
LICENSE=Apache-2.0
|
||||
RDEPEND=dev-java/eclipse-ecj:4.5 dev-java/oracle-javamail:0 dev-java/tomcat-servlet-api:4.0 !<dev-java/tomcat-native-1.1.24 >=virtual/jre-1.8 >=dev-java/java-config-2.2.0 source? ( app-arch/zip )
|
||||
RESTRICT=test
|
||||
SLOT=9
|
||||
SRC_URI=mirror://apache/tomcat/tomcat-9/v9.0.0.M1/src/apache-tomcat-9.0.0.M1-src.tar.gz
|
||||
_eclasses_=eutils d9bd2ddd85a58e470b49ca997e255a4c java-ant-2 7c5d0c274d390745f5033754a319f515 java-pkg-2 b02dc1e46b3648e467b5fbdf7857cf28 java-utils-2 a96633177f44ee992b3fce360d1c4f16 multilib 3972ca401cf7dbb430df9995f5d8d580 prefix e7f2b9c6e57342e5d25eac22fce23062 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85 user 906f3c8eb3a2350a4f1191a89baa3e46 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||
_md5_=f5666e7677fff660d6e9d8360fc20712
|
@ -1 +1 @@
|
||||
Fri, 04 Dec 2015 15:49:18 +0000
|
||||
Fri, 04 Dec 2015 20:15:29 +0000
|
||||
|
@ -1 +1 @@
|
||||
Fri Dec 4 15:48:23 UTC 2015
|
||||
Fri Dec 4 20:14:34 UTC 2015
|
||||
|
@ -1 +1 @@
|
||||
Fri, 04 Dec 2015 16:00:01 +0000
|
||||
Fri, 04 Dec 2015 20:30:01 +0000
|
||||
|
@ -1 +1 @@
|
||||
1449243901 Fri 04 Dec 2015 03:45:01 PM UTC
|
||||
1449260101 Fri 04 Dec 2015 08:15:01 PM UTC
|
||||
|
@ -0,0 +1,266 @@
|
||||
diff --git a/apache-tomcat-9.0.0.M1-src/build.xml b/apache-tomcat-9.0.0.M1-src/build.xml
|
||||
index eab0c45..63ac495 100644
|
||||
--- a/apache-tomcat-9.0.0.M1-src/build.xml
|
||||
+++ b/apache-tomcat-9.0.0.M1-src/build.xml
|
||||
@@ -711,24 +711,30 @@
|
||||
manifest="${tomcat.manifests}/annotations-api.jar.manifest" />
|
||||
|
||||
<!-- Servlet 4.0 Implementation JAR File -->
|
||||
+<!--
|
||||
<jarIt jarfile="${servlet-api.jar}"
|
||||
filesDir="${tomcat.classes}"
|
||||
filesId="files.servlet-api"
|
||||
manifest="${tomcat.manifests}/servlet-api.jar.manifest"
|
||||
notice="${tomcat.manifests}/servlet-api.jar.notice"
|
||||
license="${tomcat.manifests}/servlet-api.jar.license" />
|
||||
+-->
|
||||
|
||||
<!-- JSP 2.3 Implementation JAR File -->
|
||||
+<!--
|
||||
<jarIt jarfile="${jsp-api.jar}"
|
||||
filesDir="${tomcat.classes}"
|
||||
filesId="files.jsp-api"
|
||||
manifest="${tomcat.manifests}/jsp-api.jar.manifest" />
|
||||
+-->
|
||||
|
||||
<!-- EL 3.0 Implementation JAR File -->
|
||||
+<!--
|
||||
<jarIt jarfile="${el-api.jar}"
|
||||
filesDir="${tomcat.classes}"
|
||||
filesId="files.el-api"
|
||||
manifest="${tomcat.manifests}/el-api.jar.manifest" />
|
||||
+-->
|
||||
|
||||
<!-- WebSocket 1.1 API JAR File -->
|
||||
<jarIt jarfile="${websocket-api.jar}"
|
||||
@@ -1002,14 +1008,14 @@
|
||||
|
||||
<target name="deploy" depends="package,build-docs,build-tomcat-jdbc,compile-webapp-examples"
|
||||
description="Default. Builds a working Tomcat instance">
|
||||
-
|
||||
+<!--
|
||||
<copy tofile="${tomcat.build}/bin/tomcat-native.tar.gz"
|
||||
file="${tomcat-native.tar.gz}" />
|
||||
<copy tofile="${tomcat.build}/bin/commons-daemon-native.tar.gz"
|
||||
file="${commons-daemon.native.src.tgz}" />
|
||||
|
||||
<copy tofile="${tomcat.build}/bin/commons-daemon.jar" file="${commons-daemon.jar}" />
|
||||
-
|
||||
+-->
|
||||
<!-- Copy scripts -->
|
||||
<copy todir="${tomcat.build}/bin">
|
||||
<fileset dir="bin">
|
||||
@@ -1069,7 +1075,7 @@
|
||||
<exclude name="${jdt.jar.filename}"/>
|
||||
</fileset>
|
||||
</delete>
|
||||
- <copy file="${jdt.jar}" todir="${tomcat.build}/lib"/>
|
||||
+<!-- <copy file="${jdt.jar}" todir="${tomcat.build}/lib"/> -->
|
||||
|
||||
<!-- Add sources for examples -->
|
||||
<antcall target="examples-sources" />
|
||||
@@ -1103,7 +1109,7 @@
|
||||
</javac>
|
||||
</target>
|
||||
|
||||
- <target name="build-tomcat-jdbc" depends="package">
|
||||
+ <target name="build-tomcat-jdbc" depends="package" unless="noget">
|
||||
<!-- build the jdbc-pool jar and source jar-->
|
||||
<echo message="Building Tomcat JDBC pool libraries"/>
|
||||
<ant antfile="${tomcat.jdbc.dir}/build.xml" dir="${tomcat.jdbc.dir}"
|
||||
@@ -1118,7 +1124,7 @@
|
||||
<copy file="${tomcat-jdbc.jar}" todir="${tomcat.build}/lib"/>
|
||||
</target>
|
||||
|
||||
- <target name="build-tomcat-jdbc-src">
|
||||
+ <target name="build-tomcat-jdbc-src" unless="noget">
|
||||
<!-- build the jdbc-pool source jar-->
|
||||
<echo message="Building Tomcat JDBC pool src JAR"/>
|
||||
<ant antfile="${tomcat.jdbc.dir}/build.xml" dir="${tomcat.jdbc.dir}"
|
||||
@@ -1222,10 +1228,11 @@
|
||||
|
||||
<copy file="${basedir}/LICENSE" todir="${tomcat.embed}" />
|
||||
<copy file="${basedir}/NOTICE" todir="${tomcat.embed}" />
|
||||
+<!--
|
||||
<copy file="${tomcat-dbcp.jar}" todir="${tomcat.embed}"
|
||||
failonerror="false"/>
|
||||
<copy file="${jdt.jar}" todir="${tomcat.embed}" />
|
||||
-
|
||||
+-->
|
||||
<!-- Note the meta-inf below will work as long as there is only one JAR
|
||||
that needs to add entries. If there is more than one a more complex
|
||||
solution will be required. -->
|
||||
@@ -1606,7 +1613,7 @@
|
||||
|
||||
<target name="extras-commons-logging-prepare"
|
||||
depends="extras-prepare"
|
||||
- description="Prepare to build web services extras package">
|
||||
+ description="Prepare to build web services extras package" unless="noget">
|
||||
|
||||
<antcall target="downloadfile-2">
|
||||
<param name="sourcefile.1" value="${commons-logging-src.loc.1}"/>
|
||||
@@ -1745,7 +1752,7 @@
|
||||
|
||||
<target name="extras-webservices-prepare"
|
||||
depends="extras-prepare"
|
||||
- description="Prepare to build web services extras package">
|
||||
+ description="Prepare to build web services extras package" unless="noget">
|
||||
|
||||
<antcall target="downloadfile">
|
||||
<param name="sourcefile" value="${jaxrpc-lib.loc}"/>
|
||||
@@ -1940,6 +1947,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
|
||||
|
||||
<target name="javadoc" depends="dist-source,extras-webservices-prepare"
|
||||
description="Create the Tomcat javadoc" >
|
||||
+<!--
|
||||
<javadoc packagenames="javax.servlet.*"
|
||||
excludepackagenames="javax.servlet.jsp.*"
|
||||
sourcepath="${tomcat.dist}/src/java"
|
||||
@@ -1998,6 +2006,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
|
||||
<path location="${ant.core.lib}"/>
|
||||
</classpath>
|
||||
</javadoc>
|
||||
+-->
|
||||
<javadoc packagenames="javax.websocket.*"
|
||||
sourcepath="${tomcat.dist}/src/java"
|
||||
destdir="${tomcat.dist}/webapps/docs/websocketapi"
|
||||
@@ -2028,15 +2037,17 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
|
||||
docencoding="UTF-8"
|
||||
charset="UTF-8"
|
||||
additionalparam="-breakiterator -notimestamp"
|
||||
- maxmemory="256m" >
|
||||
+ maxmemory="512m" >
|
||||
<classpath>
|
||||
<path refid="compile.classpath"/>
|
||||
<path refid="tomcat.webservices.classpath"/>
|
||||
<path location="${ant.core.lib}"/>
|
||||
</classpath>
|
||||
+<!--
|
||||
<link href="../servletapi"/>
|
||||
<link href="../jspapi"/>
|
||||
<link href="../elapi"/>
|
||||
+-->
|
||||
<link href="../websocketapi"/>
|
||||
<link href="http://docs.oracle.com/javase/7/docs/api/"/>
|
||||
<link href="http://commons.apache.org/proper/commons-io/javadocs/api-release/"/>
|
||||
@@ -2775,7 +2786,7 @@ skip.installer property in build.properties" />
|
||||
</target>
|
||||
|
||||
<target name="download-compile"
|
||||
- description="Download (and build) components necessary to compile" >
|
||||
+ description="Download (and build) components necessary to compile" unless="noget">
|
||||
|
||||
<antcall target="downloadfile-2">
|
||||
<param name="sourcefile.1" value="${tomcat-native.loc.1}"/>
|
||||
@@ -2809,7 +2820,7 @@ skip.installer property in build.properties" />
|
||||
</target>
|
||||
|
||||
<target name="download-test-compile"
|
||||
- description="Download additional components for the tests" >
|
||||
+ description="Download additional components for the tests" unless="noget">
|
||||
|
||||
<antcall target="downloadfile">
|
||||
<param name="sourcefile" value="${junit.loc}"/>
|
||||
@@ -2866,7 +2877,7 @@ skip.installer property in build.properties" />
|
||||
</target>
|
||||
|
||||
<target name="download-dist"
|
||||
- description="Download additional components for a distribution" >
|
||||
+ description="Download additional components for a distribution" unless="noget">
|
||||
|
||||
<antcall target="downloadzip-2">
|
||||
<param name="sourcefile.1" value="${tomcat-native.win.1}"/>
|
||||
@@ -2892,18 +2903,18 @@ skip.installer property in build.properties" />
|
||||
|
||||
<!-- =============== Utility Targets to support downloads ================ -->
|
||||
|
||||
- <target name="setproxy" if="${proxy.use}">
|
||||
+ <target name="setproxy" if="${proxy.use}" unless="noget">
|
||||
<setproxy proxyhost="${proxy.host}" proxyport="${proxy.port}"
|
||||
proxyuser="${proxy.user}" proxypassword="${proxy.password}" />
|
||||
<echo message="Using ${proxy.host}:${proxy.port} to download ${sourcefile}"/>
|
||||
</target>
|
||||
|
||||
- <target name="testexist">
|
||||
+ <target name="testexist" unless="noget">
|
||||
<echo message="Testing for ${destfile}"/>
|
||||
<available file="${destfile}" property="exist"/>
|
||||
</target>
|
||||
|
||||
- <target name="downloadgz" unless="exist" depends="testexist,setproxy">
|
||||
+ <target name="downloadgz" unless="noget" depends="testexist,setproxy">
|
||||
<!-- Download and extract the package -->
|
||||
<local name="temp.file"/>
|
||||
<mkdir dir="${base.path}"/>
|
||||
@@ -2915,7 +2926,7 @@ skip.installer property in build.properties" />
|
||||
<delete file="${temp.file}.tar.gz"/>
|
||||
</target>
|
||||
|
||||
- <target name="downloadgz-2" unless="exist" depends="testexist">
|
||||
+ <target name="downloadgz-2" unless="noget" depends="testexist">
|
||||
<!-- Download and extract the package from the two alternative locations -->
|
||||
<local name="temp.file"/>
|
||||
<mkdir dir="${base.path}"/>
|
||||
@@ -2934,7 +2945,7 @@ skip.installer property in build.properties" />
|
||||
<delete file="${temp.file}.tar.gz"/>
|
||||
</target>
|
||||
|
||||
- <target name="downloadzip" unless="exist" depends="testexist,setproxy">
|
||||
+ <target name="downloadzip" unless="noget" depends="testexist,setproxy">
|
||||
<!-- Download and extract the package -->
|
||||
<local name="temp.file"/>
|
||||
<mkdir dir="${base.path}"/>
|
||||
@@ -2945,7 +2956,7 @@ skip.installer property in build.properties" />
|
||||
<delete file="${temp.file}"/>
|
||||
</target>
|
||||
|
||||
- <target name="downloadzip-2" unless="exist" depends="testexist">
|
||||
+ <target name="downloadzip-2" unless="noget" depends="testexist">
|
||||
<!-- Download and extract the package from the two alternative locations -->
|
||||
<local name="temp.file"/>
|
||||
<mkdir dir="${base.path}"/>
|
||||
@@ -2963,7 +2974,7 @@ skip.installer property in build.properties" />
|
||||
<delete file="${temp.file}"/>
|
||||
</target>
|
||||
|
||||
- <target name="downloadfile" unless="exist" depends="testexist,setproxy">
|
||||
+ <target name="downloadfile" unless="noget" depends="testexist,setproxy">
|
||||
<!-- Download the file -->
|
||||
<local name="temp.file"/>
|
||||
<mkdir dir="${base.path}"/>
|
||||
@@ -2973,7 +2984,7 @@ skip.installer property in build.properties" />
|
||||
<move file="${temp.file}" tofile="${destfile}"/>
|
||||
</target>
|
||||
|
||||
- <target name="downloadfile-2" unless="exist" depends="testexist">
|
||||
+ <target name="downloadfile-2" unless="noget" depends="testexist">
|
||||
<!-- Download the file from the two alternative locations -->
|
||||
<local name="temp.file"/>
|
||||
<mkdir dir="${base.path}"/>
|
||||
@@ -2996,7 +3007,7 @@ skip.installer property in build.properties" />
|
||||
<move file="${temp.file}" tofile="${destfile}"/>
|
||||
</target>
|
||||
|
||||
- <target name="trydownload.check" depends="setproxy">
|
||||
+ <target name="trydownload.check" depends="setproxy" unless="noget">
|
||||
<condition property="trydownload.run">
|
||||
<and>
|
||||
<not>
|
||||
@@ -3007,7 +3018,7 @@ skip.installer property in build.properties" />
|
||||
</condition>
|
||||
</target>
|
||||
|
||||
- <target name="trydownload" if="trydownload.run" depends="trydownload.check">
|
||||
+ <target name="trydownload" if="trydownload.run" depends="trydownload.check" unless="noget">
|
||||
<!-- Downloads a file if not yet downloaded and the source URL is available -->
|
||||
<get src="${sourcefile}" httpusecaches="${trydownload.httpusecaches}" dest="${destfile}" />
|
||||
</target>
|
||||
@@ -3018,7 +3029,7 @@ skip.installer property in build.properties" />
|
||||
|
||||
<target name="ide-eclipse"
|
||||
depends="download-compile, extras-webservices-prepare, download-test-compile"
|
||||
- description="Prepares the source tree to be built in Eclipse">
|
||||
+ description="Prepares the source tree to be built in Eclipse" unless="noget">
|
||||
|
||||
<!-- Copy the sample project files into the root directory -->
|
||||
<copy file="${tomcat.home}/res/ide-support/eclipse/eclipse.project" tofile="${tomcat.home}/.project"/>
|
@ -0,0 +1,156 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2 prefix user
|
||||
|
||||
MY_PV="${PV/_alpha/.M}"
|
||||
MY_P="apache-${PN}-${MY_PV}-src"
|
||||
|
||||
DESCRIPTION="Tomcat Servlet-4.0/JSP-2.3 Container"
|
||||
HOMEPAGE="http://tomcat.apache.org/"
|
||||
SRC_URI="mirror://apache/${PN}/tomcat-9/v${MY_PV}/src/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="9"
|
||||
KEYWORDS="~amd64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris"
|
||||
IUSE="extra-webapps"
|
||||
|
||||
RESTRICT="test" # can we run them on a production system?
|
||||
|
||||
ECJ_SLOT="4.5"
|
||||
SAPI_SLOT="4.0"
|
||||
|
||||
COMMON_DEP="dev-java/eclipse-ecj:${ECJ_SLOT}
|
||||
dev-java/oracle-javamail:0
|
||||
dev-java/tomcat-servlet-api:${SAPI_SLOT}"
|
||||
RDEPEND="${COMMON_DEP}
|
||||
!<dev-java/tomcat-native-1.1.24
|
||||
>=virtual/jre-1.8"
|
||||
DEPEND="${COMMON_DEP}
|
||||
app-admin/pwgen
|
||||
>=virtual/jdk-1.8
|
||||
test? (
|
||||
>=dev-java/ant-junit-1.9:0
|
||||
dev-java/easymock:3.2
|
||||
)"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
java-pkg-2_pkg_setup
|
||||
enewgroup tomcat 265
|
||||
enewuser tomcat 265 -1 /dev/null tomcat
|
||||
}
|
||||
|
||||
java_prepare() {
|
||||
find -name '*.jar' -type f -delete -print || die
|
||||
|
||||
# Remove bundled javamail, servlet-api
|
||||
rm -rv java/javax/{el,mail,servlet} || die
|
||||
|
||||
epatch "${FILESDIR}/${P}-build.xml.patch"
|
||||
|
||||
# For use of catalina.sh in netbeans
|
||||
sed -i -e "/^# ----- Execute The Requested Command/ a\
|
||||
CLASSPATH=\`java-config --classpath ${PN}-${SLOT}\`" \
|
||||
bin/catalina.sh || die
|
||||
}
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||||
|
||||
EANT_BUILD_TARGET="deploy"
|
||||
EANT_GENTOO_CLASSPATH="eclipse-ecj-${ECJ_SLOT},oracle-javamail,tomcat-servlet-api-${SAPI_SLOT}"
|
||||
EANT_TEST_GENTOO_CLASSPATH="easymock-3.2"
|
||||
EANT_GENTOO_CLASSPATH_EXTRA="${S}/output/classes"
|
||||
EANT_NEEDS_TOOLS="true"
|
||||
EANT_EXTRA_ARGS="-Dversion=${PV}-gentoo -Dversion.number=${PV} -Dcompile.debug=false"
|
||||
|
||||
# revisions of the scripts
|
||||
IM_REV="-r2"
|
||||
INIT_REV="-r1"
|
||||
|
||||
src_compile() {
|
||||
EANT_GENTOO_CLASSPATH_EXTRA+=":$(java-pkg_getjar --build-only ant-core ant.jar)"
|
||||
java-pkg-2_src_compile
|
||||
}
|
||||
|
||||
src_test() {
|
||||
java-pkg-2_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local dest="/usr/share/${PN}-${SLOT}"
|
||||
|
||||
java-pkg_jarinto "${dest}"/bin
|
||||
java-pkg_dojar output/build/bin/*.jar
|
||||
exeinto "${dest}"/bin
|
||||
doexe output/build/bin/*.sh
|
||||
|
||||
java-pkg_jarinto "${dest}"/lib
|
||||
java-pkg_dojar output/build/lib/*.jar
|
||||
|
||||
dodoc RELEASE-NOTES RUNNING.txt
|
||||
use doc && java-pkg_dojavadoc output/dist/webapps/docs/api
|
||||
use source && java-pkg_dosrc java/*
|
||||
|
||||
### Webapps ###
|
||||
|
||||
# add missing docBase
|
||||
local apps="host-manager manager"
|
||||
for app in ${apps}; do
|
||||
sed -i -e "s|=\"true\" >|=\"true\" docBase=\"\$\{catalina.home\}/webapps/${app}\" >|" \
|
||||
output/build/webapps/${app}/META-INF/context.xml || die
|
||||
done
|
||||
|
||||
insinto "${dest}"/webapps
|
||||
doins -r output/build/webapps/{host-manager,manager,ROOT}
|
||||
use extra-webapps && doins -r output/build/webapps/{docs,examples}
|
||||
|
||||
### Config ###
|
||||
|
||||
# create "logs" directory in $CATALINA_BASE
|
||||
# and set correct perms, see #458890
|
||||
dodir "${dest}"/logs
|
||||
fperms 0750 "${dest}"/logs
|
||||
|
||||
# replace the default pw with a random one, see #92281
|
||||
local randpw="$(pwgen -s -B 15 1)"
|
||||
sed -i -e "s|SHUTDOWN|${randpw}|" output/build/conf/server.xml || die
|
||||
|
||||
# prepend gentoo.classpath to common.loader, see #453212
|
||||
sed -i -e 's/^common\.loader=/\0${gentoo.classpath},/' output/build/conf/catalina.properties || die
|
||||
|
||||
insinto "${dest}"
|
||||
doins -r output/build/conf
|
||||
|
||||
### rc ###
|
||||
|
||||
cp "${FILESDIR}"/tomcat{.conf,${INIT_REV}.init,-instance-manager${IM_REV}.bash} "${T}" || die
|
||||
eprefixify "${T}"/tomcat{.conf,${INIT_REV}.init,-instance-manager${IM_REV}.bash}
|
||||
sed -i -e "s|@SLOT@|${SLOT}|g" "${T}"/tomcat{.conf,${INIT_REV}.init,-instance-manager${IM_REV}.bash} || die
|
||||
|
||||
insinto "${dest}"/gentoo
|
||||
doins "${T}"/tomcat.conf
|
||||
exeinto "${dest}"/gentoo
|
||||
newexe "${T}"/tomcat${INIT_REV}.init tomcat.init
|
||||
newexe "${T}"/tomcat-instance-manager${IM_REV}.bash tomcat-instance-manager.bash
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "New ebuilds of Tomcat support running multiple instances. If you used prior version"
|
||||
elog "of Tomcat (<7.0.32), you have to migrate your existing instance to work with new Tomcat."
|
||||
elog "You can find more information at https://wiki.gentoo.org/wiki/Apache_Tomcat"
|
||||
|
||||
elog "To manage Tomcat instances, run:"
|
||||
elog " ${EPREFIX}/usr/share/${PN}-${SLOT}/gentoo/tomcat-instance-manager.bash --help"
|
||||
|
||||
ewarn "tomcat-dbcp.jar is not built at this time. Please fetch jar"
|
||||
ewarn "from upstream binary if you need it. Gentoo Bug # 144276"
|
||||
|
||||
# einfo "Please read https://www.gentoo.org/proj/en/java/tomcat6-guide.xml for more information."
|
||||
}
|
Loading…
Reference in new issue