[arch-commits] Commit in linux-atm/repos/extra-x86_64 (8 files)

Felix Yan felixonmars at gemini.archlinux.org
Sat Aug 21 09:35:46 UTC 2021


    Date: Saturday, August 21, 2021 @ 09:35:46
  Author: felixonmars
Revision: 422442

archrelease: copy trunk to extra-x86_64

Added:
  linux-atm/repos/extra-x86_64/PKGBUILD
    (from rev 422441, linux-atm/trunk/PKGBUILD)
  linux-atm/repos/extra-x86_64/linux-atm-linux-5.2-SIOCGSTAMP.patch
    (from rev 422441, linux-atm/trunk/linux-atm-linux-5.2-SIOCGSTAMP.patch)
  linux-atm/repos/extra-x86_64/linux-atm-man-pages.patch
    (from rev 422441, linux-atm/trunk/linux-atm-man-pages.patch)
  linux-atm/repos/extra-x86_64/linux-atm-remove-define-hacks.patch
    (from rev 422441, linux-atm/trunk/linux-atm-remove-define-hacks.patch)
  linux-atm/repos/extra-x86_64/linux-atm-string-formatting.patch
    (from rev 422441, linux-atm/trunk/linux-atm-string-formatting.patch)
Deleted:
  linux-atm/repos/extra-x86_64/PKGBUILD
  linux-atm/repos/extra-x86_64/man-pages.patch
  linux-atm/repos/extra-x86_64/remove-define-hacks.patch

--------------------------------------+
 PKGBUILD                             |   82 ++++++++++++++++++---------------
 linux-atm-linux-5.2-SIOCGSTAMP.patch |   41 ++++++++++++++++
 linux-atm-man-pages.patch            |   45 ++++++++++++++++++
 linux-atm-remove-define-hacks.patch  |   22 ++++++++
 linux-atm-string-formatting.patch    |   11 ++++
 man-pages.patch                      |   45 ------------------
 remove-define-hacks.patch            |   22 --------
 7 files changed, 164 insertions(+), 104 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-08-21 09:35:32 UTC (rev 422441)
+++ PKGBUILD	2021-08-21 09:35:46 UTC (rev 422442)
@@ -1,37 +0,0 @@
-# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
-# Contributor: Surain Mallawa Arachchi <mas at crc32.net>
-
-pkgname=linux-atm
-pkgver=2.5.2
-pkgrel=6
-pkgdesc="Drivers and tools to support ATM networking under Linux."
-arch=('x86_64')
-depends=('glibc')
-url="http://linux-atm.sourceforge.net/"
-license=(GPL)
-source=(https://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz
-        man-pages.patch remove-define-hacks.patch)
-options=(!makeflags)
-md5sums=('d49499368c3cf15f73a05d9bce8824a8'
-         '181390736336cdb615ae32f1ae5acfa6'
-         '74275ad95cef3898ef3ec52c21012e45')
-
-prepare() {
-  cd "${pkgname}-${pkgver}"
-  patch -Np1 -i ../man-pages.patch
-  patch -Np1 -i ../remove-define-hacks.patch
-
-  # install firmware in /usr/lib
-  sed -i "s#/lib/firmware#/usr/lib/firmware#" src/extra/Makefile.in
-}
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  ./configure --prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc
-  make
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  make DESTDIR="${pkgdir}" install
-}

Copied: linux-atm/repos/extra-x86_64/PKGBUILD (from rev 422441, linux-atm/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-08-21 09:35:46 UTC (rev 422442)
@@ -0,0 +1,45 @@
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+# Contributor: Surain Mallawa Arachchi <mas at crc32.net>
+
+pkgname=linux-atm
+pkgver=2.5.2
+pkgrel=7
+pkgdesc="Drivers and tools to support ATM networking under Linux."
+arch=('x86_64')
+depends=('glibc')
+optdepends=('flex: for atmsigd')
+url="http://linux-atm.sourceforge.net/"
+license=(GPL)
+source=(https://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz
+        linux-atm-man-pages.patch
+        linux-atm-remove-define-hacks.patch
+        linux-atm-linux-5.2-SIOCGSTAMP.patch
+        linux-atm-string-formatting.patch)
+options=(!makeflags)
+md5sums=('d49499368c3cf15f73a05d9bce8824a8'
+         '181390736336cdb615ae32f1ae5acfa6'
+         '74275ad95cef3898ef3ec52c21012e45'
+         'a5a44b282461e6530ad8db0f032bf3d5'
+         'b08a6e98ffac0f2870be7f3a60948c5f')
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  patch -Np1 -i ../linux-atm-man-pages.patch
+  patch -Np1 -i ../linux-atm-remove-define-hacks.patch
+  patch -Np1 -i ../linux-atm-linux-5.2-SIOCGSTAMP.patch
+  patch -Np1 -i ../linux-atm-string-formatting.patch
+
+  # install firmware in /usr/lib
+  sed -i "s#/lib/firmware#/usr/lib/firmware#" src/extra/Makefile.in
+}
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  ./configure --prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+}

