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

Evangelos Foutras foutrelis at archlinux.org
Thu Jun 1 09:17:43 UTC 2017


    Date: Thursday, June 1, 2017 @ 09:17:43
  Author: foutrelis
Revision: 232058

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 232055, liboping/trunk/PKGBUILD)
  liboping/repos/community-staging-i686/install
    (from rev 232055, liboping/trunk/install)
  liboping/repos/community-staging-x86_64/
  liboping/repos/community-staging-x86_64/PKGBUILD
    (from rev 232057, liboping/trunk/PKGBUILD)
  liboping/repos/community-staging-x86_64/install
    (from rev 232057, 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 232055, liboping/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2017-06-01 09:17:43 UTC (rev 232058)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+
+pkgname=liboping
+pkgver=1.9.0
+pkgrel=2
+pkgdesc='C library to generate ICMP echo requests, better known as "ping packets"'
+url='https://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=('44bb1d88b56b88fda5533edb3aa005c69b3cd396f20453a157d7e31e536f3530')
+
+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 232055, liboping/trunk/install)
===================================================================
--- community-staging-i686/install	                        (rev 0)
+++ community-staging-i686/install	2017-06-01 09:17:43 UTC (rev 232058)
@@ -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 232057, liboping/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2017-06-01 09:17:43 UTC (rev 232058)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+
+pkgname=liboping
+pkgver=1.9.0
+pkgrel=2
+pkgdesc='C library to generate ICMP echo requests, better known as "ping packets"'
+url='https://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=('44bb1d88b56b88fda5533edb3aa005c69b3cd396f20453a157d7e31e536f3530')
+
+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 232057, liboping/trunk/install)
===================================================================
--- community-staging-x86_64/install	                        (rev 0)
+++ community-staging-x86_64/install	2017-06-01 09:17:43 UTC (rev 232058)
@@ -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