summaryrefslogtreecommitdiff
path: root/package/osiris
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-05-30 20:39:07 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-05-30 20:39:07 +0200
commitba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd (patch)
tree10c726d162bc0ded85eb7aeacf8f246bd39ad63a /package/osiris
parentbbd610f15a71b27c955175cb98392b114717fd47 (diff)
optimize ipkg package management
- generate ipkg control file from PKG_* variables - automatically install init scripts from ./files/*.init set #PKG pkgname to set the binary package - rename FWINIT -> INIT - move postinst and conffiles meta data to ./files - update the packages to the latest upstream version - remove some unready or unused package (strongswan,..) more cleanups needed after allmodconfig
Diffstat (limited to 'package/osiris')
-rw-r--r--package/osiris/Makefile11
-rw-r--r--package/osiris/files/osirisd.init4
-rw-r--r--package/osiris/files/osirisd.postinst (renamed from package/osiris/ipkg/osirisd.postinst)0
-rw-r--r--package/osiris/ipkg/osirisd.control5
4 files changed, 9 insertions, 11 deletions
diff --git a/package/osiris/Makefile b/package/osiris/Makefile
index 62a372ad3..e7d8504e9 100644
--- a/package/osiris/Makefile
+++ b/package/osiris/Makefile
@@ -9,11 +9,15 @@ PKG_NAME:= osiris
PKG_VERSION:= 4.2.3
PKG_RELEASE:= 1
PKG_MD5SUM:= 1951c7dc0fe729af9ffaf58910340d12
-MASTER_SITES:= http://osiris.shmoo.com/data/
+PKG_DESCR:= Host Integrity Monitoring System (scanning agent)
+PKG_SECTION:= admin
+PKG_DEPENDS:= libopenssl libpthread
+PKG_URL:= http://osiris.shmoo.com
+PKG_SITES:= http://osiris.shmoo.com/data/
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,OSIRISD,osirisd,${PKG_VERSION}-${PKG_RELEASE}))
+$(eval $(call PKG_template,OSIRISD,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
CONFIGURE_STYLE:= gnu
CONFIGURE_ENV+= ac_cv_openssldir="${STAGING_DIR}/usr" \
@@ -32,10 +36,7 @@ post-configure:
(cd ${WRKDIST}/src/osirisd/modules && ./genmods.sh);
post-install:
- ${INSTALL_DIR} ${IDIR_OSIRISD}/etc/init.d
${INSTALL_DIR} ${IDIR_OSIRISD}/usr/sbin
- ${INSTALL_BIN} ./files/osirisd.init \
- ${IDIR_OSIRISD}/etc/init.d/osirisd
${INSTALL_BIN} ${WRKINST}/usr/sbin/osirisd \
${IDIR_OSIRISD}/usr/sbin/
diff --git a/package/osiris/files/osirisd.init b/package/osiris/files/osirisd.init
index 4172f702a..6d6b4d443 100644
--- a/package/osiris/files/osirisd.init
+++ b/package/osiris/files/osirisd.init
@@ -1,5 +1,7 @@
#!/bin/sh
-#FWINIT 75
+#PKG osirisd
+#INIT 75
+
. /etc/rc.conf
case $1 in
diff --git a/package/osiris/ipkg/osirisd.postinst b/package/osiris/files/osirisd.postinst
index 04e53ac93..04e53ac93 100644
--- a/package/osiris/ipkg/osirisd.postinst
+++ b/package/osiris/files/osirisd.postinst
diff --git a/package/osiris/ipkg/osirisd.control b/package/osiris/ipkg/osirisd.control
deleted file mode 100644
index defe7c356..000000000
--- a/package/osiris/ipkg/osirisd.control
+++ /dev/null
@@ -1,5 +0,0 @@
-Package: osirisd
-Priority: optional
-Section: admin
-Depends: libopenssl, libpthread
-Description: an Host Integrity Monitoring System (scanning agent)