wok view collectd-bind/receipt @ rev 25678
Patch ghostscript CVE-2023-36664
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Mar 08 14:12:03 2024 +0100 (5 months ago) |
parents | a92b20152ab0 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="collectd-bind"
4 SOURCE="collectd"
5 VERSION="5.12.0"
6 CATEGORY="network"
7 SHORT_DESC="Apache plugin for Collectd"
8 MAINTAINER="erjo@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="http://collectd.org"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WGET_URL="https://github.com/collectd/collectd/releases/download/$SOURCE-$VERSION/$TARBALL"
14 #CONFIG_FILES="/etc/collectd/collectd.conf"
16 DEPENDS="libcurl libxml2"
17 BUILD_DEPENDS="libcurl curl-dev libxml2 libxml2-dev"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
23 sed '/rc[0-9]/d;/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 --prefix=/usr \
31 --localstatedir=/var \
32 --enable-bind \
33 --disable-all-plugins \
34 --sysconfdir=/etc/collectd \
35 $CONFIGURE_ARGS &&
36 make &&
37 make DESTDIR=$DESTDIR install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/lib/collectd
44 cp -a $install/usr/lib/collectd/bind.so* $fs/usr/lib/collectd
45 }