diff options
author | Achim Gottinger <achim@gentoo.org> | 2001-11-07 12:55:05 +0000 |
---|---|---|
committer | Achim Gottinger <achim@gentoo.org> | 2001-11-07 12:55:05 +0000 |
commit | c4321f31f5bef7bea4b554715e7f9ff9f2f8a773 (patch) | |
tree | 9b8902f832c6b4de6e9857ae8917aadc7ec00941 /app-admin/modlogan | |
parent | Advanced, easy to use, asynchronous-capable DNS client library and (diff) | |
download | gentoo-2-c4321f31f5bef7bea4b554715e7f9ff9f2f8a773.tar.gz gentoo-2-c4321f31f5bef7bea4b554715e7f9ff9f2f8a773.tar.bz2 gentoo-2-c4321f31f5bef7bea4b554715e7f9ff9f2f8a773.zip |
New version
Diffstat (limited to 'app-admin/modlogan')
-rw-r--r-- | app-admin/modlogan/files/digest-modlogan-0.7.4 | 2 | ||||
-rw-r--r-- | app-admin/modlogan/files/digest-modlogan-0.7.7 | 2 | ||||
-rw-r--r-- | app-admin/modlogan/modlogan-0.7.4.ebuild | 103 |
3 files changed, 107 insertions, 0 deletions
diff --git a/app-admin/modlogan/files/digest-modlogan-0.7.4 b/app-admin/modlogan/files/digest-modlogan-0.7.4 new file mode 100644 index 000000000000..72aab12d1e69 --- /dev/null +++ b/app-admin/modlogan/files/digest-modlogan-0.7.4 @@ -0,0 +1,2 @@ +MD5 46768d1d4af9f3f503f7f32ac4127c7a gd-1.8.1.tar.gz 262144 +MD5 74d481b225a45bf7e1a3816ffa987395 modlogan-0.7.4.tar.gz 888832 diff --git a/app-admin/modlogan/files/digest-modlogan-0.7.7 b/app-admin/modlogan/files/digest-modlogan-0.7.7 new file mode 100644 index 000000000000..9193c2add4a9 --- /dev/null +++ b/app-admin/modlogan/files/digest-modlogan-0.7.7 @@ -0,0 +1,2 @@ +MD5 46768d1d4af9f3f503f7f32ac4127c7a gd-1.8.1.tar.gz 262144 +MD5 84c5b6a9ffe712fe18ce5836cd1c1f8d modlogan-0.7.7.tar.gz 917504 diff --git a/app-admin/modlogan/modlogan-0.7.4.ebuild b/app-admin/modlogan/modlogan-0.7.4.ebuild new file mode 100644 index 000000000000..ea1fa4cf3dd8 --- /dev/null +++ b/app-admin/modlogan/modlogan-0.7.4.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/app-admin/modlogan/modlogan-0.7.4.ebuild,v 1.1 2001/11/07 12:55:05 achim Exp $ + +A="${P}.tar.gz gd-1.8.1.tar.gz" +S=${WORKDIR}/${P} +DESCRIPTION="Logfile Analyzer" +SRC_URI="http://www.kneschke.de/projekte/modlogan/download/${P}.tar.gz + http://www.kneschke.de/projekte/modlogan/download/gd-1.8.1.tar.gz" + +DEPEND="virtual/glibc virtual/x11 + ~media-libs/freetype-1.3 + >=media-libs/jpeg-6b + >=media-libs/libpng-1.0.7 + >=dev-libs/libpcre-3.2 + >=net-libs/adns-1.0 + mysql? ( >=dev-db/mysql-3.23.26 ) + nls? ( sys-devel/gettext ) + " +RDEPEND="virtual/glibc virtual/x11 + ~media-libs/freetype-1.3 + >=media-libs/jpeg-6b + >=media-libs/libpng-1.0.7 + >=net-libs/adns-1.0 + >=dev-libs/libpcre-3.2 + " + +src_compile() { + cd ${S}/../gd-1.8.1 + CFLAGS="$CFLAGS -I/usr/include/freetype" try ./configure + try make + cp .libs/libgd.so.0.0.0 libgd.so.0.0.0 + ln -s libgd.so.0.0.0 libgd.so + + local myconf + if [ "`use mysql`" ] + then + myconf="--with-mysql=/usr" + else + myconf="--without-mysql" + fi + if [ -z "`use nls`" ] + then + myconf="$myconf --disable-nls" + fi + + cd ${S} + try ./configure --host=${CHOST} --prefix=/usr \ + --sysconfdir=/etc/modlogan --enable-plugins \ + --libdir=/usr/lib/modlogan --mandir=/usr/share/man \ + --with-gd=${WORKDIR}/gd-1.8.1/ \ + --disable-check-dynamic ${myconf} + try make +} + +src_install() { + cd ${S}/../gd-1.8.1 + into /usr + dolib libgd.so.0.0.0 + cd ${S} + try make prefix=${D}/usr sysconfdir=${D}/etc/modlogan \ + libdir=${D}/usr/lib/modlogan mandir=${D}/usr/share/man install + 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 + +} + + + + + |