[arch-commits] Commit in liboping/repos (6 files)

Evangelos Foutras foutrelis at archlinux.org
Sun Sep 6 20:24:18 UTC 2015


    Date: Sunday, September 6, 2015 @ 22:24:18
  Author: foutrelis
Revision: 139366

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  liboping/repos/community-staging-i686/
  liboping/repos/community-staging-i686/PKGBUILD
    (from rev 139365, liboping/trunk/PKGBUILD)
  liboping/repos/community-staging-i686/install
    (from rev 139365, liboping/trunk/install)
  liboping/repos/community-staging-x86_64/
  liboping/repos/community-staging-x86_64/PKGBUILD
    (from rev 139365, liboping/trunk/PKGBUILD)
  liboping/repos/community-staging-x86_64/install
    (from rev 139365, liboping/trunk/install)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   34 ++++++++++++++++++++++++++++++++++
 community-staging-i686/install    |    8 ++++++++
 community-staging-x86_64/PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 community-staging-x86_64/install  |    8 ++++++++
 4 files changed, 84 insertions(+)

Copied: liboping/repos/community-staging-i686/PKGBUILD (from rev 139365, liboping/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-09-06 20:24:18 UTC (rev 139366)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+
+pkgname=liboping
+pkgver=1.8.0
+pkgrel=3
+pkgdesc='C library to generate ICMP echo requests, better known as "ping packets"'
+url='http://noping.cc/'
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('libcap')
+makedepends=('ncurses')
+optdepends=('perl: perl bindings'
+            'ncurses: noping CLI tool')
+source=("${url}files/${pkgname}-${pkgver}.tar.bz2")
+sha256sums=('1dcb9182c981b31d67522ae24e925563bed57cf950dc681580c4b0abb6a65bdb')
+
+install=install
+
+build() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+
+	# setting capabilities/setuid is futile in fakeroot
+	# (we do that in the install script)
+	sed -i 's/ install-exec-hook//g' src/Makefile.in
+
+	./configure --prefix=/usr --with-perl-bindings='INSTALLDIRS=vendor'
+	make
+}
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	make DESTDIR="${pkgdir}" install
+}

Copied: liboping/repos/community-staging-i686/install (from rev 139365, liboping/trunk/install)
===================================================================
--- community-staging-i686/install	                        (rev 0)
+++ community-staging-i686/install	2015-09-06 20:24:18 UTC (rev 139366)
@@ -0,0 +1,8 @@
+post_upgrade() {
+	setcap cap_net_raw=ep usr/bin/oping
+	setcap cap_net_raw=ep usr/bin/noping
+}
+
+post_install() {
+	post_upgrade
+}

Copied: liboping/repos/community-staging-x86_64/PKGBUILD (from rev 139365, liboping/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-09-06 20:24:18 UTC (rev 139366)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+
+pkgname=liboping
+pkgver=1.8.0
+pkgrel=3
+pkgdesc='C library to generate ICMP echo requests, better known as "ping packets"'
+url='http://noping.cc/'
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('libcap')
+makedepends=('ncurses')
+optdepends=('perl: perl bindings'
+            'ncurses: noping CLI tool')
+source=("${url}files/${pkgname}-${pkgver}.tar.bz2")
+sha256sums=('1dcb9182c981b31d67522ae24e925563bed57cf950dc681580c4b0abb6a65bdb')
+
+install=install
+
+build() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+
+	# setting capabilities/setuid is futile in fakeroot
+	# (we do that in the install script)
+	sed -i 's/ install-exec-hook//g' src/Makefile.in
+
+	./configure --prefix=/usr --with-perl-bindings='INSTALLDIRS=vendor'
+	make
+}
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	make DESTDIR="${pkgdir}" install
+}

Copied: liboping/repos/community-staging-x86_64/install (from rev 139365, liboping/trunk/install)
===================================================================
--- community-staging-x86_64/install	                        (rev 0)
+++ community-staging-x86_64/install	2015-09-06 20:24:18 UTC (rev 139366)
@@ -0,0 +1,8 @@
+post_upgrade() {
+	setcap cap_net_raw=ep usr/bin/oping
+	setcap cap_net_raw=ep usr/bin/noping
+}
+
+post_install() {
+	post_upgrade
+}



More information about the arch-commits mailing list