Package Details: basez 1.6.2-3

Git Clone URL: https://aur.archlinux.org/basez.git (read-only, click to copy)
Package Base: basez
Description: En/decodes base16/32/64, including RFC-compliant URL, MIME, PEM encodings
Upstream URL: http://www.quarkline.net/basez
Licenses: GPL3, BSD, CCPL:by-sa
Submitter: alphazo
Maintainer: eclairevoyant
Last Packager: eclairevoyant
Votes: 2
Popularity: 0.000000
First Submitted: 2019-02-05 08:39 (UTC)
Last Updated: 2023-03-22 00:21 (UTC)

Pinned Comments

eclairevoyant commented on 2023-03-21 01:33 (UTC)

Adopted and fixed; make sure to obtain the PGP key before building.

Latest Comments

taivlam commented on 2024-08-25 17:55 (UTC)

Would it be possible to use this mirror on GitHub for the source? The latest release, v1.6.2 was created on December 2022.

dreieck commented on 2024-07-04 13:25 (UTC) (edited on 2024-07-04 13:26 (UTC) by dreieck)

Regards!

ilf0 commented on 2024-04-03 13:31 (UTC)

The upstream URL http://www.quarkline.net/basez is dead and so are the four source URLs in this package: http://www.quarkline.net/basez/download/(basez-1.6.2.tar.gz|basez-1.6.2.tar.gz.sig|sha256checksumssha256checksums.sig).

https://web.archive.org/ has copies from 2023-12, and the OpenPGP signature verifies, but I doubt it would be good practice to install from there.

eclairevoyant commented on 2023-03-21 01:33 (UTC)

Adopted and fixed; make sure to obtain the PGP key before building.

k3a commented on 2021-06-02 14:56 (UTC)

Here are sources of the fixed package which compiles fine https://gist.github.com/k3a/c49c0924ad48da21d51aa044f714ef42

tuxsavvy commented on 2021-05-04 09:22 (UTC) (edited on 2021-05-04 09:22 (UTC) by tuxsavvy)

Hi, thanks for maintaining this package. I have found some issues and am providing a patch file to fix all these (please see further below).

The issues this package has (in the order of severity, starting from blocker/worst):

  • It does not compile; fails at package() stage, there is a patch available through Debian source,

  • The license file is actually a combination of GPL3, BSD (2-clause) and CC-BY-SA 3.0, not GPL,

  • Upstream source provides sha256sum which should be used instead of md5sum,

  • (minor) pkgdesc= is well over 100 characters,

Here is the log file when built as-is: https://paste.rs/MLn

Here is the patch file which addresses all the aforementioned issue:

--- PKGBUILD.orig
+++ PKGBUILD
@@ -2,15 +2,25 @@

 pkgname=basez
 pkgver=1.6.2
-pkgrel=2
-pkgdesc='Encodes/decodes base16, base32, base32hex, base64, base64url, base64mime, base64pem PEM, base32plain, base64plain. base16 and base32 are NOT included in this package since they would conflict with the one already in coreutils.'
+pkgrel=3
+pkgdesc='base 16/32/64 encode/decode data to standard output. base16/32 are OMITTED since coreutils provides it.'
 arch=('x86_64')
 url='http://www.quarkline.net/basez/'
 depends=('gcc-libs')
-license=('GPL')
+license=('GPL3' 'CCPL' 'BSD')

-source=("http://www.quarkline.net/basez/download/${pkgname}-${pkgver}.tar.gz")
-md5sums=('b026890b9565bd2cba93afdbcd3213aa')
+source=("http://www.quarkline.net/basez/download/${pkgname}-${pkgver}.tar.gz"
+       "https://sources.debian.org/data/main/b/basez/1.6.2-1/debian/patches/build"
+       "https://sources.debian.org/data/main/b/basez/1.6.2-1/debian/patches/missing-runstatedir-option")
+sha256sums=('2a9f821488791c2763ef0120c75c43dc83dd16567b7c416f30331889fd598937'
+            '0cda0fba0ac1319e6bdf9fb9c14b09bc9ad96bd0873e9feba9a4156ebe382242'
+            'a99ff69e357f13e025717cb7e080a3e17fd30110bb29f480b154b47254f35d63')
+
+prepare() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  patch -Np1 -ti ../build
+  patch -Np1 -ti ../missing-runstatedir-option
+}

 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
@@ -21,4 +31,6 @@
 package() {
   cd "${srcdir}/${pkgname}-${pkgver}"
   make DESTDIR="${pkgdir}" install
+  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  rm -rf "${pkgdir}/usr/share/doc"
 }

Forty-Bot commented on 2019-07-05 19:25 (UTC)

Upstream is gone...