From 09d0d90ce30496d53cdcc954d4f6042d6b409af0 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 11 Dec 2012 04:11:32 -0500 Subject: add pcr/initng-git for smv --- pcr/acr/PKGBUILD | 22 ++++++++++++++++++++ pcr/initng-git/PKGBUILD | 51 ++++++++++++++++++++++++++++++++++++++++++++++ pcr/initng-git/fixes.patch | 31 ++++++++++++++++++++++++++++ 3 files changed, 104 insertions(+) create mode 100644 pcr/acr/PKGBUILD create mode 100644 pcr/initng-git/PKGBUILD create mode 100644 pcr/initng-git/fixes.patch (limited to 'pcr') diff --git a/pcr/acr/PKGBUILD b/pcr/acr/PKGBUILD new file mode 100644 index 000000000..d1ba1744b --- /dev/null +++ b/pcr/acr/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: stalker_exe +pkgname=acr +pkgver=0.8.6 +pkgrel=1 +pkgdesc="ACR is an autoconf like tool that allows you to create configure scripts for your programs." +arch=('any') +url="http://nopcode.org/wk.php/Acr" +license=('GPL2') +depends=() +source=("http://www.lolcathost.org/b/$pkgname-$pkgver.tar.gz") + +md5sums=('0981ffbd92dcb63015793a849c34465d') + +build() { + cd "${srcdir}/$pkgname-${pkgver}" + ./configure --prefix=/usr --mandir=/usr/share/man +} + +package() { + cd "${srcdir}/$pkgname-${pkgver}" + make DESTDIR=${pkgdir} install +} diff --git a/pcr/initng-git/PKGBUILD b/pcr/initng-git/PKGBUILD new file mode 100644 index 000000000..38279ad89 --- /dev/null +++ b/pcr/initng-git/PKGBUILD @@ -0,0 +1,51 @@ +# Maintainer: Luke Shumaker +# Maintainer (AUR): Jens Staal + +_pkgname=initng +pkgname=initng-git +pkgver=20120517.1043 +pkgdesc="A full replacement for the old System V Init system" +url="http://initng.org/" +license=('GPL3') + +pkgrel=1 +arch=('i686' 'x86_64') +provides=('init') +depends=('dbus') +makedepends=('git' 'acr' 'ftjam' 'makepkg-git') +optdepends=('ncurses') +options=(!strip) +source=('git://github.com/initng/initng.git' fixes.patch) +backup=(etc/initng/killall5-ignore) + +pkgver() { + cd "$srcdir/$_pkgname" + date -u +%Y%m%d.%H%M -d "$(git log -n1 --date=iso --format=format:'%cd')" +} + +build() { + cd "$srcdir/$_pkgname" + patch -Np1 -i "$srcdir/fixes.patch" + acr + ./configure --prefix="/usr" --sbindir=/sbin --sysconfdir=/etc + jam +} + +package() { + cd "$srcdir/$_pkgname" + + jam install DESTDIR="$pkgdir" + find "$pkgdir"/usr/lib -type f -name '*.so*' -exec chmod 755 {} + + find "$pkgdir"/sbin -type f -exec chmod 755 {} + + pushd "$pkgdir"/usr/lib + ln -s libngeclient.so.* libngeclient.so.0 + ln -s libngcclient.so.* libngcclient.so.0 + popd + + install -d "$pkgdir"/usr/share/licenses/initng + install -m644 COPYING "$pkgdir"/usr/share/licenses/initng/ + install -m644 AUTHORS "$pkgdir"/usr/share/licenses/initng/ +} + +md5sums=('SKIP' + 'bf6d17e00c5f0d85d99b7184980528ad') diff --git a/pcr/initng-git/fixes.patch b/pcr/initng-git/fixes.patch new file mode 100644 index 000000000..397965e38 --- /dev/null +++ b/pcr/initng-git/fixes.patch @@ -0,0 +1,31 @@ +diff -ru initng.orig/include/initng/io.h initng/include/initng/io.h +--- initng.orig/include/initng/io.h 2012-12-11 03:45:20.000000000 -0500 ++++ initng/include/initng/io.h 2012-12-11 03:44:30.000000000 -0500 +@@ -21,6 +21,7 @@ + #define INITNG_IO_H + + #include ++#include + #include + + #include +@@ -43,6 +44,6 @@ + pipe_h * pipe); + void initng_io_module_poll(int timeout); + +-int initng_io_set_cloexec(int fd); ++/* int initng_io_set_cloexec(int fd); */ + + #endif /* !defined(INITNG_IO_H) */ +diff -ru initng.orig/src/main/io/open.c initng/src/main/io/open.c +--- initng.orig/src/main/io/open.c 2012-12-11 03:45:20.000000000 -0500 ++++ initng/src/main/io/open.c 2012-12-11 03:44:30.000000000 -0500 +@@ -26,8 +26,5 @@ + int fd; + + fd = open(path, flags); +- if (fd != -1) { +- initng_io_fdtrack(fd); +- } + return fd; + } -- cgit v1.2.3 From 75cafae246aed347176d14796b346f03310e4220 Mon Sep 17 00:00:00 2001 From: aurelien Date: Tue, 11 Dec 2012 15:50:27 +0100 Subject: + ruby-shadow --- pcr/ruby-shadow/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pcr') diff --git a/pcr/ruby-shadow/PKGBUILD b/pcr/ruby-shadow/PKGBUILD index 5b7ee1972..155835a3f 100644 --- a/pcr/ruby-shadow/PKGBUILD +++ b/pcr/ruby-shadow/PKGBUILD @@ -1,5 +1,5 @@ # Contributor: Thomas S Hatch -# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres pkgname=ruby-shadow pkgver=2.1.4 -- cgit v1.2.3