samba.guncellendi
This commit is contained in:
parent
39e8058069
commit
75b05fa74b
|
@ -0,0 +1 @@
|
||||||
|
/usr/lib/samba
|
|
@ -4,19 +4,13 @@
|
||||||
# Depends on: talloc tevent avahi gnutls libgpg-error popt python cups kerberos libcap tdb openldap libxslt
|
# Depends on: talloc tevent avahi gnutls libgpg-error popt python cups kerberos libcap tdb openldap libxslt
|
||||||
|
|
||||||
name=samba
|
name=samba
|
||||||
version=4.4.5
|
version=4.6.7
|
||||||
release=1
|
release=1
|
||||||
|
source=(https://www.samba.org/samba/ftp/stable/$name-$version.tar.gz
|
||||||
source=( http://ftp.samba.org/pub/samba/stable/$name-$version.tar.gz
|
samba.conf)
|
||||||
http://anduin.linuxfromscratch.org/BLFS/blfs-bootscripts/blfs-bootscripts-20170225.tar.xz)
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
|
||||||
if [ "`uname -m`" == "x86_64" ]; then
|
|
||||||
LIB=lib64
|
|
||||||
else
|
|
||||||
LIB=lib
|
|
||||||
fi
|
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
|
|
||||||
|
|
||||||
|
@ -36,24 +30,19 @@ make
|
||||||
sed -i "/samba3.blackbox.failure.failure/i \^samba3.raw.eas" selftest/knownfail
|
sed -i "/samba3.blackbox.failure.failure/i \^samba3.raw.eas" selftest/knownfail
|
||||||
|
|
||||||
make DESTDIR=$PKG install
|
make DESTDIR=$PKG install
|
||||||
|
|
||||||
install -d $PKG/$LIB
|
|
||||||
mv -v $PKG/usr/lib/libnss_win{s,bind}.so* $PKG/$LIB
|
|
||||||
ln -v -sf /$LIB/libnss_winbind.so.2 $PKG/usr/lib/libnss_winbind.so
|
|
||||||
ln -v -sf /$LIB/libnss_wins.so.2 $PKG/usr/lib/libnss_wins.so
|
|
||||||
|
|
||||||
install -v -m644 examples/smb.conf.default $PKG/etc/samba/smb.conf.default
|
install -v -m644 examples/smb.conf.default $PKG/etc/samba/smb.conf.default
|
||||||
|
|
||||||
mkdir -pv $PKG/etc/openldap/schema
|
mkdir -pv $PKG/etc/openldap/schema
|
||||||
install -v -m644 examples/LDAP/README \
|
install -v -m644 examples/LDAP/README $PKG/etc/openldap/schema/README.LDAP
|
||||||
$PKG/etc/openldap/schema/README.LDAP
|
|
||||||
|
|
||||||
install -v -m644 examples/LDAP/samba* \
|
install -v -m644 examples/LDAP/samba* $PKG/etc/openldap/schema
|
||||||
$PKG/etc/openldap/schema
|
|
||||||
|
|
||||||
install -v -m755 examples/LDAP/{get*,ol*} \
|
install -v -m755 examples/LDAP/{get*,ol*} $PKG/etc/openldap/schema
|
||||||
$PKG/etc/openldap/schema
|
|
||||||
|
|
||||||
|
#ld.conf
|
||||||
|
mkdir -pv $PKG/etc/ld.so.conf.d
|
||||||
|
cp -f $SRC/samba.conf $PKG/etc/ld.so.conf.d/
|
||||||
|
|
||||||
# cups
|
# cups
|
||||||
cd $PKG/usr/lib/
|
cd $PKG/usr/lib/
|
||||||
|
@ -61,9 +50,9 @@ install -d cups/backend
|
||||||
ln -v -sf $PKG/usr/bin/smbspool $PKG/usr/lib/cups/backend/smb
|
ln -v -sf $PKG/usr/bin/smbspool $PKG/usr/lib/cups/backend/smb
|
||||||
|
|
||||||
# servis
|
# servis
|
||||||
cd $SRC/blfs-bootscripts-20170225
|
cd /sources/milis.git/ayarlar/servisler
|
||||||
make DESTDIR=$PKG install-samba
|
make DESTDIR=$PKG kur-samba
|
||||||
make DESTDIR=$PKG install-winbindd
|
make DESTDIR=$PKG kur-winbindd
|
||||||
|
|
||||||
# Doublon
|
# Doublon
|
||||||
rm -f $PKG/usr/lib/python2.7/site-packages/talloc.so
|
rm -f $PKG/usr/lib/python2.7/site-packages/talloc.so
|
||||||
|
|
|
@ -1,16 +1,17 @@
|
||||||
# Description: Talloc, yıkıcılarla hiyerarşik, referans sayılmış bir bellek havuzu sistemidir. Samba'da kullanılan çekirdek bellek ayırıcısıdır.
|
# Description: Talloc, yıkıcılarla hiyerarşik, referans sayılmış bir bellek havuzu sistemidir.Samba'da kullanılan çekirdek bellek ayırıcısıdır.
|
||||||
# URL: https://talloc.samba.org
|
# URL: https://talloc.samba.org
|
||||||
# Packager: milisarge
|
# Packager: milisarge
|
||||||
# Depends on: python libxslt
|
# Depends on: python libxslt
|
||||||
|
|
||||||
name=talloc
|
name=talloc
|
||||||
version=2.1.8
|
version=2.1.10
|
||||||
release=1
|
release=1
|
||||||
source=(https://www.samba.org/ftp/$name/$name-$version.tar.gz)
|
source=(https://www.samba.org/ftp/$name/$name-$version.tar.gz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
./configure --prefix=/usr
|
./configure --prefix=/usr \
|
||||||
make
|
--enable-talloc-compat1
|
||||||
make DESTDIR=$PKG install
|
make
|
||||||
|
make DESTDIR=$PKG install
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# Depends on: python libxslt docbook-xsl
|
# Depends on: python libxslt docbook-xsl
|
||||||
|
|
||||||
name=tdb
|
name=tdb
|
||||||
version=1.3.8
|
version=1.3.15
|
||||||
release=1
|
release=1
|
||||||
source=(http://samba.org/ftp/${name}/${name}-${version}.tar.gz)
|
source=(http://samba.org/ftp/${name}/${name}-${version}.tar.gz)
|
||||||
|
|
||||||
|
|
|
@ -4,15 +4,15 @@
|
||||||
# Depends on: talloc python
|
# Depends on: talloc python
|
||||||
|
|
||||||
name=tevent
|
name=tevent
|
||||||
version=0.9.28
|
version=0.9.33
|
||||||
release=1
|
release=1
|
||||||
source=(https://www.samba.org/ftp/$name/$name-$version.tar.gz)
|
source=(https://www.samba.org/ftp/$name/$name-$version.tar.gz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr \
|
||||||
--bundled-libraries=NONE \
|
--bundled-libraries=NONE \
|
||||||
--builtin-libraries=replace
|
--builtin-libraries=replace
|
||||||
make
|
make
|
||||||
make DESTDIR=$PKG install
|
make DESTDIR=$PKG install
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue