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