Package Details: recutils 1.8-3

Git Clone URL: https://aur.archlinux.org/recutils.git (read-only, click to copy)
Package Base: recutils
Description: Set of tools and libraries to access plain text databases called recfiles.
Upstream URL: https://www.gnu.org/software/recutils/
Licenses: GPL
Submitter: fgrsnau
Maintainer: fgrsnau
Last Packager: fgrsnau
Votes: 11
Popularity: 0.39
First Submitted: 2015-12-05 13:03
Last Updated: 2020-06-07 20:25

Latest Comments

1 2 Next › Last »

exlumine commented on 2020-10-22 15:06

@fgrsnau: your proposed workaround works in my case (good enogh), thank you, will go with that until another update to 1.9(?).

matthias.lisin commented on 2020-10-20 22:13

@fgrsnau: How about 1.8.90 alpha meanwhile? It includes the fix according to a report on the ML (that I can't find right now)

http://alpha.gnu.org/gnu/recutils/

fgrsnau commented on 2020-10-20 22:07

Hi exclumine and OJFord!

I did have a look and it seems that incorporating the changes is currently not easily done (other opinions welcome though!)

The python subdirectory is missing from the upstream source tarball (at least for the latest stable release). While we could fetch these files or include them I think it makes more sense to wait for them to appear in an official release, because this is not a *-git package.

Regarding the renaming/tmpfs issuse: The patch unfortunately does not apply nicely. If you look at the patch it is also modifying bootstrap.conf which is (i) not part of the source distribution, (ii) used by gnulib to copy a "source code library" into the source distribution and doing proper modifications of the whole build system (namely lib/Makefile.am which is then mangled by automake). I currently hesitate to patch these automatically generated autotools/automake things.

Depending on the release date of 1.9 it should be easier to wait for the change to appear there. (A workaround right now is to set the TMPDIR environment variable to a directory on the same filesystem.)

As a side note: The fix seems to unconditional introduce a copy+unlink step which is not an atomic operation. If a problem occurs during the copy (overwrite) the database will probably become corrupted.

OJFord commented on 2020-10-17 20:36

I'm not sure what's most appropriate here, but could you include the python lib? There is no separate python-rec currently, and since it's in the same repo maybe it makes sense to provide in this package too? (That is what packages such as git do with their 'contrib' dirs, for example.)

exlumine commented on 2020-10-07 16:03

Hi fgrsnau, Could you include the upstream commits which fix a /tmp/rec* renaming error? Currently selected utils fail as they cannot handle files in other filesystems well. It seems that jemarch fixed that in https://git.savannah.gnu.org/cgit/recutils.git/commit/?id=86f662a8202408134a235572ec60141d3082f975. Thx and best exlumine

chikker commented on 2020-03-16 20:16

Hey there. I've updated PKGBUILD to verify source code using PGP signatures and sha256 hashes instead of relying on broken md5 algorithm.

diff --git a/PKGBUILD b/PKGBUILD
index b3cc045..b08ee26 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,15 +1,23 @@
 # Maintainer: Stefan Haller <fgrsnau@gmail.com>
 pkgname=recutils
 pkgver=1.8
-pkgrel=2
+pkgrel=3
 pkgdesc="Set of tools and libraries to access plain text databases called recfiles."
 arch=(i686 x86_64)
 url="https://www.gnu.org/software/recutils/"
 license=('GPL')
 depends=('libgcrypt')
 checkdepends=('check')
-source=("https://ftp.gnu.org/gnu/recutils/$pkgname-$pkgver.tar.gz")
-md5sums=('0ec4f9046cc01092758be9c4988c6fb3')
+# Jose E. Marchesi <jemarch.at.gnu.org>
+validpgpkeys=("BDFA5717FC1DD35C2C3832A23EF90523B304AF08")
+source=(
+   "https://ftp.gnu.org/gnu/recutils/$pkgname-$pkgver.tar.gz"
+   "https://ftp.gnu.org/gnu/recutils/$pkgname-$pkgver.tar.gz.sig"
+)
+sha256sums=(
+   'df8eae69593fdba53e264cbf4b2307dfb82120c09b6fab23e2dad51a89a5b193'
+   'SKIP'
+)

 build() {
    cd "$pkgname-$pkgver"

fgrsnau commented on 2020-03-12 21:39

I updated the package according to your request. As I do not use bash as an interactive shell, hence I did not notice any problems. Hope it works now, otherwise I can have a look again :)

matthias.lisin commented on 2020-02-23 15:17

Hey fgrsnau, please remove --with-bash-headers from build(). It seems to set an empty path and prevents bash builtin compilation. The bash headers are detected automatically. Also add package to checkdepends=(check) for additional unittests.

Diff:

diff --git a/PKGBUILD b/PKGBUILD
index 1b54899..b3cc045 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,18 +1,19 @@
# Maintainer: Stefan Haller <fgrsnau@gmail.com>
pkgname=recutils
pkgver=1.8
-pkgrel=1
+pkgrel=2
pkgdesc="Set of tools and libraries to access plain text databases called recfiles."
arch=(i686 x86_64)
url="https://www.gnu.org/software/recutils/"
license=('GPL')
depends=('libgcrypt')
+checkdepends=('check')
source=("https://ftp.gnu.org/gnu/recutils/$pkgname-$pkgver.tar.gz")
md5sums=('0ec4f9046cc01092758be9c4988c6fb3')

build() {
cd "$pkgname-$pkgver"
-       ./configure --prefix=/usr --with-bash-headers
+       ./configure --prefix=/usr
make
}

fgrsnau commented on 2019-11-10 19:30

Sorry for the delay. I simply forgot that I wanted to bump the version.

gour commented on 2019-01-04 12:46

1.8 builds cleanly here. ;)