port rng-tools
[openadk.git] / package / osiris / Makefile
blobe7dcd3c1cd738bd5d17b22881e1baa1875a10252
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${TOPDIR}/rules.mk
6 PKG_NAME:= osiris
7 PKG_VERSION:= 4.2.3
8 PKG_RELEASE:= 1
9 PKG_BUILDDEP+= openssl
10 PKG_MD5SUM:= 1951c7dc0fe729af9ffaf58910340d12
11 PKG_DESCR:= Host Integrity Monitoring System (scanning agent)
12 PKG_SECTION:= admin
13 PKG_DEPENDS:= libopenssl libpthread
14 PKG_URL:= http://osiris.shmoo.com
15 PKG_SITES:= http://osiris.shmoo.com/data/
17 include ${TOPDIR}/mk/package.mk
19 $(eval $(call PKG_template,OSIRISD,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
21 CONFIGURE_STYLE:= gnu
22 CONFIGURE_ENV+= ac_cv_openssldir="${STAGING_DIR}/usr" \
23 ac_cv_have_accrights_in_msghdr=no \
24 ac_cv_have_control_in_msghdr=yes
25 CONFIGURE_ARGS+= --with-osiris-user=root \
26 --with-root-dir=/var/lib/osiris \
27 --with-readline=no
28 BUILD_STYLE:= auto
29 INSTALL_STYLE:= auto
30 XAKE_FLAGS+= ar=${TARGET_CROSS}ar \
31 INTERACTIVE=0
32 TCFLAGS+= -DOPENSSL_NO_RIPEMD
34 post-configure:
35 (cd ${WRKDIST}/src/osirisd/modules && ./genmods.sh);
37 post-install:
38 ${INSTALL_DIR} ${IDIR_OSIRISD}/usr/sbin
39 ${INSTALL_BIN} ${WRKINST}/usr/sbin/osirisd \
40 ${IDIR_OSIRISD}/usr/sbin/
42 include ${TOPDIR}/mk/pkg-bottom.mk