Makefile 1.2 KB

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