Version bump for bug #126180
authorBenjamin Smee <strerror@gentoo.org>
Wed, 15 Mar 2006 12:18:45 +0000 (12:18 +0000)
committerBenjamin Smee <strerror@gentoo.org>
Wed, 15 Mar 2006 12:18:45 +0000 (12:18 +0000)
Package-Manager: portage-2.0.54

net-mail/lurker/ChangeLog
net-mail/lurker/Manifest
net-mail/lurker/files/digest-lurker-2.1 [new file with mode: 0644]
net-mail/lurker/lurker-2.1.ebuild [new file with mode: 0644]

index e8fe7df5fa1bfd0fdc73b5291bc60fcb3ccab0b9..b19716e2f3fa3ba6cfdfaaf1d80c42bb0ab9bba8 100644 (file)
@@ -1,6 +1,11 @@
 # 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.2 2005/06/23 08:38:18 dholm Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/lurker/ChangeLog,v 1.3 2006/03/15 12:18:45 strerror Exp $
+
+*lurker-2.1 (15 Mar 2006)
+
+  15 Mar 2006; Benjamin Smee <strerror@gentoo.org> +lurker-2.1.ebuild:
+  Version bump for bug #126180
 
   23 Jun 2005; David Holm <dholm@gentoo.org> lurker-1.3.ebuild:
   Added to ~ppc.
index 3cddf7c99953eb9ef3635f20542c0fd36b048d8b..2349c094f119d18af3e2144b899f225c358efcea 100644 (file)
@@ -1,4 +1,6 @@
-MD5 de991eb48dc2835b4708b6342d742016 ChangeLog 451
+MD5 da9dfd5af6e3c3422fd4e2262579065b ChangeLog 584
+MD5 06d3a3c1dec0957252b9b9eb9d17c47a files/digest-lurker-1.3 127
+MD5 1160e70a8d5961d23b524635a9766412 files/digest-lurker-2.1 127
 MD5 06f224470c7fabf22af6a80713a696d3 lurker-1.3.ebuild 4296
+MD5 47f3836376cfc988ef2c88eed0de22b5 lurker-2.1.ebuild 3279
 MD5 a1cb31686d0a059a1b35426b67ba78e8 metadata.xml 225
-MD5 06d3a3c1dec0957252b9b9eb9d17c47a files/digest-lurker-1.3 127
diff --git a/net-mail/lurker/files/digest-lurker-2.1 b/net-mail/lurker/files/digest-lurker-2.1
new file mode 100644 (file)
index 0000000..3d751be
--- /dev/null
@@ -0,0 +1,2 @@
+MD5 44e73a53e84e895a8a361ae27dcda6dd lurker-2.1.tar.gz 285431
+MD5 f50d492e9bae694b449033a188afb770 mimelib-3.1.1.tar.gz 194838
diff --git a/net-mail/lurker/lurker-2.1.ebuild b/net-mail/lurker/lurker-2.1.ebuild
new file mode 100644 (file)
index 0000000..de1cf1e
--- /dev/null
@@ -0,0 +1,111 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/lurker/lurker-2.1.ebuild,v 1.1 2006/03/15 12:18:45 strerror Exp $
+
+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="~ppc ~x86"
+IUSE=""
+
+DEPEND=">=sys-devel/gcc-2.95
+       dev-libs/libxslt
+       sys-libs/zlib
+       net-www/apache"
+
+
+pkg_setup() {
+               webapp_pkg_setup
+}
+
+src_unpack() {
+       unpack lurker-${PV}.tar.gz && cd "${S}"
+       unpack mimelib-3.1.1.tar.gz
+}
+
+src_compile() {
+       INSTALLDIR="/usr/local/lurker"
+       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
+       make install-config 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
+
+       mkdir ${D}/usr/bin
+       mv ${D}/usr/local/lurker/bin/* ${D}/usr/bin || die
+       rm -rf ${D}/usr/local
+
+       rm -rf ${D}/var/lib
+       rm -rf ${D}/etc/lurker/lurker.conf
+
+       # Declare all the server owned directories
+       webapp_serverowned ${MY_CGIBINDIR}
+       webapp_serverowned ${MY_HTDOCSDIR}
+       webapp_serverowned ${MY_HTDOCSDIR}/attach
+       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
+       webapp_serverowned ${MY_HTDOCSDIR}/ui
+       webapp_serverowned ${MY_HTDOCSDIR}/zap
+       # 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
+       keepdir ${MY_HTDOCSDIR}/ui
+       keepdir ${MY_HTDOCSDIR}/zap
+
+       # Declare config files so they are not hardlinked
+       webapp_configfile ${MY_HOSTROOTDIR}/lurker.conf
+       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 -I -d / -h lurker.example.org lurker 2.1"
+       ewarn "to install lurker for each virtual host and then edit"
+       ewarn "the lurker.conf file for that host."
+       ewarn
+       ewarn "You should also have access control in place over the"
+       ewarn "lurker website. There is a sample apache configuration"
+       ewarn "file in /etc/lurker/apache.conf that you could include"
+       ewarn "in your apache configuration."
+}