[arch-commits] Commit in rpcbind/repos (16 files)

2015-09-19 Thread Andreas Radke
Date: Saturday, September 19, 2015 @ 18:59:00
  Author: andyrtr
Revision: 24

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  rpcbind/repos/testing-i686/
  rpcbind/repos/testing-i686/PKGBUILD
(from rev 246665, rpcbind/trunk/PKGBUILD)
  rpcbind/repos/testing-i686/bug-940191.patch
(from rev 246665, rpcbind/trunk/bug-940191.patch)
  rpcbind/repos/testing-i686/rpcbind-sunrpc.patch
(from rev 246665, rpcbind/trunk/rpcbind-sunrpc.patch)
  rpcbind/repos/testing-i686/rpcbind.conf
(from rev 246665, rpcbind/trunk/rpcbind.conf)
  rpcbind/repos/testing-i686/rpcbind.install
(from rev 246665, rpcbind/trunk/rpcbind.install)
  rpcbind/repos/testing-i686/rpcbind.service
(from rev 246665, rpcbind/trunk/rpcbind.service)
  rpcbind/repos/testing-i686/rpcbind.socket
(from rev 246665, rpcbind/trunk/rpcbind.socket)
  rpcbind/repos/testing-x86_64/
  rpcbind/repos/testing-x86_64/PKGBUILD
(from rev 246665, rpcbind/trunk/PKGBUILD)
  rpcbind/repos/testing-x86_64/bug-940191.patch
(from rev 246665, rpcbind/trunk/bug-940191.patch)
  rpcbind/repos/testing-x86_64/rpcbind-sunrpc.patch
(from rev 246665, rpcbind/trunk/rpcbind-sunrpc.patch)
  rpcbind/repos/testing-x86_64/rpcbind.conf
(from rev 246665, rpcbind/trunk/rpcbind.conf)
  rpcbind/repos/testing-x86_64/rpcbind.install
(from rev 246665, rpcbind/trunk/rpcbind.install)
  rpcbind/repos/testing-x86_64/rpcbind.service
(from rev 246665, rpcbind/trunk/rpcbind.service)
  rpcbind/repos/testing-x86_64/rpcbind.socket
(from rev 246665, rpcbind/trunk/rpcbind.socket)

-+
 testing-i686/PKGBUILD   |   66 
 testing-i686/bug-940191.patch   |   80 ++
 testing-i686/rpcbind-sunrpc.patch   |   11 
 testing-i686/rpcbind.conf   |3 +
 testing-i686/rpcbind.install|8 +++
 testing-i686/rpcbind.service|   11 
 testing-i686/rpcbind.socket |8 +++
 testing-x86_64/PKGBUILD |   66 
 testing-x86_64/bug-940191.patch |   80 ++
 testing-x86_64/rpcbind-sunrpc.patch |   11 
 testing-x86_64/rpcbind.conf |3 +
 testing-x86_64/rpcbind.install  |8 +++
 testing-x86_64/rpcbind.service  |   11 
 testing-x86_64/rpcbind.socket   |8 +++
 14 files changed, 374 insertions(+)

