]> git.immae.eu Git - perso/Immae/Config/AUR.git/commitdiff
Add 'naemon-livestatus/' from commit '402c6898ce76b399e8775b4caf46ce4279055b84'
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Thu, 14 Feb 2019 13:18:10 +0000 (14:18 +0100)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Thu, 14 Feb 2019 13:18:10 +0000 (14:18 +0100)
git-subtree-dir: naemon-livestatus
git-subtree-mainline: 872e3678865d0da64a2110b3595f47f0bf3f8ab0
git-subtree-split: 402c6898ce76b399e8775b4caf46ce4279055b84

19 files changed:
README.md [new file with mode: 0644]
cal3d/.SRCINFO [new file with mode: 0644]
cal3d/PKGBUILD [new file with mode: 0644]
cal3d/cal3d-gcc43.diff [new file with mode: 0644]
dash-static/.SRCINFO [new file with mode: 0644]
dash-static/PKGBUILD [new file with mode: 0644]
editline/.SRCINFO [new file with mode: 0644]
editline/PKGBUILD [new file with mode: 0644]
eternallands-music/.SRCINFO [new file with mode: 0644]
eternallands-music/PKGBUILD [new file with mode: 0644]
g3data/.SRCINFO [new file with mode: 0644]
g3data/PKGBUILD [new file with mode: 0644]
naemon-livestatus/.SRCINFO [moved from .SRCINFO with 100% similarity]
naemon-livestatus/PKGBUILD [moved from PKGBUILD with 100% similarity]
naemon/.SRCINFO [new file with mode: 0644]
naemon/PKGBUILD [new file with mode: 0644]
naemon/naemon-tmpfiles.conf [new file with mode: 0644]
naemon/naemon.install [new file with mode: 0644]
naemon/naemon.service [new file with mode: 0644]

