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
16 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
17 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
18 PKG_SOURCE_URL
:=http
://osiris.shmoo.com
/data
/
19 PKG_MD5SUM
:=11445f7d8dec737f0be89357f5c5bcae
22 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
24 include $(INCLUDE_DIR
)/package.mk
26 define Package
/osirisd
28 CATEGORY
:=Administration
30 TITLE
:=Host integrity monitoring system
(scanning agent
)
31 DESCRIPTION
:=an Host Integrity Monitoring System
(scanning agent
)
32 URL
:=http
://www.hostintegrity.com
/osiris
35 define Build
/Configure
36 $(call Build
/Configure
/Default
, \
37 --with-osiris-user
=root \
38 --with-root-dir
=/var
/lib
/osiris \
40 ac_cv_openssldir
="$(STAGING_DIR)/usr" \
41 ac_cv_have_accrights_in_msghdr
=no \
42 ac_cv_have_control_in_msghdr
=yes \
47 rm -rf
$(PKG_INSTALL_DIR
)
48 mkdir
-p
$(PKG_INSTALL_DIR
)
49 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
50 $(TARGET_CONFIGURE_OPTS
) \
51 ar=$(TARGET_CROSS
)ar \
52 DESTDIR
="$(PKG_INSTALL_DIR)" \
57 define Package
/osirisd
/install
58 install -d
-m0755
$(1)/etc
/init.d
59 install -m0755 .
/files
/osirisd.init
$(1)/etc
/init.d
/osirisd
60 install -d
-m0755
$(1)/usr
/sbin
61 $(CP
) $(PKG_INSTALL_DIR
)/usr
/sbin
/osirisd
$(1)/usr
/sbin
/
64 $(eval
$(call BuildPackage
,osirisd
))