Copied: rpcbind/repos/testing-i686/PKGBUILD (from rev 246665, 
rpcbind/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2015-09-19 16:59:00 UTC (rev 24)
@@ -0,0 +1,66 @@
+# $Id$
+# Maintainer: AndyRTR 
+# Maintainer: Tobias Powalowski 
+
+pkgname=rpcbind
+pkgver=0.2.3
+pkgrel=2
+pkgdesc="portmap replacement which supports RPC over various protocols"
+arch=(i686 x86_64)
+backup=('etc/conf.d/rpcbind')
+makedepends=('systemd')
+depends=('bash' 'glibc' 'libtirpc' 'libsystemd')
+url="http://rpcbind.sourceforge.net;
+license=('custom')
+replaces=('portmap')
+# see also http://git.infradead.org/users/steved/rpcbind.git
+source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2
+bug-940191.patch
+rpcbind-sunrpc.patch
+rpcbind.service
+rpcbind.socket
+rpcbind.conf)
+install=rpcbind.install
+sha1sums=('e79974a99d09b6d6fff9d86bf00225dc33723ce2'
+  '717e2700510b1b40f452eddb929a7be00df4292b'
+  '1b997ce76f9727efc8c72fc5f97189591c9a60e2'
+  '3534c7bcdecebda90182fe2328a16137353cb1ad'
+  'c52f8396cd05181b788fbdf74898730343c03c9a'
+  '08246ff18d12cee01e5c9391c6ba8f5597cac936')
+
+prepare() {
+  cd $srcdir/$pkgname-$pkgver
+  # patch for iana services file # FS#20273
+  patch -Np1 -i ../rpcbind-sunrpc.patch
+  
+  # fix a memory corruption crash when remote scanning
+  # https://bugs.archlinux.org/task/46341
+  # http://seclists.org/oss-sec/2015/q3/581
+  patch -Np1 -i ../bug-940191.patch
+}
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+  ./configure --prefix=/usr \
+--with-rpcuser=rpc \
+--enable-warmstarts \
+--with-statedir=/var/lib/rpcbind
+  make
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+  make DESTDIR=$pkgdir install
+  # install rpcbind config file
+  install -D -m644 $srcdir/rpcbind.conf $pkgdir/etc/conf.d/rpcbind
+  # install missing man page - https://bugs.archlinux.org/task/21271
+  install -m644 man/rpcinfo.8 $pkgdir/usr/share/man/man8/
+  # install systemd service file
+  install -D -m644 $srcdir/rpcbind.service 
$pkgdir/usr/lib/systemd/system/rpcbind.service
+  # install system socket activation
+  install -D -m644 $srcdir/rpcbind.socket 
$pkgdir/usr/lib/systemd/system/rpcbind.socket
+  # add state directory
+  install -d -m 700 -o 32 -g 32 $pkgdir/var/lib/rpcbind
+  # install license
+  install -D -m644 COPYING 

[arch-commits] Commit in rpcbind/repos (16 files)

2014-06-22 Thread Tobias Powalowski
Date: Sunday, June 22, 2014 @ 21:26:47
  Author: tpowa
Revision: 215347

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  rpcbind/repos/testing-i686/PKGBUILD
(from rev 215346, rpcbind/trunk/PKGBUILD)
  rpcbind/repos/testing-i686/rpcbind-sunrpc.patch
(from rev 215346, rpcbind/trunk/rpcbind-sunrpc.patch)
  rpcbind/repos/testing-i686/rpcbind.conf
(from rev 215346, rpcbind/trunk/rpcbind.conf)
  rpcbind/repos/testing-i686/rpcbind.install
(from rev 215346, rpcbind/trunk/rpcbind.install)
  rpcbind/repos/testing-i686/rpcbind.service
(from rev 215346, rpcbind/trunk/rpcbind.service)
  rpcbind/repos/testing-i686/rpcbind.socket
(from rev 215346, rpcbind/trunk/rpcbind.socket)
  rpcbind/repos/testing-x86_64/PKGBUILD
(from rev 215346, rpcbind/trunk/PKGBUILD)
  rpcbind/repos/testing-x86_64/rpcbind-sunrpc.patch
(from rev 215346, rpcbind/trunk/rpcbind-sunrpc.patch)
  rpcbind/repos/testing-x86_64/rpcbind.conf
(from rev 215346, rpcbind/trunk/rpcbind.conf)
  rpcbind/repos/testing-x86_64/rpcbind.install
(from rev 215346, rpcbind/trunk/rpcbind.install)
  rpcbind/repos/testing-x86_64/rpcbind.service
(from rev 215346, rpcbind/trunk/rpcbind.service)
  rpcbind/repos/testing-x86_64/rpcbind.socket
(from rev 215346, rpcbind/trunk/rpcbind.socket)
Deleted:
  rpcbind/repos/testing-i686/rpcbind.conf
  rpcbind/repos/testing-i686/rpcbind.socket
  rpcbind/repos/testing-x86_64/rpcbind.conf
  rpcbind/repos/testing-x86_64/rpcbind.socket

