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

Evangelos Foutras foutrelis at archlinux.org
Sat Jun 1 08:58:11 UTC 2019


    Date: Saturday, June 1, 2019 @ 08:58:10
  Author: foutrelis
Revision: 476309

archrelease: copy trunk to community-staging-x86_64

Added:
  liboping/repos/community-staging-x86_64/PKGBUILD
    (from rev 476308, liboping/trunk/PKGBUILD)
  liboping/repos/community-staging-x86_64/install
    (from rev 476308, liboping/trunk/install)
  liboping/repos/community-staging-x86_64/ncursesw.patch
    (from rev 476308, liboping/trunk/ncursesw.patch)
Deleted:
  liboping/repos/community-staging-x86_64/PKGBUILD
  liboping/repos/community-staging-x86_64/install
  liboping/repos/community-staging-x86_64/ncursesw.patch

----------------+
 PKGBUILD       |   88 +++++++++++++++++++++++++++----------------------------
 install        |   16 +++++-----
 ncursesw.patch |   42 +++++++++++++-------------
 3 files changed, 73 insertions(+), 73 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-01 08:58:05 UTC (rev 476308)
+++ PKGBUILD	2019-06-01 08:58:10 UTC (rev 476309)
@@ -1,44 +0,0 @@
-# Maintainer: Gaetan Bisson <bisson at archlinux.org>
-
-pkgname=liboping
-pkgver=1.10.0
-pkgrel=6
-pkgdesc='C library to generate ICMP echo requests, better known as "ping packets"'
-url='https://noping.cc/'
-arch=('x86_64')
-license=('GPL')
-depends=('libcap')
-makedepends=('ncurses')
-optdepends=('perl: perl bindings'
-            'ncurses: noping CLI tool')
-source=("${url}files/${pkgname}-${pkgver}.tar.bz2"
-        'ncursesw.patch')
-sha256sums=('eb38aa93f93e8ab282d97e2582fbaea88b3f889a08cbc9dbf20059c3779d5cd8'
-            '64db954250e7cd4f77ed28d0d4f3deb1525ebe4145c6b20caafc2459c8b1c780')
-
-install=install
-
-prepare() {
-	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
-
-	# Our ncurses has full UTF8 support although not called ncursesw.
-	patch -p1 -i ../ncursesw.patch
-
-	# Be serious.
-	sed '/-Wall -Werror/d' -i src/Makefile.*
-}
-
-build() {
-	cd "${srcdir}/${pkgname}-${pkgver}"
-	./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/PKGBUILD (from rev 476308, liboping/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-06-01 08:58:10 UTC (rev 476309)
@@ -0,0 +1,44 @@
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+
+pkgname=liboping
+pkgver=1.10.0
+pkgrel=7
+pkgdesc='C library to generate ICMP echo requests, better known as "ping packets"'
+url='https://noping.cc/'
+arch=('x86_64')
+license=('GPL')
+depends=('libcap')
+makedepends=('ncurses')
+optdepends=('perl: perl bindings'
+            'ncurses: noping CLI tool')
+source=("${url}files/${pkgname}-${pkgver}.tar.bz2"
+        'ncursesw.patch')
+sha256sums=('eb38aa93f93e8ab282d97e2582fbaea88b3f889a08cbc9dbf20059c3779d5cd8'
+            '64db954250e7cd4f77ed28d0d4f3deb1525ebe4145c6b20caafc2459c8b1c780')
+
+install=install
+
+prepare() {
+	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
+
+	# Our ncurses has full UTF8 support although not called ncursesw.
+	patch -p1 -i ../ncursesw.patch
+
+	# Be serious.
+	sed '/-Wall -Werror/d' -i src/Makefile.*
+}
+
+build() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	./configure --prefix=/usr --with-perl-bindings='INSTALLDIRS=vendor'
+	make
+}
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	make DESTDIR="${pkgdir}" install
+}

Deleted: install
===================================================================
--- install	2019-06-01 08:58:05 UTC (rev 476308)
+++ install	2019-06-01 08:58:10 UTC (rev 476309)
@@ -1,8 +0,0 @@
-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/install (from rev 476308, liboping/trunk/install)
===================================================================
--- install	                        (rev 0)
+++ install	2019-06-01 08:58:10 UTC (rev 476309)
@@ -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
+}

Deleted: ncursesw.patch
===================================================================
--- ncursesw.patch	2019-06-01 08:58:05 UTC (rev 476308)
+++ ncursesw.patch	2019-06-01 08:58:10 UTC (rev 476309)
@@ -1,21 +0,0 @@
-diff -Naur old/src/oping.c new/src/oping.c
---- old/src/oping.c	2017-05-10 21:32:27.000000000 -1000
-+++ new/src/oping.c	2018-06-13 08:29:44.887061003 -1000
-@@ -903,7 +903,6 @@
- #if USE_NCURSES
- static _Bool has_utf8() /* {{{ */
- {
--# if HAVE_NCURSESW_NCURSES_H
- 	if (!opt_utf8)
- 	{
- 		/* Automatically determine */
-@@ -913,9 +912,6 @@
- 			opt_utf8 = 1;
- 	}
- 	return ((_Bool) (opt_utf8 - 1));
--# else
--	return (0);
--# endif
- } /* }}} _Bool has_utf8 */
- 
- static int update_graph_boxplot (ping_context_t *ctx) /* {{{ */

Copied: liboping/repos/community-staging-x86_64/ncursesw.patch (from rev 476308, liboping/trunk/ncursesw.patch)
===================================================================
--- ncursesw.patch	                        (rev 0)
+++ ncursesw.patch	2019-06-01 08:58:10 UTC (rev 476309)
@@ -0,0 +1,21 @@
+diff -Naur old/src/oping.c new/src/oping.c
+--- old/src/oping.c	2017-05-10 21:32:27.000000000 -1000
++++ new/src/oping.c	2018-06-13 08:29:44.887061003 -1000
+@@ -903,7 +903,6 @@
+ #if USE_NCURSES
+ static _Bool has_utf8() /* {{{ */
+ {
+-# if HAVE_NCURSESW_NCURSES_H
+ 	if (!opt_utf8)
+ 	{
+ 		/* Automatically determine */
+@@ -913,9 +912,6 @@
+ 			opt_utf8 = 1;
+ 	}
+ 	return ((_Bool) (opt_utf8 - 1));
+-# else
+-	return (0);
+-# endif
+ } /* }}} _Bool has_utf8 */
+ 
+ static int update_graph_boxplot (ping_context_t *ctx) /* {{{ */



More information about the arch-commits mailing list