netdata.paketlendi

This commit is contained in:
milisbir 2017-08-07 12:43:12 +03:00
parent f12229bc22
commit 5a0e8fb25e
2 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,16 @@
# Description: Genişletilmiş hesap altyapısına bağlantı sağlayan kütüphane
# URL: https://www.netfilter.org/projects/libnetfilter_acct/
# Packager: milisarge
# Depends on: libnfnetlink libmnl
name=libnetfilter_acct
version=1.0.3
release=1
source=(http://www.netfilter.org/projects/libnetfilter_acct/files/$name-$version.tar.bz2)
build() {
cd $name-$version
./configure --prefix=/usr
make
make DESTDIR="$PKG" install
}

View File

@ -0,0 +1,25 @@
# Description: Web tabanlı gerçek zamanlı sistem performans izleyici uygulaması
# URL: https://github.com/firehol/netdata/wiki
# Packager: milisarge
# Depends on: libmnl libnetfilter_acct
name=netdata
version=1.7.0
release=1
source=(https://github.com/firehol/netdata/releases/download/v${version}/netdata-${version}.tar.xz)
build(){
cd $name-$version
./configure \
--prefix="/usr" \
--sbindir="/usr/bin" \
--sysconfdir="/etc" \
--libexecdir="/usr/lib" \
--localstatedir="/var" \
--with-zlib --with-math --with-user=netdata
make
make DESTDIR=$PKG install
touch "$PKG/etc/netdata/netdata.conf"
install -Dm0644 "system/netdata.logrotate" "$PKG/etc/logrotate.d/netdata"
}