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

commit 638d924459c9788e6fa38f7e1df68a49d0845d73
Author: Miklos Vajna <vmik...@frugalware.org>
Date:   Thu Jan 20 01:27:30 2011 +0100

ypbind-mt-1.19.1-2-i686

- portmap -> rpcbind

diff --git a/source/network-extra/ypbind-mt/FrugalBuild 
b/source/network-extra/ypbind-mt/FrugalBuild
index da6dac6..068f895 100644
--- a/source/network-extra/ypbind-mt/FrugalBuild
+++ b/source/network-extra/ypbind-mt/FrugalBuild
@@ -6,26 +6,26 @@ pkgver=1.19.1
pkgrel=2
pkgdesc="A multi-threaded implementation of a NIS binding daemon"
url="http://www.linux-nis.org";
-depends=('portmap')
-backup=('/etc/yp.conf')
-install=$pkgname.install
+depends=('rpcbind')
+backup=('etc/yp.conf')
groups=('network-extra')
archs=('i686' 'x86_64')
up2date="lynx -dump http://www.kernel.org/pub/linux/utils/net/NIS/ | grep 
ypbind | head -n1 | sed -n 's/.*-\(.*\)\.t.*/\1/;$ p'"
source=(ftp://ftp.kernel.org/pub/linux/utils/net/NIS/$pkgname-$pkgver.tar.bz2 \
rc.ypbind)
sha1sums=('1090431bd5641014f0066b61a9098e961b6f6e3e' \
-          '9cada4ae13380eca33481b5e82c02d2c72b542c8')
+          'fe13cb9d0326802a3426809613d3e2bdb55eda4f')

build()
{
Fbuild
Fmkdir var/yp
+       touch $Fdestdir/var/yp/binding

# Copy temp configuration files and rc script
-       Finstallrel 644 etc/yp.conf tmp/yp.conf
+       cd etc
+       Ffilerel /etc/yp.conf
Frcd2 ypbind
-       touch $Fdestdir/var/yp/binding
}


diff --git a/source/network-extra/ypbind-mt/rc.ypbind 
b/source/network-extra/ypbind-mt/rc.ypbind
index 9771e0a..f81dff7 100644
--- a/source/network-extra/ypbind-mt/rc.ypbind
+++ b/source/network-extra/ypbind-mt/rc.ypbind
@@ -6,7 +6,7 @@
# distributed under GPL License

# chkconfig: 2345 85 15
-# description: ypbind is a multi-threaded implementation of a NIS daemon
+# description: ypbind multi-threaded NIS daemon

source /lib/initscripts/functions

diff --git a/source/network-extra/ypbind-mt/ypbind-mt.install 
b/source/network-extra/ypbind-mt/ypbind-mt.install
deleted file mode 100644
index 6285051..0000000
--- a/source/network-extra/ypbind-mt/ypbind-mt.install
+++ /dev/null
@@ -1,17 +0,0 @@
-post_install()
-{
-       # Check if yp.conf already exists, if it doesnt, then
-       # Copy the yp.conf to /etc
-
-       if [ -f /etc/yp.conf ]; then
-               mv /etc/yp.conf /etc/yp.conf.old
-               mv /tmp/yp.conf /etc/yp.conf
-       else
-               mv /tmp/yp.conf /etc/yp.conf
-       fi
-       true
-}
-
-op=$1
-shift
-$op $*
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to