2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR)/rules.mk
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=http://osiris.shmoo.com/data/
17 PKG_MD5SUM:=1951c7dc0fe729af9ffaf58910340d12
20 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
21 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
23 include $(INCLUDE_DIR)/package.mk
25 define Package/osirisd
27 CATEGORY:=Administration
29 TITLE:=Host integrity monitoring system (scanning agent)
30 URL:=http://www.hostintegrity.com/osiris
33 define Build/Configure
34 $(call Build/Configure/Default, \
35 --with-osiris-user=root \
36 --with-root-dir=/var/lib/osiris \
38 ac_cv_openssldir="$(STAGING_DIR)/usr" \
43 $(MAKE) -C $(PKG_BUILD_DIR) \
44 $(TARGET_CONFIGURE_OPTS) \
45 DESTDIR="$(PKG_INSTALL_DIR)" \
50 define Package/osirisd/install
51 $(INSTALL_DIR) $(1)/usr/sbin
52 $(CP) $(PKG_INSTALL_DIR)/usr/sbin/osirisd $(1)/usr/sbin/
53 $(INSTALL_DIR) $(1)/etc/init.d
54 $(INSTALL_BIN) ./files/osirisd.init $(1)/etc/init.d/osirisd
57 $(eval $(call BuildPackage,osirisd))