Package Details: hash-slinger 3.2-1

Git Clone URL: https://aur.archlinux.org/hash-slinger.git (read-only, click to copy)
Package Base: hash-slinger
Description: Tools to generate special DNS records (SSHFP, TLSA, OPENPGPKEY, IPSECKEY)
Upstream URL: https://github.com/letoams/hash-slinger
Licenses: GPL2
Submitter: Schnouki
Maintainer: HLFH
Last Packager: HLFH
Votes: 2
Popularity: 0.000000
First Submitted: 2014-09-10 08:44 (UTC)
Last Updated: 2022-10-13 14:08 (UTC)

Dependencies (10)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

HLFH commented on 2022-10-13 14:09 (UTC)

Updated to 3.2 release

HLFH commented on 2021-08-17 15:49 (UTC)

Hello. Thanks. I updated to the new release of hash-slinger, and as asked, I updated the deps.

yan12125 commented on 2021-07-28 12:27 (UTC)

Hi, python-unbound is gone as community/unbound now includes the Python library [1]. I'm going to remove python-unbound from provides= of unbound-python, too. Please change python-unbound to unbound in depends= of this package, thanks!

[1] https://github.com/archlinux/svntogit-community/commit/913fbaa0cb77fc426fdcb928180a67d9698c5100#diff-3e341d2d9c67be01819b25b25d5e53ea3cdf3a38d28846cda85a195eb9b7203a

HLFH commented on 2020-07-11 11:50 (UTC)

I have just submitted the git version of hash-slinger who has the bug fixes: https://aur.archlinux.org/packages/hash-slinger-git/

HLFH commented on 2020-07-11 11:32 (UTC)

The fix you mention appeared on January 7th, 2020.

https://github.com/letoams/hash-slinger/commit/af64905fe8824dc80d7a70c38b19a33bcde8f7f6#diff-caf9142b24098fc664f06d58ba8f7fe2

Last release 3.0 got released on November 3rd, 2019.

andrej commented on 2020-04-17 20:38 (UTC)

This version has a typical Python 3 string versus bytes bug. It fails on my system. To fix it, just add a b to line 396 in /usr/bin/tlsa.

Before:

    if stdout.endswith("OK\n"):

After:

    if stdout.endswith(b"OK\n"):

HLFH commented on 2020-04-16 10:23 (UTC)

For python-unbound dep update to 1.10.0

# Maintainer: Toke Høiland-Jørgensen <toke@toke.dk>
# Contributor: Gaetan Bisson <bisson@archlinux.org>
# Contributor: Hisato Tatekura <hisato_tatekura@excentrics.net>
# Contributor: Massimiliano Torromeo <massimiliano DOT torromeo AT google mail service>

pkgname=python-unbound
pkgver=1.10.0
pkgrel=1
pkgdesc='Validating, recursive, and caching DNS resolver: python binding'
url='http://unbound.net/'
license=('custom:BSD')
arch=('any')
options=('!libtool')
depends=('python' 'unbound' 'openssl')
makedepends=('expat' 'swig' 'openssl')
optdepends=('expat: unbound-anchor')
_basename='unbound'
source=("http://unbound.net/downloads/${_basename}-${pkgver}.tar.gz")
sha256sums=('152f486578242fe5c36e89995d0440b78d64c05123990aae16246b7f776ce955')

build() {
    cd "${srcdir}/${_basename}-${pkgver}"

    PYTHON=/usr/bin/python ./configure \
        --prefix=/usr \
        --sysconfdir=/etc \
        --localstatedir=/var \
        --enable-static=no \
        --disable-rpath \
        --with-conf-file=/etc/unbound/unbound.conf \
        --with-pidfile=/var/run/unbound.pid \
                --with-pyunbound

    make
}

package() {
    cd "${srcdir}/${_basename}-${pkgver}"

    make DESTDIR="${pkgdir}" install

        rm -r "${pkgdir}/etc"
        rm -r "${pkgdir}/usr/sbin"
        rm -r "${pkgdir}/usr/include"
        rm -r "${pkgdir}/usr/share"
        rm "${pkgdir}/usr/lib/libunbound.la"
        rm "${pkgdir}/usr/lib/libunbound.so"
        rm "${pkgdir}/usr/lib/libunbound.so.8"
        rm "${pkgdir}/usr/lib/libunbound.so.8.1.7"

    install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

HLFH commented on 2020-04-16 09:59 (UTC)

I updated hash-slinger to version 3.0.

andrej commented on 2019-03-27 20:19 (UTC) (edited on 2019-03-27 20:29 (UTC) by andrej)

BTW, local certificates don't work due to this bug. A release was promised in December 2018, but not released yet. Perhaps building this from Git could help.

A quick and dirty workaround for anyone affected by this: Download this file, replace its first line with '#!/usr/bin/env python2' and then just brutally overwrite /usr/bin/tlsa with that. :-)

andrej commented on 2019-03-27 19:56 (UTC)

Traceback (most recent call last):
  File "/usr/bin/tlsa", line 31, in <module>
    import unbound
  File "/usr/lib/python2.7/site-packages/unbound.py", line 17, in <module>
    _unbound = swig_import_helper()
  File "/usr/lib/python2.7/site-packages/unbound.py", line 16, in swig_import_helper
    return importlib.import_module('_unbound')
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
ImportError: libunbound.so.2: cannot open shared object file: No such file or directory

There's libunbound.so.8 on my system, so it looks like something is (unnecessarily?) hardwired here. This ugly hack works for me:

sudo ln -s /usr/lib/libunbound.so /usr/lib/libunbound.so.2