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

Evangelos Foutras foutrelis at archlinux.org
Thu Aug 24 12:58:25 UTC 2017


    Date: Thursday, August 24, 2017 @ 12:58:25
  Author: foutrelis
Revision: 253202

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 253201, liboping/trunk/PKGBUILD)
  liboping/repos/community-staging-i686/install
    (from rev 253201, liboping/trunk/install)
  liboping/repos/community-staging-x86_64/
  liboping/repos/community-staging-x86_64/PKGBUILD
    (from rev 253201, liboping/trunk/PKGBUILD)
  liboping/repos/community-staging-x86_64/install
    (from rev 253201, 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 253201, liboping/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2017-08-24 12:58:25 UTC (rev 253202)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+
+pkgname=liboping
+pkgver=1.10.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=('eb38aa93f93e8ab282d97e2582fbaea88b3f889a08cbc9dbf20059c3779d5cd8')
+
+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 253201, liboping/trunk/install)
===================================================================
--- community-staging-i686/install	                        (rev 0)
+++ community-staging-i686/install	2017-08-24 12:58:25 UTC (rev 253202)
@@ -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 253201, liboping/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2017-08-24 12:58:25 UTC (rev 253202)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+
+pkgname=liboping
+pkgver=1.10.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=('eb38aa93f93e8ab282d97e2582fbaea88b3f889a08cbc9dbf20059c3779d5cd8')
+
+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 253201, liboping/trunk/install)
===================================================================
--- community-staging-x86_64/install	                        (rev 0)
+++ community-staging-x86_64/install	2017-08-24 12:58:25 UTC (rev 253202)
@@ -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