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
14 PKG_MD5SUM
:=11445f7d8dec737f0be89357f5c5bcae
16 PKG_SOURCE_URL
:=http
://www.hostintegrity.com
/osiris
/data
/
17 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
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 DESCRIPTION
:=an Host Integrity Monitoring System
(scanning agent
)
31 URL
:=http
://www.hostintegrity.com
/osiris
34 define Build
/Configure
35 $(call Build
/Configure
/Default
,--with-osiris-user
=root \
36 --with-root-dir
=/var
/lib
/osiris \
37 --with-readline
=no
, ac_cv_openssldir
="$(STAGING_DIR)/usr" \
38 ac_cv_have_accrights_in_msghdr
=no \
39 ac_cv_have_control_in_msghdr
=yes
)
43 rm -rf
$(PKG_INSTALL_DIR
)
44 mkdir
-p
$(PKG_INSTALL_DIR
)
45 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
46 $(TARGET_CONFIGURE_OPTS
) \
47 ar=$(TARGET_CROSS
)ar \
48 DESTDIR
="$(PKG_INSTALL_DIR)" \
53 define Package
/osirisd
/install
54 install -d
-m0755
$(1)/etc
/init.d
55 install -m0755 .
/files
/osirisd.init
$(1)/etc
/init.d
/osirisd
56 install -d
-m0755
$(1)/usr
/sbin
57 $(CP
) $(PKG_INSTALL_DIR
)/usr
/sbin
/osirisd
$(1)/usr
/sbin
/
60 $(eval
$(call BuildPackage
,osirisd
))