Copied: linux-atm/repos/extra-x86_64/linux-atm-linux-5.2-SIOCGSTAMP.patch (from rev 422441, linux-atm/trunk/linux-atm-linux-5.2-SIOCGSTAMP.patch)
===================================================================
--- linux-atm-linux-5.2-SIOCGSTAMP.patch	                        (rev 0)
+++ linux-atm-linux-5.2-SIOCGSTAMP.patch	2021-08-21 09:35:46 UTC (rev 422442)
@@ -0,0 +1,41 @@
+Fix build failure against linux-5.2+:
+  https://www.spinics.net/lists/linux-sh/msg53430.html
+
+--- a/src/maint/atmdump.c
++++ b/src/maint/atmdump.c
+@@ -17,6 +17,16 @@
+ #include <netinet/in.h> /* for htonl and ntohl */
+ #include <atm.h>
+ 
++#ifndef SIOCGSTAMP
++/* linux-5.2+ added support for 64-bit time_t into ioctls
++   that support 'struct timeval' and removed 'SIOCGSTAMP'
++   define.
++
++   Include 'SIOCGSTAMP' wrapper via linux/sockios.h
++   if does not exist.
++  */
++#    include <linux/sockios.h>
++#endif
+ 
+ static const char *pti[] = { "Data SDU 0","Data SDU 1","Data SDU 0, CE",
+   "Data SDU 1, CE","Segment OAM F5","End-to-end OAM F5","Reserved (RM)",
+--- a/src/maint/saaldump.c
++++ b/src/maint/saaldump.c
+@@ -24,6 +24,16 @@
+ 
+ #define MAX_ITEM  2048 /* longest string emitted by q.dump */
+ 
++#ifndef SIOCGSTAMP
++/* linux-5.2+ added support for 64-bit time_t into ioctls
++   that support 'struct timeval' and removed 'SIOCGSTAMP'
++   define.
++
++   Include 'SIOCGSTAMP' wrapper via linux/sockios.h
++   if does not exist.
++  */
++#    include <linux/sockios.h>
++#endif
+ 
+ static int interval = 0; /* display absolute time by default */
+ static int quiet = 0; /* decode Q.2931 messages by default */

Copied: linux-atm/repos/extra-x86_64/linux-atm-man-pages.patch (from rev 422441, linux-atm/trunk/linux-atm-man-pages.patch)
===================================================================
--- linux-atm-man-pages.patch	                        (rev 0)
+++ linux-atm-man-pages.patch	2021-08-21 09:35:46 UTC (rev 422442)
@@ -0,0 +1,45 @@
+diff -up linux-atm-2.5.1/src/led/zeppelin.8.fixman linux-atm-2.5.1/src/led/zeppelin.8
+--- linux-atm-2.5.1/src/led/zeppelin.8.fixman	2003-05-02 19:35:04.000000000 +0200
++++ linux-atm-2.5.1/src/led/zeppelin.8	2010-10-13 12:58:18.000000000 +0200
+@@ -99,7 +99,7 @@ Ring and ATM parts of the ELAN, so using
+ recommended. Token Ring support has received less testing than its
+ Ethernet counterpart.
+ .SH FILES
+-.IP \fI/var/run/lec[interface number].pid\fP
++\fI/var/run/lec[interface number].pid\fP
+ The file containing the process id of zeppelin.
+ .SH BUGS
+ John Bonham died 1980 and Led Zeppelin broke.
+diff -up linux-atm-2.5.1/src/mpoad/mpcd.8.fixman linux-atm-2.5.1/src/mpoad/mpcd.8
+--- linux-atm-2.5.1/src/mpoad/mpcd.8.fixman	2001-10-10 00:33:07.000000000 +0200
++++ linux-atm-2.5.1/src/mpoad/mpcd.8	2010-10-13 12:59:14.000000000 +0200
+@@ -28,7 +28,7 @@ mpcd \- ATM MPOA (Multi\-Protocol Over A
+ .B ]]
+ .SH DESCRIPTION
+ MPOA client
+-.SM(MPC) is responsible for creating and receiving
++.SM (MPC) is responsible for creating and receiving
+ internetwork layer shortcuts. Using these shortcuts MPCs forward
+ unicast internetwork layer packets effectively over ATM without need
+ for routing protocols.
+@@ -43,7 +43,7 @@ accepts shortcuts and packets arriving o
+ shortcuts is done with the help of
+ .SM MPOA
+ server
+-.SM(MPS).
++.SM (MPS).
+ .PP
+ Just as the Linux
+ .SM LAN
+diff -up linux-atm-2.5.1/src/sigd/atmsigd.conf.4.fixman linux-atm-2.5.1/src/sigd/atmsigd.conf.4
+--- linux-atm-2.5.1/src/sigd/atmsigd.conf.4.fixman	2001-10-10 00:33:07.000000000 +0200
++++ linux-atm-2.5.1/src/sigd/atmsigd.conf.4	2010-10-13 12:58:49.000000000 +0200
+@@ -125,7 +125,7 @@ a comment. The `#' character cannot be e
+ .P
+ If an option is specified in \fBatmsigd.conf\fP and on the command
+ line, the command line has priority.
+-.COMPATIBILITY
++.SH COMPATIBILITY
+ Certain options used by past versions of \fBatmsigd\fP but no longer documented
+ on the man page are still recognized and supported, but they also yield a
+ warning message. Future versions of \fBatmsigd\fP will not recognize those

Copied: linux-atm/repos/extra-x86_64/linux-atm-remove-define-hacks.patch (from rev 422441, linux-atm/trunk/linux-atm-remove-define-hacks.patch)
===================================================================
--- linux-atm-remove-define-hacks.patch	                        (rev 0)
+++ linux-atm-remove-define-hacks.patch	2021-08-21 09:35:46 UTC (rev 422442)
@@ -0,0 +1,22 @@
+diff -up linux-atm-2.5.1/src/arpd/arp.c.ftbfs linux-atm-2.5.1/src/arpd/arp.c
+--- linux-atm-2.5.1/src/arpd/arp.c.ftbfs	2007-07-11 11:27:15.000000000 -0400
++++ linux-atm-2.5.1/src/arpd/arp.c	2019-05-02 20:15:45.497338836 -0400
+@@ -15,7 +15,6 @@
+ #include <sys/types.h>
+ #include <sys/socket.h> /* for linux/if_arp.h */
+ #include <netinet/in.h> /* for ntohs, etc. */
+-#define _LINUX_NETDEVICE_H /* very crude hack for glibc2 */
+ #include <linux/types.h>
+ #include <linux/if_arp.h>
+ #include <linux/if_ether.h>
+diff -up linux-atm-2.5.1/src/arpd/itf.c.ftbfs linux-atm-2.5.1/src/arpd/itf.c
+--- linux-atm-2.5.1/src/arpd/itf.c.ftbfs	2007-07-11 11:27:15.000000000 -0400
++++ linux-atm-2.5.1/src/arpd/itf.c	2019-05-02 20:19:08.046499027 -0400
+@@ -12,7 +12,6 @@
+ #include <sys/types.h>
+ #include <linux/atmclip.h>
+ #include <sys/socket.h>
+-#define _LINUX_NETDEVICE_H /* glibc2 */
+ #include <linux/types.h>
+ #include <linux/if_arp.h>
+ 

Copied: linux-atm/repos/extra-x86_64/linux-atm-string-formatting.patch (from rev 422441, linux-atm/trunk/linux-atm-string-formatting.patch)
===================================================================
--- linux-atm-string-formatting.patch	                        (rev 0)
+++ linux-atm-string-formatting.patch	2021-08-21 09:35:46 UTC (rev 422442)
@@ -0,0 +1,11 @@
+--- linux-atm-2.5.1-orig/src/test/ttcp.c	2017-05-28 12:16:24.984611487 +0000
++++ linux-atm-2.5.1/src/test/ttcp.c	2017-05-28 12:17:25.370338343 +0000
+@@ -663,7 +663,7 @@ int no_check = 0;
+     exit(0);
+ 
+   usage:
+-    fprintf(stderr, Usage);
++    fprintf(stderr, "%s", Usage);
+     exit(1);
+ }
+ 

Deleted: man-pages.patch
===================================================================
--- man-pages.patch	2021-08-21 09:35:32 UTC (rev 422441)
+++ man-pages.patch	2021-08-21 09:35:46 UTC (rev 422442)
@@ -1,45 +0,0 @@
-diff -up linux-atm-2.5.1/src/led/zeppelin.8.fixman linux-atm-2.5.1/src/led/zeppelin.8
---- linux-atm-2.5.1/src/led/zeppelin.8.fixman	2003-05-02 19:35:04.000000000 +0200
-+++ linux-atm-2.5.1/src/led/zeppelin.8	2010-10-13 12:58:18.000000000 +0200
-@@ -99,7 +99,7 @@ Ring and ATM parts of the ELAN, so using
- recommended. Token Ring support has received less testing than its
- Ethernet counterpart.
- .SH FILES
--.IP \fI/var/run/lec[interface number].pid\fP
-+\fI/var/run/lec[interface number].pid\fP
- The file containing the process id of zeppelin.
- .SH BUGS
- John Bonham died 1980 and Led Zeppelin broke.
-diff -up linux-atm-2.5.1/src/mpoad/mpcd.8.fixman linux-atm-2.5.1/src/mpoad/mpcd.8
---- linux-atm-2.5.1/src/mpoad/mpcd.8.fixman	2001-10-10 00:33:07.000000000 +0200
-+++ linux-atm-2.5.1/src/mpoad/mpcd.8	2010-10-13 12:59:14.000000000 +0200
-@@ -28,7 +28,7 @@ mpcd \- ATM MPOA (Multi\-Protocol Over A
- .B ]]
- .SH DESCRIPTION
- MPOA client
--.SM(MPC) is responsible for creating and receiving
-+.SM (MPC) is responsible for creating and receiving
- internetwork layer shortcuts. Using these shortcuts MPCs forward
- unicast internetwork layer packets effectively over ATM without need
- for routing protocols.
-@@ -43,7 +43,7 @@ accepts shortcuts and packets arriving o
- shortcuts is done with the help of
- .SM MPOA
- server
--.SM(MPS).
-+.SM (MPS).
- .PP
- Just as the Linux
- .SM LAN
-diff -up linux-atm-2.5.1/src/sigd/atmsigd.conf.4.fixman linux-atm-2.5.1/src/sigd/atmsigd.conf.4
---- linux-atm-2.5.1/src/sigd/atmsigd.conf.4.fixman	2001-10-10 00:33:07.000000000 +0200
-+++ linux-atm-2.5.1/src/sigd/atmsigd.conf.4	2010-10-13 12:58:49.000000000 +0200
-@@ -125,7 +125,7 @@ a comment. The `#' character cannot be e
- .P
- If an option is specified in \fBatmsigd.conf\fP and on the command
- line, the command line has priority.
--.COMPATIBILITY
-+.SH COMPATIBILITY
- Certain options used by past versions of \fBatmsigd\fP but no longer documented
- on the man page are still recognized and supported, but they also yield a
- warning message. Future versions of \fBatmsigd\fP will not recognize those

