aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorMichael Mason <ms13sp@gmail.com>2010-04-01 15:08:27 +0000
committerMichael Mason <ms13sp@gmail.com>2010-04-01 15:08:27 +0000
commit543baf628733af8cd5ccf155708b4f0440b2d62a (patch)
tree7aac9b51bcf414bfff422f782b89b2a1e272f75e /testing
parent3beeaef56aeb6a5731185d9d26a8b5230d59a661 (diff)
parentf17a218739c78a422681e51d0c1922cad5ef7c50 (diff)
downloadaports-543baf628733af8cd5ccf155708b4f0440b2d62a.tar.bz2
aports-543baf628733af8cd5ccf155708b4f0440b2d62a.tar.xz
Merge branch 'master' of git://git.alpinelinux.org/aports
Diffstat (limited to 'testing')
-rw-r--r--testing/ircservices/APKBUILD6
-rw-r--r--testing/ircservices/ircservices.pre-install2
-rw-r--r--testing/lua-nixio/APKBUILD34
3 files changed, 38 insertions, 4 deletions
diff --git a/testing/ircservices/APKBUILD b/testing/ircservices/APKBUILD
index 8367866b79..96b9db48a2 100644
--- a/testing/ircservices/APKBUILD
+++ b/testing/ircservices/APKBUILD
@@ -1,12 +1,12 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ircservices
-pkgver=5.1.20
+pkgver=5.1.21
pkgrel=0
pkgdesc="Services for IRC (NickServ, ChanServ, MemoServ)"
url="http://www.ircservices.za.net/"
license="GPL"
depends=
-makedepends=
+makedepends="perl"
install=$pkgname.pre-install
pkgusers="ircservices"
pkggroups="ircservices"
@@ -74,5 +74,5 @@ package() {
etc/ircservices/modules.conf
}
-md5sums="11dbbdc7a3a18fe65086de787635012c ircservices-5.1.20.tar.gz
+md5sums="3db58bb1645423a23872e8d1f51a8a99 ircservices-5.1.21.tar.gz
279ea42c5d97b47787b5959c9981fbaa ircservices.initd"
diff --git a/testing/ircservices/ircservices.pre-install b/testing/ircservices/ircservices.pre-install
index 08f6116676..093f888563 100644
--- a/testing/ircservices/ircservices.pre-install
+++ b/testing/ircservices/ircservices.pre-install
@@ -1,4 +1,4 @@
-#!/usr/bin
+#!/bin/sh
adduser -h /var/lib/ircservices -s /bin/false -S -D ircservices 2>/dev/null
exit 0
diff --git a/testing/lua-nixio/APKBUILD b/testing/lua-nixio/APKBUILD
new file mode 100644
index 0000000000..6e84e8c136
--- /dev/null
+++ b/testing/lua-nixio/APKBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=lua-nixio
+_name=nixio
+pkgver=0.3
+pkgrel=0
+pkgdesc="General POSIX IO library for Lua"
+url="http://dev.luci.freifunk-halle.net/nixio/doc/"
+license="Apache"
+makedepends="lua-dev openssl-dev"
+depends="lua"
+source="http://dev.luci.freifunk-halle.net/nixio/nixio-0.3.tar.bz2"
+
+_builddir="$srcdir"/$_name-$pkgver
+build() {
+ cd "$_builddir"
+ make LUA_MODULEDIR="$pkgdir"/usr/share/lua/5.1 \
+ LUA_LIBRARYDIR="$pkgdir"/usr/lib/lua/5.1 \
+ CFLAGS="$CFLAGS"
+}
+
+package() {
+ cd "$_builddir"
+ install -d "$pkgdir"/usr/share/lua/5.1 \
+ "$pkgdir"/usr/lib/lua/5.1
+ # The makefiles put the LDFLAGS to early, we trick them to the end
+ # by override LINK and NIXIO_LDFLAGS_POST
+ make LUA_MODULEDIR="$pkgdir"/usr/share/lua/5.1 \
+ LUA_LIBRARYDIR="$pkgdir"/usr/lib/lua/5.1 \
+ LINK="$CC" \
+ NIXIO_LDFLAGS_POST="-lcrypto $LDFLAGS" \
+ install
+}
+
+md5sums="7fa6a989cd2644347d969cb6e3a5c186 nixio-0.3.tar.bz2"