pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/iana-etc update reference link to point to IANA



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c1b755300b65
branches:  trunk
changeset: 388931:c1b755300b65
user:      jschauma <jschauma%pkgsrc.org@localhost>
date:      Mon Nov 28 02:15:03 2022 +0000

description:
update reference link to point to IANA

This whole package should probably be updated to source data directly from
IANA, but for now just update the previously dead link to refer people to
IANA's source of truth.

Bump pkgrevision.

diffstat:

 net/iana-etc/Makefile                     |   4 ++--
 net/iana-etc/distinfo                     |   5 +++--
 net/iana-etc/patches/patch-protocols.gawk |  15 +++++++++++++++
 net/iana-etc/patches/patch-services.gawk  |  16 +++++++++++++---
 4 files changed, 33 insertions(+), 7 deletions(-)

diffs (74 lines):

diff -r bee51255bbc6 -r c1b755300b65 net/iana-etc/Makefile
--- a/net/iana-etc/Makefile     Sun Nov 27 23:35:19 2022 +0000
+++ b/net/iana-etc/Makefile     Mon Nov 28 02:15:03 2022 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.7 2019/06/15 15:18:22 christos Exp $
+# $NetBSD: Makefile,v 1.8 2022/11/28 02:15:03 jschauma Exp $
 #
 
 DISTNAME=      iana-etc-2.30
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    net
 MASTER_SITES=  http://sethwklein.net/
 EXTRACT_SUFX=  .tar.bz2
diff -r bee51255bbc6 -r c1b755300b65 net/iana-etc/distinfo
--- a/net/iana-etc/distinfo     Sun Nov 27 23:35:19 2022 +0000
+++ b/net/iana-etc/distinfo     Mon Nov 28 02:15:03 2022 +0000
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.7 2021/10/26 11:05:47 nia Exp $
+$NetBSD: distinfo,v 1.8 2022/11/28 02:15:03 jschauma Exp $
 
 BLAKE2s (iana-etc-2.30.tar.bz2) = d946204cdea28867e7780b737c5de36f2b8a79339a7b8d4bd3f37b65fa25b4a3
 SHA512 (iana-etc-2.30.tar.bz2) = d841b9c177fb0675bab10c9b0ebc4d3c2b743754c615e3fabcaebb29ffefaf2491278d0e672b99af3cbc9b300138700f56c1026f6d41659783150aea97583936
 Size (iana-etc-2.30.tar.bz2) = 205618 bytes
 SHA1 (patch-Makefile) = 2e4e7e3cc9ba8d96b93020e2f44f377cb2a04073
 SHA1 (patch-get.gawk) = 2316b674ae1b2cbbfcdefd9148b5456f9034b4f0
-SHA1 (patch-services.gawk) = 7f7cc91fdcb2b4393585001614477cd25c44b0a6
+SHA1 (patch-protocols.gawk) = 33ec3417f2155146d32b17204dccef534b95e54d
+SHA1 (patch-services.gawk) = a4ecb6826480366ef45c73b0356e2eeec230c6f0
diff -r bee51255bbc6 -r c1b755300b65 net/iana-etc/patches/patch-protocols.gawk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/iana-etc/patches/patch-protocols.gawk Mon Nov 28 02:15:03 2022 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-protocols.gawk,v 1.1 2022/11/28 02:15:03 jschauma Exp $
+
+o Protocol numbers are authoritatively sourced from IANA
+
+--- protocols.gawk.orig        2022-11-27 21:04:38.855183965 -0500
++++ protocols.gawk     2022-11-27 21:05:09.916463115 -0500
+@@ -14,7 +14,7 @@
+     } else {
+       strip = 0
+       print "# See also: protocols(5)" \
+-          ", http://www.sethwklein.net/projects/iana-etc/\n#";
++          ", https://www.iana.org/assignments/protocol-numbers/\n#";
+       format = "%-12s %3s %-12s # %s\n"
+       header_printed = 0
+     }
diff -r bee51255bbc6 -r c1b755300b65 net/iana-etc/patches/patch-services.gawk
--- a/net/iana-etc/patches/patch-services.gawk  Sun Nov 27 23:35:19 2022 +0000
+++ b/net/iana-etc/patches/patch-services.gawk  Mon Nov 28 02:15:03 2022 +0000
@@ -1,9 +1,19 @@
-$NetBSD: patch-services.gawk,v 1.2 2012/08/25 13:01:42 christos Exp $
+$NetBSD: patch-services.gawk,v 1.3 2022/11/28 02:15:03 jschauma Exp $
 
+o Service numbers are authoritatively sourced from IANA
 o New services file has <port> <protocol> instead of <port>/<protocol>
 
---- services.gawk      2008-03-05 19:51:45.000000000 +0200
-+++ services.gawk      2012-08-25 13:36:06.000000000 +0300
+--- services.gawk.orig 2008-03-05 12:51:45.000000000 -0500
++++ services.gawk      2022-11-27 21:03:42.805245025 -0500
+@@ -11,7 +11,7 @@
+     } else {
+       strip = 0
+       print "# See also: services(5)" \
+-          ", http://www.sethwklein.net/projects/iana-etc/\n#";
++          ", https://www.iana.org/assignments/service-names-port-numbers/\n#";
+     }
+     while (getline <"port-aliases") {
+       sub(/#.*/, "")
 @@ -22,15 +22,15 @@
      }
  }



Home | Main Index | Thread Index | Old Index