mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
nfs: Bump release to install rpcbind dependency
This update will pull in rpcbind as new dependency which will automatically remove portmap when installed. Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
2
lfs/nfs
2
lfs/nfs
@@ -32,7 +32,7 @@ DL_FROM = $(URL_IPFIRE)
|
||||
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||
PROG = nfs
|
||||
PAK_VER = 7
|
||||
PAK_VER = 8
|
||||
|
||||
DEPS = "rpcbind"
|
||||
|
||||
|
||||
@@ -22,9 +22,17 @@
|
||||
############################################################################
|
||||
#
|
||||
. /opt/pakfire/lib/functions.sh
|
||||
|
||||
# remove portmap
|
||||
/etc/init.d/portmap stop
|
||||
rm -rf /etc/rc.d/rc*.d/*portmap /sbin/portmap /etc/rc.d/init.d/portmap
|
||||
if [ -e "/opt/pakfire/db/installed/meta-portmap" ]; then
|
||||
/etc/init.d/portmap stop
|
||||
rm -rf /etc/rc.d/rc*.d/*portmap \
|
||||
/sbin/portmap \
|
||||
/etc/rc.d/init.d/portmap \
|
||||
/opt/pakfire/db/installed/meta-portmap \
|
||||
/opt/pakfire/db/rootfiles/portmap
|
||||
fi
|
||||
|
||||
# install rpcbind
|
||||
extract_files
|
||||
start_service --background ${NAME}
|
||||
|
||||
Reference in New Issue
Block a user