[arch-commits] Commit in iana-etc/repos (7 files)
Date: Tuesday, October 20, 2015 @ 03:09:53 Author: bisson Revision: 249527 db-move: moved iana-etc from [testing] to [core] (any) Added: iana-etc/repos/core-any/LICENSE (from rev 249526, iana-etc/repos/testing-any/LICENSE) iana-etc/repos/core-any/PKGBUILD (from rev 249526, iana-etc/repos/testing-any/PKGBUILD) 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 | 56 ++ core-any/LICENSE|1 core-any/PKGBUILD | 45 core-any/newer.patch| 29 --- core-any/protocols.gawk | 13 -- core-any/services.gawk | 15 6 files changed, 57 insertions(+), 102 deletions(-) Copied: iana-etc/repos/core-any/LICENSE (from rev 249526, iana-etc/repos/testing-any/LICENSE) === --- core-any/LICENSE(rev 0) +++ core-any/LICENSE2015-10-20 01:09:53 UTC (rev 249527) @@ -0,0 +1 @@ +The contents of this package are inelligible for copyright protection. Deleted: core-any/PKGBUILD === --- core-any/PKGBUILD 2015-10-19 20:47:52 UTC (rev 249526) +++ core-any/PKGBUILD 2015-10-20 01:09:53 UTC (rev 249527) @@ -1,45 +0,0 @@ -# $Id$ -# Contributor: Thomas Bächler -# Maintainer: Gaetan Bisson - -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" -} Copied: iana-etc/repos/core-any/PKGBUILD (from rev 249526, iana-etc/repos/testing-any/PKGBUILD) === --- core-any/PKGBUILD (rev 0) +++ core-any/PKGBUILD 2015-10-20 01:09:53 UTC (rev 249527) @@ -0,0 +1,56 @@ +# $Id$ +# Contributor: Thomas Bächler +# Maintainer: Gaetan Bisson + +pkgname=iana-etc +pkgver=20151016 +pkgrel=1 +pkgdesc='/etc/protocols and /etc/services provided by IANA' +url='http://www.iana.org/protocols' +arch=('any') +license=('custom:none') +backup=('etc/'{protocols,services}) +source=('http://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xml' +'http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xml' +'LICENSE') +sha1sums=('2d26b6b0033d34b4555a1e1c3d503b266cef1b2f' + 'c4ebdff6e286aa7c55620076feecd8a9bbeeab65' + 'ef54e7a2182f1ab7c1d2d4c9e1ab2bcc5ec65b66') + +package() { + cd "${srcdir}" + install -d "${pkgdir}/etc" + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/iana-etc/LICENSE" + install -Dm644 protocol-numbers.xml "${pkgdir}/usr/share/iana-etc/protocol-numbers.iana" + install -Dm644 service-names-port-numbers.xml "${pkgdir}/usr/share/iana-etc/port-numbers.iana" + + gawk ' +BEGIN { + print "# Full data: /usr/share/iana-etc/protocol-numbers.iana\n" + FS="[<>]" +} + +{ + if (/ "${pkgdir}/etc/protocols" + + gawk ' +BEGIN { + print "# Full data: /usr/share/iana-etc/port-numbers.iana\n" + FS="[<>]" +} + +{ + if (/ "${pkgdir}/etc/services" + +} Deleted: core-any/newer.patch === --- core-any/newer.patch2015-10-19 20:47:52 UTC (rev 249526) +++ core-any/newer.patch2015-10-20 01:09:53 UTC (rev 249527) @@ -1,29 +0,0 @@ -diff -Naur old/Makefile new/Makefile old/Makefile 2008-03-05 08:02:40.0 -1000 -+++ new/Makefile 2013-11-20 11:30:01.387562517 -1000 -@@ -42,11 +42,11 @@ - protocol-numbers.iana port-numbers.iana - - protocol
[arch-commits] Commit in iana-etc/repos (7 files)
Date: Friday, November 22, 2013 @ 05:06:40 Author: bisson Revision: 200042 db-move: moved iana-etc from [testing] to [core] (any) Added: iana-etc/repos/core-any/PKGBUILD (from rev 200041, iana-etc/repos/testing-any/PKGBUILD) iana-etc/repos/core-any/newer.patch (from rev 200041, iana-etc/repos/testing-any/newer.patch) iana-etc/repos/core-any/protocols.gawk (from rev 200041, iana-etc/repos/testing-any/protocols.gawk) iana-etc/repos/core-any/services.gawk (from rev 200041, iana-etc/repos/testing-any/services.gawk) Deleted: iana-etc/repos/core-any/PKGBUILD iana-etc/repos/core-any/newer.patch iana-etc/repos/testing-any/ -+ /PKGBUILD | 45 +++ /newer.patch| 29 ++ core-any/PKGBUILD | 36 core-any/newer.patch| 133 -- core-any/protocols.gawk | 13 core-any/services.gawk | 15 + 6 files changed, 102 insertions(+), 169 deletions(-) Deleted: core-any/PKGBUILD === --- core-any/PKGBUILD 2013-11-22 03:33:14 UTC (rev 200041) +++ core-any/PKGBUILD 2013-11-22 04:06:40 UTC (rev 200042) @@ -1,36 +0,0 @@ -# $Id$ -# Contributor: Thomas Bächler -# Maintainer: Gaetan Bisson - -pkgname=iana-etc -pkgver=2.30 -pkgrel=3 -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"; -'newer.patch') -sha1sums=('218593bcb9264014c4e397d838b2c218eac9df06' - '1e306cf77bc4e97cc020d6c53cb9de81c186a483') - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - patch -p1 -i ../newer.patch - 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 200041, iana-etc/repos/testing-any/PKGBUILD) === --- core-any/PKGBUILD (rev 0) +++ core-any/PKGBUILD 2013-11-22 04:06:40 UTC (rev 200042) @@ -0,0 +1,45 @@ +# $Id$ +# Contributor: Thomas Bächler +# Maintainer: Gaetan Bisson + +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" +} Deleted: core-any/newer.patch === --- core-any/newer.patch2013-11-22 03:33:14 UTC (rev 200041) +++ core-any/newer.patch2013-11-22 04:06:40 UTC (rev 200042) @@ -1,133 +0,0 @@ -diff -Naur old/Makefile new/Makefile old/Makefile 2008-03-06 05:02:40.0 +1100 -+++ new/Makefile 2012-07-23 03:20:19.009174483 +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-