Package Details: ldm 0.8-1

Git Clone URL: https://aur.archlinux.org/ldm.git (read-only, click to copy)
Package Base: ldm
Description: A lightweight device mounter
Upstream URL: https://github.com/LemonBoy/ldm
Licenses: MIT
Conflicts: ldm-git
Provides: ldm
Submitter: Rolinh
Maintainer: yigits
Last Packager: yigits
Votes: 53
Popularity: 0.000000
First Submitted: 2012-06-15 20:32 (UTC)
Last Updated: 2022-10-15 13:23 (UTC)

Latest Comments

1 2 3 Next › Last »

<deleted-account> commented on 2021-08-15 06:04 (UTC)

Here's an updated PKGBUILD that bumps the version up to 0.8 and overrides SBINDIR to point to /usr/bin: https://pastebin.com/xVYpkHwQ

And an updated .SRCINFO: https://pastebin.com/L9hydyvy

tjaart commented on 2017-06-14 20:02 (UTC)

We could add 'aarch64' to the arch array. I have just installed on a Odroid C2, and it's working fine.

Haron_Prime commented on 2017-06-14 13:26 (UTC)

Does not compile with perl 5.26.0 The solution is to add a line export PATH=$PATH:/usr/bin/core_perl to the build() build() { export PATH=$PATH:/usr/bin/core_perl cd "$srcdir/$pkgname-$pkgver" make } Arch Linux 4.11.4-1-zen x86_64

nrq commented on 2016-03-12 10:40 (UTC) (edited on 2016-03-12 10:44 (UTC) by nrq)

I guess some people doesn't have /usr/bin/core_perl/ in their PATH and this throws an error message about pod2man command not found, aborting the build process. I don't know if there's a better way to do this but I got it working by adding a check inside build() before cd and make: build() { _folder=/usr/bin/core_perl/ echo " $PATH " | sed 's/:/ /g' | grep " $_folder " > /dev/null [ $? -ne 0 ] && [ -d $_folder ] && [ -x $_folder ] && PATH=$_folder:$PATH export PATH cd "$srcdir/$pkgname-$pkgver" make }

loonies commented on 2016-02-14 10:08 (UTC)

.SRCINFO was not generated for the version 0.7, hence AUR showing 0.6.2-2 although PKGBUILD is updated to 0.7

MaoCPU commented on 2016-01-20 18:35 (UTC)

AUR still shows version 0.6.2-2 although the source from 0.6.3 is used. Also I couldn't find the package ldm-git any more. I suggest the following patch: diff --git a/.SRCINFO b/.SRCINFO index bb5009c..fa1871c 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,9 @@ pkgbase = ldm pkgdesc = A lightweight device mounter - pkgver = 0.6.2 - pkgrel = 2 + pkgver = 0.6.3 + pkgrel = 3 url = https://github.com/LemonBoy/ldm install = ldm.install arch = i686 @@ -12,8 +14,8 @@ pkgbase = ldm depends = glib2 provides = ldm conflicts = ldm-git - source = ldm-0.6.2.tar.gz::http://github.com/lemonboy/ldm/archive/v0.6.2.tar.gz - sha256sums = 14484ac229f8d6558f007ec1c139e5ada2d3c60230a55f99f939022cfd493c9b + source = ldm-0.6.3.tar.gz::http://github.com/lemonboy/ldm/archive/v0.6.3.tar.gz + sha256sums = 7e5e2b406bc627d4df7676b470ead6af75739ce96dc283e25467bb123b2717d9 pkgname = ldm diff --git a/PKGBUILD b/PKGBUILD index 09ef7b7..c4c319c 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,14 +3,13 @@ pkgname=ldm pkgver=0.6.3 -pkgrel=2 +pkgrel=3 pkgdesc="A lightweight device mounter" arch=('i686' 'x86_64' 'armv7h') url="https://github.com/LemonBoy/ldm" license=('MIT') depends=('udev' 'glib2') provides=('ldm') -conflicts=('ldm-git') install=$pkgname.install source=("$pkgname-$pkgver.tar.gz"::"http://github.com/lemonboy/$pkgname/archive/v$pkgver.tar.gz") sha256sums=('7e5e2b406bc627d4df7676b470ead6af75739ce96dc283e25467bb123b2717d9') --

benoliver999 commented on 2015-04-16 17:21 (UTC)

UPDATE: BASE_MOUNTPOINT is what worked for me rather than LDM_MOUNTPOINT

benoliver999 commented on 2015-04-16 16:21 (UTC)

I get this: ldm[342]: The path (null) doesn't name a folder or doesn't exist! When I try to start via systemd. My /etc/ldm.conf looks like this: USER_GID = 100 USER_UID = 1000 LDM_MOUNTPOINT = /mnt Any idea what could be causing the issue? It was working fine until the recent update.

pejobo commented on 2015-04-14 11:29 (UTC)

It's working now (v0.6), and armv7h is also included in arch). Thumbs up!

pejobo commented on 2015-04-04 11:19 (UTC)

I installed yesterday from tar (on raspberry pi 2, so had to add armv7h in arch list). It's working like a charm, but it's version 0.4.3. Is the tarball outdated? Didn't try ldm-git by now. I extended the ldm.service file with a prestart script so that after a power failure orphaned mount directories are cleared on reboot (I use the pi with a local usb drive for media files and tv recordings, so mount points should be 'stable'): .. ExecStartPre=/etc/cleanup-mount-dir.sh $BASE_MOUNTPOINT ExecStart=/usr/bin/ldm -u $USER_UID -g $USER_GID -p $BASE_MOUNTPOINT .. with /etc/cleanup-mount-dir.sh #!/usr/bin/bash # try to delete orphaned mount directories (e.g. after crash or power off) dir=$1 if [ "$dir" = "" ]; then dir=/mnt fi echo $0 - cleaning up mount directory $dir for f in $dir/* ; do rmdir --ignore-fail-on-non-empty $f; done exit 0