mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-01 10:22:56 +02:00
Merge pull request #2757 from CMB/samba
smbclient: move server-related stuff out of here.
This commit is contained in:
commit
5336281472
1 changed files with 12 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'samba'
|
# Template file for 'samba'
|
||||||
pkgname=samba
|
pkgname=samba
|
||||||
version=3.6.25
|
version=3.6.25
|
||||||
revision=7
|
revision=8
|
||||||
build_pie=yes
|
build_pie=yes
|
||||||
build_wrksrc=source3
|
build_wrksrc=source3
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
|
@ -22,7 +22,7 @@ distfiles="http://us1.samba.org/samba/ftp/stable/$pkgname-$version.tar.gz"
|
||||||
checksum=8f2c8a7f2bd89b0dfd228ed917815852f7c625b2bc0936304ac3ed63aaf83751
|
checksum=8f2c8a7f2bd89b0dfd228ed917815852f7c625b2bc0936304ac3ed63aaf83751
|
||||||
|
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
conf_files="/etc/pam.d/samba"
|
conf_files="/etc/pam.d/samba /etc/samba/smb.conf"
|
||||||
make_dirs="/etc/samba/private 0750 root root"
|
make_dirs="/etc/samba/private 0750 root root"
|
||||||
hostmakedepends="pkg-config perl python-devel"
|
hostmakedepends="pkg-config perl python-devel"
|
||||||
makedepends="readline-devel libcap-devel popt-devel e2fsprogs-devel mit-krb5-devel
|
makedepends="readline-devel libcap-devel popt-devel e2fsprogs-devel mit-krb5-devel
|
||||||
|
@ -88,11 +88,18 @@ post_install() {
|
||||||
|
|
||||||
smbclient_package() {
|
smbclient_package() {
|
||||||
short_desc="Command-line SMB/CIFS clients for Unix"
|
short_desc="Command-line SMB/CIFS clients for Unix"
|
||||||
conf_files="/etc/samba/smb.conf"
|
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove etc/samba/smb.conf
|
|
||||||
vmove usr/bin
|
|
||||||
vmove usr/share/man/man1
|
vmove usr/share/man/man1
|
||||||
|
|
||||||
|
# Determine which binaries are client and which are server
|
||||||
|
# by looking at manpage suffix, and vmove the client
|
||||||
|
# binaries. Ugly.
|
||||||
|
for f in "$PKGDESTDIR"/usr/share/man/man1/*.1; do
|
||||||
|
g=$(basename "${f}" .1)
|
||||||
|
if [ -e "${DESTDIR}/usr/bin/${g}" ]; then
|
||||||
|
vmove usr/bin/${g}
|
||||||
|
fi
|
||||||
|
done
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
libsmbclient_package() {
|
libsmbclient_package() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue