Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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_BUILDDEP:= openssl
  12. PKG_URL:= http://osiris.shmoo.com/
  13. PKG_SITES:= http://osiris.shmoo.com/data/
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,OSIRISD,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIGURE_ENV+= ac_cv_openssldir="${STAGING_TARGET_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. XAKE_FLAGS+= ar=${TARGET_CROSS}ar \
  23. INTERACTIVE=0
  24. TARGET_CFLAGS+= -DOPENSSL_NO_RIPEMD
  25. post-configure:
  26. (cd ${WRKDIST}/src/osirisd/modules && ./genmods.sh);
  27. post-install:
  28. ${INSTALL_DIR} ${IDIR_OSIRISD}/usr/sbin
  29. ${INSTALL_BIN} ${WRKINST}/usr/sbin/osirisd \
  30. ${IDIR_OSIRISD}/usr/sbin/
  31. include ${TOPDIR}/mk/pkg-bottom.mk