diff options
37 files changed, 1036 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..bc16386 --- /dev/null +++ b/.gitignore | |||
@@ -0,0 +1,5 @@ | |||
1 | /*/pkg/ | ||
2 | /*/src/ | ||
3 | /*/*.tar.?z | ||
4 | /*/*.zip | ||
5 | /*/*-git/ | ||
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/.SRCINFO b/editline/.SRCINFO index 9f97c8c..9f97c8c 100644 --- a/.SRCINFO +++ b/editline/.SRCINFO | |||
diff --git a/PKGBUILD b/editline/PKGBUILD index 5865c5f..5865c5f 100644 --- a/PKGBUILD +++ b/editline/PKGBUILD | |||
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..b60f11a --- /dev/null +++ b/naemon-livestatus/.SRCINFO | |||
@@ -0,0 +1,16 @@ | |||
1 | pkgbase = naemon-livestatus | ||
2 | pkgdesc = Event broker for naemon | ||
3 | pkgver = 1.0.10 | ||
4 | pkgrel = 1 | ||
5 | url = http://naemon.org | ||
6 | arch = i686 | ||
7 | arch = x86_64 | ||
8 | license = GPL2 | ||
9 | depends = icu | ||
10 | depends = naemon | ||
11 | backup = etc/naemon/livestatus.cfg | ||
12 | source = naemon-livestatus-git::git+https://github.com/naemon/naemon-livestatus.git#commit=33dbcfe18e42158f25c27cff95a1e07b73be53b0 | ||
13 | sha512sums = SKIP | ||
14 | |||
15 | pkgname = naemon-livestatus | ||
16 | |||
diff --git a/naemon-livestatus/PKGBUILD b/naemon-livestatus/PKGBUILD new file mode 100644 index 0000000..239e80b --- /dev/null +++ b/naemon-livestatus/PKGBUILD | |||
@@ -0,0 +1,36 @@ | |||
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.10 | ||
7 | pkgrel=1 | ||
8 | arch=('i686' 'x86_64') | ||
9 | url="http://naemon.org" | ||
10 | license=('GPL2') | ||
11 | depends=('icu' 'naemon') | ||
12 | source=("naemon-livestatus-git::git+https://github.com/naemon/naemon-livestatus.git#commit=33dbcfe18e42158f25c27cff95a1e07b73be53b0") | ||
13 | sha512sums=('SKIP') | ||
14 | backup=('etc/naemon/livestatus.cfg') | ||
15 | |||
16 | build() { | ||
17 | cd "$srcdir/$pkgname-git" | ||
18 | |||
19 | export PKG_CONFIG_PATH="/usr/lib/naemon/pkgconfig:$PKG_CONFIG_PATH" | ||
20 | ./autogen.sh | ||
21 | ./configure --prefix=/usr \ | ||
22 | --bindir=/usr/bin \ | ||
23 | --datadir="/usr/share/naemon" \ | ||
24 | --libdir="/usr/lib/naemon" \ | ||
25 | --localstatedir="/var/lib/naemon" \ | ||
26 | --sysconfdir="/etc/naemon" \ | ||
27 | --mandir="/usr/share/man" | ||
28 | |||
29 | make | ||
30 | } | ||
31 | |||
32 | package() { | ||
33 | cd "$srcdir/$pkgname-git" | ||
34 | |||
35 | make DESTDIR="$pkgdir" install | ||
36 | } | ||
diff --git a/naemon/.SRCINFO b/naemon/.SRCINFO new file mode 100644 index 0000000..cb32b77 --- /dev/null +++ b/naemon/.SRCINFO | |||
@@ -0,0 +1,31 @@ | |||
1 | pkgbase = naemon | ||
2 | pkgdesc = System and network monitoring application | ||
3 | pkgver = 1.0.10 | ||
4 | pkgrel = 1 | ||
5 | url = http://naemon.org | ||
6 | install = naemon.install | ||
7 | arch = i686 | ||
8 | arch = x86_64 | ||
9 | license = GPL2 | ||
10 | makedepends = gperf | ||
11 | makedepends = help2man | ||
12 | depends = icu | ||
13 | depends = glib2 | ||
14 | optdepends = logrotate | ||
15 | optdepends = thruk: Web interface for Naemon | ||
16 | optdepends = naemon-livestatus: Event broker | ||
17 | optdepends = monitoring-plugins | ||
18 | backup = etc/logrotate.d/naemon | ||
19 | backup = etc/naemon/naemon.cfg | ||
20 | backup = etc/naemon/resource.cfg | ||
21 | source = naemon-git::git+https://github.com/naemon/naemon-core.git#commit=c2a8730538846f342911764cd7731015f1a6f284 | ||
22 | source = naemon-tmpfiles.conf | ||
23 | source = naemon.service | ||
24 | source = overflow.patch | ||
25 | sha512sums = SKIP | ||
26 | sha512sums = 756e61e4da56ce614824c3b289d2ee0f4464bf5bcd868dcadbf31c3320967e0179aa6c5aedc16e4bb40c480ab2da8ab08c43e750168e86963a9cd552db01ea1d | ||
27 | sha512sums = 28944f2bd918c0718496ce490d0c2da97a127f71cfb23348620cb6c86fc88e206a07409d32dc8c9a9b5b2d1a8106b400c3e1edf3a6b7aca30ac125a38ebed3b2 | ||
28 | sha512sums = ec1ccf09f8c02e8f6dfdf2f6b80eed4b3e07df85703d89bdfdefe0bd9380b832a7f9a1c2976f17f55d74dbb3b1888ae28bf0551c78cb8bbc3acb08cd1e4a85da | ||
29 | |||
30 | pkgname = naemon | ||
31 | |||
diff --git a/naemon/PKGBUILD b/naemon/PKGBUILD new file mode 100644 index 0000000..63aa98c --- /dev/null +++ b/naemon/PKGBUILD | |||
@@ -0,0 +1,86 @@ | |||
1 | # Maintainer: Immae <ismael.bouya@normalesup.org> | ||
2 | # Contributor: Jonathan Steel <jsteel at archlinux.org> | ||
3 | |||
4 | pkgname=naemon | ||
5 | pkgver=1.0.10 | ||
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=("naemon-git::git+https://github.com/naemon/naemon-core.git#commit=c2a8730538846f342911764cd7731015f1a6f284" | ||
18 | $pkgname-tmpfiles.conf | ||
19 | $pkgname.service | ||
20 | overflow.patch) | ||
21 | sha512sums=('SKIP' | ||
22 | '756e61e4da56ce614824c3b289d2ee0f4464bf5bcd868dcadbf31c3320967e0179aa6c5aedc16e4bb40c480ab2da8ab08c43e750168e86963a9cd552db01ea1d' | ||
23 | '28944f2bd918c0718496ce490d0c2da97a127f71cfb23348620cb6c86fc88e206a07409d32dc8c9a9b5b2d1a8106b400c3e1edf3a6b7aca30ac125a38ebed3b2' | ||
24 | 'ec1ccf09f8c02e8f6dfdf2f6b80eed4b3e07df85703d89bdfdefe0bd9380b832a7f9a1c2976f17f55d74dbb3b1888ae28bf0551c78cb8bbc3acb08cd1e4a85da') | ||
25 | backup=('etc/logrotate.d/naemon' | ||
26 | 'etc/naemon/naemon.cfg' | ||
27 | 'etc/naemon/resource.cfg') | ||
28 | install=$pkgname.install | ||
29 | |||
30 | build() { | ||
31 | cd "$srcdir/$pkgname-git" | ||
32 | |||
33 | patch -p1 < $srcdir/overflow.patch | ||
34 | ./autogen.sh | ||
35 | ./configure --prefix=/usr \ | ||
36 | --bindir=/usr/bin \ | ||
37 | --datadir="/usr/share/naemon" \ | ||
38 | --libdir="/usr/lib/naemon" \ | ||
39 | --localstatedir="/var/lib/naemon" \ | ||
40 | --sysconfdir="/etc/naemon" \ | ||
41 | --with-pkgconfdir="/etc/naemon" \ | ||
42 | --mandir="/usr/share/man" \ | ||
43 | --with-pluginsdir="/usr/lib/monitoring-plugins" \ | ||
44 | --with-tempdir="/var/cache/naemon" \ | ||
45 | --with-checkresultdir="/var/cache/naemon/checkresults" \ | ||
46 | --with-logdir="/var/log/naemon" \ | ||
47 | --with-initdir="/etc/init.d" \ | ||
48 | --with-logrotatedir="/etc/logrotate.d" \ | ||
49 | --with-naemon-user="naemon" \ | ||
50 | --with-naemon-group="naemon" \ | ||
51 | --with-lockfile="/run/naemon/naemon.pid" | ||
52 | |||
53 | make | ||
54 | } | ||
55 | |||
56 | check() { | ||
57 | cd "$srcdir/$pkgname-git" | ||
58 | |||
59 | # One of the tests fail for some reason, upstream notified. | ||
60 | make check || true | ||
61 | } | ||
62 | |||
63 | package() { | ||
64 | cd "$srcdir/$pkgname-git" | ||
65 | |||
66 | make DESTDIR="$pkgdir" install | ||
67 | |||
68 | install -d "$pkgdir"/etc/naemon/module-conf.d | ||
69 | |||
70 | rm -rf "$pkgdir"/var/{cache,log} | ||
71 | |||
72 | install -dm755 "$pkgdir"/var/lib/naemon | ||
73 | install -Dm644 "$srcdir"/$pkgname.service \ | ||
74 | "$pkgdir"/usr/lib/systemd/system/$pkgname.service | ||
75 | |||
76 | # Move sample config files | ||
77 | install -dm755 "$pkgdir"/usr/share/doc/naemon | ||
78 | mv "$pkgdir"/etc/naemon/conf.d "$pkgdir"/usr/share/doc/naemon/ | ||
79 | install -d "$pkgdir"/etc/naemon/conf.d/templates | ||
80 | |||
81 | # Remove non-Arch directories | ||
82 | rm -rf "$pkgdir"/etc/init.d | ||
83 | rm -rf "$pkgdir"/etc/apache2 | ||
84 | |||
85 | install -Dm644 "$srcdir"/naemon-tmpfiles.conf "$pkgdir"/usr/lib/tmpfiles.d/naemon.conf | ||
86 | } | ||
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/naemon/overflow.patch b/naemon/overflow.patch new file mode 100644 index 0000000..a700266 --- /dev/null +++ b/naemon/overflow.patch | |||
@@ -0,0 +1,137 @@ | |||
1 | --- a/src/naemon/xodtemplate.c 2019-07-03 18:34:13.795379190 +0200 | ||
2 | +++ b/src/naemon/xodtemplate.c 2019-07-03 18:33:37.079085158 +0200 | ||
3 | @@ -7488,7 +7488,7 @@ | ||
4 | } else if (!strcmp(temp_ptr, "a") || !strcmp(temp_ptr, "all")) { | ||
5 | temp_host->flap_detection_options = OPT_ALL; | ||
6 | } else { | ||
7 | - nm_log(NSLOG_CONFIG_ERROR, "Error: Invalid flap detection option '%s' in host definition.\n", temp_ptr); | ||
8 | + nm_log(NSLOG_CONFIG_ERROR, "Error: Invalid flap detection option '%s' in host definition.\n", (temp_ptr ? temp_ptr : "(null)")); | ||
9 | result = ERROR; | ||
10 | } | ||
11 | } | ||
12 | @@ -7510,7 +7510,7 @@ | ||
13 | } else if (!strcmp(temp_ptr, "a") || !strcmp(temp_ptr, "all")) { | ||
14 | temp_host->notification_options = OPT_ALL; | ||
15 | } else { | ||
16 | - nm_log(NSLOG_CONFIG_ERROR, "Error: Invalid notification option '%s' in host definition.\n", temp_ptr); | ||
17 | + nm_log(NSLOG_CONFIG_ERROR, "Error: Invalid notification option '%s' in host definition.\n", (temp_ptr ? temp_ptr : "(null)")); | ||
18 | result = ERROR; | ||
19 | } | ||
20 | } | ||
21 | @@ -7537,7 +7537,7 @@ | ||
22 | } else if (!strcmp(temp_ptr, "a") || !strcmp(temp_ptr, "all")) { | ||
23 | temp_host->stalking_options = OPT_ALL; | ||
24 | } else { | ||
25 | - nm_log(NSLOG_CONFIG_ERROR, "Error: Invalid stalking option '%s' in host definition.\n", temp_ptr); | ||
26 | + nm_log(NSLOG_CONFIG_ERROR, "Error: Invalid stalking option '%s' in host definition.\n", (temp_ptr ? temp_ptr : "(null)")); | ||
27 | result = ERROR; | ||
28 | } | ||
29 | } | ||
30 | @@ -7549,29 +7549,29 @@ | ||
31 | xodtemplate_obsoleted(variable, temp_host->_start_line); | ||
32 | } else if (!strcmp(variable, "2d_coords")) { | ||
33 | if ((temp_ptr = strtok(value, ", ")) == NULL) { | ||
34 | - nm_log(NSLOG_CONFIG_ERROR, "Error: Invalid 2d_coords value '%s' in host definition.\n", temp_ptr); | ||
35 | + nm_log(NSLOG_CONFIG_ERROR, "Error: Invalid 2d_coords value '%s' in host definition.\n", (temp_ptr ? temp_ptr : "(null)")); | ||
36 | return ERROR; | ||
37 | } | ||
38 | temp_host->x_2d = atoi(temp_ptr); | ||
39 | if ((temp_ptr = strtok(NULL, ", ")) == NULL) { | ||
40 | - nm_log(NSLOG_CONFIG_ERROR, "Error: Invalid 2d_coords value '%s' in host definition.\n", temp_ptr); | ||
41 | + nm_log(NSLOG_CONFIG_ERROR, "Error: Invalid 2d_coords value '%s' in host definition.\n", (temp_ptr ? temp_ptr : "(null)")); | ||
42 | return ERROR; | ||
43 | } | ||
44 | temp_host->y_2d = atoi(temp_ptr); | ||
45 | temp_host->have_2d_coords = TRUE; | ||
46 | } else if (!strcmp(variable, "3d_coords")) { | ||
47 | if ((temp_ptr = strtok(value, ", ")) == NULL) { | ||
48 | - nm_log(NSLOG_CONFIG_ERROR, "Error: Invalid 3d_coords value '%s' in host definition.\n", temp_ptr); | ||
49 | + nm_log(NSLOG_CONFIG_ERROR, "Error: Invalid 3d_coords value '%s' in host definition.\n", (temp_ptr ? temp_ptr : "(null)")); | ||
50 | return ERROR; | ||
51 | } | ||
52 | temp_host->x_3d = strtod(temp_ptr, NULL); | ||
53 | if ((temp_ptr = strtok(NULL, ", ")) == NULL) { | ||
54 | - nm_log(NSLOG_CONFIG_ERROR, "Error: Invalid 3d_coords value '%s' in host definition.\n", temp_ptr); | ||
55 | + nm_log(NSLOG_CONFIG_ERROR, "Error: Invalid 3d_coords value '%s' in host definition.\n", (temp_ptr ? temp_ptr : "(null)")); | ||
56 | return ERROR; | ||
57 | } | ||
58 | temp_host->y_3d = strtod(temp_ptr, NULL); | ||
59 | if ((temp_ptr = strtok(NULL, ", ")) == NULL) { | ||
60 | - nm_log(NSLOG_CONFIG_ERROR, "Error: Invalid 3d_coords value '%s' in host definition.\n", temp_ptr); | ||
61 | + nm_log(NSLOG_CONFIG_ERROR, "Error: Invalid 3d_coords value '%s' in host definition.\n", (temp_ptr ? temp_ptr : "(null)")); | ||
62 | return ERROR; | ||
63 | } | ||
64 | temp_host->z_3d = strtod(temp_ptr, NULL); | ||
65 | @@ -8176,13 +8176,13 @@ | ||
66 | } else if (!strcmp(variable, "2d_coords")) { | ||
67 | temp_ptr = strtok(value, ", "); | ||
68 | if (temp_ptr == NULL) { | ||
69 | - nm_log(NSLOG_CONFIG_ERROR, "Error: Invalid 2d_coords value '%s' in extended host info definition.\n", temp_ptr); | ||
70 | + nm_log(NSLOG_CONFIG_ERROR, "Error: Invalid 2d_coords value '%s' in extended host info definition.\n", (temp_ptr ? temp_ptr : "(null)")); | ||
71 | return ERROR; | ||
72 | } | ||
73 | temp_hostextinfo->x_2d = atoi(temp_ptr); | ||
74 | temp_ptr = strtok(NULL, ", "); | ||
75 | if (temp_ptr == NULL) { | ||
76 | - nm_log(NSLOG_CONFIG_ERROR, "Error: Invalid 2d_coords value '%s' in extended host info definition.\n", temp_ptr); | ||
77 | + nm_log(NSLOG_CONFIG_ERROR, "Error: Invalid 2d_coords value '%s' in extended host info definition.\n", (temp_ptr ? temp_ptr : "(null)")); | ||
78 | return ERROR; | ||
79 | } | ||
80 | temp_hostextinfo->y_2d = atoi(temp_ptr); | ||
81 | @@ -8190,19 +8190,19 @@ | ||
82 | } else if (!strcmp(variable, "3d_coords")) { | ||
83 | temp_ptr = strtok(value, ", "); | ||
84 | if (temp_ptr == NULL) { | ||
85 | - nm_log(NSLOG_CONFIG_ERROR, "Error: Invalid 3d_coords value '%s' in extended host info definition.\n", temp_ptr); | ||
86 | + nm_log(NSLOG_CONFIG_ERROR, "Error: Invalid 3d_coords value '%s' in extended host info definition.\n", (temp_ptr ? temp_ptr : "(null)")); | ||
87 | return ERROR; | ||
88 | } | ||
89 | temp_hostextinfo->x_3d = strtod(temp_ptr, NULL); | ||
90 | temp_ptr = strtok(NULL, ", "); | ||
91 | if (temp_ptr == NULL) { | ||
92 | - nm_log(NSLOG_CONFIG_ERROR, "Error: Invalid 3d_coords value '%s' in extended host info definition.\n", temp_ptr); | ||
93 | + nm_log(NSLOG_CONFIG_ERROR, "Error: Invalid 3d_coords value '%s' in extended host info definition.\n", (temp_ptr ? temp_ptr : "(null)")); | ||
94 | return ERROR; | ||
95 | } | ||
96 | temp_hostextinfo->y_3d = strtod(temp_ptr, NULL); | ||
97 | temp_ptr = strtok(NULL, ", "); | ||
98 | if (temp_ptr == NULL) { | ||
99 | - nm_log(NSLOG_CONFIG_ERROR, "Error: Invalid 3d_coords value '%s' in extended host info definition.\n", temp_ptr); | ||
100 | + nm_log(NSLOG_CONFIG_ERROR, "Error: Invalid 3d_coords value '%s' in extended host info definition.\n", (temp_ptr ? temp_ptr : "(null)")); | ||
101 | return ERROR; | ||
102 | } | ||
103 | temp_hostextinfo->z_3d = strtod(temp_ptr, NULL); | ||
104 | @@ -8369,21 +8369,21 @@ | ||
105 | |||
106 | /* make sure an object type is specified... */ | ||
107 | if (input[0] == '\x0') { | ||
108 | - nm_log(NSLOG_CONFIG_ERROR, "Error: No object type specified in file '%s' on line %d.\n", filename, current_line); | ||
109 | + nm_log(NSLOG_CONFIG_ERROR, "Error: No object type specified in file '%s' on line %d.\n", filename, (current_line ? current_line : -1)); | ||
110 | result = ERROR; | ||
111 | break; | ||
112 | } | ||
113 | |||
114 | /* we're already in an object definition... */ | ||
115 | if (in_definition == TRUE) { | ||
116 | - nm_log(NSLOG_CONFIG_ERROR, "Error: Unexpected start of object definition in file '%s' on line %d. Make sure you close preceding objects before starting a new one.\n", filename, current_line); | ||
117 | + nm_log(NSLOG_CONFIG_ERROR, "Error: Unexpected start of object definition in file '%s' on line %d. Make sure you close preceding objects before starting a new one.\n", filename, (current_line ? current_line : -1)); | ||
118 | result = ERROR; | ||
119 | break; | ||
120 | } | ||
121 | |||
122 | /* start a new definition */ | ||
123 | if (xodtemplate_begin_object_definition(input, xodtemplate_current_config_file, current_line) == ERROR) { | ||
124 | - nm_log(NSLOG_CONFIG_ERROR, "Error: Could not add object definition in file '%s' on line %d.\n", filename, current_line); | ||
125 | + nm_log(NSLOG_CONFIG_ERROR, "Error: Could not add object definition in file '%s' on line %d.\n", filename, (current_line ? current_line : -1)); | ||
126 | result = ERROR; | ||
127 | break; | ||
128 | } | ||
129 | @@ -8401,7 +8401,7 @@ | ||
130 | |||
131 | /* close out current definition */ | ||
132 | if (xodtemplate_end_object_definition() == ERROR) { | ||
133 | - nm_log(NSLOG_CONFIG_ERROR, "Error: Could not complete object definition in file '%s' on line %d. Have you named all your objects?\n", filename, current_line); | ||
134 | + nm_log(NSLOG_CONFIG_ERROR, "Error: Could not complete object definition in file '%s' on line %d. Have you named all your objects?\n", filename, (current_line ? current_line : -1)); | ||
135 | result = ERROR; | ||
136 | break; | ||
137 | } | ||
diff --git a/nix/.SRCINFO b/nix/.SRCINFO new file mode 100644 index 0000000..51e5041 --- /dev/null +++ b/nix/.SRCINFO | |||
@@ -0,0 +1,23 @@ | |||
1 | pkgbase = nix | ||
2 | pkgdesc = A purely functional package manager | ||
3 | pkgver = 2.2.2 | ||
4 | pkgrel = 2 | ||
5 | url = https://nixos.org/nix | ||
6 | install = nix.install | ||
7 | arch = i686 | ||
8 | arch = x86_64 | ||
9 | arch = armv7h | ||
10 | license = LGPL | ||
11 | makedepends = bzip2 | ||
12 | makedepends = openssl | ||
13 | depends = gc | ||
14 | depends = libsodium | ||
15 | depends = boost | ||
16 | depends = brotli | ||
17 | depends = editline | ||
18 | depends = dash-static | ||
19 | source = https://nixos.org/releases/nix/nix-2.2.2/nix-2.2.2.tar.xz | ||
20 | sha256sums = f80a1b4f9837a8d33209f0b7769d5038335459ff4303eccf3e9217a9eca8594c | ||
21 | |||
22 | pkgname = nix | ||
23 | |||
diff --git a/nix/PKGBUILD b/nix/PKGBUILD new file mode 100644 index 0000000..8005698 --- /dev/null +++ b/nix/PKGBUILD | |||
@@ -0,0 +1,40 @@ | |||
1 | # Maintainer: Alastair Pharo <asppsa at gmail dot com> | ||
2 | # Contributor: Felix Morgner <felix.morgner@gmail.com> | ||
3 | # Contributor: Vlad M. <vlad@archlinux.net> | ||
4 | # Contributor: Mario Rodas | ||
5 | # Contributor: Oozyslug <oozyslug at gmail dot com> | ||
6 | # Contributor: koral <koral at mailoo dot org> | ||
7 | # Contributor: Anders Bennehag | ||
8 | |||
9 | pkgname=nix | ||
10 | pkgver=2.2.2 | ||
11 | pkgrel=2 | ||
12 | pkgdesc="A purely functional package manager" | ||
13 | arch=('i686' 'x86_64' 'armv7h') | ||
14 | url="https://nixos.org/nix" | ||
15 | license=('LGPL') | ||
16 | depends=('gc' 'libsodium' 'boost' 'brotli' 'editline' 'dash-static') | ||
17 | makedepends=('bzip2' 'openssl') | ||
18 | install=nix.install | ||
19 | source=("https://nixos.org/releases/nix/nix-$pkgver/nix-$pkgver.tar.xz") | ||
20 | sha256sums=('f80a1b4f9837a8d33209f0b7769d5038335459ff4303eccf3e9217a9eca8594c') | ||
21 | |||
22 | prepare() { | ||
23 | cd "$pkgname-$pkgver" | ||
24 | } | ||
25 | |||
26 | build () { | ||
27 | cd "$pkgname-$pkgver" | ||
28 | ./configure --prefix=/usr \ | ||
29 | --libexecdir="/usr/lib/$pkgname" \ | ||
30 | --sysconfdir=/etc \ | ||
31 | --with-sandbox-shell=/usr/bin/dash-static \ | ||
32 | --enable-gc | ||
33 | make | ||
34 | } | ||
35 | |||
36 | package() { | ||
37 | cd "$pkgname-$pkgver" | ||
38 | make DESTDIR="$pkgdir" install | ||
39 | install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE" | ||
40 | } | ||
diff --git a/nix/nix.install b/nix/nix.install new file mode 100644 index 0000000..613cee6 --- /dev/null +++ b/nix/nix.install | |||
@@ -0,0 +1,97 @@ | |||
1 | |||
2 | pre_install () { | ||
3 | # Check that the group and users don't already exist | ||
4 | if [[ -n $(cut -d: -f1 /etc/group | grep -w nixbld) ]]; then | ||
5 | echo "The nixbld group already exists. This install cannot proceed." | ||
6 | exit 1 | ||
7 | fi | ||
8 | |||
9 | for i in {1..10}; do | ||
10 | if [[ -n $(cut -d: -f1 /etc/passwd | grep -w nixbld$i) ]]; then | ||
11 | echo "The nixbld$i user already exists. This install cannot proceed." | ||
12 | exit 1 | ||
13 | fi | ||
14 | done | ||
15 | } | ||
16 | |||
17 | create_users () { | ||
18 | # Create a nixbld group. | ||
19 | groupadd -r nixbld | ||
20 | |||
21 | # Create 10 nixbld{i} users | ||
22 | for i in {1..10}; do | ||
23 | useradd -g nixbld -G nixbld -r -N -M -d /var/empty -s /sbin/nologin nixbld$i | ||
24 | done | ||
25 | } | ||
26 | |||
27 | delete_users() { | ||
28 | # Remove the users | ||
29 | for i in {1..10}; do | ||
30 | userdel nixbld$i | ||
31 | done | ||
32 | |||
33 | # Remove the group | ||
34 | groupdel nixbld | ||
35 | } | ||
36 | |||
37 | create_store() { | ||
38 | # Create nix folders and set permissions | ||
39 | mkdir -p /nix/store | ||
40 | chown root.nixbld /nix/store | ||
41 | chmod 1775 /nix/store | ||
42 | mkdir -p -m 1777 /nix/var/nix/gcroots/per-user | ||
43 | mkdir -p -m 1777 /nix/var/nix/profiles/per-user | ||
44 | } | ||
45 | |||
46 | restore_store() { | ||
47 | # Restore folder permissions | ||
48 | chmod 755 /nix/store | ||
49 | chown root.root /nix/store | ||
50 | } | ||
51 | |||
52 | init_channels() { | ||
53 | # Initialize default nix channel | ||
54 | echo "Initializing default nix channel" | ||
55 | source /etc/profile.d/nix.sh | ||
56 | nix-channel --update | ||
57 | } | ||
58 | |||
59 | daemon_info() { | ||
60 | echo "To start the nix daemon, execute one of the following:" | ||
61 | echo | ||
62 | echo " systemctl enable nix-daemon.socket # Sets the daemon to start on next boot" | ||
63 | echo " systemctl enable --now nix-daemon.socket # Starts now and on next boot too" | ||
64 | echo | ||
65 | echo "Also, if this is a new install, you need to start a new login shell or otherwise" | ||
66 | echo | ||
67 | echo " source /etc/profile.d/nix.sh" | ||
68 | echo " source /etc/profile.d/nix-daemon.sh" | ||
69 | echo | ||
70 | echo "Once your environment is set-up, you will need to add some channels. You can see how" | ||
71 | echo "to do that here:" | ||
72 | echo " https://nixos.org/nix/manual/#sec-channels" | ||
73 | } | ||
74 | |||
75 | post_install() { | ||
76 | create_users | ||
77 | create_store | ||
78 | init_channels | ||
79 | daemon_info | ||
80 | } | ||
81 | |||
82 | pre_upgrade() { | ||
83 | systemctl stop nix-daemon.socket | ||
84 | systemctl stop nix-daemon | ||
85 | } | ||
86 | |||
87 | post_upgrade() { | ||
88 | delete_users | ||
89 | create_users | ||
90 | create_store | ||
91 | daemon_info | ||
92 | } | ||
93 | |||
94 | pre_remove() { | ||
95 | restore_store | ||
96 | delete_users | ||
97 | } | ||
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/openarc/.SRCINFO b/openarc/.SRCINFO new file mode 100644 index 0000000..1dbdf75 --- /dev/null +++ b/openarc/.SRCINFO | |||
@@ -0,0 +1,13 @@ | |||
1 | pkgbase = openarc-git | ||
2 | pkgdesc = Open source ARC implementation | ||
3 | pkgver = v1.0.0.Beta1.r0.g355ee2a | ||
4 | pkgrel = 1 | ||
5 | url = https://github.com/trusteddomainproject/OpenARC | ||
6 | arch = x86_64 | ||
7 | license = Custom | ||
8 | depends = libmilter | ||
9 | source = openarc-git::git+https://github.com/trusteddomainproject/OpenARC.git#branch=master | ||
10 | sha256sums = SKIP | ||
11 | |||
12 | pkgname = openarc-git | ||
13 | |||
diff --git a/openarc/PKGBUILD b/openarc/PKGBUILD new file mode 100644 index 0000000..afe0482 --- /dev/null +++ b/openarc/PKGBUILD | |||
@@ -0,0 +1,33 @@ | |||
1 | # Maintainer : Immae <ismael.bouya@normalesup.org> | ||
2 | |||
3 | pkgname=openarc-git | ||
4 | pkgver=v1.0.0.Beta1.r0.g355ee2a | ||
5 | pkgrel=1 | ||
6 | pkgdesc="Open source ARC implementation" | ||
7 | arch=('x86_64') | ||
8 | url="https://github.com/trusteddomainproject/OpenARC" | ||
9 | depends=("libmilter") | ||
10 | license=('Custom') | ||
11 | source=("openarc-git::git+https://github.com/trusteddomainproject/OpenARC.git#branch=master") | ||
12 | sha256sums=('SKIP') | ||
13 | |||
14 | pkgver() { | ||
15 | cd "$pkgname" | ||
16 | git describe --tags --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | ||
17 | } | ||
18 | |||
19 | |||
20 | build () { | ||
21 | cd "$pkgname" | ||
22 | autoreconf -fvi | ||
23 | ./configure --prefix=/usr \ | ||
24 | --sysconfdir=/etc | ||
25 | make | ||
26 | } | ||
27 | |||
28 | package() { | ||
29 | cd "$pkgname" | ||
30 | make DESTDIR="$pkgdir" install | ||
31 | mkdir -p "$pkgdir/etc/openarc" | ||
32 | mv "$pkgdir/usr/sbin" "$pkgdir/usr/bin" | ||
33 | } | ||
diff --git a/patacrep-git/.SRCINFO b/patacrep-git/.SRCINFO new file mode 100644 index 0000000..b4bc449 --- /dev/null +++ b/patacrep-git/.SRCINFO | |||
@@ -0,0 +1,24 @@ | |||
1 | # Generated by mksrcinfo v8 | ||
2 | # Thu Feb 14 12:42:48 UTC 2019 | ||
3 | pkgbase = patacrep-git | ||
4 | pkgdesc = Engine for LaTeX songbooks | ||
5 | pkgver = 5.1.2.r17.g30eb8d62 | ||
6 | pkgrel = 1 | ||
7 | url = http://www.patacrep.com | ||
8 | arch = any | ||
9 | license = GPL | ||
10 | makedepends = python-setuptools | ||
11 | depends = python | ||
12 | depends = python-ply | ||
13 | depends = python-jinja | ||
14 | depends = python-chardet | ||
15 | depends = python-unidecode | ||
16 | depends = texlive-fontsextra | ||
17 | depends = texlive-latexextra | ||
18 | depends = python-argparse | ||
19 | depends = lilypond | ||
20 | source = patacrep-git::git://github.com/patacrep/patacrep.git#branch=master | ||
21 | sha256sums = SKIP | ||
22 | |||
23 | pkgname = patacrep-git | ||
24 | |||
diff --git a/patacrep-git/PKGBUILD b/patacrep-git/PKGBUILD new file mode 100644 index 0000000..19d0553 --- /dev/null +++ b/patacrep-git/PKGBUILD | |||
@@ -0,0 +1,31 @@ | |||
1 | # Maintainer: Immae <ismael.bouya@normalesup.org> | ||
2 | |||
3 | pkgname=patacrep-git | ||
4 | pkgver=5.1.2.r17.g30eb8d62 | ||
5 | pkgrel=1 | ||
6 | pkgdesc="Engine for LaTeX songbooks" | ||
7 | arch=('any') | ||
8 | url="http://www.patacrep.com" | ||
9 | license=('GPL') | ||
10 | depends=('python' 'python-ply' 'python-jinja' 'python-chardet' | ||
11 | 'python-unidecode' 'texlive-fontsextra' 'texlive-latexextra' | ||
12 | 'python-argparse' 'lilypond') | ||
13 | makedepends=('python-setuptools') | ||
14 | source=("patacrep-git::git://github.com/patacrep/patacrep.git#branch=master") | ||
15 | sha256sums=('SKIP') | ||
16 | |||
17 | pkgver() { | ||
18 | cd "$srcdir/$pkgname" | ||
19 | git describe --long --tags | sed -e 's/\([^-]*-g\)/r\1/;s/-/./g' -e "s/^v//" | ||
20 | } | ||
21 | |||
22 | build() { | ||
23 | cd "$srcdir/$pkgname" | ||
24 | python setup.py build | ||
25 | } | ||
26 | |||
27 | package(){ | ||
28 | cd "$srcdir/$pkgname" | ||
29 | python setup.py install --root="${pkgdir}" | ||
30 | } | ||
31 | |||
diff --git a/patacrep/.SRCINFO b/patacrep/.SRCINFO new file mode 100644 index 0000000..fb56d24 --- /dev/null +++ b/patacrep/.SRCINFO | |||
@@ -0,0 +1,24 @@ | |||
1 | # Generated by mksrcinfo v8 | ||
2 | # Thu Feb 14 11:00:07 UTC 2019 | ||
3 | pkgbase = patacrep | ||
4 | pkgdesc = Engine for LaTeX songbooks | ||
5 | pkgver = 5.1.2 | ||
6 | pkgrel = 1 | ||
7 | url = http://www.patacrep.com | ||
8 | arch = any | ||
9 | license = GPL | ||
10 | makedepends = python-setuptools | ||
11 | depends = python | ||
12 | depends = python-ply | ||
13 | depends = python-jinja | ||
14 | depends = python-chardet | ||
15 | depends = python-unidecode | ||
16 | depends = texlive-fontsextra | ||
17 | depends = texlive-latexextra | ||
18 | depends = python-argparse | ||
19 | depends = lilypond | ||
20 | source = https://github.com/patacrep/patacrep/archive/v5.1.2.tar.gz | ||
21 | sha512sums = 1a734e775f3dca4419374fdd9283bd5eed6f8238bac96694e0354cbe4ac6c05f601f5f237a77cda9eed89b95148cbedb108cf810ca5e0fd4e7812408cbdac4f9 | ||
22 | |||
23 | pkgname = patacrep | ||
24 | |||
diff --git a/patacrep/PKGBUILD b/patacrep/PKGBUILD new file mode 100644 index 0000000..9d56c96 --- /dev/null +++ b/patacrep/PKGBUILD | |||
@@ -0,0 +1,26 @@ | |||
1 | # Maintainer: Immae <ismael.bouya@normalesup.org> | ||
2 | |||
3 | pkgname=patacrep | ||
4 | pkgver=5.1.2 | ||
5 | pkgrel=1 | ||
6 | pkgdesc="Engine for LaTeX songbooks" | ||
7 | arch=('any') | ||
8 | url="http://www.patacrep.com" | ||
9 | license=('GPL') | ||
10 | depends=('python' 'python-ply' 'python-jinja' 'python-chardet' | ||
11 | 'python-unidecode' 'texlive-fontsextra' 'texlive-latexextra' | ||
12 | 'python-argparse' 'lilypond') | ||
13 | makedepends=('python-setuptools') | ||
14 | source=("https://github.com/patacrep/${pkgname}/archive/v${pkgver}.tar.gz") | ||
15 | sha512sums=('1a734e775f3dca4419374fdd9283bd5eed6f8238bac96694e0354cbe4ac6c05f601f5f237a77cda9eed89b95148cbedb108cf810ca5e0fd4e7812408cbdac4f9') | ||
16 | |||
17 | build() { | ||
18 | cd "$srcdir/${pkgname}-${pkgver}" | ||
19 | python setup.py build | ||
20 | } | ||
21 | |||
22 | package(){ | ||
23 | cd "$srcdir/${pkgname}-${pkgver}" | ||
24 | python setup.py install --root="${pkgdir}" | ||
25 | } | ||
26 | |||
diff --git a/tack/.SRCINFO b/tack/.SRCINFO new file mode 100644 index 0000000..9aa6daa --- /dev/null +++ b/tack/.SRCINFO | |||
@@ -0,0 +1,18 @@ | |||
1 | # Generated by mksrcinfo v8 | ||
2 | # Thu Feb 14 10:42:54 UTC 2019 | ||
3 | pkgbase = tack | ||
4 | pkgdesc = A program that can be used to verify or refine a terminfo (terminal information) description of a terminal. | ||
5 | pkgver = 1.08 | ||
6 | pkgrel = 1 | ||
7 | url = http://invisible-island.net/ncurses/tack.html | ||
8 | changelog = tack.changelog | ||
9 | arch = i686 | ||
10 | arch = x86_64 | ||
11 | license = custom | ||
12 | depends = ncurses | ||
13 | provides = tack | ||
14 | source = https://invisible-mirror.net/archives/ncurses/tack-1.08.tgz | ||
15 | sha512sums = 66dd4bb868087e6a8666119d32c873c8722453fe99d3eb58ab645aa0552771cca5d26f8b1fcccaf095d0316bceb011a49bc24a3b06fafc72cb2f59d251ec71d7 | ||
16 | |||
17 | pkgname = tack | ||
18 | |||
diff --git a/tack/PKGBUILD b/tack/PKGBUILD new file mode 100644 index 0000000..801e734 --- /dev/null +++ b/tack/PKGBUILD | |||
@@ -0,0 +1,30 @@ | |||
1 | # Contributor: Immae <ismael.bouya@normalesup.org> | ||
2 | # Maintainer: Immae <ismael.bouya@normalesup.org> | ||
3 | |||
4 | pkgname=tack | ||
5 | pkgver=1.08 | ||
6 | pkgrel=1 | ||
7 | pkgdesc="A program that can be used to verify or refine a terminfo (terminal information) description of a terminal." | ||
8 | arch=('i686' 'x86_64') | ||
9 | url="http://invisible-island.net/ncurses/tack.html" | ||
10 | license=('custom') | ||
11 | changelog="$pkgname.changelog" | ||
12 | provides=('tack') | ||
13 | depends=('ncurses') | ||
14 | source=("https://invisible-mirror.net/archives/ncurses/${pkgname}-${pkgver}.tgz") | ||
15 | sha512sums=('66dd4bb868087e6a8666119d32c873c8722453fe99d3eb58ab645aa0552771cca5d26f8b1fcccaf095d0316bceb011a49bc24a3b06fafc72cb2f59d251ec71d7') | ||
16 | |||
17 | build() { | ||
18 | cd ${srcdir}/${pkgname}-${pkgver} | ||
19 | ./configure --prefix=/usr --bindir=/usr/bin | ||
20 | make | ||
21 | } | ||
22 | |||
23 | package() { | ||
24 | cd ${srcdir}/${pkgname}-${pkgver} | ||
25 | make DESTDIR=${pkgdir} install | ||
26 | install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE" | ||
27 | } | ||
28 | |||
29 | |||
30 | |||
diff --git a/tack/tack.changelog b/tack/tack.changelog new file mode 100644 index 0000000..2b85f85 --- /dev/null +++ b/tack/tack.changelog | |||
@@ -0,0 +1,2 @@ | |||
1 | 2013-10-20 initial PKGBUILD | ||
2 | |||
diff --git a/waon/.SRCINFO b/waon/.SRCINFO new file mode 100644 index 0000000..924f00a --- /dev/null +++ b/waon/.SRCINFO | |||
@@ -0,0 +1,19 @@ | |||
1 | # Generated by mksrcinfo v8 | ||
2 | # Thu Feb 14 10:44:17 UTC 2019 | ||
3 | pkgbase = waon | ||
4 | pkgdesc = Wave-to-Notes transcriber (WAVE-MIDI converter) | ||
5 | pkgver = 0.10 | ||
6 | pkgrel = 1 | ||
7 | url = http://waon.sourceforge.net/ | ||
8 | arch = i686 | ||
9 | arch = x86_64 | ||
10 | license = GPL2 | ||
11 | depends = fftw | ||
12 | depends = libsamplerate | ||
13 | depends = libao | ||
14 | depends = gtk2 | ||
15 | source = http://downloads.sourceforge.net/waon/waon-0.10.tar.gz | ||
16 | sha512sums = 1e3c0ee9cb864c6fbfe831ed5b825fd5f20a8969ef3a6906deb88ceeee9bf8e65396f8b333bc84cf201d596467c415dfcbcd3e977a005952bae2d5983a84fa46 | ||
17 | |||
18 | pkgname = waon | ||
19 | |||
diff --git a/waon/PKGBUILD b/waon/PKGBUILD new file mode 100644 index 0000000..b1b6947 --- /dev/null +++ b/waon/PKGBUILD | |||
@@ -0,0 +1,29 @@ | |||
1 | # Maintainer : Immae <ismael.bouya@normalesup.org> | ||
2 | # Contributor : Ray Rashif <schiv@archlinux.org> | ||
3 | |||
4 | pkgname=waon | ||
5 | pkgver=0.10 | ||
6 | pkgrel=1 | ||
7 | pkgdesc="Wave-to-Notes transcriber (WAVE-MIDI converter)" | ||
8 | arch=('i686' 'x86_64') | ||
9 | url="http://waon.sourceforge.net/" | ||
10 | license=('GPL2') | ||
11 | depends=('fftw' 'libsamplerate' 'libao' 'gtk2') | ||
12 | source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz") | ||
13 | sha512sums=('1e3c0ee9cb864c6fbfe831ed5b825fd5f20a8969ef3a6906deb88ceeee9bf8e65396f8b333bc84cf201d596467c415dfcbcd3e977a005952bae2d5983a84fa46') | ||
14 | |||
15 | build() { | ||
16 | cd "$srcdir/$pkgname-$pkgver" | ||
17 | |||
18 | sed -i 's:usr/local:usr:g' Makefile | ||
19 | make | ||
20 | } | ||
21 | |||
22 | package() { | ||
23 | cd "$srcdir/$pkgname-$pkgver" | ||
24 | |||
25 | install -Dm755 pv $pkgdir/usr/bin/waon-pv | ||
26 | install -m755 waon gwaon $pkgdir/usr/bin/ | ||
27 | install -Dm644 pv.1 $pkgdir/usr/share/man/man1/waon-pv.1 | ||
28 | install -m644 {waon,gwaon}.1 $pkgdir/usr/share/man/man1/ | ||
29 | } | ||