diff options
author | Benjamin Smee <strerror@gentoo.org> | 2005-06-22 10:17:37 +0000 |
---|---|---|
committer | Benjamin Smee <strerror@gentoo.org> | 2005-06-22 10:17:37 +0000 |
commit | 25a77d8dfd2eca32f2992992bc3694830c83dbbf (patch) | |
tree | 1c5b912e97ef07e2d638835db59e84c881ed3b27 /net-mail | |
parent | added ~ppc64 (diff) | |
download | gentoo-2-25a77d8dfd2eca32f2992992bc3694830c83dbbf.tar.gz gentoo-2-25a77d8dfd2eca32f2992992bc3694830c83dbbf.tar.bz2 gentoo-2-25a77d8dfd2eca32f2992992bc3694830c83dbbf.zip |
Initial Import. Based on ebuild by George Clark.
(Portage version: 2.0.51.19)
Diffstat (limited to 'net-mail')
-rw-r--r-- | net-mail/lurker/ChangeLog | 10 | ||||
-rw-r--r-- | net-mail/lurker/Manifest | 2 | ||||
-rw-r--r-- | net-mail/lurker/files/digest-lurker-1.3 | 2 | ||||
-rw-r--r-- | net-mail/lurker/lurker-1.3.ebuild | 144 | ||||
-rw-r--r-- | net-mail/lurker/metadata.xml | 8 |
5 files changed, 166 insertions, 0 deletions
diff --git a/net-mail/lurker/ChangeLog b/net-mail/lurker/ChangeLog new file mode 100644 index 000000000000..2ce198311a20 --- /dev/null +++ b/net-mail/lurker/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for net-mail/lurker +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-mail/lurker/ChangeLog,v 1.1 2005/06/22 10:17:37 strerror Exp $ + +*lurker-1.3 (22 Jun 2005) + + 22 Jun 2005; Benjamin Smee <strerror@gentoo.org> +metadata.xml, + +lurker-1.3.ebuild: + Initial Import. Based on ebuild by George Clark. + diff --git a/net-mail/lurker/Manifest b/net-mail/lurker/Manifest new file mode 100644 index 000000000000..f3c4c7d54f03 --- /dev/null +++ b/net-mail/lurker/Manifest @@ -0,0 +1,2 @@ +MD5 02607ab92dad8ed9c2cd9e55e33f1542 lurker-1.3.ebuild 4313 +MD5 06d3a3c1dec0957252b9b9eb9d17c47a files/digest-lurker-1.3 127 diff --git a/net-mail/lurker/files/digest-lurker-1.3 b/net-mail/lurker/files/digest-lurker-1.3 new file mode 100644 index 000000000000..f3ea9fce17ba --- /dev/null +++ b/net-mail/lurker/files/digest-lurker-1.3 @@ -0,0 +1,2 @@ +MD5 194e424eedcf6ac9701966a556d9b539 lurker-1.3.tar.gz 274292 +MD5 f50d492e9bae694b449033a188afb770 mimelib-3.1.1.tar.gz 194838 diff --git a/net-mail/lurker/lurker-1.3.ebuild b/net-mail/lurker/lurker-1.3.ebuild new file mode 100644 index 000000000000..855c2d1eb0ca --- /dev/null +++ b/net-mail/lurker/lurker-1.3.ebuild @@ -0,0 +1,144 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: + +inherit eutils webapp + +DESCRIPTION="An e-mail list archive utility with an extensive web interface and multi-language support" +SRC_URI="mirror://sourceforge/lurker/${P}.tar.gz mirror://sourceforge/lurker/mimelib-3.1.1.tar.gz" +HOMEPAGE="http://lurker.sourceforge.net/" + +LICENSE="GPL-2" +KEYWORDS="~x86" +IUSE="" + +DEPEND=">=sys-devel/gcc-2.95 + dev-libs/libxslt + sys-libs/zlib + net-www/apache" + +INSTALLDIR="/usr/local/lurker" + +pkg_setup() { + webapp_pkg_setup +} + +src_unpack() { + unpack lurker-${PV}.tar.gz && cd "${S}" + unpack mimelib-3.1.1.tar.gz +} + +src_compile() { + econf \ + --prefix=${INSTALLDIR} \ + --with-mimelib-local \ + || die "configure failed" + + emake || die "make failed" +} + +src_install () { + + webapp_src_preinst + + dodoc ChangeLog FAQ INSTALL NEWS README AUTHORS COPYING + rm -f ChangeLog FAQ NEWS README AUTHORS COPYING + make install DESTDIR=${D} || die + + # Put files into webapp-config dirs + + mv ${D}/usr/local/lurker/lib/cgi-bin/*.cgi ${D}${MY_CGIBINDIR} || die + rm -rf ${D}/usr/local/lurker/lib/cgi-bin || die + + mv ${D}/var/lib/www/lurker/* ${D}${MY_HTDOCSDIR} || die + rm -rf ${D}/var/lib/www/lurker || die + + mv ${S}/lurker.conf ${D}${MY_HOSTROOTDIR} || die + rm -f ${S}/lurker.conf || die + + csplit -s INSTALL %/usr/local/etc/lurker.conf% || die + mv xx00 INSTALL || die + /bin/sed -i -e "s#/usr/local/etc/lurker.conf#/var/www/<hostname>/lurker.conf#" \ + -e "s#/lurker/lurker.conf#/lurker.conf#" \ + ${S}/INSTALL + + # Extract out the recommended .htaccess file and install it into + # the htdocs directory + csplit -s INSTALL %avoids\ 404%+2 || die + echo " Options FollowSymLinks" > htaccess || die + cat xx00 >> htaccess || die + csplit -s htaccess /^8\ point/-1 || die + mv xx00 ${D}${MY_HTDOCSDIR}/.htaccess || die + rm -f xx* + + mkdir ${D}/usr/bin + mv ${D}/usr/local/lurker/bin/* ${D}/usr/bin || die + rm -rf ${D}/usr/local + + rm -rf ${D}/var/lib + + # Declare all the server owned directories + webapp_serverowned ${MY_CGIBINDIR} + webapp_serverowned ${MY_HTDOCSDIR} + webapp_serverowned ${MY_HTDOCSDIR}/attach + webapp_serverowned ${MY_HTDOCSDIR}/fmt + webapp_serverowned ${MY_HTDOCSDIR}/imgs + webapp_serverowned ${MY_HTDOCSDIR}/list + webapp_serverowned ${MY_HTDOCSDIR}/mbox + webapp_serverowned ${MY_HTDOCSDIR}/message + webapp_serverowned ${MY_HTDOCSDIR}/mindex + webapp_serverowned ${MY_HTDOCSDIR}/search + webapp_serverowned ${MY_HTDOCSDIR}/splash + webapp_serverowned ${MY_HTDOCSDIR}/thread + # Make sure all the empty directories are kept. + keepdir ${MY_HTDOCSDIR}/attach + keepdir ${MY_HTDOCSDIR}/list + keepdir ${MY_HTDOCSDIR}/mbox + keepdir ${MY_HTDOCSDIR}/message + keepdir ${MY_HTDOCSDIR}/mindex + keepdir ${MY_HTDOCSDIR}/search + keepdir ${MY_HTDOCSDIR}/splash + keepdir ${MY_HTDOCSDIR}/thread + + # Declare config files so they are not hardlinked + webapp_configfile ${MY_HOSTROOTDIR}/lurker.conf + webapp_configfile ${MY_HTDOCSDIR}/.htaccess + webapp_postinst_txt en INSTALL + webapp_src_install +} + +pkg_postinst() { + ewarn "The lurker.conf file will be installed into your " + ewarn "document root directory for the virtual host." + ewarn "use the command" + ewarn " webapp-config" + ewarn "to install lurker for each virtual host and then edit" + ewarn "the lurker.conf file for that host." + ewarn + ewarn "If you installed lurker into any directory other than /" + ewarn "you must also edit the .htaccess file installed into the" + ewarn "lurker directory" + einfo + einfo "The following is an example virtual host definition " + einfo + einfo "<VirtualHost *>" + einfo " ServerAdmin webmaster@domain.com" + einfo " ServerName server.domain.com" + einfo " DocumentRoot /var/www/<hostname>/htdocs" + einfo " <Directory \"/var/www/lists.worcesterapa.org/htdocs\"> " + einfo " AllowOverride All" + einfo " Order allow,deny" + einfo " Allow from all" + einfo " </Directory>" + einfo + einfo " ScriptAlias /cgi-bin/ \"/var/www/<hostname>/cgi-bin/\"" + einfo + einfo " <Directory \"/var/www/<hostname>/cgi-bin\">" + einfo " Options None" + einfo " AllowOverride None" + einfo " Order allow,deny" + einfo " Allow from all" + einfo " </Directory>" + einfo "</Virtualhost>" + einfo +} diff --git a/net-mail/lurker/metadata.xml b/net-mail/lurker/metadata.xml new file mode 100644 index 000000000000..ed2b8ca289e4 --- /dev/null +++ b/net-mail/lurker/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>net-mail</herd> +<maintainer> + <email>strerror@gentoo.org</email> +</maintainer> +</pkgmetadata> |