summaryrefslogtreecommitdiffstats
path: root/abs/core/nfs-utils/nfs-utils.install
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-11-17 21:20:10 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-11-17 21:20:10 (GMT)
commit28ad9d98caaf64ea99877869bc8b70ca266e8a4e (patch)
treedd311a27957633e65d777ed1f69eee356c5cc1ef /abs/core/nfs-utils/nfs-utils.install
parentd820a44dd975c325e2ba86d9bd8321c57581340e (diff)
downloadlinhes_pkgbuild-28ad9d98caaf64ea99877869bc8b70ca266e8a4e.zip
linhes_pkgbuild-28ad9d98caaf64ea99877869bc8b70ca266e8a4e.tar.gz
linhes_pkgbuild-28ad9d98caaf64ea99877869bc8b70ca266e8a4e.tar.bz2
nfs-utils: up to latest
Diffstat (limited to 'abs/core/nfs-utils/nfs-utils.install')
-rw-r--r--abs/core/nfs-utils/nfs-utils.install48
1 files changed, 21 insertions, 27 deletions
diff --git a/abs/core/nfs-utils/nfs-utils.install b/abs/core/nfs-utils/nfs-utils.install
index 380fc99..7dcdf95 100644
--- a/abs/core/nfs-utils/nfs-utils.install
+++ b/abs/core/nfs-utils/nfs-utils.install
@@ -1,38 +1,32 @@
-
-
+## arg 1: the new package version
post_install() {
- cat << 'EOM'
-
- ==>
+cat << 'EOM'
==> PLEASE NOTE:
- ==> Extended configuration options for NFS are available in
- ==> /etc/conf.d/nfs.
+ ==> Extended configuration options for NFS (clients & server) are available in
+ ==> /etc/conf.d/nfs-common.conf and in /etc/conf.d/nfs-server.conf
==>
==> Please refer to http://wiki.archlinux.org/index.php/Nfs
- ==> for further information.
- ==>
-
+ ==> for further information on NFS; for NFSv4, refer to
+ ==> http://wiki.archlinux.org/index.php/NFSv4
EOM
}
+## arg 1: the new package version
+## arg 2: the old package version
post_upgrade() {
- cat << 'EOM'
-
+ if [ "$(vercmp $2 1.2.0-2)" -lt 0 ]; then
+cat << 'EOM'
+ ==> IMPORTANT NFS UTILS CHANGES:
+ ==> This is a rather important upgrade, you are going to have to change config files.
+ ==> /etc/rc.conf daemons changes:
+ ==> Change portmap to rpcbind
+ ==> Change nfslock to nfs-common
+ ==> Change nfsd to nfs-server
==>
- ==> PLEASE NOTE:
- ==> Extended configuration options for NFS are now available in
- ==> /etc/conf.d/nfs.
- ==> If /etc/conf.d/nfsd remains on your system from an earlier
- ==> installation, transfer its settings to /etc/conf.d/nfs and
- ==> delete it.
- ==>
- ==> Please refer to http://wiki.archlinux.org/index.php/Nfs
- ==> for further information.
- ==>
-
+ ==> Extended configuration options for NFS (clients & server) are available in:
+ ==> /etc/conf.d/nfs-common
+ ==> /etc/conf.d/nfs-server
+ ==> Please change them to your needs.
EOM
+ fi
}
-
-op=$1
-shift
-$op $*