Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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_BUILDDEP+= openssl
  8. PKG_MD5SUM:= 1951c7dc0fe729af9ffaf58910340d12
  9. PKG_DESCR:= Host Integrity Monitoring System (scanning agent)
  10. PKG_SECTION:= admin
  11. PKG_DEPENDS:= libopenssl libpthread
  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_STYLE:= gnu
  17. CONFIGURE_ENV+= ac_cv_openssldir="${STAGING_DIR}/usr" \
  18. ac_cv_have_accrights_in_msghdr=no \
  19. ac_cv_have_control_in_msghdr=yes
  20. CONFIGURE_ARGS+= --with-osiris-user=root \
  21. --with-root-dir=/var/lib/osiris \
  22. --with-readline=no
  23. BUILD_STYLE:= auto
  24. INSTALL_STYLE:= auto
  25. XAKE_FLAGS+= ar=${TARGET_CROSS}ar \
  26. INTERACTIVE=0
  27. TCFLAGS+= -DOPENSSL_NO_RIPEMD
  28. post-configure:
  29. (cd ${WRKDIST}/src/osirisd/modules && ./genmods.sh);
  30. post-install:
  31. ${INSTALL_DIR} ${IDIR_OSIRISD}/usr/sbin
  32. ${INSTALL_BIN} ${WRKINST}/usr/sbin/osirisd \
  33. ${IDIR_OSIRISD}/usr/sbin/
  34. include ${TOPDIR}/mk/pkg-bottom.mk