malfs mekanizma guncelleme

This commit is contained in:
root 2016-03-01 15:04:37 +02:00
parent 17c32174fb
commit 6c9c44dc4d
4 changed files with 19 additions and 13 deletions

View File

@ -4,7 +4,7 @@
# Depends on: libdatrie # Depends on: libdatrie
name=libthai name=libthai
version=0.1.21 version=0.1.24
release=1 release=1
source=(https://mirrors.kernel.org/debian/pool/main/libt/${name}/${name}_${version}.orig.tar.xz) source=(https://mirrors.kernel.org/debian/pool/main/libt/${name}/${name}_${version}.orig.tar.xz)

View File

@ -1,12 +0,0 @@
# /etc/exports - exports(5) - directories exported to NFS clients
#
# Example for NFSv2 and NFSv3:
# /srv/home hostname1(rw,sync) hostname2(ro,sync)
# Example for NFSv4:
# /srv/nfs4 hostname1(rw,sync,fsid=0)
# /srv/nfs4/home hostname1(rw,sync,nohide)
# Using Kerberos and integrity checking:
# /srv/nfs4 *(rw,sync,sec=krb5i,fsid=0)
# /srv/nfs4/home *(rw,sync,sec=krb5i,nohide)
#
# Use `exportfs -arv` to reload.

View File

@ -6,3 +6,20 @@ QUOTAS="no"
KILLDELAY="10" KILLDELAY="10"
EOF EOF
fi fi
if [ ! -f /etc/exports ]; then
cat > /etc/exports << "EOF"
# /etc/exports - exports(5) - directories exported to NFS clients
#
# Example for NFSv2 and NFSv3:
# /srv/home hostname1(rw,sync) hostname2(ro,sync)
# Example for NFSv4:
# /srv/nfs4 hostname1(rw,sync,fsid=0)
# /srv/nfs4/home hostname1(rw,sync,nohide)
# Using Kerberos and integrity checking:
# /srv/nfs4 *(rw,sync,sec=krb5i,fsid=0)
# /srv/nfs4/home *(rw,sync,sec=krb5i,nohide)
#
# Use `exportfs -arv` to reload.
EOF
fi

View File

@ -30,6 +30,7 @@ cd $name-$version
make make
mkdir $PKG/sbin mkdir $PKG/sbin
make DESTDIR=$PKG install make DESTDIR=$PKG install
mkdir $PKG/etc
install -m 644 $SRC/exports $PKG/etc/ install -m 644 $SRC/exports $PKG/etc/
# Services # Services
cd ../$scripts-$scriptsversion cd ../$scripts-$scriptsversion