Deleted: remove-define-hacks.patch
===================================================================
--- remove-define-hacks.patch	2021-08-21 09:35:32 UTC (rev 422441)
+++ remove-define-hacks.patch	2021-08-21 09:35:46 UTC (rev 422442)
@@ -1,22 +0,0 @@
-diff -up linux-atm-2.5.1/src/arpd/arp.c.ftbfs linux-atm-2.5.1/src/arpd/arp.c
---- linux-atm-2.5.1/src/arpd/arp.c.ftbfs	2007-07-11 11:27:15.000000000 -0400
-+++ linux-atm-2.5.1/src/arpd/arp.c	2019-05-02 20:15:45.497338836 -0400
-@@ -15,7 +15,6 @@
- #include <sys/types.h>
- #include <sys/socket.h> /* for linux/if_arp.h */
- #include <netinet/in.h> /* for ntohs, etc. */
--#define _LINUX_NETDEVICE_H /* very crude hack for glibc2 */
- #include <linux/types.h>
- #include <linux/if_arp.h>
- #include <linux/if_ether.h>
-diff -up linux-atm-2.5.1/src/arpd/itf.c.ftbfs linux-atm-2.5.1/src/arpd/itf.c
---- linux-atm-2.5.1/src/arpd/itf.c.ftbfs	2007-07-11 11:27:15.000000000 -0400
-+++ linux-atm-2.5.1/src/arpd/itf.c	2019-05-02 20:19:08.046499027 -0400
-@@ -12,7 +12,6 @@
- #include <sys/types.h>
- #include <linux/atmclip.h>
- #include <sys/socket.h>
--#define _LINUX_NETDEVICE_H /* glibc2 */
- #include <linux/types.h>
- #include <linux/if_arp.h>
- 



More information about the arch-commits mailing list