From 23977e72e2161da649002df4f28e4d570c2fbb32 Mon Sep 17 00:00:00 2001 From: "coadde [Márcio Alexandre Silva Delgado]" Date: Sat, 8 Nov 2014 03:59:13 -0200 Subject: java-rxtx: change var/lock to run/lock --- java/java-rxtx/0003-lockdir-location.patch | 2 +- java/java-rxtx/GroupMembership.txt | 2 +- java/java-rxtx/PKGBUILD | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'java') diff --git a/java/java-rxtx/0003-lockdir-location.patch b/java/java-rxtx/0003-lockdir-location.patch index 78a757f81..0278add4e 100644 --- a/java/java-rxtx/0003-lockdir-location.patch +++ b/java/java-rxtx/0003-lockdir-location.patch @@ -12,7 +12,7 @@ http://lists.freedesktop.org/archives/systemd-devel/2011-March/001823.html #if defined(__linux__) # define DEVICEDIR "/dev/" -# define LOCKDIR "/var/lock" -+# define LOCKDIR "/var/lock/lockdev" ++# define LOCKDIR "/run/lock/lockdev" # define LOCKFILEPREFIX "LCK.." # define FHS #endif /* __linux__ */ diff --git a/java/java-rxtx/GroupMembership.txt b/java/java-rxtx/GroupMembership.txt index dd5c47076..fef1ef349 100644 --- a/java/java-rxtx/GroupMembership.txt +++ b/java/java-rxtx/GroupMembership.txt @@ -1,7 +1,7 @@ In order to use a program that makes use of rxtx, you must be a member of the groups: * uucp: for access to hardware devices in /dev - * lock: for access to hardware lockfiles in /var/lock/lockdev + * lock: for access to hardware lockfiles in /run/lock/lockdev Most documentation indicates that you must be in one or the other, depending on your distro; you must actually be in both. diff --git a/java/java-rxtx/PKGBUILD b/java/java-rxtx/PKGBUILD index 87c253900..1d247a802 100644 --- a/java/java-rxtx/PKGBUILD +++ b/java/java-rxtx/PKGBUILD @@ -19,7 +19,7 @@ case "$_pkgver" in *arduino*) url="https://github.com/arduino/RXTX" source=("libre://RXTX-$pkgver.tar.gz") - md5sums=('a71156587dc8d28d1ff4ece376bc0140') + md5sums=('f083d5a17878ccf4a25347f23d43c17b') mksource=("git://github.com/arduino/RXTX.git#${_gitver}") mkmd5sums=('SKIP') _dirname=RXTX @@ -42,8 +42,8 @@ source+=( md5sums+=('a36caaca717018341d69605f962d1c2a' '39c88043032de742c6b51d90a26eee2c' 'a910e0c75a9c687d2b2f782e3d9982e3' - '19b19c2514bce563be2a812888e1d9b4' - '9dc461eab358e3b78c4b688977997116') + '33ece2602aed350a449e922b5465ea22' + '1c888e587298bcaf2b562f95bc62a9ad') _MAKEFLAGS=('JHOME=/usr/share/java' 'RXTX_PATH=/usr/lib') -- cgit v1.2.3