diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2005-03-04 17:44:43 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2005-03-04 17:44:43 +0000 |
commit | 9a75fcff3509fe23597630abf2c19433ce817892 (patch) | |
tree | 42aa06a4ab425a274cc0992a694fb4f37120ee3f | |
download | betelgeuse-9a75fcff3509fe23597630abf2c19433ce817892.tar.gz betelgeuse-9a75fcff3509fe23597630abf2c19433ce817892.tar.bz2 betelgeuse-9a75fcff3509fe23597630abf2c19433ce817892.zip |
initial import
svn path=/; revision=1
61 files changed, 1140 insertions, 0 deletions
diff --git a/app-misc/freemind/Manifest b/app-misc/freemind/Manifest new file mode 100644 index 0000000..ad091fa --- /dev/null +++ b/app-misc/freemind/Manifest @@ -0,0 +1,2 @@ +MD5 d28fde66612ee042692b98176d8a276d freemind-0.7.1-r2.ebuild 1136 +MD5 615ccb469eb93e22c5e84358d55e6c0f files/digest-freemind-0.7.1-r2 70 diff --git a/app-misc/freemind/files/digest-freemind-0.7.1-r2 b/app-misc/freemind/files/digest-freemind-0.7.1-r2 new file mode 100644 index 0000000..5f4e856 --- /dev/null +++ b/app-misc/freemind/files/digest-freemind-0.7.1-r2 @@ -0,0 +1 @@ +MD5 45bab60d1c9de145661b82650ad09951 freemind-src-0_7_1.tar.gz 239660 diff --git a/app-misc/freemind/freemind-0.7.1-r2.ebuild b/app-misc/freemind/freemind-0.7.1-r2.ebuild new file mode 100644 index 0000000..a25dec0 --- /dev/null +++ b/app-misc/freemind/freemind-0.7.1-r2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $ + +inherit java-pkg eutils + +DESCRIPTION="Mind-mapping software written in Java" +HOMEPAGE="http://freemind.sf.net" +SRC_URI="mirror://sourceforge/freemind/${PN}-src-${PV//./_}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86 sparc ppc amd64" +IUSE="doc jikes" +DEPEND="dev-java/ant + >=virtual/jdk-1.4* + jikes? ( dev-java/jikes )" +RDEPEND=">=virtual/jre-1.4" + +S=${WORKDIR}/${PN} + +src_compile() { + local antflags="jar browser" + use jikes && antflags="${antflags} -Dbuild.compiler=jikes" + use doc && antflags="${antflags} doc" + ant ${antflags} || die "Compiling failed!" +} + +src_install() { + cd ${WORKDIR}/bin/dist + + insinto /opt/${PN}/lib + doins lib/*.jar browser/*.jar + + echo "#!/bin/sh" > ${PN}.sh + echo "cd /opt/${PN}" >> ${PN}.sh + echo "'${JAVA_HOME}'/bin/java -jar lib/${PN}.jar" >> ${PN}.sh + + cp -R ${S}/doc ${D}/opt/${PN} + use doc && java-pkg_dohtml -r doc/ + + into /opt + newbin ${PN}.sh ${PN} + + mv ${S}/images/FreeMindWindowIcon.png ${S}/images/freemind.png + doicon ${S}/images/freemind.png + + make_desktop_entry freemind Freemind freemind.png Utility +} + diff --git a/app-misc/freemind/freemind.patch b/app-misc/freemind/freemind.patch new file mode 100644 index 0000000..a37bd40 --- /dev/null +++ b/app-misc/freemind/freemind.patch @@ -0,0 +1,18 @@ +3c3 +< # $Header: /var/cvsroot/gentoo-x86/app-misc/freemind/freemind-0.7.1.ebuild,v 1.13 2005/01/01 15:02:39 eradicator Exp $ +--- +> # $ +5c5 +< inherit java-pkg +--- +> inherit java-pkg eutils +25c25 +< ant ${antflags} +--- +> ant ${antflags} || die "Compiling failed!" +42a43,47 +> +> mv ${S}/images/FreeMindWindowIcon.png ${S}/images/freemind.png +> doicon ${S}/images/freemind.png +> +> make_desktop_entry freemind Freemind freemind.png Utility diff --git a/dev-java/jdictrayapi/Manifest b/dev-java/jdictrayapi/Manifest new file mode 100644 index 0000000..98d6281 --- /dev/null +++ b/dev-java/jdictrayapi/Manifest @@ -0,0 +1,3 @@ +MD5 a22a997966b910b2e922e32c708125f5 jdictrayapi-0.8.7.ebuild 712 +MD5 1970d31723d2629acdf909e4ecef05f0 files/digest-jdic-0.8.7 63 +MD5 1970d31723d2629acdf909e4ecef05f0 files/digest-jdictrayapi-0.8.7 63 diff --git a/dev-java/jdictrayapi/files/digest-jdic-0.8.7 b/dev-java/jdictrayapi/files/digest-jdic-0.8.7 new file mode 100644 index 0000000..78389ba --- /dev/null +++ b/dev-java/jdictrayapi/files/digest-jdic-0.8.7 @@ -0,0 +1 @@ +MD5 94e8e959486f68e9f6ca9da8b7c0c7c8 jdic-0.8.7-src.zip 994154 diff --git a/dev-java/jdictrayapi/files/digest-jdictrayapi-0.8.7 b/dev-java/jdictrayapi/files/digest-jdictrayapi-0.8.7 new file mode 100644 index 0000000..78389ba --- /dev/null +++ b/dev-java/jdictrayapi/files/digest-jdictrayapi-0.8.7 @@ -0,0 +1 @@ +MD5 94e8e959486f68e9f6ca9da8b7c0c7c8 jdic-0.8.7-src.zip 994154 diff --git a/dev-java/jdictrayapi/jdictrayapi-0.8.7.ebuild b/dev-java/jdictrayapi/jdictrayapi-0.8.7.ebuild new file mode 100644 index 0000000..243363e --- /dev/null +++ b/dev-java/jdictrayapi/jdictrayapi-0.8.7.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils java-pkg + +DESCRIPTION="The JDesktop Integration Components (JDIC) tray icon API" +HOMEPAGE="https://jdic.dev.java.net/" + +#The numbers in the URI depend on the version +SRC_URI="https://jdic.dev.java.net/files/documents/880/9849/jdic-${PV}-src.zip" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~x86" + +MY_P="jdic" +S="${WORKDIR}/${MY_P}-${PV}-src/${MY_P}" + +IUSE="" +DEPEND=">=virtual/jdk-1.4.2 + >=dev-java/ant-core-1.5.4" +RDEPEND=">=virtual/jre-1.4.2" + +src_compile() { + ant buildtray || die in src_compile +} + +src_install() { + cd ${WORKDIR}/${MY_P}-${PV}-src/ + dodoc COPYING + dohtml README.html + + cd $S/dist/linux + java-pkg_dojar jdic.jar + java-pkg_doso libtray.so +} diff --git a/dev-java/jdom/Manifest b/dev-java/jdom/Manifest new file mode 100644 index 0000000..e9831dd --- /dev/null +++ b/dev-java/jdom/Manifest @@ -0,0 +1,2 @@ +MD5 a6165c90f3149f1a35bf6988ffabe01b jdom-1.0_beta6.ebuild 1221 +MD5 bb9b91ebd19835161b889abf889afda2 files/digest-jdom-1.0_beta6 60 diff --git a/dev-java/jdom/files/digest-jdom-1.0_beta6 b/dev-java/jdom/files/digest-jdom-1.0_beta6 new file mode 100644 index 0000000..1855059 --- /dev/null +++ b/dev-java/jdom/files/digest-jdom-1.0_beta6 @@ -0,0 +1 @@ +MD5 eaffabd4ce596421a5c0696224ee4347 jdom-b6.tar.gz 1045817 diff --git a/dev-java/jdom/jdom-1.0_beta6.ebuild b/dev-java/jdom/jdom-1.0_beta6.ebuild new file mode 100644 index 0000000..e56e225 --- /dev/null +++ b/dev-java/jdom/jdom-1.0_beta6.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $ + +inherit java-pkg + +IUSE="jikes doc" + +MY_PN="jdom" +MY_PV="b6" +MY_P="${MY_PN}-${MY_PV}" + +DESCRIPTION="Java API to manipulate XML data" +SRC_URI="http://www.jdom.org/dist/source/archive/${MY_P}.tar.gz" +HOMEPAGE="http://www.jdom.org" +LICENSE="JDOM" +SLOT="${PV}" +KEYWORDS="~x86 ~sparc ~ppc ~amd64" +DEPEND=">=dev-java/ant-1.4.1 + >=virtual/jdk-1.3 + jikes? ( >=dev-java/jikes-1.15 )" +RDEPEND=">=virtual/jre-1.3 + >=dev-java/xerces-2.6.2-r1 + dev-java/jaxen + dev-java/saxpath + dev-java/xalan" + +S="${WORKDIR}/${MY_P}" + +src_unpack() { + unpack ${A} + cd ${S} + rm -f build/*.jar lib/*.jar + + cd ${S}/lib + java-pkg_jar-from jaxen + java-pkg_jar-from saxpath +# java-pkg_jar-from xerces-2 +} + +src_compile() { + local antflags="package" + use jikes && antflags="${antflags} -Dbuild.compiler=jikes" + ant ${antflags} || die "compile problem" +} + +src_install() { + java-pkg_dojar build/*.jar + + dodoc CHANGES.txt COMMITTERS.txt LICENSE.txt README.txt TODO.txt + use doc && java-pkg_dohtml -r build/apidocs/* +} diff --git a/kde-base/khotkeys/Manifest b/kde-base/khotkeys/Manifest new file mode 100644 index 0000000..2ebf64d --- /dev/null +++ b/kde-base/khotkeys/Manifest @@ -0,0 +1,2 @@ +MD5 bee6bf63d481a5ce06b05598b3049c1c khotkeys-3.4.0_rc1.ebuild 374 +MD5 bf55cbe0244386a3b46be4ca7fe7bc8a files/digest-khotkeys-3.4.0_rc1 378 diff --git a/kde-base/khotkeys/files/digest-khotkeys-3.4.0_rc1 b/kde-base/khotkeys/files/digest-khotkeys-3.4.0_rc1 new file mode 100644 index 0000000..50a9727 --- /dev/null +++ b/kde-base/khotkeys/files/digest-khotkeys-3.4.0_rc1 @@ -0,0 +1,5 @@ +MD5 46a0b6a8f72b16812d4ad745902fdcf5 kdebase-3.3.90.tar.bz2 20659998 +MD5 cd0819379968496b415c3a4121272e1f kdebase-3.3.90-3.3.91.tar.xdelta 3128388 +MD5 3889cab60fdb15738a20aa9ba0f9c893 kdebase-3.3.91-3.3.92.tar.xdelta 3499698 +MD5 1a7dca351aec8b4eff89a78eba743268 kdebase-3.3.92-3.4.0-rc1.tar.xdelta 3102730 +MD5 0face9841cfe0babf3f7003822d25427 kdebase-3.4.0-rc1.tar.bz2 22684133 diff --git a/kde-base/khotkeys/khotkeys-3.4.0_rc1.ebuild b/kde-base/khotkeys/khotkeys-3.4.0_rc1.ebuild new file mode 100644 index 0000000..7d57001 --- /dev/null +++ b/kde-base/khotkeys/khotkeys-3.4.0_rc1.ebuild @@ -0,0 +1,14 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/khotkeys/khotkeys-3.4.0_rc1.ebuild,v 1.2 2005/03/02 01:24:18 cryos Exp $ + +KMNAME=kdebase +MAXKDEVER=$PV +KM_DEPRANGE="$PV $MAXKDEVER" +inherit kde-meta eutils + +DESCRIPTION="KDE: hotkey daemon" +KEYWORDS="~x86 ~amd64" +IUSE="" + + diff --git a/kde-misc/lipstik/Manifest b/kde-misc/lipstik/Manifest new file mode 100644 index 0000000..9e26123 --- /dev/null +++ b/kde-misc/lipstik/Manifest @@ -0,0 +1,2 @@ +MD5 dcbcda0255b0c838e7f21560e77a7d68 lipstik-1.1.ebuild 504 +MD5 24aa570f8b25dd2f241c104cf1ed14be files/digest-lipstik-1.1 70 diff --git a/kde-misc/lipstik/files/digest-lipstik-1.1 b/kde-misc/lipstik/files/digest-lipstik-1.1 new file mode 100644 index 0000000..f35efe6 --- /dev/null +++ b/kde-misc/lipstik/files/digest-lipstik-1.1 @@ -0,0 +1 @@ +MD5 7b59af848f254112d989313b631b41ec 18223-lipstik-1.1.tar.bz2 406929 diff --git a/kde-misc/lipstik/lipstik-1.1.ebuild b/kde-misc/lipstik/lipstik-1.1.ebuild new file mode 100644 index 0000000..190ce5a --- /dev/null +++ b/kde-misc/lipstik/lipstik-1.1.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit kde + +MY_P=${P/_beta/beta} +S=${WORKDIR}/${MY_P} + +DESCRIPTION="This is a mod of the plastik style with inverted gradients for an ActiveHeart look" +HOMEPAGE="http://kde-look.org/content/show.php?content=18223" +SRC_URI="http://kde-look.org/content/files/18223-${MY_P}.tar.bz2" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 x86" +IUSE="" + +RESTRICT="nomirror $RESTRICT" + +need-kde 3.3 diff --git a/media-fonts/fontcollection/Manifest b/media-fonts/fontcollection/Manifest new file mode 100644 index 0000000..0fa6733 --- /dev/null +++ b/media-fonts/fontcollection/Manifest @@ -0,0 +1,2 @@ +MD5 475ca6b99b00666fadcb0f0f3e566819 fontcollection-0.8.ebuild 443 +MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-fontcollection-0.8 0 diff --git a/media-fonts/fontcollection/files/digest-fontcollection-0.8 b/media-fonts/fontcollection/files/digest-fontcollection-0.8 new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/media-fonts/fontcollection/files/digest-fontcollection-0.8 diff --git a/media-fonts/fontcollection/fontcollection-0.8.ebuild b/media-fonts/fontcollection/fontcollection-0.8.ebuild new file mode 100644 index 0000000..157d107 --- /dev/null +++ b/media-fonts/fontcollection/fontcollection-0.8.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $ + +DESCRIPTION="Betelgeuse's font collection" +HOMEPAGE="http://a.bo.cx/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" +IUSE="" + +RDEPEND=" + media-fonts/artwiz-fonts + media-fonts/corefonts + media-fonts/freefonts + media-fonts/sharefonts + media-fonts/terminus-font + media-fonts/ttf-bitstream-vera + media-fonts/urw-fonts" + diff --git a/sys-apps/grep/Manifest b/sys-apps/grep/Manifest new file mode 100644 index 0000000..1dcfd58 --- /dev/null +++ b/sys-apps/grep/Manifest @@ -0,0 +1,13 @@ +MD5 5917c7cad1f0533612edb027f1489f14 grep-2.5.1-r6.ebuild 2280 +MD5 41f77ef6693dc91a37b5ec51ce5a3e2d files/2.5.1-manpage.patch 283 +MD5 5dcaa51f88b364134a43d60b661870ee files/digest-grep-2.5.1-r1 62 +MD5 5dcaa51f88b364134a43d60b661870ee files/digest-grep-2.5.1-r4 62 +MD5 5dcaa51f88b364134a43d60b661870ee files/digest-grep-2.5.1-r5 62 +MD5 5dcaa51f88b364134a43d60b661870ee files/digest-grep-2.5.1-r6 62 +MD5 575345b799197d6c79fe93c757664262 files/grep-2.5.1-oi.patch.bz2 831 +MD5 0fb1a9dfb2cac7195b12574d85e68901 files/2.5.1-manpage-line-buffering.diff 391 +MD5 9b382fe04d2e5d86aea020215ceca879 files/gentoo-sparc32-dfa.patch 383 +MD5 b43c763953a7b7d3345fc0dd625f299c files/grep-2.5.1-fgrep.patch.bz2 1678 +MD5 294f8a32ae3036ebbf393610a286d80e files/grep-2.5.1-gofast.patch.bz2 4389 +MD5 f2f8cec983dc49b399880ab8eae882cb files/grep-2.5.1-i18n.patch.bz2 2903 +MD5 7fe2377aba625aaed445a12cefa4fb37 files/grep-2.5.1-restrict_arr.patch 495 diff --git a/sys-apps/grep/files/2.5.1-manpage-line-buffering.diff b/sys-apps/grep/files/2.5.1-manpage-line-buffering.diff new file mode 100644 index 0000000..8b32dd2 --- /dev/null +++ b/sys-apps/grep/files/2.5.1-manpage-line-buffering.diff @@ -0,0 +1,11 @@ +--- doc/grep.1.orig 2004-08-20 09:28:45.857442048 +0100 ++++ doc/grep.1 2004-08-20 09:27:20.959348520 +0100 +@@ -303,7 +303,7 @@ + This is especially useful for tools like zgrep, e.g. + .B "gzip -cd foo.gz |grep --label=foo something" + .TP +-.BR \-\^\-line-buffering ++.BR \-\^\-line-buffered + Use line buffering, it can be a performance penality. + .TP + .BR \-q ", " \-\^\-quiet ", " \-\^\-silent diff --git a/sys-apps/grep/files/2.5.1-manpage.patch b/sys-apps/grep/files/2.5.1-manpage.patch new file mode 100644 index 0000000..b653fe4 --- /dev/null +++ b/sys-apps/grep/files/2.5.1-manpage.patch @@ -0,0 +1,10 @@ +--- doc/grep.1.orig 2004-06-10 16:59:31.000000000 -0700 ++++ doc/grep.1 2004-06-10 16:59:56.000000000 -0700 +@@ -191,6 +191,7 @@ + .I PATTERN + as a list of fixed strings, separated by newlines, + any of which is to be matched. ++.TP + .BR \-P ", " \-\^\-perl-regexp + Interpret + .I PATTERN diff --git a/sys-apps/grep/files/digest-grep-2.5.1-r1 b/sys-apps/grep/files/digest-grep-2.5.1-r1 new file mode 100644 index 0000000..ef03a03 --- /dev/null +++ b/sys-apps/grep/files/digest-grep-2.5.1-r1 @@ -0,0 +1 @@ +MD5 85df024edc9f9689035f6b3de28c7731 grep-2.5.1.tar.gz 683093 diff --git a/sys-apps/grep/files/digest-grep-2.5.1-r4 b/sys-apps/grep/files/digest-grep-2.5.1-r4 new file mode 100644 index 0000000..ef03a03 --- /dev/null +++ b/sys-apps/grep/files/digest-grep-2.5.1-r4 @@ -0,0 +1 @@ +MD5 85df024edc9f9689035f6b3de28c7731 grep-2.5.1.tar.gz 683093 diff --git a/sys-apps/grep/files/digest-grep-2.5.1-r5 b/sys-apps/grep/files/digest-grep-2.5.1-r5 new file mode 100644 index 0000000..ef03a03 --- /dev/null +++ b/sys-apps/grep/files/digest-grep-2.5.1-r5 @@ -0,0 +1 @@ +MD5 85df024edc9f9689035f6b3de28c7731 grep-2.5.1.tar.gz 683093 diff --git a/sys-apps/grep/files/digest-grep-2.5.1-r6 b/sys-apps/grep/files/digest-grep-2.5.1-r6 new file mode 100644 index 0000000..ef03a03 --- /dev/null +++ b/sys-apps/grep/files/digest-grep-2.5.1-r6 @@ -0,0 +1 @@ +MD5 85df024edc9f9689035f6b3de28c7731 grep-2.5.1.tar.gz 683093 diff --git a/sys-apps/grep/files/gentoo-sparc32-dfa.patch b/sys-apps/grep/files/gentoo-sparc32-dfa.patch new file mode 100644 index 0000000..20295fc --- /dev/null +++ b/sys-apps/grep/files/gentoo-sparc32-dfa.patch @@ -0,0 +1,11 @@ +*** src/dfa.h Fri Apr 25 01:36:02 2003 +--- src/dfa.h.mod Fri Apr 25 01:36:56 2003 +*************** +*** 428,432 **** +--- 428,433 ---- + + /* dfaerror() is called by the regexp routines whenever an error occurs. It + takes a single argument, a NUL-terminated string describing the error. + The user must supply a dfaerror. */ + extern void dfaerror PARAMS ((const char *)); ++ diff --git a/sys-apps/grep/files/grep-2.5.1-fgrep.patch.bz2 b/sys-apps/grep/files/grep-2.5.1-fgrep.patch.bz2 Binary files differnew file mode 100644 index 0000000..2c3f1ee --- /dev/null +++ b/sys-apps/grep/files/grep-2.5.1-fgrep.patch.bz2 diff --git a/sys-apps/grep/files/grep-2.5.1-gofast.patch.bz2 b/sys-apps/grep/files/grep-2.5.1-gofast.patch.bz2 Binary files differnew file mode 100644 index 0000000..111af11 --- /dev/null +++ b/sys-apps/grep/files/grep-2.5.1-gofast.patch.bz2 diff --git a/sys-apps/grep/files/grep-2.5.1-i18n.patch.bz2 b/sys-apps/grep/files/grep-2.5.1-i18n.patch.bz2 Binary files differnew file mode 100644 index 0000000..fb6f790 --- /dev/null +++ b/sys-apps/grep/files/grep-2.5.1-i18n.patch.bz2 diff --git a/sys-apps/grep/files/grep-2.5.1-oi.patch.bz2 b/sys-apps/grep/files/grep-2.5.1-oi.patch.bz2 Binary files differnew file mode 100644 index 0000000..55fb685 --- /dev/null +++ b/sys-apps/grep/files/grep-2.5.1-oi.patch.bz2 diff --git a/sys-apps/grep/files/grep-2.5.1-restrict_arr.patch b/sys-apps/grep/files/grep-2.5.1-restrict_arr.patch new file mode 100644 index 0000000..aa71bbc --- /dev/null +++ b/sys-apps/grep/files/grep-2.5.1-restrict_arr.patch @@ -0,0 +1,12 @@ +--- lib/posix/regex.h.mps 2004-06-09 22:00:00.000000000 +0200 ++++ lib/posix/regex.h 2004-06-09 22:00:40.000000000 +0200 +@@ -533,7 +533,9 @@ extern int re_exec _RE_ARGS ((const char + /* For now unconditionally define __restrict_arr to expand to nothing. + Ideally we would have a test for the compiler which allows defining + it to restrict. */ ++#ifndef __restrict_arr + #define __restrict_arr ++#endif + + /* POSIX compatibility. */ + extern int regcomp _RE_ARGS ((regex_t *__restrict __preg, diff --git a/sys-apps/grep/grep-2.5.1-r6.ebuild b/sys-apps/grep/grep-2.5.1-r6.ebuild new file mode 100644 index 0000000..dc628b7 --- /dev/null +++ b/sys-apps/grep/grep-2.5.1-r6.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/grep/grep-2.5.1-r6.ebuild,v 1.9 2004/11/12 16:00:21 vapier Exp $ + +inherit gnuconfig flag-o-matic eutils + +DESCRIPTION="GNU regular expression matcher" +HOMEPAGE="http://www.gnu.org/software/grep/grep.html" +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz + mirror://gentoo/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86" +IUSE="build nls pcre static uclibc" + +RDEPEND="virtual/libc" +DEPEND="${RDEPEND} + pcre? ( + >=sys-apps/sed-4 + dev-libs/libpcre ) + nls? ( sys-devel/gettext )" + +src_unpack() { + unpack ${A} && cd ${S} || die + + if [ "${ARCH}" = "sparc" -a "${PROFILE_ARCH}" = "sparc" ] ; then + epatch "${FILESDIR}/gentoo-sparc32-dfa.patch" + fi + epatch "${FILESDIR}/${PV}-manpage.patch" + + # man page describes a --line-buffering option, where as + # grep recognises --line-buffered. + # -taviso (20 Aug 2004) + epatch ${FILESDIR}/${PV}-manpage-line-buffering.diff + + use uclibc && epatch ${FILESDIR}/grep-2.5.1-restrict_arr.patch + + epatch ${FILESDIR}/${PN}-${PV}-fgrep.patch.bz2 + epatch ${FILESDIR}/${PN}-${PV}-i18n.patch.bz2 + epatch ${FILESDIR}/${PN}-${PV}-gofast.patch.bz2 + epatch ${FILESDIR}/${PN}-${PV}-oi.patch.bz2 + + # Fix configure scripts to detect linux-mips + gnuconfig_update +} + +src_compile() { + local myconf=" + $(use_enable nls) + --bindir=/bin" + + if use static ; then + append-flags -static + append-ldflags -static + fi + + if use uclibc ; then + myconf="${myconf} --without-included-regex" + else + myconf="${myconf} $(use_enable pcre perl-regexp) --with-included-regex" + fi + + econf ${myconf} || die "econf failed" + + if use pcre && ! use uclibc ; then + sed -i -e 's:-lpcre:/usr/lib/libpcre.a:g' {lib,src}/Makefile \ + || die "sed Makefile failed" + fi + + emake || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + + # Override the default shell scripts... grep knows how to act + # based on how it's called + ln -sfn grep "${D}/bin/egrep" || die "ln egrep failed" + ln -sfn grep "${D}/bin/fgrep" || die "ln fgrep failed" + + if use build ; then + rm -rf "${D}/usr/share" + else + dodoc AUTHORS ChangeLog NEWS README THANKS TODO + fi +} diff --git a/sys-kernel/love-sources/Manifest b/sys-kernel/love-sources/Manifest new file mode 100644 index 0000000..65658d0 --- /dev/null +++ b/sys-kernel/love-sources/Manifest @@ -0,0 +1,6 @@ +MD5 8d2d15f3933f552266e1d57e83354a28 love-sources-2.6.11_rc4-r1.ebuild 1659 +MD5 af3d1ab87f2e8d9ec48539e073639ca1 love-sources-2.6.9_rc2-r4.ebuild 1671 +MD5 4aeac865994a0a6b87e49b344af96156 love-sources-2.6.9_rc4-r1.ebuild 1965 +MD5 0f472755b99080e32cbad626b622eea2 files/digest-love-sources-2.6.9_rc2-r4 258 +MD5 8db08cefa90956489a69ee1f4669ace9 files/digest-love-sources-2.6.9_rc4-r1 258 +MD5 c21b3be25b5da501dce1e9b82e97fe96 files/digest-love-sources-2.6.11_rc4-r1 199 diff --git a/sys-kernel/love-sources/files/digest-love-sources-2.6.11_rc4-r1 b/sys-kernel/love-sources/files/digest-love-sources-2.6.11_rc4-r1 new file mode 100644 index 0000000..ebfd819 --- /dev/null +++ b/sys-kernel/love-sources/files/digest-love-sources-2.6.11_rc4-r1 @@ -0,0 +1,3 @@ +MD5 5767160f3e7d4d756f375d4d7c41f1eb patch-2.6.11-rc4.bz2 4117136 +MD5 cffcd2919d9c8ef793ce1ac07a440eda linux-2.6.10.tar.bz2 36533484 +MD5 7cf71d63d589c7e1cb2f212369239a95 2.6.11-rc4-love1.bz2 2885523 diff --git a/sys-kernel/love-sources/files/digest-love-sources-2.6.9_rc2-r4 b/sys-kernel/love-sources/files/digest-love-sources-2.6.9_rc2-r4 new file mode 100644 index 0000000..8b6fbbf --- /dev/null +++ b/sys-kernel/love-sources/files/digest-love-sources-2.6.9_rc2-r4 @@ -0,0 +1,4 @@ +MD5 17f198c9f9b912b46ccf9b9f7b5137c5 patch-2.6.9-rc2.bz2 2577503 +MD5 2f8b0030ce970f3c1a460faf5d2b1cec linux-2.6.8.tar.bz2 35634061 +MD5 62fd85cb9158d1e9810996877d1aa258 2.6.9-rc2-mm4.bz2 3088295 +MD5 980a92d2a78deb669d8cf03e4d21a14b 2.6.9-rc2-love4.bz2 629891 diff --git a/sys-kernel/love-sources/files/digest-love-sources-2.6.9_rc4-r1 b/sys-kernel/love-sources/files/digest-love-sources-2.6.9_rc4-r1 new file mode 100644 index 0000000..0b96060 --- /dev/null +++ b/sys-kernel/love-sources/files/digest-love-sources-2.6.9_rc4-r1 @@ -0,0 +1,4 @@ +MD5 e3f0977194121df51591e9133210e25e patch-2.6.9-rc4.bz2 3446270 +MD5 2f8b0030ce970f3c1a460faf5d2b1cec linux-2.6.8.tar.bz2 35634061 +MD5 46e7299f6d40928d4b4282e4d8c0b862 2.6.9-rc4-mm1.bz2 2867410 +MD5 6270edb3231dadfc841e2877376e7095 2.6.9-rc4-love1.bz2 352532 diff --git a/sys-kernel/love-sources/love-sources-2.6.11_rc4-r1.ebuild b/sys-kernel/love-sources/love-sources-2.6.11_rc4-r1.ebuild new file mode 100644 index 0000000..aa184a1 --- /dev/null +++ b/sys-kernel/love-sources/love-sources-2.6.11_rc4-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +# Only set MMV to numeric value of -mm release +# Version of Andrew Morton's patchset + +RESTRICT="nomirror" + +K_PREPATCHED="yes" +K_NOSETEXTRAVERSION="don't_set_it" + +ETYPE="sources" +inherit kernel-2 +detect_version + +# Create -mm patch version, -mm patch source, -love patch source +#MMV="1" +#MMPV="${KV/-love*/}-mm${MMV}" +#MMPV_SRC="mirror://kernel/linux/kernel/people/akpm/patches/2.6/${MMPV/-mm*/}/${MMPV}/${MMPV}.bz2" + +# add more as you go along +LOVEPV_SRC="mirror://sourceforge/${PN}/${KV}.bz2" +LOVEPV_SRC="${LOVEPV_SRC} http://vivid.dat.pl/fallow/love/2.6.11-rc4-love1/${KV}.bz2" + +DESCRIPTION="Development branch of the Linux Kernel with Andrew Morton's patchset and other performance-ish patches and tweaks. Maintained by the Love-Sources Community" +HOMEPAGE="http://www.love-sources.org/" +SRC_URI="${KERNEL_URI} ${LOVEPV_SRC}" + +UNIPATCH_STRICTORDER="yes" +UNIPATCH_LIST="${DISTDIR}/${KV}.bz2" +PATCH_DEPTH=1 +KEYWORDS="x86 ~amd64 ~ia64 -*" + +K_EXTRAEWARN="IMPORTANT: The Love-Sources Community reminds you that the patches +here are sometimes experimental and could explode upon impact, make your +[soda|pop] really bland, or other badness. We aren't responsible for that, +but we will mention that these patches will also make your kernel +ROCK LIKE NINJA. If you experience problems while using love-sources, +go back to a vanilla kernel and see if the problem persists. If the problems +are still there, then you can bug somebody. (Preferably us and +not the Gentoo devs!) +pass rootflags=nopseudo to disable metas/ for root reiser4 +" + diff --git a/sys-kernel/love-sources/love-sources-2.6.9_rc2-r4.ebuild b/sys-kernel/love-sources/love-sources-2.6.9_rc2-r4.ebuild new file mode 100644 index 0000000..6158e64 --- /dev/null +++ b/sys-kernel/love-sources/love-sources-2.6.9_rc2-r4.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +# Only set MMV to numeric value of -mm release +# Version of Andrew Morton's patchset + +RESTRICT="nomirror" + +K_PREPATCHED="yes" +K_NOSETEXTRAVERSION="don't_set_it" + +ETYPE="sources" +inherit kernel-2 +detect_version + +# Create -mm patch version, -mm patch source, -love patch source +MMV="4" +MMPV="${KV/-love*/}-mm${MMV}" +MMPV_SRC="mirror://kernel/linux/kernel/people/akpm/patches/2.6/${MMPV/-mm*/}/${MMPV}/${MMPV}.bz2" + +# add more as you go along +LOVEPV_SRC="mirror://sourceforge/${PN}/${KV}.bz2" +LOVEPV_SRC="${LOVEPV_SRC} http://love-sources.q2h.com/${KV}.bz2" + +DESCRIPTION="Development branch of the Linux Kernel with Andrew Morton's patchset and other performance-ish patches and tweaks. Maintained by the Love-Sources Community" +HOMEPAGE="http://www.love-sources.org/" +SRC_URI="${KERNEL_URI} ${MMPV_SRC} ${LOVEPV_SRC}" + +UNIPATCH_STRICTORDER="yes" +UNIPATCH_LIST="${DISTDIR}/${MMPV}.bz2 ${DISTDIR}/${KV}.bz2" +PATCH_DEPTH=1 +KEYWORDS="x86 ~amd64 ~ia64 -*" + +K_EXTRAEWARN="IMPORTANT: The Love-Sources Community reminds you that the patches +here are sometimes experimental and could explode upon impact, make your +[soda|pop] really bland, or other badness. We aren't responsible for that, +but we will mention that these patches will also make your kernel +ROCK LIKE NINJA. If you experience problems while using love-sources, +go back to a vanilla kernel and see if the problem persists. If the problems +are still there, then you can bug somebody. (Preferably us and +not the Gentoo devs!) +pass rootflags=nopseudo to disable metas/ for root reiser4 +" + diff --git a/sys-kernel/love-sources/love-sources-2.6.9_rc4-r1.ebuild b/sys-kernel/love-sources/love-sources-2.6.9_rc4-r1.ebuild new file mode 100644 index 0000000..48b04d5 --- /dev/null +++ b/sys-kernel/love-sources/love-sources-2.6.9_rc4-r1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +# Only set MMV to numeric value of -mm release +# Version of Andrew Morton's patchset + +RESTRICT="nomirror" + +K_PREPATCHED="yes" +K_NOSETEXTRAVERSION="don't_set_it" + +ETYPE="sources" +IUSE="nonicksched" +inherit kernel-2 eutils +detect_version + +# Create -mm patch version, -mm patch source, -love patch source +MMV="1" +MMPV="${KV/-love*/}-mm${MMV}" +MMPV_SRC="mirror://kernel/linux/kernel/people/akpm/patches/2.6/${MMPV/-mm*/}/${MMPV}/${MMPV}.bz2" + +# add more as you go along +LOVEPV_SRC="mirror://sourceforge/${PN}/${KV}.bz2" +LOVEPV_SRC="${LOVEPV_SRC} http://love-sources.q2h.com/${KV}.bz2" + +NICKSCHED_SRC="http://love-sources.q2h.com/broken-out/nicksched-${KV}.bz2" + +DESCRIPTION="Development branch of the Linux Kernel with Andrew Morton's patchset and other performance-ish patches and tweaks. Maintained by the Love-Sources Community" +HOMEPAGE="http://www.love-sources.org/ http://love-sources.q2h.com" + +SRC_URI="${KERNEL_URI} ${MMPV_SRC} ${LOVEPV_SRC}" +use nonicksched && SRC_URI="${SRC_URI} ${NICKSCHED_SRC}" + +UNIPATCH_STRICTORDER="yes" +UNIPATCH_LIST="${DISTDIR}/${MMPV}.bz2 ${DISTDIR}/${KV}.bz2" + +KEYWORDS="~x86 ~amd64 ~ia64 -*" + +K_EXTRAEWARN="IMPORTANT: The Love-Sources Community reminds you that the patches +here are sometimes experimental and could explode upon impact, make your +[soda|pop] really bland, or other badness. We aren't responsible for that, +but we will mention that these patches will also make your kernel +ROCK LIKE NINJA. If you experience problems while using love-sources, +go back to a vanilla kernel and see if the problem persists. If the problems +are still there, then you can bug somebody. (Preferably us and +not the Gentoo devs!) +pass rootflags=nopseudo rootfstype=reiser4 to disable metas/ for root reiser4 +" + +src_unpack() { + kernel-2_src_unpack + use nonicksched && epatch -R ${DISTDIR}/nicksched-${KV}.bz2 +} diff --git a/sys-kernel/nitro-sources/Manifest b/sys-kernel/nitro-sources/Manifest new file mode 100644 index 0000000..252598d --- /dev/null +++ b/sys-kernel/nitro-sources/Manifest @@ -0,0 +1,6 @@ +MD5 2147c8d694554385db946e5e22196f58 nitro-sources-2.6.9-r4.ebuild 913 +MD5 38c8585a3a22bf519f7f9f9c8d205597 nitro-sources-2.6.10-r2.ebuild 947 +MD5 d74578fb90926d99bda1d95cc41669c2 nitro-sources-2.6.10-r4.ebuild 1415 +MD5 df3f4d8e39a522f7508992080a415f32 files/digest-nitro-sources-2.6.9-r4 134 +MD5 c3a2814c022a4c0f9f92fe2cc95b2aa9 files/digest-nitro-sources-2.6.10-r2 136 +MD5 88214bc77fd6fa60a0c9642d578f134c files/digest-nitro-sources-2.6.10-r4 208 diff --git a/sys-kernel/nitro-sources/files/digest-nitro-sources-2.6.10-r2 b/sys-kernel/nitro-sources/files/digest-nitro-sources-2.6.10-r2 new file mode 100644 index 0000000..9ffed47 --- /dev/null +++ b/sys-kernel/nitro-sources/files/digest-nitro-sources-2.6.10-r2 @@ -0,0 +1,2 @@ +MD5 cffcd2919d9c8ef793ce1ac07a440eda linux-2.6.10.tar.bz2 36533484 +MD5 fa22a6fac2516db342ad728176882808 patch-2.6.10-nitro2.bz2 2282602 diff --git a/sys-kernel/nitro-sources/files/digest-nitro-sources-2.6.10-r4 b/sys-kernel/nitro-sources/files/digest-nitro-sources-2.6.10-r4 new file mode 100644 index 0000000..bc487f2 --- /dev/null +++ b/sys-kernel/nitro-sources/files/digest-nitro-sources-2.6.10-r4 @@ -0,0 +1,3 @@ +MD5 cffcd2919d9c8ef793ce1ac07a440eda linux-2.6.10.tar.bz2 36533484 +MD5 c70bac1d5e94096ebe59b70be54238a5 patch-2.6.10-nitro4.bz2 1668861 +MD5 4e627e71c6130459ea7f281c0844b322 patch-2.6.10-nitro4-mm.bz2 2319383 diff --git a/sys-kernel/nitro-sources/files/digest-nitro-sources-2.6.9-r4 b/sys-kernel/nitro-sources/files/digest-nitro-sources-2.6.9-r4 new file mode 100644 index 0000000..6392bae --- /dev/null +++ b/sys-kernel/nitro-sources/files/digest-nitro-sources-2.6.9-r4 @@ -0,0 +1,2 @@ +MD5 e921200f074ca97184e150ef5a4af825 linux-2.6.9.tar.bz2 36261440 +MD5 4b7292a80a1ebda2ba167df2b2bfff35 patch-2.6.9-nitro4.bz2 1088182 diff --git a/sys-kernel/nitro-sources/nitro-sources-2.6.10-r2.ebuild b/sys-kernel/nitro-sources/nitro-sources-2.6.10-r2.ebuild new file mode 100644 index 0000000..bc45f94 --- /dev/null +++ b/sys-kernel/nitro-sources/nitro-sources-2.6.10-r2.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +UNIPATCH_LIST="${DISTDIR}/patch-${KV}.bz2" +K_PREPATCHED="yes" +UNIPATCH_STRICTORDER="yes" + +K_NOSETEXTRAVERSION="yes" +K_NOUSENAME="yes" +ETYPE="sources" +inherit kernel-2 +detect_version +IUSE="" + +DESCRIPTION="Full sources for the Stock Linux kernel and some various patches to improve desktop performance and experience" +HOMEPAGE="http://sepi.be/nitro.php" +SRC_URI="${KERNEL_URI} http://pickledonion.net/nitro/patches/patch-${KV}.bz2" + +KEYWORDS="~x86 ~amd64" + +pkg_postinst() { + postinst_sources + + ewarn "IMPORTANT:" + ewarn "This is a experimental kernel version, I'm not responsible for breaking your system" + ewarn "ALWAYS keep a second stable and bootable kernel apart in your boot manager" + echo + ewarn "Now compile this beauty, reboot, and fasten your seatbelts to experience the fastest desktop you've ever seen!" + echo +} diff --git a/sys-kernel/nitro-sources/nitro-sources-2.6.10-r4.ebuild b/sys-kernel/nitro-sources/nitro-sources-2.6.10-r4.ebuild new file mode 100644 index 0000000..b67c765 --- /dev/null +++ b/sys-kernel/nitro-sources/nitro-sources-2.6.10-r4.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +UNIPATCH_LIST="${DISTDIR}/patch-${KV}.bz2" +K_PREPATCHED="yes" +UNIPATCH_STRICTORDER="yes" + +K_NOSETEXTRAVERSION="yes" +K_NOUSENAME="yes" +ETYPE="sources" +inherit kernel-2 eutils +detect_version +IUSE="want-mm" + +DESCRIPTION="Full sources for the Stock Linux kernel and some various patches to improve desktop performance and experience" +HOMEPAGE="http://sepi.be/nitro.php" +SRC_URI="${KERNEL_URI} http://pickledonion.net/nitro/patches/patch-${KV}.bz2 http://pickledonion.net/nitro/patches/patch-${KV}-mm.bz2" + +KEYWORDS="~x86 ~amd64" + +src_compile() { + if use want-mm + then + cd ${S} + echo + einfo "Applying mm patch because you wanted it!" + echo + epatch ${DISTDIR}/patch-${KV}-mm.bz2 + fi +} + +pkg_postinst() { + postinst_sources + + ewarn "IMPORTANT:" + ewarn "This is a experimental kernel version, I'm not responsible for breaking your system" + ewarn "ALWAYS keep a second stable and bootable kernel apart in your boot manager" + echo + if use want-mm + then + ewarn "You have enabled mm/bk patches. They've been tested, but only to the compile stage." + ewarn "If bad things happen, remember:" + ewarn "YOU chose it." + ewarn "With that said, I hope it runs great!" + echo + fi + ewarn "Now compile this beauty, reboot, and fasten your seatbelts to experience the fastest desktop you've ever seen!" + echo + +} diff --git a/sys-kernel/nitro-sources/nitro-sources-2.6.9-r4.ebuild b/sys-kernel/nitro-sources/nitro-sources-2.6.9-r4.ebuild new file mode 100644 index 0000000..56bcdc6 --- /dev/null +++ b/sys-kernel/nitro-sources/nitro-sources-2.6.9-r4.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +UNIPATCH_LIST="${DISTDIR}/patch-${KV}.bz2" +K_PREPATCHED="yes" +UNIPATCH_STRICTORDER="yes" + +K_NOUSENAME="yes" +ETYPE="sources" +inherit kernel-2 +detect_version +IUSE="" + +DESCRIPTION="Full sources for the Stock Linux kernel and some various patches to improve desktop performance and experience" +HOMEPAGE="http://sepi.be/nitro.php" +SRC_URI="${KERNEL_URI} http://www.sepi.be/nitro/${KV}/patch-${KV}.bz2" + +KEYWORDS="x86 ~amd64" + +pkg_postinst() { + postinst_sources + + ewarn "IMPORTANT:" + ewarn "This is a experimental kernel version, I'm not responsible for breaking your system" + ewarn "ALWAYS keep a second stable and bootable kernel apart in your boot manager" + echo + ewarn "Now compile this beauty, reboot, and fasten your seatbelts to experience the fastest desktop you've ever seen!" + echo +} diff --git a/www-servers/jetty/Manifest b/www-servers/jetty/Manifest new file mode 100644 index 0000000..47e0135 --- /dev/null +++ b/www-servers/jetty/Manifest @@ -0,0 +1,2 @@ +MD5 c6462e1c663f819befd1a543ca664dcb jetty-5.1.1.ebuild 2658 +MD5 4d96f8e21acdf7216516de89cf1801ad files/digest-jetty-5.1.1 65 diff --git a/www-servers/jetty/files/digest-jetty-5.1.1 b/www-servers/jetty/files/digest-jetty-5.1.1 new file mode 100644 index 0000000..6bab6f7 --- /dev/null +++ b/www-servers/jetty/files/digest-jetty-5.1.1 @@ -0,0 +1 @@ +MD5 e5bc3061c29e5fa5ddd7ba0f1bff3b23 jetty-5.1.1-src.zip 1099208 diff --git a/www-servers/jetty/jetty-5.1.1.ebuild b/www-servers/jetty/jetty-5.1.1.ebuild new file mode 100644 index 0000000..e375fe3 --- /dev/null +++ b/www-servers/jetty/jetty-5.1.1.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/jetty/jetty-4.2.19.ebuild,v 1.2 2004/08/25 03:05:15 swegener Exp $ + +inherit java-pkg eutils + +DESCRIPTION="A Lightweight Servlet Engine" +SRC_URI="mirror://sourceforge/${PN}/${P}-src.zip" +HOMEPAGE="http://www.mortbay.org/" +KEYWORDS="~x86" +LICENSE="Apache-1.1" +SLOT="0" +DEPEND=">=virtual/jdk-1.2 + dev-java/ant" +IUSE="" + +pkg_preinst() { + enewgroup jetty + enewuser jetty -1 /bin/bash /opt/jetty jetty +} + +src_compile() { + ant +} + +src_install() { + JETTY_HOME="/opt/jetty" + INSTALLING="yes" + diropts -m0750 + + # Create directories + dodir ${JETTY_HOME} + dodir ${JETTY_HOME}/tmp + keepdir ${JETTY_HOME}/tmp + dodir /var/log/${PN} + touch ${D}/var/log/${PN}/jetty.log + keepdir /var/log/${PN} + + # INIT SCRIPTS AND ENV + insinto /etc/init.d + insopts -m0750 + newins ${FILESDIR}/${PV}/jetty.init jetty + + insinto /etc/env.d + insopts -m0750 + doins ${FILESDIR}/${PV}/21jetty + + insinto /etc/ + insopts -m0644 + doins ${FILESDIR}/${PV}/jetty.conf + + insinto /etc/conf.d + insopts -m0644 + doins ${FILESDIR}/${PV}/jetty + + dodoc *.TXT + dohtml *.html + + chmod u+x ${S}/bin/jetty.sh + + ant + cp -Rdp * ${D}/${JETTY_HOME} + dosym ${JETTY_HOME}/etc /etc/jetty + ln -sf /var/log/jetty ${D}/opt/jetty/logs +} + +pkg_postinst() { + einfo + einfo " NOTICE!" + einfo " User and group 'jetty' have been added." + einfo " " + einfo " FILE LOCATIONS:" + einfo " 1. Jetty home directory: ${JETTY_HOME}" + einfo " Contains application data, configuration files." + einfo " 2. Runtime settings: /etc/conf.d/jetty" + einfo " Contains CLASSPATH,JAVA_HOME,JAVA_OPTIONS,JETTY_PORT" + einfo " JETTY_USER,JETTY_CONF setting" + einfo " 3. You can configure your 'webapp'-lications in /etc/jetty.conf" + einfo " (the default configured webapps are the JETTY's demo/admin)" + einfo " 4. For more information about JETTY refer to jetty.mortbay.org" + einfo " 5. Logs are located at:" + einfo " /var/log/jetty/" + einfo + einfo " " + einfo " NETWORK CONFIGURATION:" + einfo " By default, Jetty runs on port 8080. You can change this" + einfo " value by setting JETTY_PORT in /etc/conf.d/jetty ." + einfo " " + einfo " To test Jetty while it's running, point your web browser to:" + einfo " http://localhost:8080/" + einfo + einfo " BUGS:" + einfo " Please file any bugs at http://bugs.gentoo.org/ or else it" + einfo " may not get seen. Thank you!" + einfo +} diff --git a/www-servers/tomcat/Manifest b/www-servers/tomcat/Manifest new file mode 100644 index 0000000..def06b9 --- /dev/null +++ b/www-servers/tomcat/Manifest @@ -0,0 +1,3 @@ +MD5 8e0fbdb0a41ef1fbd39a116ebe92136f tomcat-5.5.4.ebuild 6851 +MD5 683e898e909b3d90ca630696086b4c4c files/digest-tomcat-5.0.28 76 +MD5 77a8faaf643482f6febf6d616411cd45 files/digest-tomcat-5.5.4 77 diff --git a/www-servers/tomcat/files/5.5.4/build.xml-01.patch b/www-servers/tomcat/files/5.5.4/build.xml-01.patch new file mode 100644 index 0000000..1caa16c --- /dev/null +++ b/www-servers/tomcat/files/5.5.4/build.xml-01.patch @@ -0,0 +1,19 @@ +--- build.xml 2004-10-05 22:19:36.837810480 +1000 ++++ build.xml 2004-10-05 22:19:51.448589304 +1000 +@@ -77,14 +77,14 @@ + + <target name="checkout.depends" + description="Update or checkout dependent sources from CVS"> +- ++<!-- + <cvs cvsroot="${cvsroot}" quiet="true" + command="checkout -P jakarta-commons/LICENSE" + dest="${basedir}" compression="true" /> + <cvs cvsroot="${cvsroot}" quiet="true" + command="checkout -P ${commons-daemon.project}" + dest="${basedir}" compression="true" /> +- ++--> + </target> + + <!-- *************** UTILITY TARGETS *************** --> diff --git a/www-servers/tomcat/files/5.5.4/build.xml-02.patch b/www-servers/tomcat/files/5.5.4/build.xml-02.patch new file mode 100644 index 0000000..6eaf757 --- /dev/null +++ b/www-servers/tomcat/files/5.5.4/build.xml-02.patch @@ -0,0 +1,29 @@ +--- jakarta-tomcat-5/build.xml 2004-10-05 23:21:44.091181840 +1000 ++++ jakarta-tomcat-5/build.xml 2004-10-05 23:22:26.574723360 +1000 +@@ -1545,8 +1545,7 @@ + <!-- That is ugly XXX needs a review --> + <copy file="LICENSE" tofile="../LICENSE"/> + <copy file="LICENSE" tofile="${base.path}/LICENSE"/> +- +- <!-- Downdown any sub package or tools needed. --> ++<!-- + <antcall target="downloadgz"> + <param name="sourcefile" value="${commons-beanutils.loc}"/> + <param name="destfile" value="${commons-beanutils.jar}"/> +@@ -1593,7 +1592,6 @@ + </antcall> + + <antcall target="downloadgz"> +- <!-- xerces2 brings 2 files, test for one of them --> + <param name="sourcefile" value="${xerces.loc}"/> + <param name="destfile" value="${xml-apis.jar}"/> + </antcall> +@@ -1655,7 +1653,7 @@ + <param name="sourcefile" value="${saxpath.loc}"/> + <param name="destfile" value="${saxpath.jar}"/> + </antcall> +- ++--> + <!-- Build the dependencies that are not yet released --> + <antcall target="build-depends"/> + diff --git a/www-servers/tomcat/files/5.5.4/gentoo.diff b/www-servers/tomcat/files/5.5.4/gentoo.diff new file mode 100644 index 0000000..78e61fe --- /dev/null +++ b/www-servers/tomcat/files/5.5.4/gentoo.diff @@ -0,0 +1,13 @@ +--- jakarta-tomcat-catalina/catalina/src/bin/catalina.sh 2004-05-19 02:25:07.000000000 -0400 ++++ jakarta-tomcat-catalina/catalina/src/bin/catalina.sh 2004-05-19 02:23:20.128089696 -0400 +@@ -38,6 +38,10 @@ + # $Id: gentoo.diff,v 1.1 2004/10/09 09:59:14 axxo Exp $ + # ----------------------------------------------------------------------------- + ++# source the appropriate files right away ++source /etc/profile ++source /etc/conf.d/tomcat5 ++ + # OS specific support. $var _must_ be set to either true or false. + cygwin=false + os400=false diff --git a/www-servers/tomcat/files/5.5.4/jikes.diff b/www-servers/tomcat/files/5.5.4/jikes.diff new file mode 100644 index 0000000..60f56ec --- /dev/null +++ b/www-servers/tomcat/files/5.5.4/jikes.diff @@ -0,0 +1,13 @@ +--- jakarta-tomcat-catalina/catalina/src/conf/web.xml 2004-06-18 03:10:14.000000000 +0200 ++++ jakarta-tomcat-catalina/catalina/src/conf/web.xml 2004-07-28 18:51:39.192165664 +0200 +@@ -186,6 +186,10 @@ + <servlet> + <servlet-name>jsp</servlet-name> + <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class> ++ <init-param> ++ <param-name>compiler</param-name> ++ <param-value>jikes</param-value> ++ </init-param> + <init-param> + <param-name>fork</param-name> + <param-value>false</param-value> diff --git a/www-servers/tomcat/files/5.5.4/tomcat.conf b/www-servers/tomcat/files/5.5.4/tomcat.conf new file mode 100644 index 0000000..c4b1a8d --- /dev/null +++ b/www-servers/tomcat/files/5.5.4/tomcat.conf @@ -0,0 +1,79 @@ +# $Header: /var/cvsroot/gentoo-x86/www-servers/tomcat/files/5.0.28/tomcat.conf,v 1.1 2004/10/09 09:59:14 axxo Exp $ + +# JVM Runtime +# Using the default setting, it will determine your JVM from the system-vm +# set using java-config. +# See java-config(1) manual page for assistance in determining this value. +# +# You can override this value with whatever path you wish. +# Example: JAVA_HOME=/opt/sun-jdk-1.4.2.05 + +#JAVA_HOME=`java-config -O` + +# (Optional) Java runtime options used when the "start", "stop", or "run" +# commands are executed. +# JAVA_OPTS="" + +# The profile you would like to load +PROFILE=default + +# Where your web applications are located +CATALINA_HOME=/usr/share/tomcat5 +CATALINA_BASE=/var/lib/tomcat5/$PROFILE + +# Tomcat's User +CATALINA_USER=tomcat + +# Tomcat Console Log Location +CATALINA_OUT=/var/log/tomcat5/$PROFILE/catalina.log + +# Location of the Tomcat JARs and classes +#CATALINA_LIBDIR=/usr/share/tomcat5/lib + +# The CLASSPATH for Tomcat to use, plus any others you need. +#CLASSPATH=${CLASSPATH}:${CATALINA_LIBDIR} + +# (Optional) Directory path location of temporary directory the JVM should +# use (java.io.tmpdir). Defaults to $CATALINA_BASE/temp. +# CATALINA_TMPDIR="/your/path/here" + +# TOMCAT STARTUP/SHUTDOWN +# debug Start Catalina in a debugger +# debug -security Debug Catalina with a security manager +# embedded Start Catalina in embedded mode +# jpda start Start Catalina under JPDA debugger +# start Start Catalina in a separate window +# start -security Start in a separate window with security manager +# stop Stop Catalina" +# +# NOTE: -security requires JSSE (see below) +# NOTE: jpda requires JPDA (see below) +TOMCAT_START="start" +TOMCAT_STOP="stop" + +# (Optional) Java runtime options used when the "start", "stop", or "run" +# commands are executed. +# CATALINA_OPTS="" + +# Java Platform Debugger Architecture (JPDA) +# http://java.sun.com/products/jpda/ +# Included with Java SDK 1.3 and later. No need to specify location. +# +# JPDA_TRANSPORT (Optional) JPDA transport used when the "jpda start" +# command is executed. The default is "dt_socket". +# +# JPDA_ADDRESS (Optional) Java runtime options used when the "jpda start" +# command is executed. The default is 8000. +# +# JPDA_TRANSPORT="dt_socket" +# JPDA_ADDRESS="8000" + +# Java Secure Socket Extension (JSSE) +# http://java.sun.com/products/jsse/ +# Included with Java SDK 1.4 and later. +# +# JSSE_HOME (Optional) May point at your Java Secure Sockets Extension +# (JSSE) installation, whose JAR files will be added to the +# system class path used to start Tomcat. +# +# JSSE_HOME="/opt/sun-jdk-1.4.1.02/jre/lib/" diff --git a/www-servers/tomcat/files/5.5.4/tomcat.init b/www-servers/tomcat/files/5.5.4/tomcat.init new file mode 100644 index 0000000..fc99eec --- /dev/null +++ b/www-servers/tomcat/files/5.5.4/tomcat.init @@ -0,0 +1,22 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-servers/tomcat/files/5.0.28/tomcat.init,v 1.1 2004/10/09 09:59:14 axxo Exp $ + +depend() { + use dns logger mysql postgresql net +} + +start() { + ebegin "Starting Tomcat" + start-stop-daemon --start --quiet --chuid tomcat:tomcat --exec ${CATALINA_HOME}/bin/catalina.sh -- ${TOMCAT_START} + sleep 5 + eend $? +} + +stop() { + ebegin "Stopping Tomcat" + start-stop-daemon --start --quiet --chuid tomcat:tomcat --exec ${CATALINA_HOME}/bin/catalina.sh -- ${TOMCAT_STOP} + sleep 5 + eend $? +} diff --git a/www-servers/tomcat/files/digest-tomcat-5.0.28 b/www-servers/tomcat/files/digest-tomcat-5.0.28 new file mode 100644 index 0000000..9482a45 --- /dev/null +++ b/www-servers/tomcat/files/digest-tomcat-5.0.28 @@ -0,0 +1 @@ +MD5 2f1e94dde7b99dbef476caef85ed5319 jakarta-tomcat-5.0.28-src.tar.gz 38722 diff --git a/www-servers/tomcat/files/digest-tomcat-5.5.4 b/www-servers/tomcat/files/digest-tomcat-5.5.4 new file mode 100644 index 0000000..afa7dc0 --- /dev/null +++ b/www-servers/tomcat/files/digest-tomcat-5.5.4 @@ -0,0 +1 @@ +MD5 2fdfb34df8f670af2669d02fb6103a45 jakarta-tomcat-5.5.4-src.tar.gz 3742364 diff --git a/www-servers/tomcat/tomcat-5.5.4.ebuild b/www-servers/tomcat/tomcat-5.5.4.ebuild new file mode 100644 index 0000000..d17fe59 --- /dev/null +++ b/www-servers/tomcat/tomcat-5.5.4.ebuild @@ -0,0 +1,192 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils java-pkg + +DESCRIPTION="Apache Servlet-2.4/JSP-2.0 Container" +SLOT="${PV/.*}" +SRC_URI="mirror://apache/jakarta/tomcat-${SLOT}/v${PV}/src/jakarta-${P}-src.tar.gz" +HOMEPAGE="http://jakarta.apache.org/tomcat" +KEYWORDS="x86" +LICENSE="Apache-2.0" +#These are arrenged to the same order as in jakarta-tomcat-5/build.properties.default +DEPEND=" + >=dev-java/ant-1.5 + >=virtual/jdk-1.5 + >=dev-java/commons-beanutils-1.4.0 + >=dev-java/commons-launcher-0.9 + >=dev-java/commons-daemon-1.0 + >=dev-java/commons-digester-1.4 + >=dev-java/commons-el-1.0 + >=dev-java/commons-logging-1.0.1 + >=dev-java/commons-modeler-1.1 + >=dev-java/xerces-2.6.2-r1 + jikes? ( dev-java/jikes )" + +# >=dev-util/eclipse-sdk-3.0.0 + +# >=dev-java/commons-collections-3.1 +# >=dev-java/regexp-1.3 +# >=dev-java/log4j-1.2.8 +# >=dev-java/commons-dbcp-1.2.1 +# >=dev-java/commons-httpclient-2.0 +# >=dev-java/commons-pool-1.2 +# >=dev-java/commons-fileupload-1.0 +# >=dev-java/junit-3.8.1 +# dev-java/jmx +# =dev-java/struts-1.1-r2 +# >=dev-java/saxpath-1.0 +# >=dev-java/jaxen-1.0 +# jikes? ( dev-java/jikes )" + +RDEPEND=">=virtual/jdk-1.5 + jikes? ( dev-java/jikes )" +IUSE="doc jikes junit" +S=${WORKDIR}/jakarta-${P}-src + +TOMCAT_HOME="/opt/${PN}${SLOT}" +TOMCAT_NAME="${PN}${SLOT}" + +src_unpack() { + unpack ${A} + cd ${S} + + # update the build.xml to remove downloading + epatch ${FILESDIR}/${PV}/build.xml-01.patch + epatch ${FILESDIR}/${PV}/build.xml-02.patch + + epatch ${FILESDIR}/${PV}/gentoo.diff + use jikes && epatch ${FILESDIR}/${PV}/jikes.diff + +} + +src_compile(){ + local antflags="-Dbase.path=${T}" + use jikes && antflags="${antflags} -Dbuild.compiler=jikes" + + einfo `java-pkg_getjar commons-beanutils` + + antflags="${antflags} -Dcommons-beanutils.jar=$(java-pkg_getjar commons-beanutils)" + antflags="${antflags} -Dcommons-launcher.jar=$(java-pkg_getjar commons-launcher)" + antflags="${antflags} -Dcommons-daemon.jar=$(java-pkg_getjar commons-daemon)" + antflags="${antflags} -Dcommons-digester.jar=$(java-pkg_getjar commons-digester)" + antflags="${antflags} -Dcommons-el.jar=$(java-pkg_getjar commons-el)" + antflags="${antflags} -Dcommons-logging.jar=$(java-pkg_getjar commons-logging)" + antflags="${antflags} -Dcommons-logging-api.jar=$(java-pkg_getjar commons-logging commons-logging-api.jar)" + antflags="${antflags} -Dcommons-modeler.jar=$(java-pkg_getjar commons-modeler)" + antflags="${antflags} -DxercesImpl.jar=$(java-pkg_getjar xerces-2 xercesImpl.jar)" + + +# antflags="${antflags} -Dcommons-collections.jar=$(java-pkg_getjar commons-collections)" +# antflags="${antflags} -Dregexp.jar=$(java-pkg_getjar regexp)" +# antflags="${antflags} -Dxml-apis.jar=$(java-pkg_getjar xerces-2 xml-apis.jar)" +# antflags="${antflags} -Dlog4j.jar=$(java-pkg_getjar log4j)" +# antflags="${antflags} -Dcommons-dbcp.jar=$(java-pkg_getjar commons-dbcp)" +# antflags="${antflags} -Dcommons-httpclient.jar=$(java-pkg_getjar commons-httpclient)" +# antflags="${antflags} -Dcommons-pool.jar=$(java-pkg_getjar commons-pool)" +# antflags="${antflags} -Dcommons-fileupload.jar=$(java-pkg_getjar commons-fileupload)" +# antflags="${antflags} -Djunit.jar=$(java-pkg_getjar junit)" +# antflags="${antflags} -Dstruts.jar=$(java-pkg_getjar struts struts.jar)" + +# antflags="${antflags} -Djmx.jar=$(java-pkg_getjar jmx jmxri.jar)" +# antflags="${antflags} -Djmx-tools.jar=$(java-pkg_getjar jmx jmxtools.jar)" + + # This is used to reference the tld files in /usr/share/struts/lib +# antflags="${antflags} -Dstruts.home=/usr/share/struts" +# antflags="${antflags} -Dstruts.jar=$(java-pkg_getjar struts struts.jar)" + +# antflags="${antflags} -Djaxen.jar=$(java-pkg_getjar jaxen jaxen-full.jar)" +# antflags="${antflags} -Dsaxpath.jar=$(java-pkg_getjar saxpath saxpath.jar)" + + + use doc && antflags="${antflags} javadoc" + + ant ${antflags} || die "compile failed" +} +src_install() { + cd ${S}/jakarta-tomcat-5/build + + # INIT SCRIPTS AND ENV + insinto /etc/init.d + insopts -m0750 + newins ${FILESDIR}/${PV}/tomcat.init ${TOMCAT_NAME} + + insinto /etc/conf.d + insopts -m0644 + newins ${FILESDIR}/${PV}/tomcat.conf ${TOMCAT_NAME} + use jikes && sed -e "\cCATALINA_OPTScaCATALINA_OPTS=\"-Dbuild.compiler.emacs=true\"" -i ${D}/etc/conf.d/${TOMCAT_NAME} + + diropts -m750 + dodir ${TOMCAT_HOME} /var/log/${TOMCAT_NAME} /etc/${TOMCAT_NAME} + keepdir /var/log/${TOMCAT_NAME} + + mv conf/* ${D}/etc/${TOMCAT_NAME} || die "failed to move conf" + mv bin common server shared temp work ${D}${TOMCAT_HOME} || die "failed to move" + keepdir ${TOMCAT_HOME}/{work,temp} + + if ! use doc; then + rm -rf webapps/{tomcat-docs,jsp-examples,servlets-examples} + fi + + mv webapps ${D}${TOMCAT_HOME} + + dosym /etc/${TOMCAT_NAME} ${TOMCAT_HOME}/conf + dosym /var/log/${TOMCAT_NAME} ${TOMCAT_HOME}/logs + + fperms 640 /etc/${TOMCAT_NAME}/tomcat-users.xml +} + + +pkg_preinst() { + enewgroup tomcat + enewuser tomcat -1 -1 /dev/null tomcat + + chown -R tomcat:tomcat ${D}/opt/${TOMCAT_NAME} + chown -R tomcat:tomcat ${D}/etc/${TOMCAT_NAME} + chown -R tomcat:tomcat ${D}/var/log/${TOMCAT_NAME} +} + +pkg_postinst() { + #due to previous ebuild bloopers, make sure everything is correct + use doc && chown -R root:root /usr/share/doc/${PF} + chown root:root /etc/init.d/${TOMCAT_NAME} + chown root:root /etc/conf.d/${TOMCAT_NAME} + + chown -R tomcat:tomcat /opt/${TOMCAT_NAME} + chown -R tomcat:tomcat /etc/${TOMCAT_NAME} + chown -R tomcat:tomcat /var/log/${TOMCAT_NAME} + + chmod 750 /etc/${TOMCAT_NAME} + + einfo " " + einfo " NOTICE!" + einfo " FILE LOCATIONS:" + einfo " 1. Tomcat home directory: ${TOMCAT_HOME}" + einfo " Contains application data, configuration files." + einfo " 2. Runtime settings: /etc/conf.d/${TOMCAT_NAME}" + einfo " Contains CLASSPATH and JAVA_HOME settings." + einfo " 3. Configuration: /etc/${TOMCAT_NAME}" + einfo " 4. Logs: /var/log/${TOMCAT_NAME}/" + einfo " " + einfo " " + ewarn " If you are upgrading from older ebuild do NOT use" + ewarn " /etc/init.d/tomcat and /etc/conf.d/tomcat you probably" + ewarn " want to remove these. " + ewarn " A version number has been appended so that tomcat 3, 4 and 5" + ewarn " can be installed side by side" + einfo " " + einfo " NETWORK CONFIGURATION:" + einfo " By default, Tomcat runs on port 8080. You can change this" + einfo " value by editing /etc/${TOMCAT_NAME}/server.xml." + einfo " " + einfo " To test Tomcat while it's running, point your web browser to:" + einfo " http://localhost:8080/" + ! use doc && einfo " You do not have the doc USE flag set, examples have NOT been installed." + einfo " " + einfo " " + einfo " BUGS:" + einfo " Please file any bugs at http://bugs.gentoo.org/ or else it" + einfo " may not get seen. Thank you." + einfo " " +} |