[arch-commits] Commit in traceroute/repos (3 files)

Anatol Pomozov anatolik at archlinux.org
Thu Nov 21 08:49:34 UTC 2019


    Date: Thursday, November 21, 2019 @ 08:49:34
  Author: anatolik
Revision: 369534

archrelease: copy trunk to testing-x86_64

Added:
  traceroute/repos/testing-x86_64/
  traceroute/repos/testing-x86_64/PKGBUILD
    (from rev 369533, traceroute/trunk/PKGBUILD)
  traceroute/repos/testing-x86_64/reproducible-build.patch
    (from rev 369533, traceroute/trunk/reproducible-build.patch)

--------------------------+
 PKGBUILD                 |   29 +++++++++++++++++++++++++++++
 reproducible-build.patch |   13 +++++++++++++
 2 files changed, 42 insertions(+)

Copied: traceroute/repos/testing-x86_64/PKGBUILD (from rev 369533, traceroute/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2019-11-21 08:49:34 UTC (rev 369534)
@@ -0,0 +1,29 @@
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=traceroute
+pkgver=2.1.0
+pkgrel=4
+pkgdesc="Tracks the route taken by packets over an IP network"
+arch=('x86_64')
+url="http://traceroute.sourceforge.net/"
+license=('GPL2')
+depends=('glibc')
+source=(https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz
+        reproducible-build.patch)
+sha1sums=('bc5c6c8022187511be5665b3818d919be5987dcc'
+          'ca5fc57ff373b26e9d2850ffd380f06618759eef')
+
+patch() {
+  cd ${pkgname}-${pkgver}
+  patch -p1 < ../reproducible-build.patch
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  make CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" LDFLAGS="$LDFLAGS"
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make prefix=/usr DESTDIR="${pkgdir}" install
+}

Copied: traceroute/repos/testing-x86_64/reproducible-build.patch (from rev 369533, traceroute/trunk/reproducible-build.patch)
===================================================================
--- testing-x86_64/reproducible-build.patch	                        (rev 0)
+++ testing-x86_64/reproducible-build.patch	2019-11-21 08:49:34 UTC (rev 369534)
@@ -0,0 +1,13 @@
+diff --git a/Make.rules b/Make.rules
+index ce5b033..49cad28 100644
+--- a/Make.rules
++++ b/Make.rules
+@@ -166,7 +166,7 @@ endif
+ endif
+ endif
+ 
+-sources = $(wildcard *.c)
++sources = $(sort $(wildcard *.c))
+ OBJS = $(sources:.c=.$(obj))
+ 
+ 



More information about the arch-commits mailing list