diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2002-08-16 12:14:07 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2002-08-16 12:14:07 +0000 |
commit | a8314ccae436651970bb203dd11a7b401b7edf6b (patch) | |
tree | 3ae33ae02da4415efee99e6b9826b19e54f067d3 /app-admin/modlogan | |
parent | masked modlogan (diff) | |
download | gentoo-2-a8314ccae436651970bb203dd11a7b401b7edf6b.tar.gz gentoo-2-a8314ccae436651970bb203dd11a7b401b7edf6b.tar.bz2 gentoo-2-a8314ccae436651970bb203dd11a7b401b7edf6b.zip |
version bump
Diffstat (limited to 'app-admin/modlogan')
-rw-r--r-- | app-admin/modlogan/ChangeLog | 17 | ||||
-rw-r--r-- | app-admin/modlogan/files/digest-modlogan-0.7.18 | 2 | ||||
-rw-r--r-- | app-admin/modlogan/modlogan-0.7.18.ebuild | 102 |
3 files changed, 116 insertions, 5 deletions
diff --git a/app-admin/modlogan/ChangeLog b/app-admin/modlogan/ChangeLog index ad95b27818f4..a7c1352e5405 100644 --- a/app-admin/modlogan/ChangeLog +++ b/app-admin/modlogan/ChangeLog @@ -1,15 +1,22 @@ # ChangeLog for app-admin/modlogan # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/app-admin/modlogan/ChangeLog,v 1.3 2002/07/22 04:52:16 seemant Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/modlogan/ChangeLog,v 1.4 2002/08/16 12:14:07 seemant Exp $ - 21 Jul 2002; Seemant Kulleen <seemant@gentoo.org> modlogan-0.7.4-r1.ebuild - : +*modlogan-0.7.18 (16 Aug 2002) + + 16 Aug 2002; Seemant Kulleen <seemant@gentoo.org> modlogan-0.7.18.ebuild + files/digest-modlogan-0.7.18 : + + long needed version bump, which should close the issues brought up in bug + #6486 by vinz@alita.cc (vinz meier) + +*modlogan-0.7.4-r1 (12 Apr 2002) + + 21 Jul 2002; Seemant Kulleen <seemant@gentoo.org> modlogan-0.7.4-r1.ebuild : Added libxml2 and libxml to the DEPEND list. This closes bug #5364 by vinz@alita.cc (vinz meier) -*modlogan-0.7.4-r1 (12 Apr 2002) - 12 Apr 2002; Seemant Kulleen <seemant@gentoo.org> modlogan-0.7.4-r1.ebuild : Compile against new libpng diff --git a/app-admin/modlogan/files/digest-modlogan-0.7.18 b/app-admin/modlogan/files/digest-modlogan-0.7.18 new file mode 100644 index 000000000000..ab048c2c383c --- /dev/null +++ b/app-admin/modlogan/files/digest-modlogan-0.7.18 @@ -0,0 +1,2 @@ +MD5 5ec7adf81098172faa8ae185f001b2da modlogan-0.7.18.tar.gz 1037916 +MD5 46768d1d4af9f3f503f7f32ac4127c7a gd-1.8.1.tar.gz 260967 diff --git a/app-admin/modlogan/modlogan-0.7.18.ebuild b/app-admin/modlogan/modlogan-0.7.18.ebuild new file mode 100644 index 000000000000..7b496fd67ade --- /dev/null +++ b/app-admin/modlogan/modlogan-0.7.18.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/app-admin/modlogan/modlogan-0.7.18.ebuild,v 1.1 2002/08/16 12:14:07 seemant Exp $ + +S=${WORKDIR}/${P} +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 sparc sparc64" + +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} + make \ + prefix=${D}/usr \ + mandir=${D}/usr/share/man \ + sysconfdir=${D}/etc/modlogan \ + libdir=${D}/usr/lib/modlogan \ + install || 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 /usr/local/httpd/modlogan + preplib /usr + dodoc AUTHORS COPYING ChangeLog README NEWS TODO + dodoc doc/*.txt doc/*.conf doc/glosar doc/stats + docinto html + dodoc doc/*.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 + +} |