Date: Saturday, May 16, 2015 @ 22:34:46 Author: bisson Revision: 239479
db-move: moved iana-etc from [testing] to [core] (any) Added: iana-etc/repos/core-any/PKGBUILD (from rev 239478, iana-etc/repos/testing-any/PKGBUILD) iana-etc/repos/core-any/newer.patch (from rev 239478, iana-etc/repos/testing-any/newer.patch) iana-etc/repos/core-any/protocols.gawk (from rev 239478, iana-etc/repos/testing-any/protocols.gawk) iana-etc/repos/core-any/services.gawk (from rev 239478, iana-etc/repos/testing-any/services.gawk) Deleted: iana-etc/repos/core-any/PKGBUILD iana-etc/repos/core-any/newer.patch iana-etc/repos/core-any/protocols.gawk iana-etc/repos/core-any/services.gawk iana-etc/repos/testing-any/ -------------------------+ /PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++ /newer.patch | 29 +++++++++++++++++++++++++++++ /protocols.gawk | 13 +++++++++++++ /services.gawk | 15 +++++++++++++++ core-any/PKGBUILD | 45 --------------------------------------------- core-any/newer.patch | 29 ----------------------------- core-any/protocols.gawk | 13 ------------- core-any/services.gawk | 15 --------------- 8 files changed, 102 insertions(+), 102 deletions(-) Deleted: core-any/PKGBUILD =================================================================== --- core-any/PKGBUILD 2015-05-16 20:34:40 UTC (rev 239478) +++ core-any/PKGBUILD 2015-05-16 20:34:46 UTC (rev 239479) @@ -1,45 +0,0 @@ -# $Id$ -# Contributor: Thomas Bächler <tho...@archlinux.org> -# Maintainer: Gaetan Bisson <bis...@archlinux.org> - -pkgname=iana-etc -pkgver=2.30 -pkgrel=4 -pkgdesc='/etc/protocols and /etc/services provided by IANA' -url='http://sethwklein.net/iana-etc.html' -arch=('any') -license=('custom') -backup=('etc/'{protocols,services}) -source=("http://sethwklein.net/${pkgname}-${pkgver}.tar.bz2" - 'protocols.gawk' - 'services.gawk' - 'newer.patch') -sha1sums=('218593bcb9264014c4e397d838b2c218eac9df06' - '48c1b94d9069f73e8a919301da564f414c4108f8' - 'c04278a7f11466efc64b80c193ef630857d9698a' - '2ff4a7aa0854a2b191b0b1a5c36eff072cd6885e') - -prepare() { - cd "${srcdir}/${pkgname}-${pkgver}" - cp ../protocols.gawk ../services.gawk . - patch -p1 -i ../newer.patch -} - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - make get - make -} - -check() { - cd "${srcdir}/${pkgname}-${pkgver}" - make test -} - -package() { - cd "${srcdir}/${pkgname}-${pkgver}" - make DESTDIR="${pkgdir}" install - install -Dm644 COPYING "${pkgdir}/usr/share/licenses/iana-etc/LICENSE" - install -Dm644 port-numbers.iana "${pkgdir}/usr/share/iana-etc/port-numbers.iana" - install -Dm644 protocol-numbers.iana "${pkgdir}/usr/share/iana-etc/protocol-numbers.iana" -} Copied: iana-etc/repos/core-any/PKGBUILD (from rev 239478, iana-etc/repos/testing-any/PKGBUILD) =================================================================== --- core-any/PKGBUILD (rev 0) +++ core-any/PKGBUILD 2015-05-16 20:34:46 UTC (rev 239479) @@ -0,0 +1,45 @@ +# $Id$ +# Contributor: Thomas Bächler <tho...@archlinux.org> +# Maintainer: Gaetan Bisson <bis...@archlinux.org> + +pkgname=iana-etc +pkgver=2.30 +pkgrel=5 +pkgdesc='/etc/protocols and /etc/services provided by IANA' +url='http://sethwklein.net/iana-etc.html' +arch=('any') +license=('custom') +backup=('etc/'{protocols,services}) +source=("http://sethwklein.net/${pkgname}-${pkgver}.tar.bz2" + 'protocols.gawk' + 'services.gawk' + 'newer.patch') +sha1sums=('218593bcb9264014c4e397d838b2c218eac9df06' + '48c1b94d9069f73e8a919301da564f414c4108f8' + 'c04278a7f11466efc64b80c193ef630857d9698a' + '2ff4a7aa0854a2b191b0b1a5c36eff072cd6885e') + +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + cp ../protocols.gawk ../services.gawk . + patch -p1 -i ../newer.patch +} + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + make get + make +} + +check() { + cd "${srcdir}/${pkgname}-${pkgver}" + make test +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + install -Dm644 COPYING "${pkgdir}/usr/share/licenses/iana-etc/LICENSE" + install -Dm644 port-numbers.iana "${pkgdir}/usr/share/iana-etc/port-numbers.iana" + install -Dm644 protocol-numbers.iana "${pkgdir}/usr/share/iana-etc/protocol-numbers.iana" +} Deleted: core-any/newer.patch =================================================================== --- core-any/newer.patch 2015-05-16 20:34:40 UTC (rev 239478) +++ core-any/newer.patch 2015-05-16 20:34:46 UTC (rev 239479) @@ -1,29 +0,0 @@ -diff -Naur old/Makefile new/Makefile ---- old/Makefile 2008-03-05 08:02:40.000000000 -1000 -+++ new/Makefile 2013-11-20 11:30:01.387562517 -1000 -@@ -42,11 +42,11 @@ - protocol-numbers.iana port-numbers.iana - - protocol-numbers.iana: -- $(AWK) -f get.gawk -v file=protocol-numbers >protocol-numbers.iana -+ $(AWK) -f get.gawk -v file=protocol-numbers/protocol-numbers.xml >protocol-numbers.iana - rm -f protocol-numbers - - port-numbers.iana: -- $(AWK) -f get.gawk -v file=port-numbers >port-numbers.iana -+ $(AWK) -f get.gawk -v file=service-names-port-numbers/service-names-port-numbers.xml >port-numbers.iana - rm -f port-numbers - - protocol-numbers: -diff -Naur old/get.gawk new/get.gawk ---- old/get.gawk 2008-03-05 08:04:18.000000000 -1000 -+++ new/get.gawk 2013-11-20 11:30:01.387562517 -1000 -@@ -26,7 +26,7 @@ - NR++ - - if (in_content) { print } -- if (/^$/) { in_content=1 } -+ if (/^\r?$/) { in_content=1 } - } - - printf "\n" >"/dev/stderr" Copied: iana-etc/repos/core-any/newer.patch (from rev 239478, iana-etc/repos/testing-any/newer.patch) =================================================================== --- core-any/newer.patch (rev 0) +++ core-any/newer.patch 2015-05-16 20:34:46 UTC (rev 239479) @@ -0,0 +1,29 @@ +diff -Naur old/Makefile new/Makefile +--- old/Makefile 2008-03-05 08:02:40.000000000 -1000 ++++ new/Makefile 2013-11-20 11:30:01.387562517 -1000 +@@ -42,11 +42,11 @@ + protocol-numbers.iana port-numbers.iana + + protocol-numbers.iana: +- $(AWK) -f get.gawk -v file=protocol-numbers >protocol-numbers.iana ++ $(AWK) -f get.gawk -v file=protocol-numbers/protocol-numbers.xml >protocol-numbers.iana + rm -f protocol-numbers + + port-numbers.iana: +- $(AWK) -f get.gawk -v file=port-numbers >port-numbers.iana ++ $(AWK) -f get.gawk -v file=service-names-port-numbers/service-names-port-numbers.xml >port-numbers.iana + rm -f port-numbers + + protocol-numbers: +diff -Naur old/get.gawk new/get.gawk +--- old/get.gawk 2008-03-05 08:04:18.000000000 -1000 ++++ new/get.gawk 2013-11-20 11:30:01.387562517 -1000 +@@ -26,7 +26,7 @@ + NR++ + + if (in_content) { print } +- if (/^$/) { in_content=1 } ++ if (/^\r?$/) { in_content=1 } + } + + printf "\n" >"/dev/stderr" Deleted: core-any/protocols.gawk =================================================================== --- core-any/protocols.gawk 2015-05-16 20:34:40 UTC (rev 239478) +++ core-any/protocols.gawk 2015-05-16 20:34:46 UTC (rev 239479) @@ -1,13 +0,0 @@ -#!/usr/bin/awk -f - -BEGIN { - print "# See the full IANA XML file at: /usr/share/iana-etc/protocol-numbers.iana\n" - FS="[<>]" -} - -{ - if (/<record/) { v=n=0 } - if (/<value/) v=$3 - if (/<name/ && !($3~/ /)) n=$3 - if (/<\/record/ && (v || n=="HOPOPT") && n) printf "%-12s %3i %s\n", tolower(n),v,n -} Copied: iana-etc/repos/core-any/protocols.gawk (from rev 239478, iana-etc/repos/testing-any/protocols.gawk) =================================================================== --- core-any/protocols.gawk (rev 0) +++ core-any/protocols.gawk 2015-05-16 20:34:46 UTC (rev 239479) @@ -0,0 +1,13 @@ +#!/usr/bin/awk -f + +BEGIN { + print "# See the full IANA XML file at: /usr/share/iana-etc/protocol-numbers.iana\n" + FS="[<>]" +} + +{ + if (/<record/) { v=n=0 } + if (/<value/) v=$3 + if (/<name/ && !($3~/ /)) n=$3 + if (/<\/record/ && (v || n=="HOPOPT") && n) printf "%-12s %3i %s\n", tolower(n),v,n +} Deleted: core-any/services.gawk =================================================================== --- core-any/services.gawk 2015-05-16 20:34:40 UTC (rev 239478) +++ core-any/services.gawk 2015-05-16 20:34:46 UTC (rev 239479) @@ -1,15 +0,0 @@ -#!/usr/bin/awk -f - -BEGIN { - print "# See the full IANA XML file at: /usr/share/iana-etc/port-numbers.iana\n" - FS="[<>]" -} - -{ - if (/<record/) { n=u=p=c=0 } - if (/<name/ && !/\(/) n=$3 - if (/<number/) u=$3 - if (/<protocol/) p=$3 - if (/Unassigned/ || /Reserved/ || /historic/) c=1 - if (/<\/record/ && n && u && p && !c) printf "%-15s %5i/%s\n", n,u,p -} Copied: iana-etc/repos/core-any/services.gawk (from rev 239478, iana-etc/repos/testing-any/services.gawk) =================================================================== --- core-any/services.gawk (rev 0) +++ core-any/services.gawk 2015-05-16 20:34:46 UTC (rev 239479) @@ -0,0 +1,15 @@ +#!/usr/bin/awk -f + +BEGIN { + print "# See the full IANA XML file at: /usr/share/iana-etc/port-numbers.iana\n" + FS="[<>]" +} + +{ + if (/<record/) { n=u=p=c=0 } + if (/<name/ && !/\(/) n=$3 + if (/<number/) u=$3 + if (/<protocol/) p=$3 + if (/Unassigned/ || /Reserved/ || /historic/) c=1 + if (/<\/record/ && n && u && p && !c) printf "%-15s %5i/%s\n", n,u,p +}