diff options
author | Peter Johanson <latexer@gentoo.org> | 2003-02-04 02:06:02 +0000 |
---|---|---|
committer | Peter Johanson <latexer@gentoo.org> | 2003-02-04 02:06:02 +0000 |
commit | 60013f6bda0849240d7f5c9054818dbcfca4ff2f (patch) | |
tree | be2577bc1d834779007579bac3eeb13e32f5d099 /app-admin/osiris | |
parent | Added the new version (diff) | |
download | gentoo-2-60013f6bda0849240d7f5c9054818dbcfca4ff2f.tar.gz gentoo-2-60013f6bda0849240d7f5c9054818dbcfca4ff2f.tar.bz2 gentoo-2-60013f6bda0849240d7f5c9054818dbcfca4ff2f.zip |
Initial import.
Diffstat (limited to 'app-admin/osiris')
-rw-r--r-- | app-admin/osiris/ChangeLog | 8 | ||||
-rw-r--r-- | app-admin/osiris/files/digest-osiris-1.5.1b | 1 | ||||
-rw-r--r-- | app-admin/osiris/osiris-1.5.1b.ebuild | 49 |
3 files changed, 58 insertions, 0 deletions
diff --git a/app-admin/osiris/ChangeLog b/app-admin/osiris/ChangeLog new file mode 100644 index 000000000000..dd2e8623bf1b --- /dev/null +++ b/app-admin/osiris/ChangeLog @@ -0,0 +1,8 @@ +# 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.1 2003/02/04 02:06:02 latexer Exp $ + +*osiris-1.5.1b (03 Feb 2003) + + 03 Feb 2003; Peter Johanson <latexer@gentoo.org> osiris-1.5.1b.ebuild: + Initial import. Ebuild submitted by yours truly. diff --git a/app-admin/osiris/files/digest-osiris-1.5.1b b/app-admin/osiris/files/digest-osiris-1.5.1b new file mode 100644 index 000000000000..461acad0deb1 --- /dev/null +++ b/app-admin/osiris/files/digest-osiris-1.5.1b @@ -0,0 +1 @@ +MD5 e963474de9c5b133a92fb203b85753ca osiris-1.5.1b.tar.gz 325692 diff --git a/app-admin/osiris/osiris-1.5.1b.ebuild b/app-admin/osiris/osiris-1.5.1b.ebuild new file mode 100644 index 000000000000..f4998b9346b7 --- /dev/null +++ b/app-admin/osiris/osiris-1.5.1b.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.1b.ebuild,v 1.1 2003/02/04 02:06:02 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" + +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 + # ssed 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 && ssed -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 +} |