-+
 /rpcbind.conf   |6 +++
 /rpcbind.socket |   16 
 testing-i686/PKGBUILD   |   63 ++
 testing-i686/rpcbind-sunrpc.patch   |   22 +++
 testing-i686/rpcbind.conf   |3 -
 testing-i686/rpcbind.install|   13 +++
 testing-i686/rpcbind.service|   11 +
 testing-i686/rpcbind.socket |8 
 testing-x86_64/PKGBUILD |   63 ++
 testing-x86_64/rpcbind-sunrpc.patch |   22 +++
 testing-x86_64/rpcbind.conf |3 -
 testing-x86_64/rpcbind.install  |   13 +++
 testing-x86_64/rpcbind.service  |   11 +
 testing-x86_64/rpcbind.socket   |8 
 14 files changed, 240 insertions(+), 22 deletions(-)

Copied: rpcbind/repos/testing-i686/PKGBUILD (from rev 215346, 
rpcbind/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2014-06-22 19:26:47 UTC (rev 215347)
@@ -0,0 +1,63 @@
+# $Id$
+# Maintainer: Tobias Powalowski tp...@archlinux.org
+
+pkgname=rpcbind
+pkgver=0.2.1
+pkgrel=5
+pkgdesc=portmap replacement which supports RPC over various protocols
+arch=(i686 x86_64)
+backup=('etc/conf.d/rpcbind')
+depends=('bash' 'glibc' 'libtirpc')
+url=http://rpcbind.sourceforge.net;
+license=('custom')
+replaces=('portmap')
+source=(http://downloads.sourceforge.net/sourceforge/rpcbind/rpcbind-0.2.1.tar.bz2
+rpcbind-sunrpc.patch
+rpcbind.service
+rpcbind.socket
+rpcbind.conf)
+install=rpcbind.install
+md5sums=('0a5f9c2142af814c55d957aaab3bcc68'
+ 'c02ac36a98baac70b8a26190524b7b73'
+ '0f493a590c250267034e230e7bf1f894'
+ 'e5a205cd7402fedaf74a744b2a22f0ad'
+ 'd4c74d1be9f98344af138a15ad3b6f8c')
+
+prepare() {
+  cd $srcdir/$pkgname-$pkgver
+  # patch for iana services file
+  patch -Np1 -i ../rpcbind-sunrpc.patch
+}
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+  ./configure --prefix=/usr --with-rpcuser=rpc --enable-warmstarts 
--with-statedir=/var/lib/rpcbind
+  make
+}
+
+check() {
+  cd $srcdir/$pkgname-$pkgver
+  make check
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+  make DESTDIR=$pkgdir install
+  # install rpcbind config file
+  install -D -m644 $srcdir/rpcbind.conf $pkgdir/etc/conf.d/rpcbind
+  # install missing man page - https://bugs.archlinux.org/task/21271
+  install -m644 man/rpcinfo.8 $pkgdir/usr/share/man/man8/
+  # install systemd service file
+  install -D -m644 $srcdir/rpcbind.service 
$pkgdir/usr/lib/systemd/system/rpcbind.service
+  # install system socket activation
+  install -D -m644 $srcdir/rpcbind.socket 
$pkgdir/usr/lib/systemd/system/rpcbind.socket
+  # add symlinks
+  mkdir $pkgdir/usr/lib/systemd/system/sockets.target.wants
+  mkdir $pkgdir/usr/lib/systemd/system/multi-user.target.wants
+  ln -sf ../rpcbind.socket 
$pkgdir/usr/lib/systemd/system/sockets.target.wants/rpcbind.socket
+  ln -sf ../rpcbind.service 
$pkgdir/usr/lib/systemd/system/multi-user.target.wants/rpcbind.service
+  # add state directory
+  install -d -m 700 -o 32 -g 32 $pkgdir/var/lib/rpcbind
+  # install license
+  install -D -m644 COPYING $pkgdir/usr/share/licenses/rpcbind/COPYING
+}

