2006-08-06 13:04:16 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2006 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
# $Id$
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=osiris
|
2007-03-04 03:14:00 +00:00
|
|
|
PKG_VERSION:=4.2.3
|
2006-08-06 13:04:16 +00:00
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
2006-08-08 01:22:05 +00:00
|
|
|
PKG_SOURCE_URL:=http://osiris.shmoo.com/data/
|
2007-03-04 03:14:00 +00:00
|
|
|
PKG_MD5SUM:=1951c7dc0fe729af9ffaf58910340d12
|
2006-08-06 13:04:16 +00:00
|
|
|
PKG_CAT:=zcat
|
|
|
|
|
2006-10-30 13:51:50 +00:00
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
2006-08-06 13:04:16 +00:00
|
|
|
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/osirisd
|
|
|
|
SECTION:=admin
|
|
|
|
CATEGORY:=Administration
|
2007-06-22 09:10:14 +00:00
|
|
|
DEPENDS:=+libopenssl +libpthread
|
2006-08-06 13:04:16 +00:00
|
|
|
TITLE:=Host integrity monitoring system (scanning agent)
|
|
|
|
URL:=http://www.hostintegrity.com/osiris
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Configure
|
2006-10-19 15:26:14 +00:00
|
|
|
$(call Build/Configure/Default, \
|
|
|
|
--with-osiris-user=root \
|
|
|
|
--with-root-dir=/var/lib/osiris \
|
|
|
|
--with-readline=no, \
|
|
|
|
ac_cv_openssldir="$(STAGING_DIR)/usr" \
|
|
|
|
)
|
2006-08-06 13:04:16 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
|
|
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
|
|
|
$(TARGET_CONFIGURE_OPTS) \
|
|
|
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
|
|
|
INTERACTIVE=0 \
|
|
|
|
all install
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/osirisd/install
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
2006-08-06 13:04:16 +00:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/osirisd $(1)/usr/sbin/
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/etc/init.d
|
|
|
|
$(INSTALL_BIN) ./files/osirisd.init $(1)/etc/init.d/osirisd
|
2006-08-06 13:04:16 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,osirisd))
|