@IgnorantGuru: The really old PKGBUILD did that but the last one didn't. It just downloaded the html webpage instead of the raw file.
Search Criteria
Package Details: devmon 1.1.7-1
Package Actions
| Package Base: | devmon |
|---|---|
| Description: | An automounter for removable drives |
| Upstream URL: | https://igurublog.wordpress.com/downloads/script-devmon/ |
| Category: | daemons |
| Licenses: | |
| Submitter: | IgnorantGuru |
| Maintainer: | None |
| Last Packager: | None |
| Votes: | 81 |
| First Submitted: | 2011-01-27 21:49 |
| Last Updated: | 2013-12-17 15:56 |
Required by (0)
Sources
Latest Comments
Comment by Stebalien
Comment by IgnorantGuru
jfyi I think the old PKGBUILD downloaded the current 'master' of devmon, so anytime the release version gets bumped the MD5 sum will fail (equivalent to an out of date flag). As you have it now, it will download only 1.1.4 regardless of the current release version.
Also, please note that spacefm is now an optdepend for devmon - 1.1.4 can now use spacefm or zenity to generate its popup dialogs.
Comment by Stebalien
@exterm: I have no idea how that package ever worked for me. Thew new one should be fixed.
Comment by exterm
==> Validating source files with md5sums...
devmon ... FAILED
==> ERROR: One or more files did not pass the validity check!
==> ERROR: Makepkg was unable to build devmon.
on x64
Comment by Stebalien
I will keep this around for now as I really don't like setuid. It conflicts with udevil and requires udisks v1.
Comment by IgnorantGuru
Also, if the maintainer of this package wants to keep it active and include just the devmon script, you can get the latest version with this link:
https://raw.github.com/IgnorantGuru/udevil/master/src/devmon
However, note that when using udisks2 without udisks1, udevil is required. You can see a table of the dependency possibilities here:
http://igurublog.wordpress.com/downloads/script-devmon/#withtable
Comment by IgnorantGuru
Please note that devmon is now distributed with udevil upstream, and will no longer be distributed separately. When you want to upgrade devmon to version 1.1.0 or later, remove devmon and install udevil-git:
https://aur.archlinux.org/packages.php?ID=59463
udevil-git provides and conflicts with 'devmon'.
devmon 1.1.0 can still be used without udevil if other requirements are met - see the new 'devmon --help' for requirements. (The devmon website will be updated shortly to reflect this.)
If you are still using udisks v1, there is no immediate need to upgrade from devmon 1.0.5.
Comment by Det
Fixed this one and uploaded 'devmon-git'.
Comment by IgnorantGuru
This is now orphaned, as I'm not currently using Arch so it's better for an Arch user to maintain and test it, and I'm trying to reduce the number of sites I maintain. You can use the static source or git. git master for this will be the same as the release version. Thanks. Here is the old PKGBUILD which should still work:
# Maintainer: IgnorantGuru <ignorantguru@users.sourceforge.net>
pkgname=devmon
pkgver=1.0.5
pkgrel=1
pkgdesc="Automounts and unmounts optical and removable drives using udisks"
arch=(any)
license=('GPL3')
depends=('udisks' 'bash>=4')
optdepends=('consolekit: handles udisks polkit permissions' 'zenity: pop-up dialogs')
url=("http://igurublog.wordpress.com/downloads/script-$pkgname/")
source=("http://downloads.sourceforge.net/project/ig-scripts/$pkgname-$pkgver.sh")
#md5sums=(`wget -O - http://downloads.sourceforge.net/project/ig-scripts/$pkgname-$pkgver.sh | md5sum | head -c 32`)
md5sums=('841593111b5adb45c7681f90f422a8aa')
sha256sums=('db136e4cf5f559f1279ec23875419aa4b136be9dbaad60b5da48c6b4ec7be82b')
build() {
install -Dm755 "$srcdir/$pkgname-$pkgver.sh" "$pkgdir/usr/bin/$pkgname"
}
Comment by Det
It's "$srcdir/$pkgname/$pkgname" - not "$srcdir/$pkgname". Why is that line mentioned twice anyway?
Also, why did you just change this into a git version? You should upload a separate 'devmon-git' and revert this one back.
Comment by anonymous_user
It's not building for me:
~/Desktop/devmon $ makepkg -s
==> Determining latest git revision...
-> Version found: 20120315
==> Making package: devmon 20120315-1 (Thu Mar 15 21:55:51 PDT 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
==> Extracting Sources...
==> Starting build()...
==> Connecting to GIT server....
Cloning into 'devmon'...
remote: Counting objects: 11, done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 11 (delta 1), reused 11 (delta 1)
Receiving objects: 100% (11/11), 21.54 KiB, done.
Resolving deltas: 100% (1/1), done.
==> GIT checkout done or server timeout
==> Installing...
install: omitting directory `/home/kevin/Desktop/devmon/src/devmon'
==> ERROR: A failure occurred in build().
Aborting...
Comment by IgnorantGuru
@ungraven: That problem is strictly in consolekit, but JFYI, active and is-local can in some cases be false and it will still authorize, so that is not a definitive test.
Anonymous comment
This latest consolekit 0.4.4 seems to break with the ACTIVE being false etc. The tricks on the homepage with /etc/pam.d/login didn't seem to work for me either.
I rolled back to consolekit 0.4.3-3 which continues to work.
Anonymous comment
Not posting often here, but I'll make an effort just for a "big thanks".
No tested a lot, but working great and effortless for me (no more need to manually add udev rules).
Nice !!
Comment by IgnorantGuru
@nbvcxz: Done - thanks for your feedback
Comment by nbvcxz
Great script. Allow 'replace' gvfs and all it dependences at XFCE. But could you place zenity as optional (would be helpful if eg. I use xfce4-notifyd and always avoid zenity).