Date: Wednesday, November 2, 2022 @ 12:48:27
  Author: felixonmars
Revision: 1341020

archrelease: copy trunk to community-staging-x86_64

Added:
  echoping/repos/community-staging-x86_64/
  echoping/repos/community-staging-x86_64/PKGBUILD
    (from rev 1341019, echoping/trunk/PKGBUILD)
  echoping/repos/community-staging-x86_64/link-echoping-to-libm.patch
    (from rev 1341019, echoping/trunk/link-echoping-to-libm.patch)

-----------------------------+
 PKGBUILD                    |   33 +++++++++++++++++++++++++++++++++
 link-echoping-to-libm.patch |   12 ++++++++++++
 2 files changed, 45 insertions(+)

Copied: echoping/repos/community-staging-x86_64/PKGBUILD (from rev 1341019, 
echoping/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-11-02 12:48:27 UTC (rev 1341020)
@@ -0,0 +1,33 @@
+# Maintainer: Florian Pritz <[email protected]>
+
+pkgname=echoping
+pkgver=6.0.2
+pkgrel=11
+pkgdesc="tests performance of a remote host by sending HTTP, TCP and UDP 
requests"
+arch=('x86_64')
+url="http://echoping.sourceforge.net/";
+license=('GPL')
+depends=(libidn popt libldap)
+#source=(https://sourceforge.net/projects/$pkgname/files/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz)
+source=("https://pkgs.fedoraproject.org/repo/pkgs/echoping/echoping-$pkgver.tar.gz/991478532b56ab3b6f46ea9fa332626f/echoping-$pkgver.tar.gz";
+        link-echoping-to-libm.patch)
+md5sums=('991478532b56ab3b6f46ea9fa332626f'
+         '3df2d0073af658579323d5f638de0289')
+
+prepare() {
+  cd "$srcdir/$pkgname-$pkgver"
+  patch -Np1 -i ../link-echoping-to-libm.patch
+}
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  CFLAGS+=' -fcommon' # 
https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
+  ./configure --prefix=/usr --config-cache --with-ssl
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  make DESTDIR="$pkgdir" install
+}

Copied: echoping/repos/community-staging-x86_64/link-echoping-to-libm.patch 
(from rev 1341019, echoping/trunk/link-echoping-to-libm.patch)
===================================================================
--- community-staging-x86_64/link-echoping-to-libm.patch                        
        (rev 0)
+++ community-staging-x86_64/link-echoping-to-libm.patch        2022-11-02 
12:48:27 UTC (rev 1341020)
@@ -0,0 +1,12 @@
+diff -upr echoping-6.0.2.orig/Makefile.in echoping-6.0.2/Makefile.in
+--- echoping-6.0.2.orig/Makefile.in    2007-04-09 22:53:03.000000000 +0300
++++ echoping-6.0.2/Makefile.in 2022-11-02 14:44:56.130685210 +0200
+@@ -226,7 +226,7 @@ top_srcdir = @top_srcdir@
+ man_MANS = echoping.1
+ echoping_SOURCES = echoping.c error.c readline.c writen.c util.c http.c icp.c 
HTParse.c echoping.h icp.h HTParse.h smtp.c
+ pkginclude_HEADERS = echoping.h compilation.h
+-echoping_LDADD = 
++echoping_LDADD = -lm
+ echoping_LDFLAGS = -export-dynamic
+ DOCS = DETAILS PLUGINS
+ SUBDIRS = plugins

Reply via email to