samba: install yapp unconditionally, fix man-page install
This commit is contained in:
parent
f0e0da4f78
commit
9b8b41a1e2
|
@ -923,6 +923,10 @@ drwxr-xr-x root/root usr/man/man5/
|
|||
-rw-r--r-- root/root usr/man/man5/smb.conf.5.gz
|
||||
-rw-r--r-- root/root usr/man/man5/smbgetrc.5.gz
|
||||
-rw-r--r-- root/root usr/man/man5/smbpasswd.5.gz
|
||||
drwxr-xr-x root/root usr/man/man7/
|
||||
-rw-r--r-- root/root usr/man/man7/libsmbclient.7.gz
|
||||
-rw-r--r-- root/root usr/man/man7/samba.7.gz
|
||||
-rw-r--r-- root/root usr/man/man7/winbind_krb5_locator.7.gz
|
||||
drwxr-xr-x root/root usr/man/man8/
|
||||
-rw-r--r-- root/root usr/man/man8/eventlogadm.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/idmap_ad.8.gz
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
448caca4745aef1a842f4fdb1aa62e1e samba
|
||||
f9efc506e08c680d2b79b13be28c959c samba-4.1.9.tar.gz
|
||||
befcb6d70805a641aaaef38550b07725 samba-install_yapp_driver.patch
|
||||
|
|
|
@ -5,13 +5,16 @@
|
|||
|
||||
name=samba
|
||||
version=4.1.9
|
||||
release=1
|
||||
release=2
|
||||
source=(http://www.samba.org/samba/ftp/stable/$name-$version.tar.gz \
|
||||
samba-install_yapp_driver.patch
|
||||
samba)
|
||||
|
||||
build () {
|
||||
cd $name-$version
|
||||
|
||||
patch -d pidl/lib -p0 -i $SRC/samba-install_yapp_driver.patch
|
||||
|
||||
local JOBS=$(awk 'BEGIN{RS="-j|--jobs="} NR==2 {print $1}' <<< $MAKEFLAGS)
|
||||
test -n "$JOBS" && export JOBS="$JOBS"
|
||||
|
||||
|
@ -23,13 +26,13 @@ build () {
|
|||
--with-privatedir=/etc/samba/private
|
||||
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
make -j1 DESTDIR=$PKG install
|
||||
|
||||
# man pages
|
||||
install -d $PKG/usr/man/man{1,5,8}
|
||||
install -m 644 docs/manpages/*.1 $PKG/usr/man/man1
|
||||
install -m 644 docs/manpages/*.5 $PKG/usr/man/man5
|
||||
install -m 644 docs/manpages/*.8 $PKG/usr/man/man8
|
||||
local p
|
||||
for p in docs/manpages/*; do
|
||||
install -D -m 644 $p $PKG/usr/man/man${p##*.}/${p##*/}
|
||||
done
|
||||
|
||||
# cleanup
|
||||
chmod 1777 $PKG/var/lock
|
||||
|
|
|
@ -1,21 +0,0 @@
|
|||
diff -Nru samba-3.0.26a.orig/examples/smb.conf.default samba-3.0.26a/examples/smb.conf.default
|
||||
--- samba-3.0.26a.orig/examples/smb.conf.default 2007-09-12 09:39:16.000000000 +0200
|
||||
+++ samba-3.0.26a/examples/smb.conf.default 2007-09-12 09:39:40.000000000 +0200
|
||||
@@ -63,7 +63,7 @@
|
||||
|
||||
# this tells Samba to use a separate log file for each machine
|
||||
# that connects
|
||||
- log file = /usr/local/samba/var/log.%m
|
||||
+ log file = /var/log/samba/log.%m
|
||||
|
||||
# Put a capping on the size of the log files (in Kb).
|
||||
max log size = 50
|
||||
@@ -184,7 +184,7 @@
|
||||
# specifically define each individual printer
|
||||
[printers]
|
||||
comment = All Printers
|
||||
- path = /usr/spool/samba
|
||||
+ path = /var/spool/samba
|
||||
browseable = no
|
||||
# Set public = yes to allow user 'guest account' to print
|
||||
guest ok = no
|
Loading…
Reference in New Issue
Block a user