summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn P. Davis <zhen@gentoo.org>2003-06-08 18:06:36 +0000
committerJohn P. Davis <zhen@gentoo.org>2003-06-08 18:06:36 +0000
commitc60c814c0760967cc02cb23b04f968386cef4c5b (patch)
tree807a5b1affb0b193ccc5ca070e46de4a8a4c3725 /sys-apps/sal-client
parentinitiinitial revision of the package (diff)
downloadhistorical-c60c814c0760967cc02cb23b04f968386cef4c5b.tar.gz
historical-c60c814c0760967cc02cb23b04f968386cef4c5b.tar.bz2
historical-c60c814c0760967cc02cb23b04f968386cef4c5b.zip
initiinitial revision of the package
Diffstat (limited to 'sys-apps/sal-client')
-rw-r--r--sys-apps/sal-client/Manifest5
-rw-r--r--sys-apps/sal-client/files/auditd.confd7
-rw-r--r--sys-apps/sal-client/files/digest-sal-client-1.0_rc31
-rw-r--r--sys-apps/sal-client/files/sal-client-init24
-rw-r--r--sys-apps/sal-client/sal-client-1.0_rc3.ebuild45
5 files changed, 81 insertions, 1 deletions
diff --git a/sys-apps/sal-client/Manifest b/sys-apps/sal-client/Manifest
index e12e03089e3b..043eb28bf864 100644
--- a/sys-apps/sal-client/Manifest
+++ b/sys-apps/sal-client/Manifest
@@ -1,2 +1,5 @@
-MD5 d66a7ff46d8f315979cdc94ae9df5d73 sal-client-1.0_rc3.ebuild 714
+MD5 c2ceb7ba78ce1d27ee00256b05a72e7e sal-client-1.0_rc3.ebuild 1152
+MD5 015a993293ffd26cd718948b0c83fc7a ChangeLog 419
MD5 5aa22bbbe3279a7d60625851d5e92f4a files/digest-sal-client-1.0_rc3 69
+MD5 8669d0f34fb31503b58997c7fbffedf4 files/auditd.confd 268
+MD5 7685400c877def74069163dc15dcbaf3 files/sal-client-init 779
diff --git a/sys-apps/sal-client/files/auditd.confd b/sys-apps/sal-client/files/auditd.confd
new file mode 100644
index 000000000000..9ee6d6ac3018
--- /dev/null
+++ b/sys-apps/sal-client/files/auditd.confd
@@ -0,0 +1,7 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/sal-client/files/auditd.confd,v 1.1 2003/06/08 18:06:20 zhen Exp $
+
+TMP_DIR="/var/lib/auditd"
+FILE="audit"
+
diff --git a/sys-apps/sal-client/files/digest-sal-client-1.0_rc3 b/sys-apps/sal-client/files/digest-sal-client-1.0_rc3
new file mode 100644
index 000000000000..fb7a872113ee
--- /dev/null
+++ b/sys-apps/sal-client/files/digest-sal-client-1.0_rc3
@@ -0,0 +1 @@
+MD5 73bd80cf533752d1aeb4c76c1a3b1cc5 sal-client-1.0-RC3.tar.gz 53308
diff --git a/sys-apps/sal-client/files/sal-client-init b/sys-apps/sal-client/files/sal-client-init
new file mode 100644
index 000000000000..e0975b1dd8b9
--- /dev/null
+++ b/sys-apps/sal-client/files/sal-client-init
@@ -0,0 +1,24 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/sal-client/files/sal-client-init,v 1.1 2003/06/08 18:06:20 zhen Exp $
+
+TMP_DIR="tmp"
+FILE="audit"
+
+# forcibly delete the temporary directory if needed
+if [ -e $TMP_DIR ]
+then
+ rm -rf $TMP_DIR
+fi
+
+# the below assumes that the certificate authority directory is /CA
+
+# the audit daemon run as a background process
+# automatically creates the temporary directory if needed
+./daemon/auditd -d $TMP_DIR -b $FILE -r &
+
+# the audit client run as a foreground process
+# sends the audit data to the terminal (stdout)
+# to send audit data to a server replace -v with -a x.x.x.x
+./client/auditclient -e -d $TMP_DIR -b $FILE -v
+
diff --git a/sys-apps/sal-client/sal-client-1.0_rc3.ebuild b/sys-apps/sal-client/sal-client-1.0_rc3.ebuild
new file mode 100644
index 000000000000..c36378db80da
--- /dev/null
+++ b/sys-apps/sal-client/sal-client-1.0_rc3.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/sal-client/sal-client-1.0_rc3.ebuild,v 1.1 2003/06/08 18:06:20 zhen Exp $
+
+MY_P=${P/_/-}
+
+DESCRIPTION="Server side programs for SAL, the Secure Auditing for Linux project."
+HOMEPAGE="http://secureaudit.sourceforge.net/"
+
+SRC_URI="http://belnet.dl.sourceforge.net/sourceforge/secureaudit/${MY_P/rc3/RC3}.tar.gz"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="-x86"
+IUSE=""
+
+DEPEND="virtual/glibc \
+ >=dev-libs/openssl-0.9.6j"
+
+RDEPEND="${DEPEND} \
+ >=sys-kernel/hardened-sources-2.4.20-r2"
+
+S=${WORKDIR}/sal-client
+
+src_compile() {
+ emake || die
+ #make || die
+}
+
+src_install() {
+ dosbin ${S}/daemon/auditd
+ dosbin ${S}/client/auditclient
+
+
+ exeinto /etc/init.d; newexe ${FILESDIR}/sal-client-init auditd
+ insinto /etc/conf.d; newins ${FILESDIR}/auditd.confd auditd
+
+ mv ${S}/patches/README ${S}/patches/README.patches
+ mv ${S}/patches/README.todo ${S}/patches/README.todo.patches
+ dodoc ${S}/README
+ dodoc ${S}/README.todo
+ dodoc ${S}/patches/README.patches
+ dodoc ${S}/patches/README.todo.patches
+
+}