Makefile 1.2 KB

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