summaryrefslogtreecommitdiff
path: root/package/osiris/Makefile
blob: 0c5295563438c8d6e1dd489b6706efa031afd6b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include ${TOPDIR}/rules.mk

PKG_NAME:=		osiris
PKG_VERSION:=		4.2.3
PKG_RELEASE:=		1
PKG_MD5SUM:=		1951c7dc0fe729af9ffaf58910340d12
PKG_DESCR:=		Host Integrity Monitoring System (scanning agent)
PKG_SECTION:=		admin
PKG_DEPENDS:=		libopenssl libpthread
PKG_BUILDDEP:=		openssl
PKG_URL:=		http://osiris.shmoo.com/
PKG_SITES:=		http://osiris.shmoo.com/data/

include ${TOPDIR}/mk/package.mk

$(eval $(call PKG_template,OSIRIS,osiris,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

CONFIGURE_ENV+=		ac_cv_openssldir="${STAGING_TARGET_DIR}/usr" \
			ac_cv_have_accrights_in_msghdr=no \
			ac_cv_have_control_in_msghdr=yes
CONFIGURE_ARGS+=	--with-osiris-user=root \
			--with-root-dir=/var/lib/osiris \
			--with-readline=no
XAKE_FLAGS+=		ar=${TARGET_CROSS}ar \
			INTERACTIVE=0
TARGET_CFLAGS+=		-DOPENSSL_NO_RIPEMD

post-configure:
	(cd ${WRKDIST}/src/osirisd/modules && ./genmods.sh);

osiris-install:
	${INSTALL_DIR} ${IDIR_OSIRIS}/usr/sbin
	${INSTALL_BIN} ${WRKINST}/usr/sbin/osirisd \
		${IDIR_OSIRIS}/usr/sbin/

include ${TOPDIR}/mk/pkg-bottom.mk