diff options
author | Stephanie J. Lockwood-Childs <wormo@gentoo.org> | 2005-04-24 02:25:45 +0000 |
---|---|---|
committer | Stephanie J. Lockwood-Childs <wormo@gentoo.org> | 2005-04-24 02:25:45 +0000 |
commit | 89d06f73eefc493752d93983c08d3b8196c21f9a (patch) | |
tree | 818fd49dc11a560380d687cbbf652628e65395c6 /app-admin | |
parent | DEPEND=virtual/libc instead of glibc. ~ppc-macos keyword, closes Bug 67043 (diff) | |
download | gentoo-2-89d06f73eefc493752d93983c08d3b8196c21f9a.tar.gz gentoo-2-89d06f73eefc493752d93983c08d3b8196c21f9a.tar.bz2 gentoo-2-89d06f73eefc493752d93983c08d3b8196c21f9a.zip |
add doc useflag that installs manual and sample configs
(Portage version: 2.0.51.19)
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/osiris/ChangeLog | 8 | ||||
-rw-r--r-- | app-admin/osiris/Manifest | 4 | ||||
-rw-r--r-- | app-admin/osiris/files/digest-osiris-1.5.2-r1 | 1 | ||||
-rw-r--r-- | app-admin/osiris/osiris-1.5.2-r1.ebuild | 50 |
4 files changed, 61 insertions, 2 deletions
diff --git a/app-admin/osiris/ChangeLog b/app-admin/osiris/ChangeLog index d1252316945b..31048ad04b70 100644 --- a/app-admin/osiris/ChangeLog +++ b/app-admin/osiris/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-admin/osiris # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/osiris/ChangeLog,v 1.9 2005/04/24 02:07:11 wormo Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/osiris/ChangeLog,v 1.10 2005/04/24 02:25:45 wormo Exp $ + +*osiris-1.5.2-r1 (23 Apr 2005) + + 23 Apr 2005; Stephanie Lockwood-Childs <wormo@gentoo.org> + +osiris-1.5.2-r1.ebuild: + add doc useflag to install manual and example configs 23 Apr 2005; Stephanie Lockwood-Childs <wormo@gentoo.org> osiris-1.5.2.ebuild: diff --git a/app-admin/osiris/Manifest b/app-admin/osiris/Manifest index 692bfbd36927..711645a9bd5d 100644 --- a/app-admin/osiris/Manifest +++ b/app-admin/osiris/Manifest @@ -1,3 +1,5 @@ -MD5 6b9bcadac62d56c58bf4415ff61006ff ChangeLog 1024 +MD5 290edbb616f4a7862477871216c1eb0e ChangeLog 1200 MD5 0a3ffbc7124c75405eb5192f4686b673 osiris-1.5.2.ebuild 1218 +MD5 6bf91430d99b6e1d869f77bf0efdb725 osiris-1.5.2-r1.ebuild 1350 MD5 6f6df8ce6e4231c6c1c4ceeca6efafa4 files/digest-osiris-1.5.2 64 +MD5 6f6df8ce6e4231c6c1c4ceeca6efafa4 files/digest-osiris-1.5.2-r1 64 diff --git a/app-admin/osiris/files/digest-osiris-1.5.2-r1 b/app-admin/osiris/files/digest-osiris-1.5.2-r1 new file mode 100644 index 000000000000..c4cd0d33eec9 --- /dev/null +++ b/app-admin/osiris/files/digest-osiris-1.5.2-r1 @@ -0,0 +1 @@ +MD5 c340c0ef555cc339a8d4d8f81e0d325c osiris-1.5.2.tar.gz 337298 diff --git a/app-admin/osiris/osiris-1.5.2-r1.ebuild b/app-admin/osiris/osiris-1.5.2-r1.ebuild new file mode 100644 index 000000000000..fbb5fc2230e6 --- /dev/null +++ b/app-admin/osiris/osiris-1.5.2-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/osiris/osiris-1.5.2-r1.ebuild,v 1.1 2005/04/24 02:25:45 wormo 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 doc" + +DEPEND="mysql? ( >=dev-db/mysql-3.23.54a )" + +src_unpack() { + unpack ${A} + cd ${S} + sed -i \ + -e "s:-O3 -fomit-frame-pointer:${CFLAGS}:" \ + src/crypto/*/Makefile || die "sed" +} + +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" \ + && sed -i -e "s:mysql.h:mysql/mysql.h:" ${S}/src/modules/module_mysql.c + econf ${myconf} || die "./configure failed" + + emake || die "emake failed" +} + +src_install() { + make install DESTDIR="${D}" || die + + if use doc + then + insinto /usr/share/doc/${PF} + dohtml docs/manual.html + dodoc docs/manual.txt + doins -r configs + fi +} |