Package Details: nss-tls-git r80.e31dd2a-1

Git Clone URL: (read-only, click to copy)
Package Base: nss-tls-git
Description: A DNS over HTTPS resolver for glibc
Upstream URL:
Licenses: LGPL2.1
Conflicts: nss-tls
Provides: nss-tls
Submitter: haavard
Maintainer: None
Last Packager: haavard
Votes: 3
Popularity: 0.000001
First Submitted: 2018-04-12 18:58 (UTC)
Last Updated: 2019-06-10 10:47 (UTC)

Required by (0)

Sources (1)

Latest Comments

dreieck commented on 2022-06-03 11:03 (UTC)

Actually, this software has a proper version number: git describe --tags gives one.

So, pkgver() should use this version number before the r part. Also, =${pkgver} can then be used in the provides array.

→ Here is a PKGBUILD which tackles those things I mentioned (and which also installs the to the documentation directory). Feel free to use it.

And here is just the updated pkgver():

pkgver() {
  cd "${srcdir}/${_pkgname}"

  _ver="$(git describe --tags | sed 's|^[vV]||' | sed 's|-[^-]*$||' | tr '-' '+')"
  _rev="$(git rev-list --count HEAD)"
  _date="$(git log -1 --date=format:"%Y%m%d" --format="%ad")"
  _hash="$(git rev-parse --short HEAD)"

  if [ -z "${_ver}" ]; then
    error "Version could not be determined."
    return 1
    printf '%s' "${_ver}.r${_rev}.${_date}.${_hash}"

dreieck commented on 2022-06-03 10:42 (UTC)

Why is this package out of date?