Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=83891f9689685d807317d60ff00ad662fe9ee1c8

commit 83891f9689685d807317d60ff00ad662fe9ee1c8
Author: Miklos Vajna <[email protected]>
Date:   Mon Jan 28 21:18:53 2013 +0100

nfs-utils-1.2.7-1-x86_64

- drop sysv support

diff --git a/source/network-extra/nfs-utils/FrugalBuild 
b/source/network-extra/nfs-utils/FrugalBuild
index f732c36..8c0660e 100644
--- a/source/network-extra/nfs-utils/FrugalBuild
+++ b/source/network-extra/nfs-utils/FrugalBuild
@@ -1,8 +1,9 @@
# Compiling Time: 0.32 SBU
-# Maintainer: Miklos Vajna <[email protected]>
+# Maintainer: James Buren <[email protected]>
+# Contributor: Miklos Vajna <[email protected]>

pkgname=nfs-utils
-pkgver=1.2.6
+pkgver=1.2.7
pkgrel=1
pkgdesc="Support programs for Network File Systems"
groups=('network-extra')
@@ -12,7 +13,7 @@ _F_sourceforge_dirname="nfs"
_F_sourceforge_ext=".tar.bz2"
Finclude sourceforge
depends=('rpcbind' 'libnfsidmap>=0.25' 'libevent>=2.0.10' 'quota-tools' 
'procps' 'lvm2')
-source=($source exports rc.nfsd rc.nfsd-hu.po \
+source=($source exports \
nfs-blkmap.service nfs-idmap.service \
nfs-lock.service nfs-mountd.service \
nfs-rquotad.service nfs-server.service \
@@ -21,10 +22,8 @@ source=($source exports rc.nfsd rc.nfsd-hu.po \
nfs.sysconfig nfs-lock.preconfig \
nfs-server.preconfig nfs-server.postconfig \
id_resolver.conf)
-sha1sums=('144634a4b5b3ad12c836f5dbcb49c62017035b96' \
+sha1sums=('0214508346e693367881092b2db3b32010fa3257' \
'02f887f84059e19d50d08295d6d0bc9d56312f65' \
-          '7584e36fd775b8986673ebf63ea355f770dc930c' \
-          'b28e6e7575dc08c3ee4a1b738e25c2f92daa4a62' \
'30dc4adb9e5756c83e56760b57f08b2a88cbdd72' \
'3e89e8305ca7b5e2f2553d58712bb80942d2f360' \
'75fecf7ad5000c3865e9a25f8a1cbba1cd8c69eb' \
@@ -39,7 +38,6 @@ sha1sums=('144634a4b5b3ad12c836f5dbcb49c62017035b96' \
'3580239ec1c83b9cb73e7ad7696ff7f2bfd714b0' \
'774639f7cb55de4ff442759b1717ff4cd2243c65' \
'e35ddb4c6910eeb19c847ee241049c038c22c4ae')
-_F_sysvinit_units=(nfsd)
_F_systemd_units=(nfs-blkmap= nfs-idmap= nfs-lock= nfs-mountd= nfs-rquotad= 
nfs-server=)
Finclude systemd

@@ -57,7 +55,6 @@ build()
Fmkdir /etc/exports.d
Ffile nfs.sysconfig /etc/sysconfig/nfs
Ffile /etc/request-key.d/id_resolver.conf
-       Frcd2 nfsd
Ffile /lib/systemd/system/nfs-blkmap.service
Ffile /lib/systemd/system/nfs-idmap.service
Ffile /lib/systemd/system/nfs-lock.service
diff --git a/source/network-extra/nfs-utils/rc.nfsd 
b/source/network-extra/nfs-utils/rc.nfsd
deleted file mode 100644
index 06b264f..0000000
--- a/source/network-extra/nfs-utils/rc.nfsd
+++ /dev/null
@@ -1,64 +0,0 @@
-#!/bin/sh
-
-# (c) 2003-2007 Miklos Vajna <[email protected]>,
-#              CSÉCSY László <[email protected]>
-# rc.nfsd for Frugalware
-# distributed under GPL License
-
-# chkconfig: 2345 60 20
-# description: NFS is a popular protocol for file sharing across TCP/IP \
-#              networks. This service provides NFS server functionality, \
-#              which is configured via the /etc/exports file.
-
-source /lib/initscripts/functions
-TEXTDOMAIN=nfsd
-TEXTDOMAINDIR=/lib/initscripts/messages
-source /etc/sysconfig/nfs
-
-actions=(restart start stop)
-daemon=$"NFS services"
-
-rc_start()
-{
-       start_msg
-       if [ -z "$(cat /var/run/rpcbind.pid 2>/dev/null)" ]; then
-               ok 1
-               hint $"rpcbind is not running"
-               exit 1
-       elif [ ! -r /etc/exports ]; then
-               ok 1
-               hint $"Configuration file /etc/exports is not readable"
-               exit 1
-       elif ! fgrep '/' /etc/exports 1> /dev/null 2> /dev/null ; then
-               ok 1
-               hint $"Configuration file /etc/exports is empty"
-               exit 1
-       fi
-       # load kernel module if necessary
-       [ -z "`/sbin/lsmod | grep "^nfsd "`" ] && /sbin/modprobe nfsd
-       /usr/sbin/exportfs -r >/dev/null 2>/dev/null
-       /sbin/rpc.rquotad >/dev/null
-       # start 8 nfsd servers by default (an old Sun standard):
-       /usr/sbin/rpc.nfsd 8 >/dev/null
-       if [ ! -z "$MOUNTDPORT" ]; then
-               MOUNTDPORT="-p $MOUNTDPORT"
-       fi
-       /usr/sbin/rpc.mountd $MOUNTDPORT >/dev/null
-       ok $?
-}
-
-rc_stop()
-{
-       stop_msg
-       killall lockd 2> /dev/null
-       killall rpc.statd 2> /dev/null
-       killall rpc.mountd 2> /dev/null
-       killall nfsd 2> /dev/null
-       sleep 1
-       killall -9 nfsd 2> /dev/null
-       killall rpc.rquotad 2> /dev/null
-       /usr/sbin/exportfs -au 2> /dev/null
-       ok $?
-}
-
-rc_exec $1
diff --git a/source/network-extra/nfs-utils/rc.nfsd-hu.po 
b/source/network-extra/nfs-utils/rc.nfsd-hu.po
deleted file mode 100644
index 3c34552..0000000
--- a/source/network-extra/nfs-utils/rc.nfsd-hu.po
+++ /dev/null
@@ -1,21 +0,0 @@
-# Hungarian translations for rc.nfsd package.
-# Copyright (C) 2006 THE rc.nfsd'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the rc.nfsd package.
-#  <[email protected]>, 2006.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: rc.nfsd\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-07-08 11:51+0200\n"
-"PO-Revision-Date: 2006-07-08 11:51+0200\n"
-"Last-Translator:  <[email protected]>\n"
-"Language-Team: Hungarian <[email protected]>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=ISO-8859-2\n"
-"Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=1; plural=0;\n"
-
-#: rc.nfsd:17
-msgid "NFS services"
-msgstr "NFS szolgáltatások"
diff --git a/source/network-extra/nfs-utils/rc.nfsd.pot 
b/source/network-extra/nfs-utils/rc.nfsd.pot
deleted file mode 100644
index 1a86d5e..0000000
--- a/source/network-extra/nfs-utils/rc.nfsd.pot
+++ /dev/null
@@ -1,21 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-07-08 11:51+0200\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <[email protected]>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=CHARSET\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: rc.nfsd:17
-msgid "NFS services"
-msgstr ""
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to