# ChangeLog for app-admin/osiris
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/osiris/ChangeLog,v 1.12 2006/11/23 15:08:07 vivo Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/osiris/ChangeLog,v 1.13 2006/12/12 07:38:10 dragonheart Exp $
+
+*osiris-4.2.2 (12 Dec 2006)
+
+ 12 Dec 2006; Daniel Black <dragonheart@gentoo.org> +files/osirisd-4.2.2,
+ +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 <vivo@gentoo.org> osiris-1.5.2.ebuild,
osiris-1.5.2-r1.ebuild:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+AUX osiris-4.2.2-externaldb.patch 4043 RMD160 5a92cbb24b1b139687f48f176b191b26c892ab16 SHA1 5584beb30e2155336c0e31ce3bdcfa32587067b4 SHA256 6fed4bc6418cc86d66342278e539bedae91f6c4370332af3c7a576f9faa823e8
+MD5 638d459711777e20c55667f66fd83cba files/osiris-4.2.2-externaldb.patch 4043
+RMD160 5a92cbb24b1b139687f48f176b191b26c892ab16 files/osiris-4.2.2-externaldb.patch 4043
+SHA256 6fed4bc6418cc86d66342278e539bedae91f6c4370332af3c7a576f9faa823e8 files/osiris-4.2.2-externaldb.patch 4043
+AUX osirisd-4.2.2 591 RMD160 7aec89e9cefb51427934cf6af00d5871f155b4a3 SHA1 b073bef9e63fcd6d84e15336c8c08078a03e9610 SHA256 e1b01914c463994e2620debe36122a9e9532931023cc77a308bc30867055c1e0
+MD5 89a5142e580ba8d8733016ac129c1c81 files/osirisd-4.2.2 591
+RMD160 7aec89e9cefb51427934cf6af00d5871f155b4a3 files/osirisd-4.2.2 591
+SHA256 e1b01914c463994e2620debe36122a9e9532931023cc77a308bc30867055c1e0 files/osirisd-4.2.2 591
+AUX osirisd_confd-4.2.2 267 RMD160 e6418261bd62c674d746a454d053ba2fdd60e8ba SHA1 fc50b163ceca4276c90f300a44f8b5f37bdb8d4d SHA256 4ad91c2f2ecc24688a0f38b54a4291ddd4448e5772c0c25a7883e96ff98fa3d1
+MD5 c6ef79f0178f24b6ce30b1718125175e files/osirisd_confd-4.2.2 267
+RMD160 e6418261bd62c674d746a454d053ba2fdd60e8ba files/osirisd_confd-4.2.2 267
+SHA256 4ad91c2f2ecc24688a0f38b54a4291ddd4448e5772c0c25a7883e96ff98fa3d1 files/osirisd_confd-4.2.2 267
+AUX osirismd-4.2.2 592 RMD160 7a80e99bdaa725ea123de69125ff9c4c7d36e3d1 SHA1 31ae2903933ff2e1ca8c26fcf83c6e3fdbf5c47e SHA256 aaf460d5406679bf09c5f63a04d6216f412b8144ae7f51681de9e7ebc90e1b5f
+MD5 aa79b54c3839bb7d2e981fa73dff370d files/osirismd-4.2.2 592
+RMD160 7a80e99bdaa725ea123de69125ff9c4c7d36e3d1 files/osirismd-4.2.2 592
+SHA256 aaf460d5406679bf09c5f63a04d6216f412b8144ae7f51681de9e7ebc90e1b5f files/osirismd-4.2.2 592
+AUX osirismd_confd-4.2.2 195 RMD160 b8192932e349e4ad621c293e8e2e4446c747dbda SHA1 8feb8e0b18ccae9a0d48a54ef2979c3dc79a3310 SHA256 d756880bbf685a3678ad354e3c77263c965ff1f999af30c5f3dbc7d5fb4be027
+MD5 12719b375abfb817a56effadd403d709 files/osirismd_confd-4.2.2 195
+RMD160 b8192932e349e4ad621c293e8e2e4446c747dbda files/osirismd_confd-4.2.2 195
+SHA256 d756880bbf685a3678ad354e3c77263c965ff1f999af30c5f3dbc7d5fb4be027 files/osirismd_confd-4.2.2 195
+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 59e0ff369a1297f3536d7becbb029ff872f4aa30 SHA1 1507154c2fb68722eda2e87412bf05cb68512972 SHA256 6d1ac6800f4aab3c3b84ec4a32476a688593a4d7ece294b6b32af7b55dd3433a
MD5 fbfd963721fc07c0aa103660ff0fe10b osiris-1.5.2-r1.ebuild 1337
RMD160 59e0ff369a1297f3536d7becbb029ff872f4aa30 osiris-1.5.2-r1.ebuild 1337
MD5 24cb008e5b34fa2a994e9ac16c315387 osiris-1.5.2.ebuild 1206
RMD160 0361cd6e4cdeb30115a8d16e7ae60f731ff2d4cd osiris-1.5.2.ebuild 1206
SHA256 8726a1cf8aca28ea97d438ec3eb30ea4bcb7f2bb6660c4b7ea0daa0eed0d9d1e osiris-1.5.2.ebuild 1206
-MISC ChangeLog 1422 RMD160 b2513217d07515cf5224dfb051875f83a9a461da SHA1 aa4613df13a337e95b2bba131e6a88b09c23d626 SHA256 f9402c91b282919498d0234a2d19a6148249acfc5c5fff16a63933ede12ab6a1
-MD5 9f229d31aae3c38a273d550b38d780d2 ChangeLog 1422
-RMD160 b2513217d07515cf5224dfb051875f83a9a461da ChangeLog 1422
-SHA256 f9402c91b282919498d0234a2d19a6148249acfc5c5fff16a63933ede12ab6a1 ChangeLog 1422
+EBUILD osiris-4.2.2.ebuild 3687 RMD160 650e75246e3e7b17ac0b2a3a166b7c9b94a0d4a3 SHA1 a41725d4f36d0e6ddae4847dcfe58d5a945179d8 SHA256 c6eb54a31e15f3e99db1f188200dcc8d33f0490e99eb37c7dce43da129d11360
+MD5 c1876a75596ee9f2239d0d0d58193b62 osiris-4.2.2.ebuild 3687
+RMD160 650e75246e3e7b17ac0b2a3a166b7c9b94a0d4a3 osiris-4.2.2.ebuild 3687
+SHA256 c6eb54a31e15f3e99db1f188200dcc8d33f0490e99eb37c7dce43da129d11360 osiris-4.2.2.ebuild 3687
+MISC ChangeLog 1744 RMD160 37934d17fa65e2bfdb2b02c048eb6017d7ef74d5 SHA1 522d575a002855a17023d2eef37cb5175c2a1d44 SHA256 a3f3f72328522cebebdd9674fb68034483b6ef8d4805211c9e244fdfd6307ef6
+MD5 f245205635d6af1159a68746c622003c ChangeLog 1744
+RMD160 37934d17fa65e2bfdb2b02c048eb6017d7ef74d5 ChangeLog 1744
+SHA256 a3f3f72328522cebebdd9674fb68034483b6ef8d4805211c9e244fdfd6307ef6 ChangeLog 1744
MISC metadata.xml 271 RMD160 18049505da7f3c47c80d11e1cb079657371aa7f3 SHA1 e682ba42125ba80f110fcf96da0e8fa636f01fd6 SHA256 00b40038f812cdfdddaf3c4c23d8e3021f80cffcc958ef9e714c5a08d7743f1a
MD5 06b6b96a962c05d4a0a6dc934e97c150 metadata.xml 271
RMD160 18049505da7f3c47c80d11e1cb079657371aa7f3 metadata.xml 271
MD5 0abcbe326338199fe1f6eed3ecdade9c files/digest-osiris-1.5.2-r1 238
RMD160 bd3048b779c7c7cca36c96c973c9ac7a1af29a47 files/digest-osiris-1.5.2-r1 238
SHA256 6cf3f7e06fd52ade44b362d2af0e2f3bce4b8f65981af3ce54e6a53bb00f179b files/digest-osiris-1.5.2-r1 238
+MD5 7e718f1443f81d64a27e1c4ec80488a6 files/digest-osiris-4.2.2 907
+RMD160 25b6e4d9e7226d9a37579886a74cea7d8ae3728b files/digest-osiris-4.2.2 907
+SHA256 9928881a53823e8e32eeda832a4013076359d5fc7f867fbda418718902928d68 files/digest-osiris-4.2.2 907
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.5 (GNU/Linux)
+Version: GnuPG v1.4.5-ecc0.1.6 (GNU/Linux)
-iD8DBQFFZbwtKolR564NvWYRAlQdAJ4guHgjrFjfSPgdL1+4SentKHfAugCghEMZ
-iduz0/BUp7xJEA2p2Vuq4bM=
-=YsPC
+iD8DBQFFflyAmdTrptrqvGERAvHJAJ9wwRr8xktLmDsa+YyD0R276yaTIgCfQqks
+RJs7wuFEHuFa2e/vKtcXusY=
+=lA6z
-----END PGP SIGNATURE-----
--- /dev/null
+MD5 b29e17a142ec2135fc0625f5041f7d9a mod_dns.tar.gz 1835
+RMD160 83a96b7854fa3f8802663f82759bc77ca7c41fb0 mod_dns.tar.gz 1835
+SHA256 c0bf154d310dd39ac3ba3f3d8215b52a01d120831cec77a8c22fc6de66a7750b mod_dns.tar.gz 1835
+MD5 25db400c9eb933663b9b6612242fba5c mod_nvram.tar.gz 2065
+RMD160 6f5beab396bd2011b0db386999c19da9d83c3881 mod_nvram.tar.gz 2065
+SHA256 ab3b78b853ea4ce6b06ed4a143e61267076d1aa9255c87786ebd9861da85a189 mod_nvram.tar.gz 2065
+MD5 207086461914860c3a6416665503e311 mod_uptime.tar.gz 2143
+RMD160 7a626a37825a867a88eed2223f737dd5e521c69c mod_uptime.tar.gz 2143
+SHA256 9538ce2a41f55f9ea629a08f643e2ca9d1130428dc25b2cee006108fc087dc78 mod_uptime.tar.gz 2143
+MD5 6cbb3800007f7fcf3aed3d4db7765900 osiris-4.2.2.tar.gz 1923249
+RMD160 238296ab6a513ec43f570a3d5ecc3bc2e4189b57 osiris-4.2.2.tar.gz 1923249
+SHA256 5b0ccf24ad6e96618f23998d82b12f0e33df4c2bd8d9ae4cbf0eab8dd1e49920 osiris-4.2.2.tar.gz 1923249
--- /dev/null
+--- ./osiris-4.2.2/src/osirismd/Makefile.am.orig 2006-12-12 06:38:09.000000000 +1100
++++ ./osiris-4.2.2/src/osirismd/Makefile.am 2006-12-12 06:39:25.000000000 +1100
+@@ -25,14 +25,14 @@
+ -I$(top_srcdir)/src/libosirisctl \
+ -I$(top_srcdir)/src/libosirisdb \
+ -I$(top_srcdir)/src/libosirism \
+- -I$(top_srcdir)/src/db-4.2.52/build_unix
++ -I/usr/include/db4.2
+
+ osirismd_LDADD = -L$(top_srcdir)/src/libfileapi -lfileapi \
+ -L$(top_srcdir)/src/libosirisctl -losirisctl \
+ -L$(top_srcdir)/src/libosirisdb -losirisdb \
+ -L$(top_srcdir)/src/libosirism -losirism \
+ -L$(top_srcdir)/src/libosiris -losiris \
+- -L$(top_srcdir)/src/db-4.2.52/build_unix -ldb
++ -ldb-4.2
+
+ osirismd_DEPENDENCIES = $(top_srcdir)/src/libosiris/libosiris.a \
+ $(top_srcdir)/src/libfileapi/libfileapi.a \
+--- ./osiris-4.2.2/src/tools/Makefile.am.orig 2006-12-12 06:34:27.000000000 +1100
++++ ./osiris-4.2.2/src/tools/Makefile.am 2006-12-12 06:35:55.000000000 +1100
+@@ -6,7 +6,7 @@
+ -I$(top_srcdir)/src/libosiris \
+ -I$(top_srcdir)/src/libosirisctl \
+ -I$(top_srcdir)/src/libosirism \
+- -I$(top_srcdir)/src/db-4.2.52/build_unix
++ -I/usr/include/db4.2/
+
+ printdb_SOURCES = printdb.c
+
+@@ -14,7 +14,7 @@
+ -L$(top_srcdir)/src/libfileapi -lfileapi \
+ -L$(top_srcdir)/src/libosirism -losirism \
+ -L$(top_srcdir)/src/libosiris -losiris \
+- -L$(top_srcdir)/src/db-4.2.52/build_unix -ldb
++ -ldb-4.2
+
+ printdb_DEPENDENCIES = $(top_srcdir)/src/libosiris/libosiris.a \
+ $(top_srcdir)/src/libfileapi/libfileapi.a \
+--- ./osiris-4.2.2/src/libosirisdb/Makefile.am.orig 2006-12-12 06:38:37.000000000 +1100
++++ ./osiris-4.2.2/src/libosirisdb/Makefile.am 2006-12-12 06:39:37.000000000 +1100
+@@ -7,5 +7,5 @@
+ -I$(top_srcdir)/src/libosirisctl \
+ -I$(top_srcdir)/src/libosirism \
+ -I$(top_srcdir)/src/libfileapi \
+- -I$(top_srcdir)/src/db-4.2.52/build_unix
++ -I/usr/include/db4.2
+
+--- ./osiris-4.2.2/src/cli/Makefile.am.orig 2006-12-12 06:36:13.000000000 +1100
++++ ./osiris-4.2.2/src/cli/Makefile.am 2006-12-12 06:36:45.000000000 +1100
+@@ -7,7 +7,7 @@
+ -I$(top_srcdir)/src/libosirism \
+ -I$(top_srcdir)/src/libosiris \
+ -I$(top_srcdir)/src/libosirisdb \
+- -I$(top_srcdir)/src/db-4.2.52/build_unix
++ -I/usr/include/db4.2/
+
+
+ osiris_SOURCES = osiris.c osiris.h get_user_input.c
+@@ -17,7 +17,7 @@
+ -L$(top_srcdir)/src/libfileapi -lfileapi \
+ -L$(top_srcdir)/src/libosiris -losiris \
+ -L$(top_srcdir)/src/libosirisdb -losirisdb \
+- -L$(top_srcdir)/src/db-4.2.52/build_unix -ldb @LIBREADLINE@
++ -ldb-4.2 @LIBREADLINE@
+
+
+ osiris_DEPENDENCIES = $(top_srcdir)/src/libosiris/libosiris.a \
+--- ./osiris-4.2.2/src/Makefile.am.orig 2006-12-12 06:37:06.000000000 +1100
++++ ./osiris-4.2.2/src/Makefile.am 2006-12-12 06:37:17.000000000 +1100
+@@ -6,7 +6,6 @@
+ libosirisdb \
+ libosirisctl \
+ libosirism \
+- db-4.2.52 \
+ osirisd \
+ osirismd \
+ cli
--- /dev/null
+#!/sbin/runscript
+
+depend() {
+ use logger dns
+ need net
+}
+
+checkconfig() {
+ if [ ! -x /usr/sbin/osirisd ] ; then
+ eerror "Daemon image not found"
+ return 1
+ fi
+ return 0
+}
+
+start() {
+ ebegin "Starting osirisd"
+ checkconfig || ( eend $? "Config problems for osirisd daemon" || return 1 )
+ start-stop-daemon --start --exec /usr/sbin/osirisd -- -e /var/run/osiris/osirisd.pid ${OSIRISD_OPTS}
+ eend $? "Failed to start osirisd daemon"
+}
+
+stop() {
+ ebegin "Stop osirisd"
+ start-stop-daemon --stop --name osirisd --pidfile /var/run/osiris/osirisd.pid
+ eend $? "Failed to stop osirisd daemon"
+}
+
--- /dev/null
+#
+# Add extra optionsfor the daemon
+# -e <pid-file> has been provided for in the start/stop procedures
+#
+# -n <nicelevel> - change nicelevel
+# -p <port> - change port
+# -q - quiet
+# -r - Specify alternate root directory
+#
+OSIRISD_OPTS=""
--- /dev/null
+#!/sbin/runscript
+
+depend() {
+ use logger dns
+ need net
+}
+
+checkconfig() {
+ if [ ! -x /usr/sbin/osirisd ] ; then
+ eerror "Daemon image not found"
+ return 1
+ fi
+ return 0
+}
+
+start() {
+ ebegin "Starting osirismd"
+ checkconfig || ( eend $? "Config problems for osirismd daemon" || return 1 )
+ start-stop-daemon --start --exec /usr/sbin/osirismd -- -e /var/run/osiris/osirismd.pid ${OSIRISMD_OPTS}
+ eend $? "Failed to start osirismd daemon"
+}
+
+stop() {
+ ebegin "Stop osirismd"
+ start-stop-daemon --stop --quiet --pidfile /var/run/osiris/osirismd.pid
+ eend $? "Failed to stop osirismd daemon"
+}
--- /dev/null
+#
+# Extra options for the osirismd daemon
+# -e has been provided for in the start/stop process
+#
+# -r <dir> -- alternate root directory
+# -f <file> -- alternate config file
+#
+#
+OSIRISMD_OPTS=""
+
--- /dev/null
+# Copyright 1999-2006 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.1 2006/12/12 07:38:10 dragonheart 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}"
+ ./bootstrap
+ #eautomake
+ 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() {
+ einfo "Osiris Scanning Daemon Version $VERSION for $SYSTEM"
+ einfo "Copyright (c) 2006 Brian Wotring. All Rights Reserved."
+ einfo ""
+ einfo ""
+ einfo "This installation was configured and built to run as osiris"
+ einfo " agent user name: osiris"
+ einfo "management user name: osiris"
+ einfo ""
+ einfo "This installation was configured and built to use osiris"
+ einfo " agent root directory: /var/lib/osiris"
+ einfo "management root directory: /var/lib/osiris"
+ einfo ""
+ einfo "The username and directory will be created during the"
+ einfo "installation process if they do not already exist."
+ einfo ""
+ einfo "By installing this product you agree that you have read the"
+ einfo "LICENSE file and will comply with its terms. "
+ einfo ""
+ einfo "---------------------------------------------------------------------"
+ einfo ""
+
+# 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
+# einfo "By default, the osiris ebuild only installs the agent."
+# einfo "To enable installing the console, please add the 'console' flag"
+# einfo "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.
+ einfo "The directory /var/lib/osiris will not be removed. You may remove"
+ einfo "it manually if you will not be reinstalling osiris at a later time."
+}
+