samba: switch to /usr.
This commit is contained in:
parent
cdc500cc82
commit
e933b55ea9
|
@ -1,10 +1,8 @@
|
|||
# Template file for 'samba'
|
||||
pkgname=samba
|
||||
version=3.6.6
|
||||
revision=1
|
||||
revision=2
|
||||
build_wrksrc=source3
|
||||
homepage="http://www.samba.org"
|
||||
distfiles="http://us1.samba.org/samba/ftp/stable/$pkgname-$version.tar.gz"
|
||||
build_style=gnu-configure
|
||||
configure_args="--with-fhs --with-pam --with-pam_smbpass --with-ldap
|
||||
--with-configdir=/etc/samba --with-lockdir=/var/samba
|
||||
|
@ -21,6 +19,8 @@ avahi-libs-devel tdb-devel talloc-devel cups-devel"
|
|||
short_desc="SMB/CIFS file, print, and login server for Unix"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
license="GPL-3"
|
||||
homepage="http://www.samba.org"
|
||||
distfiles="http://us1.samba.org/samba/ftp/stable/$pkgname-$version.tar.gz"
|
||||
checksum=67685f2badf7451cb06ad60534784072947c3a845e4d0afec5ab7817f2ee9310
|
||||
long_desc="
|
||||
Samba is an implementation of the SMB/CIFS protocol for Unix systems,
|
||||
|
@ -54,11 +54,11 @@ post_install() {
|
|||
${DESTDIR}/etc/samba/smb.conf
|
||||
|
||||
# nsswitch libraries
|
||||
vinstall nsswitch/libnss_wins.so 755 lib
|
||||
ln -s libnss_wins.so ${DESTDIR}/lib/libnss_wins.so.2
|
||||
vinstall nsswitch/libnss_wins.so 755 usr/lib
|
||||
ln -s libnss_wins.so ${DESTDIR}/usr/lib/libnss_wins.so.2
|
||||
|
||||
vinstall nsswitch/libnss_winbind.so 755 lib
|
||||
ln -s libnss_winbind.so ${DESTDIR}/lib/libnss_winbind.so.2
|
||||
vinstall nsswitch/libnss_winbind.so 755 usr/lib
|
||||
ln -s libnss_winbind.so ${DESTDIR}/usr/lib/libnss_winbind.so.2
|
||||
|
||||
# winbind krb5 locator
|
||||
vinstall source3/bin/winbind_krb5_locator.so 755 \
|
||||
|
@ -70,7 +70,7 @@ post_install() {
|
|||
|
||||
# systemd units
|
||||
for f in nmbd smbd winbindd; do
|
||||
vinstall ${FILESDIR}/${f}.service 644 lib/systemd/system
|
||||
vinstall ${FILESDIR}/${f}.service 644 usr/lib/systemd/system
|
||||
done
|
||||
# systemd tmpfiles
|
||||
vinstall ${FILESDIR}/samba.tmpfiles 644 usr/lib/tmpfiles.d samba.conf
|
||||
|
|
Loading…
Reference in New Issue