Portage is a package management system used by Gentoo Linux
# ChangeLog for app-admin/osiris
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/osiris/ChangeLog,v 1.16 2008/06/04 16:52:15 flameeyes Exp $
04 Jun 2008; Diego Pettenò
Use eautoreconf, not the bootstrap script.
21 Apr 2008; Christian Heim
Fix up metadata.xml. If there's no maintainer for the package, the metadata
also needs to contain m-needed@g.o.
24 Jan 2007; Marius Mauch
osiris-1.5.2-r1.ebuild, osiris-4.2.2.ebuild:
Replacing einfo with elog
*osiris-4.2.2 (12 Dec 2006)
12 Dec 2006; Daniel Black
+files/osirisd_confd-4.2.2, +files/osirismd-4.2.2,
+files/osirismd_confd-4.2.2, +files/osiris-4.2.2-externaldb.patch,
+osiris-4.2.2.ebuild:
version bump as per bug #88090. Ebuilds thanks to Nico Baggus
23 Nov 2006; Francesco Riosa
osiris-1.5.2-r1.ebuild:
dev-db/mysql => virtual/mysql
01 May 2005; Michael Hanselmann
Stable on ppc.
*osiris-1.5.2-r1 (23 Apr 2005)
23 Apr 2005; Stephanie Lockwood-Childs
+osiris-1.5.2-r1.ebuild:
add doc useflag to install manual and example configs
23 Apr 2005; Stephanie Lockwood-Childs
osiris-1.5.2.ebuild:
mark ~ppc
19 Mar 2004; Michael Sterrett
fix depend (bug #45110)
19 Mar 2004; Michael Sterrett
clean older version
*osiris-1.5.2 (21 Jul 2003)
21 Jul 2003; Peter Johanson
Added 1.5.2 to ~x86
*osiris-1.5.1b (03 Feb 2003)
22 Apr 2003; Brandon Low
Change supersed dependencies
28 Mar 2003; Pieter Van den Abeele
Moved to -ppc by yours truly; nothing but link errors
03 Feb 2003; Peter Johanson
Initial import. Ebuild submitted by yours truly.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
AUX osiris-4.2.2-externaldb.patch 4043 RMD160 5a92cbb24b1b139687f48f176b191b26c892ab16 SHA1 5584beb30e2155336c0e31ce3bdcfa32587067b4 SHA256 6fed4bc6418cc86d66342278e539bedae91f6c4370332af3c7a576f9faa823e8
AUX osirisd-4.2.2 591 RMD160 7aec89e9cefb51427934cf6af00d5871f155b4a3 SHA1 b073bef9e63fcd6d84e15336c8c08078a03e9610 SHA256 e1b01914c463994e2620debe36122a9e9532931023cc77a308bc30867055c1e0
AUX osirisd_confd-4.2.2 267 RMD160 e6418261bd62c674d746a454d053ba2fdd60e8ba SHA1 fc50b163ceca4276c90f300a44f8b5f37bdb8d4d SHA256 4ad91c2f2ecc24688a0f38b54a4291ddd4448e5772c0c25a7883e96ff98fa3d1
AUX osirismd-4.2.2 592 RMD160 7a80e99bdaa725ea123de69125ff9c4c7d36e3d1 SHA1 31ae2903933ff2e1ca8c26fcf83c6e3fdbf5c47e SHA256 aaf460d5406679bf09c5f63a04d6216f412b8144ae7f51681de9e7ebc90e1b5f
AUX osirismd_confd-4.2.2 195 RMD160 b8192932e349e4ad621c293e8e2e4446c747dbda SHA1 8feb8e0b18ccae9a0d48a54ef2979c3dc79a3310 SHA256 d756880bbf685a3678ad354e3c77263c965ff1f999af30c5f3dbc7d5fb4be027
DIST mod_dns.tar.gz 1835 RMD160 83a96b7854fa3f8802663f82759bc77ca7c41fb0 SHA1 37f64ca8fb7862837c48f8ec82964770a668daa6 SHA256 c0bf154d310dd39ac3ba3f3d8215b52a01d120831cec77a8c22fc6de66a7750b
DIST mod_nvram.tar.gz 2065 RMD160 6f5beab396bd2011b0db386999c19da9d83c3881 SHA1 59d8c31713f6f4fb59e7244907b87ff5f303ba00 SHA256 ab3b78b853ea4ce6b06ed4a143e61267076d1aa9255c87786ebd9861da85a189
DIST mod_uptime.tar.gz 2143 RMD160 7a626a37825a867a88eed2223f737dd5e521c69c SHA1 c18135c52a4a26178046a7c57beb9eb7e7e307e9 SHA256 9538ce2a41f55f9ea629a08f643e2ca9d1130428dc25b2cee006108fc087dc78
DIST osiris-1.5.2.tar.gz 337298 RMD160 879cd382b7641b54fb7033d56e448bad8b68c038 SHA1 b9bd841934f23fc544fc8cbb745cb79fd07c89bb SHA256 bfd3b1f2de5dc524005216d45c1eb56f71323643577996b9091dd7a23e70db2d
DIST osiris-4.2.2.tar.gz 1923249 RMD160 238296ab6a513ec43f570a3d5ecc3bc2e4189b57 SHA1 38fee7398de9157a57b41ea53e9c561bd449028e SHA256 5b0ccf24ad6e96618f23998d82b12f0e33df4c2bd8d9ae4cbf0eab8dd1e49920
EBUILD osiris-1.5.2-r1.ebuild 1337 RMD160 0b704adb7d10fdc447d69e98594ff402ed8c9f18 SHA1 954886364fe0048946f765f9102332c1782843a1 SHA256 196a72023f88b91285b1ca4919375dee4e0bfa8d8c2e17aa6eacbfc227b15087
EBUILD osiris-1.5.2.ebuild 1206 RMD160 b14e8cf348ace54e007b0071da712954b8d3f116 SHA1 6d5be04bf03eb3445b5b3bf94a983aeba213221e SHA256 2d0beb2bdf27c2252baaab0859b20fb82131c28cad3d46419c6a83d715a2cea4
EBUILD osiris-4.2.2.ebuild 3646 RMD160 2b6fe8cc1dc02af0cb2507a5aab0c6efb7cf5d0d SHA1 05fad04b638853ad34daacdd2c2c8fe184cc13ee SHA256 319d1b08f91321d1cfb2fe667b3a6176aa04372a506b0f6ec0f92e94a5b9cfeb
MISC ChangeLog 2188 RMD160 03c0ca91de64f7cb33e214e599e01a995f1aabff SHA1 515491a5351cf5b3b3fd8383df9b35e9292f5cb4 SHA256 ebe8e927c570b77ad430f1fa6c1bcb7d5cd465ad3ebd25165bb74c35767d6d74
MISC metadata.xml 417 RMD160 41979d47436ed19c0fcaa1790a1cdac349f96c55 SHA1 dfa2566a981d0ddb4764f0650a1ab05d188203fe SHA256 3e2715f17a6ef91fd0ac3589cfa72f19ec911bd7fc513826a638440f212bc22d
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
iEYEARECAAYFAkhGyEUACgkQAiZjviIA2XjpRwCff3qjB/69Iex8vj4Zsrb0A5Rj
4zUAnjmijH5Z0Kx6tFCgLUY7b+5oErGq
=OF0q
-----END PGP SIGNATURE-----
A program that monitors hosts for changes with detailed logs ofthe changes.
# Copyright 1999-2007 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.3 2007/01/24 14:46:42 genone 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? ( virtual/mysql )"
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.
elog "Osiris uses gdbm by default, and will use MySQL if \"mysql\""
elog "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
}
# Copyright 1999-2007 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.ebuild,v 1.13 2007/01/24 14:46:42 genone 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? ( virtual/mysql )"
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.
elog "Osiris uses gdbm by default, and will use MySQL if \"mysql\""
elog "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
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/osiris/osiris-4.2.2.ebuild,v 1.5 2008/06/04 16:52:15 flameeyes Exp $
inherit eutils autotools
DESCRIPTION="File integrity verification system"
HOMEPAGE="http://osiris.shmoo.com/"
SRC_URI="http://osiris.shmoo.com/data/${P}.tar.gz
http://osiris.shmoo.com/data/modules/mod_uptime.tar.gz
http://osiris.shmoo.com/data/modules/mod_dns.tar.gz
http://osiris.shmoo.com/data/modules/mod_nvram.tar.gz"
# http://osiris.shmoo.com/data/modules/mod_ports.tar.gz"
LICENSE="OSIRIS"
SLOT="0"
KEYWORDS="~x86 ~ppc"
#IUSE="noagent console"
IUSE=""
DEPEND=">=dev-libs/openssl-0.9.8c
=sys-libs/db-4.2*"
pkg_setup()
{
enewgroup osiris
enewuser osiris -1 -1 /var/lib/osiris osiris
}
src_unpack()
{
unpack ${P}.tar.gz
epatch "${FILESDIR}"/${P}-externaldb.patch
cd "${S}"
eautoreconf
cd "${WORKDIR}"
unpack mod_uptime.tar.gz
unpack mod_dns.tar.gz
unpack mod_nvram.tar.gz
# unpack mod_ports.tar.gz
# Add the above modules
mv "${S}"/../mod_* "${S}"/src/osirisd/modules/
}
src_compile()
{
econf --prefix=/var/lib --enable-fancy-cli=yes || die "configure failed."
# if ! use noagent ; then
emake agent || die "agent build failed"
# fi
# if use console ; then
emake console || die "management build failed"
# fi
}
src_install() {
elog "Osiris Scanning Daemon Version $VERSION for $SYSTEM"
elog "Copyright (c) 2006 Brian Wotring. All Rights Reserved."
elog ""
elog ""
elog "This installation was configured and built to run as osiris"
elog " agent user name: osiris"
elog "management user name: osiris"
elog ""
elog "This installation was configured and built to use osiris"
elog " agent root directory: /var/lib/osiris"
elog "management root directory: /var/lib/osiris"
elog ""
elog "The username and directory will be created during the"
elog "installation process if they do not already exist."
elog ""
elog "By installing this product you agree that you have read the"
elog "LICENSE file and will comply with its terms. "
elog ""
elog "---------------------------------------------------------------------"
elog ""
# if ! use noagent ; then
dosbin src/osirisd/osirisd
fowners root:0 /usr/sbin/osirisd
fperms 0755 /usr/sbin/osirisd
newinitd "${FILESDIR}"/osirisd-${PV} osirisd
newconfd "${FILESDIR}"/osirisd_confd-${PV} osirisd
# fi
# if use console; then
dosbin src/cli/osiris
fowners root:0 /usr/sbin/osiris
fperms 0755 /usr/sbin/osiris
dosbin src/osirismd/osirismd
fowners osiris:osiris /usr/sbin/osirismd
fperms 4755 /usr/sbin/osirismd
newinitd "${FILESDIR}"/osirismd-${PV} osirismd
newconfd "${FILESDIR}"/osirismd_confd-${PV} osirismd
# fi
dodir /var/run
dodir /var/lib
diropts -o osiris -g osiris -m0750
dodir /var/lib/osiris
dodir /var/run/osiris
keepdir /var/run/osiris
# if use console ; then
cp -rf "${S}"/src/configs "${D}"/var/lib/osiris/
chown -R osiris:osiris "${D}"/var/lib/osiris/*
chmod -R 0750 "${D}"/var/lib/osiris/*
# fi
}
#pkg_postinst()
#{
# if ! use console ; then
# elog "By default, the osiris ebuild only installs the agent."
# elog "To enable installing the console, please add the 'console' flag"
# elog "to your USE variable and re-emerge osiris."
# fi
#}
pkg_postrm()
{
# PID directory should not clutter the
# system
rm -rf /var/run/osiris
# Allow the user to decide if certs,
# configs, and other things should
# be
# removed.
elog "The directory /var/lib/osiris will not be removed. You may remove"
elog "it manually if you will not be reinstalling osiris at a later time."
}