Merge pull request #21710 from Lankaster/openwrt-main-monit
monit: update to 5.33.0
This commit is contained in:
commit
f01fcc928c
2 changed files with 11 additions and 25 deletions
|
@ -8,19 +8,18 @@
|
|||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=monit
|
||||
PKG_VERSION:=5.26.0
|
||||
PKG_RELEASE:=2
|
||||
PKG_VERSION:=5.33.0
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://mmonit.com/monit/dist
|
||||
PKG_HASH:=87fc4568a3af9a2be89040efb169e3a2e47b262f99e78d5ddde99dd89f02f3c2
|
||||
PKG_SOURCE_URL:=https://bitbucket.org/tildeslash/monit/downloads/
|
||||
PKG_HASH:=1ace889c0183473a9d70160df6533bb6e1338dc1354f5928507803e1e2a863b5
|
||||
|
||||
PKG_MAINTAINER:=Etienne CHAMPETIER <champetier.etienne@gmail.com>
|
||||
PKG_MAINTAINER:=Yaroslav Petrov <info@lank.me>
|
||||
PKG_LICENSE:=AGPL-3.0
|
||||
PKG_LICENSE_FILES:=COPYING
|
||||
PKG_CPE_ID:=cpe:/a:tildeslash:monit
|
||||
|
||||
PKG_FIXUP:=libtool
|
||||
PKG_INSTALL:=1
|
||||
PKG_BUILD_PARALLEL:=1
|
||||
|
||||
|
@ -78,6 +77,11 @@ ifeq ($(BUILD_VARIANT),nossl)
|
|||
--without-ssl
|
||||
endif
|
||||
|
||||
define Build/Prepare
|
||||
$(Build/Prepare/Default)
|
||||
(cd $(PKG_BUILD_DIR) && ./bootstrap)
|
||||
endef
|
||||
|
||||
define Package/monit/conffiles
|
||||
/etc/monitrc
|
||||
endef
|
||||
|
|
|
@ -1,24 +1,6 @@
|
|||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -14436,14 +14436,7 @@ fi
|
||||
# Find the right directory to put the root-mode PID file in
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pid file location" >&5
|
||||
$as_echo_n "checking pid file location... " >&6; }
|
||||
-if test -d "/run"
|
||||
-then
|
||||
- piddir="/run"
|
||||
-elif test -d "/var/run"; then
|
||||
- piddir="/var/run"
|
||||
-elif test -d "/etc"; then
|
||||
- piddir="/etc"
|
||||
-fi
|
||||
+piddir="/var/run"
|
||||
|
||||
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -501,14 +501,7 @@ fi
|
||||
@@ -477,14 +477,7 @@ AC_ARG_WITH(ipv6,
|
||||
|
||||
# Find the right directory to put the root-mode PID file in
|
||||
AC_MSG_CHECKING([pid file location])
|
||||
|
|
Loading…
Reference in a new issue