Date: Thursday, November 19, 2020 @ 20:44:00 Author: dvzrv Revision: 401446
upgpkg: c-ares 1.17.1-1: Upgrade to 1.17.1. Switch to correct license (MIT). Remove custom license from repo. Switch to cmake based build. Add libcares.so to provides. Install docs. Update maintainer info. Modified: c-ares/trunk/PKGBUILD Deleted: c-ares/trunk/LICENSE ----------+ LICENSE | 10 ---------- PKGBUILD | 44 +++++++++++++++++++++++++------------------- 2 files changed, 25 insertions(+), 29 deletions(-) Deleted: LICENSE =================================================================== --- LICENSE 2020-11-19 19:57:24 UTC (rev 401445) +++ LICENSE 2020-11-19 20:44:00 UTC (rev 401446) @@ -1,10 +0,0 @@ -Copyright 1998 by the Massachusetts Institute of Technology. - -Permission to use, copy, modify, and distribute this software and its -documentation for any purpose and without fee is hereby granted, provided that -the above copyright notice appear in all copies and that both that copyright -notice and this permission notice appear in supporting documentation, and that -the name of M.I.T. not be used in advertising or publicity pertaining to -distribution of the software without specific, written prior permission. -M.I.T. makes no representations about the suitability of this software for any -purpose. It is provided "as is" without express or implied warranty. Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-11-19 19:57:24 UTC (rev 401445) +++ PKGBUILD 2020-11-19 20:44:00 UTC (rev 401446) @@ -1,34 +1,40 @@ -# Maintainer: Dave Reisner <[email protected]> +# Maintainer: David Runge <[email protected]> +# Contributor: Dave Reisner <[email protected]> # Contributor: Daniel J Griffiths <[email protected]> # Contributor: Jeff Mickey <[email protected]> # Contributor: Alexander Fehr <pizzapunk gmail com> pkgname=c-ares -pkgver=1.16.1 -pkgrel=2 -pkgdesc='C library that performs DNS requests and name resolves asynchronously' +pkgver=1.17.1 +pkgrel=1 +pkgdesc="A C library for asynchronous DNS requests" arch=('x86_64') -url='https://c-ares.haxx.se/' -license=('custom') +url="https://c-ares.haxx.se/" +license=('MIT') depends=('glibc') -source=("https://c-ares.haxx.se/download/$pkgname-$pkgver.tar.gz"{,.asc} - 'LICENSE') -sha512sums=('4ac2a5d5c6da74eb1d6155c4eadc7127ab1b53a8d13caec41bd6172db5417a79f3ab022e77ba37d8b13da6893d7ced5fd8baf5cc3950a4154b4de8743ad31471' - 'SKIP' - '55e8607392c5f82ed85e3580fa632dfdc2dcd0b1a5e918dc61d00532c15c11ecb709f6007b65805c1fbe8fcd21ee794c9e4a9638c97ac1f4960b2654010a4d0a') -validpgpkeys=('27EDEAF22F3ABCEB50DB9A125CC908FDB71E12C2' # Daniel Stenberg - '914C533DF9B2ADA2204F586D78E11C6B279D5C91') # Daniel Stenberg +makedepends=('cmake') +provides=('libcares.so') +source=("https://github.com/${pkgname}/${pkgname}/releases/download/${pkgname//-}-${pkgver//./_}/${pkgname}-${pkgver}.tar.gz"{,.asc}) +sha512sums=('b11887bcc9274d368088e1a8b6aca62414f20675cf0bc58e948f54fa04c327c39dd23cefe7509eec6397db14b550a3f6b77f5c18b3d735b3eef48ce2da1dcd00' + 'SKIP') +b2sums=('31dac21ecae231e2a201dc1ba954c1a0663a06f93eb8e7e033ca3c6d385f53e07af0b04854739f1ee8a7f0693f67f620143e152ef092b49342c62279a0480905' + 'SKIP') +validpgpkeys=('27EDEAF22F3ABCEB50DB9A125CC908FDB71E12C2') # Daniel Stenberg <[email protected]> build() { cd "$pkgname-$pkgver" - - ./configure --prefix=/usr --enable-shared - make + cmake -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE='None' \ + -Wno-dev \ + -B build \ + -S . + make VERBOSE=1 -C build } package() { cd "$pkgname-$pkgver" - - make DESTDIR="$pkgdir" install - install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + make DESTDIR="${pkgdir}" install -C build + install -vDm 644 "LICENSE.md" -t "${pkgdir}/usr/share/licenses/${pkgname}/" + install -vDm 644 {AUTHORS,CHANGES,{CONTRIBUTING,README}.md,RELEASE-NOTES} \ + -t "${pkgdir}/usr/share/doc/${pkgname}/" }
