Package Details: hash-slinger 3.0-2

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: Schnouki (HLFH)
Last Packager: HLFH
Votes: 2
Popularity: 0.158254
First Submitted: 2014-09-10 08:44
Last Updated: 2020-04-16 10:30

Dependencies (10)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

HLFH commented on 2020-07-11 11:50

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

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

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

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

I updated hash-slinger to version 3.0.

andrej commented on 2019-03-27 20:19

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

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

HLFH commented on 2016-05-03 21:27

Cool. I updated to 2.7. I'm co-maintener of hash-slinger. Yeeeepee. The pending request could be closed.

tohojo commented on 2015-10-24 00:08

I just uploaded an updated version of the old python2-unbound package, so should be available now :)

randompie commented on 2015-10-13 15:30

"python2-unbound" is not found in the AUR. Was it uploaded to the new system?