source: packages/admin/osiris/Makefile @ 28889

Last change on this file since 28889 was 28889, checked in by nico, 5 years ago

packages/osiris: use new service functions, set /var/lib/osiris perms

  • Property copyright set to Copyright (C) 2006 OpenWrt.org
  • Property licence set to GPLv2
  • Property svn:eol-style set to native
File size: 1.2 KB
Line 
1#
2# Copyright (C) 2006-2011 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=osiris
11PKG_VERSION:=4.2.3
12PKG_RELEASE:=3
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15PKG_SOURCE_URL:=http://osiris.shmoo.com/data/
16PKG_MD5SUM:=1951c7dc0fe729af9ffaf58910340d12
17
18PKG_FIXUP:=libtool
19PKG_LIBTOOL_PATHS:=src/db-4.2.52/build_unix
20PKG_INSTALL:=1
21PKG_BUILD_PARALLEL:=1
22
23include $(INCLUDE_DIR)/package.mk
24
25define Package/osirisd
26  SECTION:=admin
27  CATEGORY:=Administration
28  DEPENDS:=+libopenssl +libpthread
29  TITLE:=Host integrity monitoring system (scanning agent)
30  URL:=http://osiris.shmoo.com/
31endef
32
33CONFIGURE_ARGS += \
34        --with-osiris-user=root \
35        --with-root-dir=/var/lib/osiris \
36        --with-readline=no, \
37        ac_cv_openssldir="$(STAGING_DIR)/usr"
38
39MAKE_FLAGS += \
40                DESTDIR="$(PKG_INSTALL_DIR)" \
41                INTERACTIVE=0
42
43define Package/osirisd/install
44        $(INSTALL_DIR) $(1)/usr/sbin
45        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/osirisd $(1)/usr/sbin/
46        $(INSTALL_DIR) $(1)/etc/init.d
47        $(INSTALL_BIN) ./files/osirisd.init $(1)/etc/init.d/osirisd
48endef
49
50$(eval $(call BuildPackage,osirisd))
Note: See TracBrowser for help on using the repository browser.