Copied: rpcbind/repos/testing-i686/rpcbind-sunrpc.patch (from rev 215346, 
rpcbind/trunk/rpcbind-sunrpc.patch)

[arch-commits] Commit in rpcbind/repos (16 files)

2013-08-31 Thread Tobias Powalowski
Date: Saturday, August 31, 2013 @ 12:51:12
  Author: tpowa
Revision: 193786

db-move: moved rpcbind from [testing] to [core] (i686, x86_64)

Added:
  rpcbind/repos/core-i686/PKGBUILD
(from rev 193783, rpcbind/repos/testing-i686/PKGBUILD)
  rpcbind/repos/core-i686/rpcbind-sunrpc.patch
(from rev 193783, rpcbind/repos/testing-i686/rpcbind-sunrpc.patch)
  rpcbind/repos/core-i686/rpcbind.install
(from rev 193783, rpcbind/repos/testing-i686/rpcbind.install)
  rpcbind/repos/core-i686/rpcbind.service
(from rev 193783, rpcbind/repos/testing-i686/rpcbind.service)
  rpcbind/repos/core-x86_64/PKGBUILD
(from rev 193783, rpcbind/repos/testing-x86_64/PKGBUILD)
  rpcbind/repos/core-x86_64/rpcbind-sunrpc.patch
(from rev 193783, rpcbind/repos/testing-x86_64/rpcbind-sunrpc.patch)
  rpcbind/repos/core-x86_64/rpcbind.install
(from rev 193783, rpcbind/repos/testing-x86_64/rpcbind.install)
  rpcbind/repos/core-x86_64/rpcbind.service
(from rev 193783, rpcbind/repos/testing-x86_64/rpcbind.service)
Deleted:
  rpcbind/repos/core-i686/PKGBUILD
  rpcbind/repos/core-i686/rpcbind-sunrpc.patch
  rpcbind/repos/core-i686/rpcbind.service
  rpcbind/repos/core-x86_64/PKGBUILD
  rpcbind/repos/core-x86_64/rpcbind-sunrpc.patch
  rpcbind/repos/core-x86_64/rpcbind.service
  rpcbind/repos/testing-i686/
  rpcbind/repos/testing-x86_64/

--+
 /PKGBUILD|   94 +
 /rpcbind-sunrpc.patch|   44 +
 /rpcbind.service |   26 ++
 core-i686/PKGBUILD   |   46 --
 core-i686/rpcbind-sunrpc.patch   |   22 
 core-i686/rpcbind.install|   13 +
 core-i686/rpcbind.service|   13 -
 core-x86_64/PKGBUILD |   46 --
 core-x86_64/rpcbind-sunrpc.patch |   22 
 core-x86_64/rpcbind.install  |   13 +
 core-x86_64/rpcbind.service  |   13 -
 11 files changed, 190 insertions(+), 162 deletions(-)

Deleted: core-i686/PKGBUILD
===
--- core-i686/PKGBUILD  2013-08-31 10:51:10 UTC (rev 193785)
+++ core-i686/PKGBUILD  2013-08-31 10:51:12 UTC (rev 193786)
@@ -1,46 +0,0 @@
-# $Id$
-# Maintainer: Tobias Powalowski tp...@archlinux.org
-
-pkgname=rpcbind
-pkgver=0.2.0
-pkgrel=12
-pkgdesc=portmap replacement which supports RPC over various protocols
-arch=(i686 x86_64)
-depends=('bash' 'glibc' 'libtirpc')
-url=http://rpcbind.sourceforge.net;
-license=('custom')
-replaces=('portmap')
-source=(http://downloads.sourceforge.net/sourceforge/rpcbind/rpcbind-0.2.0.tar.bz2
-rpcbind-sunrpc.patch
-rpcbind.service)
-md5sums=('1a77ddb1aaea8099ab19c351eeb26316'
- 'c02ac36a98baac70b8a26190524b7b73'
- 'a7b23a32be2eb52d7dec52da36d4eba1')
-
-prepare() {
-  cd $srcdir/$pkgname-$pkgver
-  # patch for iana services file
-  patch -Np1 -i ../rpcbind-sunrpc.patch
-}
-
-build() {
-  cd $srcdir/$pkgname-$pkgver
-  ./configure --prefix=/usr --enable-warmstarts --with-statedir=/run
-  make
-}
-
-check() {
-  cd $srcdir/$pkgname-$pkgver
-  make check
-}
-
-package() {
-  cd $srcdir/$pkgname-$pkgver
-  make DESTDIR=$pkgdir install
-  # install missing man page - https://bugs.archlinux.org/task/21271
-  install -m644 man/rpcinfo.8 $pkgdir/usr/share/man/man8/
-  # install systemd service file
-  install -D -m644 $srcdir/rpcbind.service 
$pkgdir/usr/lib/systemd/system/rpcbind.service
-  # install license
-  install -D -m644 COPYING $pkgdir/usr/share/licenses/rpcbind/COPYING
-}

