Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73371 - net-www/mod_xslt-2.0.4 version bump
Summary: net-www/mod_xslt-2.0.4 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-04 12:29 UTC by Daniel Webert
Modified: 2005-01-21 23:40 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Ebuild for net-www/mod_xslt-2.0.4 (mod_xslt-2.0.4.ebuild,803 bytes, text/plain)
2005-01-20 10:00 UTC, Michael Hordijk
Details
Ebuild for net-www/mod_xslt-2.0.4 (mod_xslt-2.0.4.ebuild,890 bytes, text/plain)
2005-01-20 10:20 UTC, Michael Hordijk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Webert 2004-12-04 12:29:33 UTC
net-www/mod_xslt-2.0.4 version bump
Comment 1 Michael Hordijk 2005-01-20 10:00:39 UTC
Created attachment 49048 [details]
Ebuild for net-www/mod_xslt-2.0.4

This is the ebuild I used to get mod_xslt-2.0.4 onto my system.
Comment 2 Michael Hordijk 2005-01-20 10:20:29 UTC
Created attachment 49052 [details]
Ebuild for net-www/mod_xslt-2.0.4

Oops, it looks like the new apache stuff likes to install stuff in modules
instead of extramodules.  I put it in extramodules, I'm not sure where the
Apache herd wants all this stuff to go.
Comment 3 Christian Parpart (RETIRED) gentoo-dev 2005-01-21 23:40:03 UTC
Thanks for your submission. I improved your ebuild in order to reflect the new apache-module eclass.

I attach a (commented) diff inline, so you can easily read the changes I made.

The new ebuild is submitted, but masked, as everything we changed recently.

 HOMEPAGE="http://www.mod-xslt.com/"
-SRC_URI="http://aleron.dl.sourceforge.net/sourceforge/mod-xslt/${PN}.${PV}.tgz"
+SRC_URI="mirror://sourceforge/mod-xslt/${PN}.${PV}.tgz"
### please use mirror://sourceforge/PROJECT/DISTFILE to address sourceforge hosted distfiles.

 LICENSE="GPL-2"
-KEYWORDS="~x86 ~ppc"
+KEYWORDS="~x86"
### please do only add here archs you have well tested. other archs are added 
 IUSE=""
 SLOT="0"

-DEPEND="dev-lang/perl
-               dev-libs/libxslt
-               dev-libs/libxml2
-               dev-util/pkgconfig"
+RDEPEND="dev-libs/libxslt
+                dev-libs/libxml2"

-S=${WORKDIR}/${PN}.${PV}
+DEPEND="${RDEPEND}
+               dev-util/pkgconfig
+               dev-lang/perl"
### pkgconfig and perl are just required at built time, so they are kept out of RDEPEND (that usually defaults to DEPEND, if not defined explicitely) This keeps the dependency lists of emerge -pv foo etc clean.

-#APXS2_ARGS="$(pkg-config --cflags --libs libxslt) -c ${PN}.c"
+S="${WORKDIR}/${PN}.${PV}"
+
+APXS2_ARGS="$(pkg-config --cflags --libs libxslt) -c ${PN}.c"
 APACHE2_MOD_CONF="25_mod_xslt"
-APACHE2_MODULESDIR="/usr/lib/apache2-extramodules"

 DOCFILES="ChangeLog.txt README.txt"

 need_apache2
-
-src_compile() {
-       APXS2_ARGS="$(pkg-config --cflags --libs libxslt) -c ${PN}.c"
-       apache2_src_compile
-}
### you maybe got an ill apache-module eclass, however, there's no need to do this like you did.

Regards,
Christian Parpart.