summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/osiris')
-rw-r--r--app-admin/osiris/ChangeLog7
-rw-r--r--app-admin/osiris/Manifest6
-rw-r--r--app-admin/osiris/files/digest-osiris-1.5.21
-rw-r--r--app-admin/osiris/osiris-1.5.2.ebuild49
4 files changed, 58 insertions, 5 deletions
diff --git a/app-admin/osiris/ChangeLog b/app-admin/osiris/ChangeLog
index 8a53aeb0ca48..37c71c6cbc54 100644
--- a/app-admin/osiris/ChangeLog
+++ b/app-admin/osiris/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-admin/osiris
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/osiris/ChangeLog,v 1.3 2003/04/23 00:16:29 lostlogic Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/osiris/ChangeLog,v 1.4 2003/07/22 00:10:03 latexer Exp $
+
+*osiris-1.5.2 (21 Jul 2003)
+
+ 21 Jul 2003; Peter Johanson <latexer@gentoo.org> osiris-1.5.2.ebuild:
+ Added 1.5.2 to ~x86
*osiris-1.5.1b (03 Feb 2003)
diff --git a/app-admin/osiris/Manifest b/app-admin/osiris/Manifest
index a09e953bc846..8cf66d0f2e0e 100644
--- a/app-admin/osiris/Manifest
+++ b/app-admin/osiris/Manifest
@@ -1,7 +1,5 @@
MD5 ef9d26aad978cc9e432f70b2b7419101 osiris-1.5.1b.ebuild 1405
-MD5 1ce2ea29f7ab642056c2e8ba1b6af9cb osiris-1.5.2.ebuild 1406
-MD5 e718192f80861f9094c695275bc54bf4 ChangeLog 614
-MD5 6e50f4f057e18f97b458e4cae3712e6a osiris-2.0.0_alpha20030721.ebuild 1540
+MD5 3ac76a69a8183bff255caea5bea127f4 osiris-1.5.2.ebuild 1408
+MD5 215e618fc5a443c42801635ccdaaa3e7 ChangeLog 736
MD5 6f6df8ce6e4231c6c1c4ceeca6efafa4 files/digest-osiris-1.5.2 64
MD5 c7b045dea619bd3050052a07c64ef24e files/digest-osiris-1.5.1b 65
-MD5 c0d8c621769a525d0b5adda3fde1ef74 files/digest-osiris-2.0.0_alpha20030721 75
diff --git a/app-admin/osiris/files/digest-osiris-1.5.2 b/app-admin/osiris/files/digest-osiris-1.5.2
new file mode 100644
index 000000000000..c4cd0d33eec9
--- /dev/null
+++ b/app-admin/osiris/files/digest-osiris-1.5.2
@@ -0,0 +1 @@
+MD5 c340c0ef555cc339a8d4d8f81e0d325c osiris-1.5.2.tar.gz 337298
diff --git a/app-admin/osiris/osiris-1.5.2.ebuild b/app-admin/osiris/osiris-1.5.2.ebuild
new file mode 100644
index 000000000000..0da577d85f7f
--- /dev/null
+++ b/app-admin/osiris/osiris-1.5.2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/osiris/osiris-1.5.2.ebuild,v 1.1 2003/07/22 00:10:03 latexer Exp $
+
+
+DESCRIPTION="File integrity verification system"
+HOMEPAGE="http://osiris.shmoo.com/"
+SRC_URI="http://osiris.shmoo.com/data/${P}.tar.gz"
+LICENSE="OSIRIS"
+
+SLOT="0"
+KEYWORDS="~x86 -ppc"
+
+IUSE="mysql"
+DEPEND="mysql? ( >=mysql-3.23.54a )"
+
+
+src_compile() {
+
+ # Osiris provides the necessary gdbm source so that gdbm does not
+ # need to be installed to use Osiris. If mysql is set as a USE
+ # variable, Osiris will use mysql instead of gdbm.
+
+ einfo "Osiris uses gdbm by default, and will use MySQL if \"mysql\""
+ einfo "is set as a USE variable; it cannot be configured to use both."
+
+ local myconf
+ use mysql && myconf="${myconf} --enable-module=mysql"
+
+ # The mysql module searches for the mysql.h file in the wrong place
+ # sed line replaces it with the proper path (mysql/mysql.h)
+
+ cp ${S}/src/modules/module_mysql.c ${S}/src/modules/module_mysql.c.old
+ use mysql && sed -e "s:mysql.h:mysql/mysql.h:" \
+ ${S}/src/modules/module_mysql.c.old > ${S}/src/modules/module_mysql.c
+
+ ./configure \
+ --host=${CHOST} \
+ --prefix=/usr \
+ --infodir=/usr/share/info \
+ --mandir=/usr/share/man \
+ ${myconf} || die "./configure failed"
+
+ emake || die
+}
+
+src_install() {
+ einstall
+}