add new apache mods

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@2924 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2011-06-16 16:30:23 +00:00
parent 5ce5a646ba
commit eb4084b8ec
7 changed files with 160 additions and 0 deletions

View File

@ -0,0 +1,3 @@
DIST Colorer-take5-linux.be5.tar.bz2 2670000 RMD160 07ac0e0f9dbabf583284f2afd9c44b4edd7e5690 SHA1 db897c842bee371537475f85e155fa90011d961f SHA256 080c37c7921a4a9ed6d2130e5cf6fa7dfddefbd7a5780a259bdb9e15fef5aa28
DIST mod_highlight-0.1.0.tar.bz2 1799260 RMD160 0c734f4a52a04a310f2cd3dd9cf51c61f6852412 SHA1 b7fc0d5da66129473552bb22cbb4a4c3a210f1cc SHA256 b3ff50e6615b837d5ae9bc288a941929b83aedfc238e2a9b48ff15440a8ed570
EBUILD mod_highlight-0.1.0.ebuild 1056 RMD160 63b5b2e893ede42ff2b78cd16ca08e349d64f828 SHA1 c21e96794dca92ae549adef7e03785b58cb08051 SHA256 f75e71f1725a4c3377d536afe0f2843fe5c632f920a65a67478540425965f889

View File

@ -0,0 +1,47 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_gnutls/mod_gnutls-0.5.9.ebuild,v 1.1 2011/05/10 16:08:57 arfrever Exp $
EAPI="3"
inherit apache-module
DESCRIPTION="mod_highlight provdes syntax highlighting as an Apache 2.0 Filter Module."
HOMEPAGE="http://www.outoforder.cc/projects/apache/mod_highlight/"
SRC_URI="http://www.outoforder.cc/downloads/${PN}/${P}.tar.bz2
mirror://sourceforge/colorer/Colorer-take5-linux.be5.tar.bz2"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~sparc ~x86"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
APACHE2_MOD_CONF="47_${PN}"
APACHE2_MOD_DEFINE="HIGHLIGHT"
DOCFILES="NEWS NOTICE README README.ENV"
need_apache2
src_prepare() {
rm -rf colorer/*
cd colorer
unpack Colorer-take5-linux.be5.tar.bz2
cd ..
}
src_configure() {
econf --with-apxs="${APXS}"
}
src_compile() {
emake || die "emake failed"
}
src_install() {
mv -f src/.libs/libmod_highlight.so src/.libs/${PN}.so
apache-module_src_install
}

View File

@ -0,0 +1,5 @@
AUX 10_mod_svn_view.conf 646 RMD160 b9ec9c2f6e7816450fc337bf6cb59839d4860c8a SHA1 7d8b5cd0e7e02bdcccd292657bee6293df183ea7 SHA256 c73e55f6b159ad13cffdacd2efb30604b903918a7d4004d5180981b580bbdad0
AUX mod_svn_view-svn16x_fix.diff 806 RMD160 ec085b174de10499a7aefddfdd3349a065ad54e7 SHA1 3d37995febbcfc997956ac1e426ae1ea7b185ab1 SHA256 202f5bd1dc082ab6867f878a3531afb2b4995642723da41ae30ecf5d5b0c62ff
DIST mod_svn_view-0.1.0-r148.tar.bz2 2259880 RMD160 465317684662727ee69b2c36ef42c3b0c946b1b7 SHA1 8558fa2e4180e6ec95a03f7e7f81e47265a87efa SHA256 da7b06addc69b8d00917315e89b3dad2382cdb884341ebd4b890a39503676fca
EBUILD mod_svn_view-0.1.0_p148.ebuild 1339 RMD160 19ddc78194ae911f5ed6920ddc51d27a6896f0d9 SHA1 e2e79f9057c9f239f3efe542ca1ce7f00ba4691c SHA256 1c6219d05ee19df4aa3e35a56cb589513e821846731b587f50c73e132c3f698e
MISC metadata.xml 160 RMD160 a0f6e133e170b7477018d8584c20e8723f6914fa SHA1 a3b9b520ec43ee1f9b1c7b5c5b8745bf84454c03 SHA256 3c312146c4cb5b912d6f56292242ce3a85c629ca98ee7ef0a84ca575708b44fe

View File

@ -0,0 +1,20 @@
<IfDefine SVN_VIEW>
LoadModule svn_view_module modules/mod_svn_view.so
</IfDefine>
#<Directory "/home/chip/work/mod_svn_view/trunk/themes">
# Order allow,deny
# Allow from All
# Deny From none
# </Directory>
#
#<Location "/svn-view">
# SVNView on
# SVNViewRepository test /test/repos/test
# SVNViewRepository apache-2.0 /test/repos/httpd-2.0
# SVNViewRepository svn-mirror /test/repos/subversion
# SVNViewAuthzSvnFile /test/trunk/svn-authz
# SVNViewDefaultXSLT /home/chip/work/mod_svn_view/trunk/xslt/default.xsl
# SVNViewTheme blueview
# SVNViewThemesDir /home/chip/work/mod_svn_view/trunk/themes
#</Location>

View File

@ -0,0 +1,23 @@
diff -Naurp mod_svn_view/src/mod_svn_view.c mod_svn_view.oden/src/mod_svn_view.c
--- mod_svn_view/src/mod_svn_view.c 2006-04-05 13:55:17.000000000 +0200
+++ mod_svn_view.oden/src/mod_svn_view.c 2009-08-01 19:57:40.000000000 +0200
@@ -70,7 +70,7 @@
#include "svn_path.h"
#include "svn_utf.h"
#include "svn_time.h"
-
+#include "svn_props.h"
#include "mod_svn_view_private.h"
#define SVN_VIEW_VERSION VERSION
diff -Naurp mod_svn_view/src/view_rss.c mod_svn_view.oden/src/view_rss.c
--- mod_svn_view/src/view_rss.c 2006-04-05 13:55:17.000000000 +0200
+++ mod_svn_view.oden/src/view_rss.c 2009-08-01 19:57:35.000000000 +0200
@@ -30,6 +30,7 @@
#include "svn_path.h"
#include "svn_utf.h"
#include "svn_time.h"
+#include "svn_props.h"
#include "mod_svn_view_private.h"
#define SV_RSS_MAX_CHANGES 100

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>apache</herd>
</pkgmetadata>

View File

@ -0,0 +1,57 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_transform/mod_transform-0.6.0.ebuild,v 1.3 2008/01/31 19:14:10 hollow Exp $
EAPI="2"
inherit apache-module autotools
MY_PV=${PV/_p/-r}
KEYWORDS="amd64 ppc x86"
DESCRIPTION="A web-based view of a Subversion repository, similar to Chora."
HOMEPAGE="http://www.outoforder.cc/projects/apache/mod_svn_view/"
SRC_URI="http://ftp.disconnected-by-peer.at/pub/mod_svn_view-${MY_PV}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
IUSE=""
DEPEND=">=dev-libs/libxslt-1.1.5
>=dev-libs/libxml2-2.6.11"
RDEPEND="${DEPEND}
>=www-apache/mod_transform-0.6.0"
APACHE2_MOD_CONF="10_${PN}"
APACHE2_MOD_DEFINE="SVN_VIEW"
need_apache2
S=${WORKDIR}/${PN}
src_prepare() {
find . -name '.svn' | xargs rm -rf
epatch ${FILESDIR}/mod_svn_view-svn16x_fix.diff
# libtool
sed -e "s|AC_PROG_RANLIB|AC_PROG_LIBTOOL|g" -i configure.ac
rm -rf autom4te.cache
touch ./config.in
AT_M4DIR="m4" eautoreconf
}
src_configure() {
econf --with-apxs=${APXS} || die "econf failed"
}
src_compile() {
emake || die "emake failed"
}
src_install() {
mkdir src/.libs
mv -f ".libs/mod_svn_view.so" "src/.libs/mod_svn_view.so"
apache-module_src_install
insinto /usr/share/${PN}
doins -r themes
doins xslt/default.xsl
}