Copied: rpcbind/repos/core-i686/PKGBUILD (from rev 193783, 
rpcbind/repos/testing-i686/PKGBUILD)
===
--- core-i686/PKGBUILD  (rev 0)
+++ core-i686/PKGBUILD  2013-08-31 10:51:12 UTC (rev 193786)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Tobias Powalowski tp...@archlinux.org
+
+pkgname=rpcbind
+pkgver=0.2.1
+pkgrel=2
+pkgdesc=portmap replacement which supports RPC over various protocols
+arch=(i686 x86_64)
+depends=('bash' 'glibc' 'libtirpc')
+url=http://rpcbind.sourceforge.net;
+license=('custom')
+replaces=('portmap')
+source=(http://downloads.sourceforge.net/sourceforge/rpcbind/rpcbind-0.2.1.tar.bz2
+rpcbind-sunrpc.patch
+rpcbind.service)
+install=rpcbind.install
+md5sums=('0a5f9c2142af814c55d957aaab3bcc68'
+ 'c02ac36a98baac70b8a26190524b7b73'
+ 'a7b23a32be2eb52d7dec52da36d4eba1'
+)
+prepare() {
+  cd $srcdir/$pkgname-$pkgver
+  # patch for iana services file
+  patch -Np1 -i ../rpcbind-sunrpc.patch
+}
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+  ./configure --prefix=/usr --with-rpcuser=rpc --enable-warmstarts 
--with-statedir=/run
+  make
+}
+
+check() {
+  cd $srcdir/$pkgname-$pkgver
+  make check
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+  make DESTDIR=$pkgdir install
+  # install missing man page - https://bugs.archlinux.org/task/21271
+  

[arch-commits] Commit in rpcbind/repos (16 files)

2012-04-13 Thread Tobias Powalowski
Date: Friday, April 13, 2012 @ 08:06:10
  Author: tpowa
Revision: 156096

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  rpcbind/repos/testing-i686/PKGBUILD
(from rev 156094, rpcbind/trunk/PKGBUILD)
  rpcbind/repos/testing-i686/rpcbind
(from rev 156094, rpcbind/trunk/rpcbind)
  rpcbind/repos/testing-i686/rpcbind-sunrpc.patch
(from rev 156094, rpcbind/trunk/rpcbind-sunrpc.patch)
  rpcbind/repos/testing-i686/rpcbind.service
(from rev 156094, rpcbind/trunk/rpcbind.service)
  rpcbind/repos/testing-x86_64/PKGBUILD
(from rev 156095, rpcbind/trunk/PKGBUILD)
  rpcbind/repos/testing-x86_64/rpcbind
(from rev 156095, rpcbind/trunk/rpcbind)
  rpcbind/repos/testing-x86_64/rpcbind-sunrpc.patch
(from rev 156095, rpcbind/trunk/rpcbind-sunrpc.patch)
  rpcbind/repos/testing-x86_64/rpcbind.service
(from rev 156095, rpcbind/trunk/rpcbind.service)
Deleted:
  
rpcbind/repos/testing-i686/0001-rpcbind-add-support-for-systemd-socket-activation.patch
  rpcbind/repos/testing-i686/PKGBUILD
  rpcbind/repos/testing-i686/rpcbind
  rpcbind/repos/testing-i686/rpcbind-sunrpc.patch
  
rpcbind/repos/testing-x86_64/0001-rpcbind-add-support-for-systemd-socket-activation.patch
  rpcbind/repos/testing-x86_64/PKGBUILD
  rpcbind/repos/testing-x86_64/rpcbind
  rpcbind/repos/testing-x86_64/rpcbind-sunrpc.patch

-+
 testing-i686/0001-rpcbind-add-support-for-systemd-socket-activation.patch   |  
271 --
 testing-i686/PKGBUILD   |  
 93 +--
 testing-i686/rpcbind|  
 78 +-
 testing-i686/rpcbind-sunrpc.patch   |  
 44 -
 testing-i686/rpcbind.service|  
 11 
 testing-x86_64/0001-rpcbind-add-support-for-systemd-socket-activation.patch |  
271 --
 testing-x86_64/PKGBUILD |  
 93 +--
 testing-x86_64/rpcbind  |  
 78 +-
 testing-x86_64/rpcbind-sunrpc.patch |  
 44 -
 testing-x86_64/rpcbind.service  |  
 11 
 10 files changed, 236 insertions(+), 758 deletions(-)

Deleted: 
testing-i686/0001-rpcbind-add-support-for-systemd-socket-activation.patch
===
--- testing-i686/0001-rpcbind-add-support-for-systemd-socket-activation.patch   
2012-04-13 12:05:51 UTC (rev 156095)
+++ testing-i686/0001-rpcbind-add-support-for-systemd-socket-activation.patch   
2012-04-13 12:06:10 UTC (rev 156096)
@@ -1,271 +0,0 @@
-From e0a37e07c5ea6557706cc0840802519b8b3fc563 Mon Sep 17 00:00:00 2001
-From: Tom Gundersen t...@jklm.no
-Date: Thu, 12 Apr 2012 13:30:28 +0200
-Subject: [PATCH] rpcbind: add support for systemd socket activation
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Making rpcbind sockect activated will greatly simplify
-its integration in systemd systems. In essence, other services
-may now assume that rpcbind is always available, even during very
-early boot. This means that we no longer need to worry about any
-ordering dependencies.
-
-This is based on a patch originally posted by Lennart Poettering:
-http://permalink.gmane.org/gmane.linux.nfs/33774.
-
-That patch was not merged due to the lack of a shared library and
-as systemd was seen to be too Fedora specific.
-
-Systemd now provides a shared library, and it is shipped by defalt in
-OpenSUSE in addition to Fedora, and it is available in Debain, Gentoo,
-Arch, and others.
-
-This version of the patch has three changes from the original:
-
- * It uses the shared library.
- * It comes with unit files.
- * It is rebased on top of master.
-
-A followup patch will sort out the indentation issues, as they are left in
-to make review simpler.
-
-Comments welcome.
-
-v2: correctly enable systemd code at compile time
-handle the case where not all the required sockets were supplied
-listen on udp/tcp port 111 in addition to /var/run/rpcbind.sock
-do not daemonize
-v3: default to compile without systemd support when systemd is not
-installed at compile time.
-
-Original-patch-by: Lennart Poettering lenn...@poettering.net
-Cc: systemd-de...@lists.freedesktop.org
-Cc: Steve Dickson ste...@redhat.com
-Cc: Chuck Lever chuck.le...@oracle.com
-Acked-by: Cristian Rodríguez crrodrig...@opensuse.org
-Signed-off-by: Tom Gundersen t...@jklm.no

- Makefile.am|   15 
- configure.in   |   11 ++
- src/rpcbind.c  |   81 
- systemd/.gitignore |1 +
- systemd/rpcbind.service.in |9 +
- systemd/rpcbind.socket |   12 +++
- 6 files changed, 123 insertions(+), 6 deletions(-)