wok-6.x rev 24659

updated icinga (1.2.1 -> 1.14.2)
author Hans-G?nter Theisgen
date Fri Mar 11 09:30:17 2022 +0100 (2022-03-11)
parents 997c40094d11
children 7de87766c29c
files icinga/receipt
line diff
     1.1 --- a/icinga/receipt	Fri Mar 11 09:23:49 2022 +0100
     1.2 +++ b/icinga/receipt	Fri Mar 11 09:30:17 2022 +0100
     1.3 @@ -1,17 +1,20 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="icinga"
     1.7 -VERSION="1.2.1"
     1.8 +VERSION="1.14.2"
     1.9  CATEGORY="system-tools"
    1.10 -SHORT_DESC="Open Source host, service and network monitoring program"
    1.11 +SHORT_DESC="Open Source host, service and network monitoring program."
    1.12  MAINTAINER="erjo@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="https://icinga.com"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://www.icinga.org"
    1.18 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.19 +WGET_URL="https://github.com/$PACKAGE/$PACKAGE-core/archive/v$VERSION/$TARBALL"
    1.20  
    1.21 -DEPENDS=""
    1.22 -BUILD_DEPENDS=""
    1.23 +DEPENDS="libdbi"
    1.24 +BUILD_DEPENDS="libdbi-dev"
    1.25 +
    1.26 +CONFIG_FILES="/etc/icinga/icinga.cfg"
    1.27  
    1.28  # What is the latest version available today?
    1.29  current_version()
    1.30 @@ -24,36 +27,34 @@
    1.31  compile_rules()
    1.32  {
    1.33  	cd $src
    1.34 -	./configure \
    1.35 -		--prefix=/usr \
    1.36 -		--datadir=/usr/share/icinga \
    1.37 -		--with-htmurl=/icinga \
    1.38 -		--with-lockfile=/var/run/icinga.pid \
    1.39 -		--with-icinga-user=nobody \
    1.40 -		--with-icinga-group=nogroup \
    1.41 -		--with-command-user=nobody \
    1.42 -		--with-command-group=www \
    1.43 -		--exec-prefix=/usr/bin \
    1.44 -		--bindir=/usr/bin \
    1.45 -		--sbindir=/usr/lib/icinga/cgi \
    1.46 -		--libexecdir=/usr/lib/icinga/plugins \
    1.47 -		--datadir=/usr/share/icinga \
    1.48 -		--sysconfdir=/etc/icinga \
    1.49 -		--localstatedir=/var/log/icinga \
    1.50 -		--with-mail=/usr/bin/mailx \
    1.51 +	./configure					\
    1.52 +		--prefix=/usr				\
    1.53 +		--exec-prefix=/usr/bin			\
    1.54 +		--bindir=/usr/bin			\
    1.55 +		--sbindir=/usr/lib/icinga/cgi		\
    1.56 +		--libexecdir=/usr/lib/icinga/plugins	\
    1.57 +		--datadir=/usr/share/icinga		\
    1.58 +		--localstatedir=/var/log/icinga		\
    1.59 +		--sysconfdir=/etc/icinga		\
    1.60 +		--with-command-group=www		\
    1.61 +		--with-command-user=nobody		\
    1.62 +		--with-htmurl=/icinga			\
    1.63 +		--with-icinga-group=nogroup		\
    1.64 +		--with-icinga-user=nobody		\
    1.65 +		--with-lockfile=/var/run/icinga.pid	\
    1.66 +		--with-mail=/usr/bin/mailx		\
    1.67  		$CONFIGURE_ARGS &&
    1.68 -	make all && \
    1.69 -	make DESTDIR=$DESTDIR install \
    1.70 -	    install-commandmode \
    1.71 -		install-config \
    1.72 -		install-webconf \
    1.73 -		install-idoutils \
    1.74 -		install-api
    1.75 +	make	all &&
    1.76 +	make	install &&
    1.77 +	make	install-api &&
    1.78 +	make	install-commandmode &&
    1.79 +	make	install-config &&
    1.80 +	make	install-idoutils &&
    1.81 +	make	install-webconf &&
    1.82  }
    1.83  
    1.84  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.85  genpkg_rules()
    1.86  {
    1.87 -	mkdir -p $fs/usr/share/icinga
    1.88 -	cp -a $install/usr/bin $fs/usr
    1.89 +	cook_copy_folders	bin
    1.90  }