summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2003-09-24 22:37:58 +0000
committerSeemant Kulleen <seemant@gentoo.org>2003-09-24 22:37:58 +0000
commit9b68da104566ce5298335b9866a3b9a827655e36 (patch)
treefa39b16f4f278c4feaa3c69dd9c1ca5f40edbda8 /app-admin/modlogan
parentversion bump (diff)
downloadgentoo-2-9b68da104566ce5298335b9866a3b9a827655e36.tar.gz
gentoo-2-9b68da104566ce5298335b9866a3b9a827655e36.tar.bz2
gentoo-2-9b68da104566ce5298335b9866a3b9a827655e36.zip
version bump
Diffstat (limited to 'app-admin/modlogan')
-rw-r--r--app-admin/modlogan/ChangeLog8
-rw-r--r--app-admin/modlogan/Manifest4
-rw-r--r--app-admin/modlogan/files/digest-modlogan-0.8.102
-rw-r--r--app-admin/modlogan/modlogan-0.8.10.ebuild98
4 files changed, 109 insertions, 3 deletions
diff --git a/app-admin/modlogan/ChangeLog b/app-admin/modlogan/ChangeLog
index e98ef5bab421..2aae70a4b8e1 100644
--- a/app-admin/modlogan/ChangeLog
+++ b/app-admin/modlogan/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-admin/modlogan
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/modlogan/ChangeLog,v 1.8 2003/02/12 02:25:17 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/modlogan/ChangeLog,v 1.9 2003/09/24 22:37:56 seemant Exp $
+
+*modlogan-0.8.10 (24 Sep 2003)
+
+ 24 Sep 2003; Seemant Kulleen <seemant@gentoo.org> modlogan-0.8.10.ebuild:
+ version bump, thanks to: Sebastian Bergmann <sb@sebastian-bergmann.de> in bug
+ #29180
06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
diff --git a/app-admin/modlogan/Manifest b/app-admin/modlogan/Manifest
index 3b37a6286f2a..05ecb72d1885 100644
--- a/app-admin/modlogan/Manifest
+++ b/app-admin/modlogan/Manifest
@@ -1,7 +1,7 @@
MD5 2d749926e7adbaf63b926f332854c3db modlogan-0.7.4-r1.ebuild 2458
-MD5 f48ecda6f2ca1cf9041571da9865f355 modlogan-0.8.10.ebuild 2351
+MD5 22a0ce6421c23f3bc11ca79a20bb9e05 modlogan-0.8.10.ebuild 2395
MD5 f48ecda6f2ca1cf9041571da9865f355 modlogan-0.7.18.ebuild 2351
-MD5 ef92509af50965d8d8ebc2ff42b46b04 ChangeLog 1449
+MD5 cd399a05e66c9808b0062613fb030361 ChangeLog 1648
MD5 d471e4d2f40dd27ed20334729d7de263 files/digest-modlogan-0.7.4-r1 126
MD5 543b8b188066fad85df5b30c2c7adbbf files/digest-modlogan-0.7.18 128
MD5 1dfe057138bc6b37bc313b7bafce15e0 files/digest-modlogan-0.8.10 127
diff --git a/app-admin/modlogan/files/digest-modlogan-0.8.10 b/app-admin/modlogan/files/digest-modlogan-0.8.10
new file mode 100644
index 000000000000..c4b60150a8a7
--- /dev/null
+++ b/app-admin/modlogan/files/digest-modlogan-0.8.10
@@ -0,0 +1,2 @@
+MD5 caf689da199b0c4b01b29aeefcbe6171 modlogan-0.8.10.tar.gz 988443
+MD5 46768d1d4af9f3f503f7f32ac4127c7a gd-1.8.1.tar.gz 260967
diff --git a/app-admin/modlogan/modlogan-0.8.10.ebuild b/app-admin/modlogan/modlogan-0.8.10.ebuild
new file mode 100644
index 000000000000..e84ceeffaaaa
--- /dev/null
+++ b/app-admin/modlogan/modlogan-0.8.10.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/modlogan/modlogan-0.8.10.ebuild,v 1.1 2003/09/24 22:37:56 seemant Exp $
+
+IUSE="nls mysql"
+
+DESCRIPTION="Logfile Analyzer"
+SRC_URI="http://jan.kneschke.de/projects/modlogan/download/${P}.tar.gz
+ http://www.kneschke.de/projekte/modlogan/download/gd-1.8.1.tar.gz"
+HOMEPAGE="http://jan.kneschke.de/projects/modlogan/"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ia64 ~amd64 ~ppc ~sparc ~alpha ~hppa ~mips ~arm"
+
+DEPEND="virtual/x11
+ dev-libs/libxml
+ dev-libs/libxml2
+ media-libs/jpeg
+ media-libs/libpng
+ =media-libs/freetype-1.3*
+ >=dev-libs/libpcre-3.2
+ >=net-libs/adns-1.0
+ mysql? ( >=dev-db/mysql-3.23.26 )"
+
+RDEPEND="nls? ( sys-devel/gettext )"
+
+src_compile() {
+ cd ${S}/../gd-1.8.1
+ export CFLAGS="$CFLAGS -I/usr/include/freetype"
+
+ ./configure || die
+ make || die
+
+ cp .libs/libgd.so.0.0.0 libgd.so.0.0.0
+ ln -s libgd.so.0.0.0 libgd.so
+
+ local myconf
+ use mysql \
+ && myconf="--with-mysql=/usr" \
+ || myconf="--without-mysql"
+
+ use nls || myconf="${myconf} --disable-nls"
+
+ cd ${S}
+ econf \
+ --enable-plugins \
+ --sysconfdir=/etc/modlogan \
+ --libdir=/usr/lib/modlogan \
+ --with-gd=${WORKDIR}/gd-1.8.1/ \
+ --disable-check-dynamic \
+ ${myconf} || die
+
+ make || die
+}
+
+src_install() {
+ cd ${S}/../gd-1.8.1
+ into /usr
+ dolib libgd.so.0.0.0
+
+ cd ${S}
+ einstall \
+ sysconfdir=${D}/etc/modlogan \
+ libdir=${D}/usr/lib/modlogan || die
+
+ insinto /etc/modlogan
+ newins ${FILESDIR}/sample.conf modlogan.conf.sample
+ newins ${FILESDIR}/sample.def.conf modlogan.def.conf.sample
+ doins doc/modlogan.searchengines
+ insinto /etc/httpd
+ newins ${FILESDIR}/modlogan.conf httpd.modlogan
+ dodir /home/httpd/modlogan
+ preplib /usr
+ dodoc AUTHORS COPYING ChangeLog README NEWS TODO
+ dodoc doc/*.txt doc/*.conf doc/glosar doc/stats
+ dohtml -r html
+}
+
+pkg_postinst() {
+ if [ ! -a ${ROOT}etc/modlogan/modlogan.conf ]
+ then
+ cd ${ROOT}/etc/modlogan
+ sed -e "s:##HOST##:${HOSTNAME}:g" \
+ -e "s:##HOST2##:${HOSTNAME/./\\.}:g" \
+ modlogan.conf.sample > modlogan.conf
+ rm modlogan.conf.sample
+ fi
+
+ if [ ! -a ${ROOT}etc/modlogan/modlogan.def.conf ]
+ then
+ cd ${ROOT}/etc/modlogan
+ sed -e "s:##HOST##:${HOSTNAME}:g" \
+ -e "s:##HOST2##:${HOSTNAME/./\\.}:g" \
+ modlogan.def.conf.sample > modlogan.def.conf
+ rm modlogan.def.conf.sample
+ fi
+}