diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-05-30 20:39:07 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-05-30 20:39:07 +0200 |
commit | ba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd (patch) | |
tree | 10c726d162bc0ded85eb7aeacf8f246bd39ad63a /package/monit/Makefile | |
parent | bbd610f15a71b27c955175cb98392b114717fd47 (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/monit/Makefile')
-rw-r--r-- | package/monit/Makefile | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/package/monit/Makefile b/package/monit/Makefile index 7a6f2dfd9..68ef0e683 100644 --- a/package/monit/Makefile +++ b/package/monit/Makefile @@ -6,19 +6,24 @@ include ${TOPDIR}/rules.mk PKG_NAME:= monit -PKG_VERSION:= 4.10.1 +PKG_VERSION:= 5.0.3 PKG_RELEASE:= 1 -PKG_MD5SUM:= d3143b0bbd79b53f1b019d2fc1dae656 -MASTER_SITES:= http://www.tildeslash.com/monit/dist/ +PKG_MD5SUM:= dae7859ec10551fc941daeae60dee9d3 +PKG_DESCR:= An utility for system services monitoring +PKG_SECTION:= admin +PKG_DEPENDS:= libpthread +PKG_URL:= http://mmonit.com/monit +PKG_SITES:= http://www.tildeslash.com/monit/dist/ include ${TOPDIR}/mk/package.mk -$(eval $(call PKG_template,MONIT,monit,${PKG_VERSION}-${PKG_RELEASE})) +ifeq ($(ADK_COMPILE_MONIT_WITH_SSL),y) +PKG_DEPENDS+= libopenssl +endif -PKG_DEPENDS:= libpthread, +$(eval $(call PKG_template,MONIT,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) ifeq ($(ADK_COMPILE_MONIT_WITH_SSL),y) -PKG_DEPENDS+= libopenssl CONFIGURE_ARGS+= --with-ssl --with-ssl-dir="${STAGING_DIR}/usr" else CONFIGURE_ARGS+= --without-ssl @@ -31,10 +36,7 @@ INSTALL_STYLE:= auto post-install: ${INSTALL_DIR} ${IDIR_MONIT}/etc install -m0600 ${WRKBUILD}/monitrc ${IDIR_MONIT}/etc/ - ${INSTALL_DIR} ${IDIR_MONIT}/etc/init.d - ${INSTALL_BIN} ./files/monit.init ${IDIR_MONIT}/etc/init.d/monit ${INSTALL_DIR} ${IDIR_MONIT}/usr/sbin ${INSTALL_BIN} ${WRKBUILD}/monit ${IDIR_MONIT}/usr/sbin/monit - echo 'Depends: ${PKG_DEPENDS}' >>${IDIR_MONIT}/CONTROL/control include ${TOPDIR}/mk/pkg-bottom.mk |