diff --git a/README.md b/README.md
new file mode 100644 (file)
index 0000000..9c90e17
--- /dev/null
+++ b/README.md
@@ -0,0 +1 @@
+https://github.com/eli-schwartz/aurpublish
diff --git a/cal3d/.SRCINFO b/cal3d/.SRCINFO
new file mode 100644 (file)
index 0000000..8c32203
--- /dev/null
@@ -0,0 +1,20 @@
+# Generated by mksrcinfo v8
+# Thu Feb 14 10:53:58 UTC 2019
+pkgbase = cal3d
+       pkgdesc = A skeletal-based 3D character animation library
+       pkgver = 0.11.0
+       pkgrel = 7
+       url = https://mp3butcher.github.io/Cal3D/
+       arch = i686
+       arch = x86_64
+       license = GPL2
+       makedepends = patch
+       depends = gcc-libs
+       options = !libtool
+       source = https://mp3butcher.github.io/Cal3D/sources/cal3d-0.11.0.tar.gz
+       source = cal3d-gcc43.diff
+       sha512sums = 4dc4b36b8f18760bfe6f8c80cbd941c14e2ebe596d0cd514fdb1ae4175bf2706e125665272d67ff21d33bb4b34e7be22bad9c00d488c1da21f442550bf3f204f
+       sha512sums = 8f7694ac240a7cbfc198d8e481ab87901d0256defffb1601f68ef39463bf1471e29e13d147e9a6463113afa0e93f317c2ef99aa19633b4e597e6347c38a64f42
+
+pkgname = cal3d
+
diff --git a/cal3d/PKGBUILD b/cal3d/PKGBUILD
new file mode 100644 (file)
index 0000000..c7507da
--- /dev/null
@@ -0,0 +1,27 @@
+# Maintainer : Immae <ismael.bouya@normalesup.org>
+
+pkgname=cal3d
+pkgver=0.11.0
+pkgrel=7
+pkgdesc="A skeletal-based 3D character animation library"
+arch=(i686 x86_64)
+url="https://mp3butcher.github.io/Cal3D/"
+options=(!libtool)
+license=(GPL2)
+depends=('gcc-libs')
+makedepends=('patch')
+source=(https://mp3butcher.github.io/Cal3D/sources/cal3d-$pkgver.tar.gz cal3d-gcc43.diff)
+sha512sums=('4dc4b36b8f18760bfe6f8c80cbd941c14e2ebe596d0cd514fdb1ae4175bf2706e125665272d67ff21d33bb4b34e7be22bad9c00d488c1da21f442550bf3f204f'
+            '8f7694ac240a7cbfc198d8e481ab87901d0256defffb1601f68ef39463bf1471e29e13d147e9a6463113afa0e93f317c2ef99aa19633b4e597e6347c38a64f42')
+build() {
+  cd "${pkgname}-$pkgver"
+  patch -p0 < ../cal3d-gcc43.diff
+  sed -i -e "s/return false/return 0/" src/cal3d/loader.cpp
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "${pkgname}-$pkgver"
+  make DESTDIR=${pkgdir} install
+}
diff --git a/cal3d/cal3d-gcc43.diff b/cal3d/cal3d-gcc43.diff
new file mode 100644 (file)
index 0000000..fc61235
--- /dev/null
@@ -0,0 +1,53 @@
+--- src/cal3d/hardwaremodel.cpp
++++ src/cal3d/hardwaremodel.cpp
+@@ -24,6 +24,7 @@
+ #include "cal3d/coreskeleton.h"
+ #include "cal3d/skeleton.h"
++#include <string.h>
+  /*****************************************************************************/
+ /** Constructs the hardware model instance.
+--- src/cal3d/platform.cpp
++++ src/cal3d/platform.cpp
+@@ -18,6 +18,8 @@
+ #include "cal3d/platform.h"
++#include <string.h>
++
+  /*****************************************************************************/
+ /** Constructs the platform instance.
+   *
+--- src/cal3d/renderer.cpp
++++ src/cal3d/renderer.cpp
+@@ -29,6 +29,8 @@
+ #include "cal3d/coresubmesh.h"
+ #include "cal3d/physique.h"
++#include <string.h>
++
+  /*****************************************************************************/
+ /** Constructs the renderer instance.
+   *
+--- src/cal3d/submesh.cpp
++++ src/cal3d/submesh.cpp
+@@ -16,6 +16,7 @@
+ #include "cal3d/error.h"
+ #include "cal3d/coresubmesh.h"
++#include <string.h>
+ CalSubmesh::CalSubmesh(CalCoreSubmesh* coreSubmesh)
+ {
+--- src/cal3d_converter.cpp
++++ src/cal3d_converter.cpp
+@@ -11,6 +11,8 @@
+ #include "cal3d/cal3d.h"
++#include <strings.h>
++
+ #define SKELETON 0
+ #define MESH 1
+ #define ANIMATION 2
diff --git a/dash-static/.SRCINFO b/dash-static/.SRCINFO
new file mode 100644 (file)
index 0000000..91d2f0c
--- /dev/null
@@ -0,0 +1,14 @@
+# Generated by mksrcinfo v8
+# Thu Feb 14 11:27:03 UTC 2019
+pkgbase = dash-static
+       pkgdesc = POSIX compliant shell that aims to be as small as possible. Statically compiled
+       pkgver = 0.5.10.2
+       pkgrel = 1
+       url = http://gondor.apana.org.au/~herbert/dash/
+       arch = x86_64
+       license = BSD
+       source = http://gondor.apana.org.au/~herbert/dash/files/dash-0.5.10.2.tar.gz
+       sha512sums = 0ae29be77794df0ba254967649b9728611a75fbb3acd32ab6634d76399d1ce97c7d12d31da465482a7e4f3207093415c496c39525cace9b78ab3cb9444dd7640
+
+pkgname = dash-static
+
diff --git a/dash-static/PKGBUILD b/dash-static/PKGBUILD
new file mode 100644 (file)
index 0000000..9a9e1e7
--- /dev/null
@@ -0,0 +1,25 @@
+# Maintainer : Immae <ismael.bouya@normalesup.org>
+
+pkgname=dash-static
+pkgver=0.5.10.2
+pkgrel=1
+pkgdesc="POSIX compliant shell that aims to be as small as possible. Statically compiled"
+arch=('x86_64')
+url="http://gondor.apana.org.au/~herbert/dash/"
+license=('BSD')
+source=("http://gondor.apana.org.au/~herbert/dash/files/dash-${pkgver}.tar.gz")
+sha512sums=('0ae29be77794df0ba254967649b9728611a75fbb3acd32ab6634d76399d1ce97c7d12d31da465482a7e4f3207093415c496c39525cace9b78ab3cb9444dd7640')
+
+
+build () {
+  cd "dash-$pkgver"
+  export CC="gcc -static"
+  export CFLAGS="-Os -static"
+  ./configure --with-libedit
+  make
+}
+
+package() {
+  cd "dash-$pkgver"
+  install -Dm755 src/dash $pkgdir/usr/bin/dash-static
+}
diff --git a/editline/.SRCINFO b/editline/.SRCINFO
new file mode 100644 (file)
index 0000000..74852e6
--- /dev/null
@@ -0,0 +1,14 @@
+# Generated by mksrcinfo v8
+# Thu Feb 14 11:29:40 UTC 2019
+pkgbase = editline
+       pkgdesc = A readline() replacement for UNIX without termcap (ncurses)
+       pkgver = 1.15.3
+       pkgrel = 1
+       url = http://troglobit.com/editline.html
+       arch = x86_64
+       license = BSD
+       source = ftp://ftp.troglobit.com/editline/editline-1.15.3.tar.xz
+       sha512sums = 7566ba1616ec729fe6f60571b3ca3eef83fc9f12f530e8351976d16627ecc7fce81b7d620218ffa8a853d95fbbb397477e59dbc2dd113505ce27f790df2a7a38
+
+pkgname = editline
+
diff --git a/editline/PKGBUILD b/editline/PKGBUILD
new file mode 100644 (file)
index 0000000..4c6086a
--- /dev/null
@@ -0,0 +1,26 @@
+# Maintainer : Immae <ismael.bouya@normalesup.org>
+
+pkgname=editline
+pkgver=1.15.3
+pkgrel=1
+pkgdesc="A readline() replacement for UNIX without termcap (ncurses)"
+arch=('x86_64')
+url="http://troglobit.com/editline.html"
+license=('BSD')
+source=("ftp://ftp.troglobit.com/editline/${pkgname}-${pkgver}.tar.xz")
+sha512sums=('7566ba1616ec729fe6f60571b3ca3eef83fc9f12f530e8351976d16627ecc7fce81b7d620218ffa8a853d95fbbb397477e59dbc2dd113505ce27f790df2a7a38')
+
+
+build () {
+  cd "$pkgname-$pkgver"
+  ./configure --prefix=/usr \
+              --sysconfdir=/etc \
+              --enable-gc
+  make
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+  mv $pkgdir/usr/share/man/man3/editline.3 $pkgdir/usr/share/man/man3/editline-troglobit.3
+}
diff --git a/eternallands-music/.SRCINFO b/eternallands-music/.SRCINFO
new file mode 100644 (file)
index 0000000..a6b6c59
--- /dev/null
@@ -0,0 +1,17 @@
+# Generated by mksrcinfo v8
+# Thu Feb 14 10:57:13 UTC 2019
+pkgbase = eternallands-music
+       pkgdesc = Music files for Eternal Lands
+       pkgver = 1.5.0
+       pkgrel = 1
+       url = http://www.eternal-lands.com/
+       arch = i686
+       arch = x86_64
+       license = custom:eternallands
+       makedepends = unzip
+       depends = eternallands>=1.5.0
+       source = http://www.gm.fh-koeln.de/~linke/EL-Downloads/EL_music_full.zip
+       sha512sums = dbd24cb20331d3640b3a5891faaf88aa0e71ba0564dfde347f2ea0fcb7e0f2700f1324ee8e988c551efb943183bbc823d4ee0373ed2b1f6d0300df76e25a524c
+
+pkgname = eternallands-music
+
diff --git a/eternallands-music/PKGBUILD b/eternallands-music/PKGBUILD
new file mode 100644 (file)
index 0000000..afce34c
--- /dev/null
@@ -0,0 +1,27 @@
+# Maintainer : Immae <ismael.bouya@normalesup.org>
+# Contributor: Nayden Pendov <darkwolf1984@gmail.com>
+
+pkgname=eternallands-music
+pkgver=1.5.0
+pkgrel=1
+pkgdesc="Music files for Eternal Lands"
+url="http://www.eternal-lands.com/"
+depends=('eternallands>=1.5.0')
+makedepends=('unzip')
+license=('custom:eternallands')
+arch=('i686' 'x86_64')
+source=('http://www.gm.fh-koeln.de/~linke/EL-Downloads/EL_music_full.zip')
+sha512sums=('dbd24cb20331d3640b3a5891faaf88aa0e71ba0564dfde347f2ea0fcb7e0f2700f1324ee8e988c551efb943183bbc823d4ee0373ed2b1f6d0300df76e25a524c')
+
+package()
+{
+  cd $srcdir
+  mkdir music
+  mv *.ogg music/
+  mv *.pll music/
+
+  #Install music files
+  mkdir -p $pkgdir/usr/share/eternallands
+  cp -R music $pkgdir/usr/share/eternallands/
+}
+
diff --git a/g3data/.SRCINFO b/g3data/.SRCINFO
new file mode 100644 (file)
index 0000000..5d5fae0
--- /dev/null
@@ -0,0 +1,16 @@
+# Generated by mksrcinfo v8
+# Thu Feb 14 10:50:57 UTC 2019
+pkgbase = g3data
+       pkgdesc = A tool for extracting data from scanned graphs.
+       pkgver = 1.5.4
+       pkgrel = 1
+       url = https://github.com/pn2200/g3data
+       arch = i686
+       arch = x86_64
+       license = GPL2
+       depends = gtk2>=2.6
+       source = https://github.com/downloads/pn2200/g3data/g3data-1.5.4.tar.gz
+       sha512sums = b4651eb6ba87ddb745c46520ccf2d7146d179e69a614d7c6c247b82eaf188b30e955d60e7df59419f63a304a5c5215829d3bea3cc233d2729ff599c523d852e2
+
+pkgname = g3data
+
diff --git a/g3data/PKGBUILD b/g3data/PKGBUILD
new file mode 100644 (file)
index 0000000..e4d76e6
--- /dev/null
@@ -0,0 +1,27 @@
+# Maintainer : Immae <ismael.bouya@normalesup.org>
+# Contributor: <clu>
+# Contributor: Dominik Fuchs <dominik.fuchs@wur.nl>
+# Contributor: Michele Vascellari
+
+pkgname=g3data
+pkgver=1.5.4
+pkgrel=1
+pkgdesc="A tool for extracting data from scanned graphs."
+arch=('i686' 'x86_64')
+url="https://github.com/pn2200/g3data"
+license=('GPL2')
+depends=('gtk2>=2.6')
+makedepends=()
+source=(https://github.com/downloads/pn2200/${pkgname}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('b4651eb6ba87ddb745c46520ccf2d7146d179e69a614d7c6c247b82eaf188b30e955d60e7df59419f63a304a5c5215829d3bea3cc233d2729ff599c523d852e2')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  ./configure --prefix=${pkgdir}/usr
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make install
+}
similarity index 100%
rename from .SRCINFO
rename to naemon-livestatus/.SRCINFO
similarity index 100%
rename from PKGBUILD
rename to naemon-livestatus/PKGBUILD
diff --git a/naemon/.SRCINFO b/naemon/.SRCINFO
new file mode 100644 (file)
index 0000000..49a36ad
--- /dev/null
@@ -0,0 +1,31 @@
+# Generated by mksrcinfo v8
+# Thu Feb 14 12:35:45 UTC 2019
+pkgbase = naemon
+       pkgdesc = System and network monitoring application
+       pkgver = 1.0.9
+       pkgrel = 1
+       url = http://naemon.org
+       install = naemon.install
+       arch = i686
+       arch = x86_64
+       license = GPL2
+       makedepends = gperf
+       makedepends = help2man
+       depends = icu
+       depends = glib2
+       optdepends = logrotate
+       optdepends = thruk: Web interface for Naemon
+       optdepends = naemon-livestatus: Event broker
+       optdepends = monitoring-plugins
+       backup = etc/logrotate.d/naemon
+       backup = etc/naemon/naemon.cfg
+       backup = etc/naemon/resource.cfg
+       source = http://labs.consol.de/naemon/release/v1.0.9/src/naemon-1.0.9.tar.gz
+       source = naemon-tmpfiles.conf
+       source = naemon.service
+       sha512sums = cf2a359a7fcf95a7668f8db35ccd23ad607c05cd85f51a9488cc183a2683da1ba9c7b0a7303d9f03825fbd13103372944267f2a99c10280004c51669e6343793
+       sha512sums = 756e61e4da56ce614824c3b289d2ee0f4464bf5bcd868dcadbf31c3320967e0179aa6c5aedc16e4bb40c480ab2da8ab08c43e750168e86963a9cd552db01ea1d
+       sha512sums = 28944f2bd918c0718496ce490d0c2da97a127f71cfb23348620cb6c86fc88e206a07409d32dc8c9a9b5b2d1a8106b400c3e1edf3a6b7aca30ac125a38ebed3b2
+
+pkgname = naemon
+
diff --git a/naemon/PKGBUILD b/naemon/PKGBUILD
new file mode 100644 (file)
index 0000000..fdcf283
--- /dev/null
@@ -0,0 +1,82 @@
+# Maintainer: Immae <ismael.bouya@normalesup.org>
+# Contributor: Jonathan Steel <jsteel at archlinux.org>
+
+pkgname=naemon
+pkgver=1.0.9
+pkgrel=1
+pkgdesc="System and network monitoring application"
+arch=('i686' 'x86_64')
+url="http://naemon.org"
+license=('GPL2')
+depends=('icu' 'glib2')
+optdepends=('logrotate'
+            'thruk: Web interface for Naemon'
+            'naemon-livestatus: Event broker'
+            'monitoring-plugins')
+makedepends=('gperf' 'help2man')
+source=(http://labs.consol.de/naemon/release/v$pkgver/src/$pkgname-$pkgver.tar.gz
+        $pkgname-tmpfiles.conf
+        $pkgname.service)
+sha512sums=('cf2a359a7fcf95a7668f8db35ccd23ad607c05cd85f51a9488cc183a2683da1ba9c7b0a7303d9f03825fbd13103372944267f2a99c10280004c51669e6343793'
+            '756e61e4da56ce614824c3b289d2ee0f4464bf5bcd868dcadbf31c3320967e0179aa6c5aedc16e4bb40c480ab2da8ab08c43e750168e86963a9cd552db01ea1d'
+            '28944f2bd918c0718496ce490d0c2da97a127f71cfb23348620cb6c86fc88e206a07409d32dc8c9a9b5b2d1a8106b400c3e1edf3a6b7aca30ac125a38ebed3b2')
+backup=('etc/logrotate.d/naemon'
+        'etc/naemon/naemon.cfg'
+        'etc/naemon/resource.cfg')
+install=$pkgname.install
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  ./configure --prefix=/usr \
+              --bindir=/usr/bin \
+              --datadir="/usr/share/naemon" \
+              --libdir="/usr/lib/naemon" \
+              --localstatedir="/var/lib/naemon" \
+              --sysconfdir="/etc/naemon" \
+              --with-pkgconfdir="/etc/naemon" \
+              --mandir="/usr/share/man" \
+              --with-pluginsdir="/usr/lib/monitoring-plugins" \
+              --with-tempdir="/var/cache/naemon" \
+              --with-checkresultdir="/var/cache/naemon/checkresults" \
+              --with-logdir="/var/log/naemon" \
+              --with-initdir="/etc/init.d" \
+              --with-logrotatedir="/etc/logrotate.d" \
+              --with-naemon-user="naemon" \
+              --with-naemon-group="naemon" \
+              --with-lockfile="/run/naemon/naemon.pid"
+
+  make
+}
+
+check() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  # One of the tests fail for some reason, upstream notified.
+  make check || true
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  make DESTDIR="$pkgdir" install
+
+  install -d "$pkgdir"/etc/naemon/module-conf.d
+
+  rm -rf "$pkgdir"/var/{cache,log}
+
+  install -dm755 "$pkgdir"/var/lib/naemon
+  install -Dm644 "$srcdir"/$pkgname.service \
+    "$pkgdir"/usr/lib/systemd/system/$pkgname.service
+
+  # Move sample config files
+  install -dm755 "$pkgdir"/user/share/doc/naemon
+  mv "$pkgdir"/etc/naemon/conf.d "$pkgdir"/user/share/doc/naemon/
+  install -d "$pkgdir"/etc/naemon/conf.d/templates
+
+  # Remove non-Arch directories
+  rm -rf "$pkgdir"/etc/init.d
+  rm -rf "$pkgdir"/etc/apache2
+
+  install -Dm644 "$srcdir"/naemon-tmpfiles.conf "$pkgdir"/usr/lib/tmpfiles.d/naemon.conf
+}
diff --git a/naemon/naemon-tmpfiles.conf b/naemon/naemon-tmpfiles.conf
new file mode 100644 (file)
index 0000000..a7d9d86
--- /dev/null
@@ -0,0 +1,9 @@
+D /var/run/naemon 0770 naemon naemon -
+D /var/cache/naemon 0770 naemon naemon -
+D /var/cache/naemon/checkresults 0770 naemon naemon -
+D /var/lib/naemon/spool 0775 naemon naemon -
+D /var/lib/naemon/spool/checkresults 0775 naemon naemon -
+D /var/lib/naemon/thruk 0775 naemon naemon -
+D /var/lib/naemon/perl5 0775 naemon naemon -
+D /var/log/naemon 0770 naemon naemon -
+D /var/log/naemon/archives 0770 naemon naemon -
diff --git a/naemon/naemon.install b/naemon/naemon.install
new file mode 100644 (file)
index 0000000..c32c848
--- /dev/null
@@ -0,0 +1,21 @@
+post_install() {
+  getent group naemon &> /dev/null || groupadd -r naemon -g 44
+  getent passwd naemon &> /dev/null || useradd -r -u 44 -g naemon \
+    -d /var/lib/naemon -s /usr/bin/false -c "Naemon" naemon
+
+  chown naemon:naemon /var/lib/naemon
+  chown -R naemon:naemon /etc/naemon
+  /usr/bin/systemd-tmpfiles --create naemon.conf
+}
+
+pre_remove() {
+  if [[ -f /run/naemon/naemon.pid ]]; then
+    systemctl stop naemon
+  fi
+  /usr/bin/systemd-tmpfiles --remove naemon.conf
+
+  userdel naemon &> /dev/null
+  groupdel naemon &> /dev/null
+
+  rm -rf /var/lib/naemon
+}
diff --git a/naemon/naemon.service b/naemon/naemon.service
new file mode 100644 (file)
index 0000000..0c3a0da
--- /dev/null
@@ -0,0 +1,18 @@
+[Unit]
+Description=Naemon Monitoring Daemon
+Documentation=http://naemon.org/documentation
+After=network.target
+
+[Service]
+Type=forking
+PIDFile=/run/naemon/naemon.pid
+ExecStartPre=/usr/bin/naemon -vp /etc/naemon/naemon.cfg
+ExecStart=/usr/bin/naemon --daemon /etc/naemon/naemon.cfg
+ExecReload=/bin/kill -HUP $MAINPID
+User=naemon
+Group=naemon
+StandardOutput=journal
+StandardError=inherit
+
+[Install]
+WantedBy=multi-user.target