diff options
author | Roy Li <rongqing.li@windriver.com> | 2014-08-19 11:31:35 +0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-08-21 21:35:07 +0200 |
commit | 5e1098f2c2e1a553e9e816e12982190bb9bdf762 (patch) | |
tree | 6df7f72f3d8c7fa4ad17190710c6cfe41264b9eb /meta-networking/recipes-daemons/autofs/autofs-5.0.7/autofs-5.0.7-allow-non-root-user-to-check-status.patch | |
parent | 778ddba7010febf0b5c8029f09e83a3288eaa18b (diff) | |
download | meta-openembedded-contrib-5e1098f2c2e1a553e9e816e12982190bb9bdf762.tar.gz |
autofs: uprev it to 5.1.0
1. Uprev it to 5.1.0, add remove the unneed patches
2. fix a building failure since not include stdarg.h
3. using pkg-config to check xml and krb5
4. force STRIP to empty to not strip the file
Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-networking/recipes-daemons/autofs/autofs-5.0.7/autofs-5.0.7-allow-non-root-user-to-check-status.patch')
-rw-r--r-- | meta-networking/recipes-daemons/autofs/autofs-5.0.7/autofs-5.0.7-allow-non-root-user-to-check-status.patch | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/meta-networking/recipes-daemons/autofs/autofs-5.0.7/autofs-5.0.7-allow-non-root-user-to-check-status.patch b/meta-networking/recipes-daemons/autofs/autofs-5.0.7/autofs-5.0.7-allow-non-root-user-to-check-status.patch deleted file mode 100644 index 6020c31e23..0000000000 --- a/meta-networking/recipes-daemons/autofs/autofs-5.0.7/autofs-5.0.7-allow-non-root-user-to-check-status.patch +++ /dev/null @@ -1,69 +0,0 @@ -autofs-5.0.7 - allow non root user to check status - -From: Ian Kent <ikent@redhat.com> - - ---- - - CHANGELOG | 1 + - redhat/autofs.init.in | 20 +++++++++++++------- - 2 files changed, 14 insertions(+), 7 deletions(-) - - -diff --git a/CHANGELOG b/CHANGELOG -index 44c9fb2..936c9ab 100644 ---- a/CHANGELOG -+++ b/CHANGELOG -@@ -11,6 +11,7 @@ - - make description of default MOUNT_WAIT setting clear. - - configure.in: allow cross compilation. - - README: update mailing list subscription info. -+- allow non root user to check status. - - 25/07/2012 autofs-5.0.7 - ======================= -diff --git a/redhat/autofs.init.in b/redhat/autofs.init.in -index cd5cb34..fe18b3e 100644 ---- a/redhat/autofs.init.in -+++ b/redhat/autofs.init.in -@@ -167,6 +167,19 @@ function usage_message() { - - RETVAL=0 - -+# allow non-root users to read status / usage -+ -+case "$1" in -+ status) -+ status -p @@autofspiddir@@/autofs.pid -l autofs $prog -+ exit 0; -+ ;; -+ usage) -+ usage_message -+ exit 0; -+ ;; -+esac -+ - # Only the root user may change the service status - if [ `id -u` -ne 0 ] && [ "$1" != "status" ]; then - echo "insufficient privilege to change service status" -@@ -184,9 +197,6 @@ case "$1" in - stop) - stop - ;; -- status) -- status -p @@autofspiddir@@/autofs.pid -l autofs $prog -- ;; - restart|force-reload) - restart - ;; -@@ -202,10 +212,6 @@ case "$1" in - restart - fi - ;; -- usage) -- usage_message -- exit 0 -- ;; - *) - usage_message - exit 2 |