2011-09-02 11:59:45 +02:00
|
|
|
# Description: Utilities for doing and managing mounts of the Linux CIFS filesystem
|
2021-04-13 10:23:15 +02:00
|
|
|
# URL: https://wiki.samba.org/index.php/LinuxCIFS_utils
|
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
|
|
|
# Depends on: linux-pam samba keyutils
|
2011-09-02 11:59:45 +02:00
|
|
|
|
|
|
|
name=cifs-utils
|
2022-08-12 11:50:00 +02:00
|
|
|
version=7.0
|
2019-12-20 14:27:31 +01:00
|
|
|
release=1
|
2015-05-23 11:22:30 +02:00
|
|
|
source=(https://download.samba.org/pub/linux-cifs/$name/$name-$version.tar.bz2
|
2021-01-01 17:20:39 +01:00
|
|
|
$name-man.tar.xz cifs)
|
2011-09-02 11:59:45 +02:00
|
|
|
|
|
|
|
build () {
|
2021-01-01 17:20:39 +01:00
|
|
|
cd $name-$version
|
2019-12-20 14:27:31 +01:00
|
|
|
|
2021-01-01 17:20:39 +01:00
|
|
|
install -d $PKG/{sbin,usr/share/man/man{1,8}}
|
|
|
|
install -m 0644 $SRC/*.1 $PKG/usr/share/man/man1
|
|
|
|
install -m 0644 $SRC/*.8 $PKG/usr/share/man/man8
|
|
|
|
ln -s mount.cifs.8 $PKG/usr/share/man/man8/mount.smb3.8
|
2019-12-20 14:27:31 +01:00
|
|
|
|
2021-05-18 16:30:43 +02:00
|
|
|
./configure --prefix=/usr --with-pamdir=/lib/security
|
2021-01-01 17:20:39 +01:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2019-12-20 14:27:31 +01:00
|
|
|
|
2021-01-01 17:20:39 +01:00
|
|
|
install -D -m 0755 $SRC/cifs $PKG/etc/rc.d/cifs
|
2011-09-02 11:59:45 +02:00
|
|
|
}
|