summaryrefslogtreecommitdiff
blob: 152e95d5f3834f8d770860ae675713da69d7c5ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Bruce A. Locke <blocke@shivan.org>
# $Header: /var/cvsroot/gentoo-x86/app-admin/aide/aide-0.7.ebuild,v 1.5 2001/11/10 02:30:19 hallski Exp $

S=${WORKDIR}/${P}
DESCRIPTION="AIDE (Advanced Intrusion Detection Environment) is a free replacement for Tripwire"
SRC_URI="http://www.cs.tut.fi/~rammer/${P}.tar.gz"
HOMEPAGE="http://www.cs.tut.fi/~rammer/aide.html"

DEPEND="sys-apps/gzip sys-devel/bison sys-devel/flex"

src_compile() {

  # aide 0.7 refuses to compile with postgresql support (missing headerfile?)
  # postgres USE keyword disabled for now... :(

  #if [ -z "`use postgres`" ] ; then
	try ./configure --prefix=/usr --with-zlib 
	try make CFLAGS="$CFLAGS" all
  #else
  #	try ./configure --prefix=/usr --with-zlib --with-psql
  #	try make CFLAGS=\"$CFLAGS -I/usr/include/postgresql\" all
  #fi

}

src_install() {

  try make prefix=${D}/usr mandir=${D}/usr/share/man  install

  dodir /etc
  cp ${S}/doc/aide.conf ${D}/etc

  dodoc AUTHORS COPYING INSTALL NEWS README doc/manual.html

}