summaryrefslogtreecommitdiff
path: root/extra/fam
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-08-22 23:14:28 +0000
committerroot <root@rshg054.dnsready.net>2011-08-22 23:14:28 +0000
commit64e290184042563a240e2d6d15c02e06703d00ee (patch)
treebf85f88c86a6315c8ed783e0f1492a56e3f3e51b /extra/fam
parente9a5c646563c984f362db1777f8c6bc7da63a4ab (diff)
Mon Aug 22 23:14:28 UTC 2011
Diffstat (limited to 'extra/fam')
-rw-r--r--extra/fam/PKGBUILD8
-rwxr-xr-xextra/fam/fam7
2 files changed, 6 insertions, 9 deletions
diff --git a/extra/fam/PKGBUILD b/extra/fam/PKGBUILD
index 1b4bf6abe..f8398bbe2 100644
--- a/extra/fam/PKGBUILD
+++ b/extra/fam/PKGBUILD
@@ -1,18 +1,18 @@
-# $Id: PKGBUILD 124073 2011-05-16 14:51:09Z andrea $
+# $Id: PKGBUILD 136014 2011-08-21 14:26:17Z eric $
# Maintainer:
# Contributor: Allan McRae <allan@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=fam
pkgver=2.7.0
-pkgrel=15
+pkgrel=16
pkgdesc="File Alteration Monitor"
arch=('i686' 'x86_64')
license=('LGPL' 'GPL')
depends=('rpcbind' 'gcc-libs' 'bash')
url="http://oss.sgi.com/projects/fam/"
backup=('etc/fam/fam.conf')
-options=('!makeflags') # Don't !libtool
+options=('!makeflags' 'libtool')
source=(ftp://oss.sgi.com/projects/fam/download/stable/${pkgname}-${pkgver}.tar.gz
fam-2.7.0-dnotify.patch
fam-2.7.0-largefiles.patch
@@ -24,7 +24,7 @@ md5sums=('1bf3ae6c0c58d3201afc97c6a4834e39'
'47b41e0b0498793af004696a096d7da1'
'2638b8ffacb9f03b6e438e08ea7b290a'
'fc0cabc0ac4f819680401eb3090c29c9'
- '92a37f9eb6ad0e60ded9c70e9ad93a88')
+ 'ec50139679bc31508a843cafa47cd298')
build() {
cd "${srcdir}"/${pkgname}-${pkgver}
diff --git a/extra/fam/fam b/extra/fam/fam
index 5fc54a6df..69a049730 100755
--- a/extra/fam/fam
+++ b/extra/fam/fam
@@ -6,13 +6,10 @@
PID=`pidof -o %PPID /usr/sbin/famd`
case "$1" in
start)
- #Check for running portmap, start when not running
- ck_daemon rpcbind && /etc/rc.d/rpcbind start
stat_busy "Starting File Alteration Monitor"
if ck_daemon rpcbind; then
- stat_fail
- echo "ERROR: rpcbind is not running"
- exit 1
+ echo "ERROR: Refusing to start fam without rpcbind running!" >&2
+ stat_die
fi
if [ -z "$PID" ]; then
/usr/sbin/famd -T 0 -c /etc/fam/fam.conf