mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/samba to 4.16.0-2
This commit is contained in:
parent
5fc93d2c18
commit
65aeb00c02
8 changed files with 4 additions and 86 deletions
|
@ -14,7 +14,7 @@
|
||||||
pkgbase=samba
|
pkgbase=samba
|
||||||
pkgname=('smbclient' 'samba')
|
pkgname=('smbclient' 'samba')
|
||||||
pkgver=4.16.0
|
pkgver=4.16.0
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
arch=(x86_64)
|
arch=(x86_64)
|
||||||
url="https://www.samba.org"
|
url="https://www.samba.org"
|
||||||
license=('GPL3')
|
license=('GPL3')
|
||||||
|
@ -204,7 +204,9 @@ sys.path.insert(0, '/usr/lib/python${_pyver}/site-packages')" \
|
||||||
chmod 750 ${pkgdir}/etc/sudoers.d/ctdb
|
chmod 750 ${pkgdir}/etc/sudoers.d/ctdb
|
||||||
# Fix waf installing the wrong permissions for sudoers.d
|
# Fix waf installing the wrong permissions for sudoers.d
|
||||||
chmod 750 ${pkgdir}/etc/sudoers.d
|
chmod 750 ${pkgdir}/etc/sudoers.d
|
||||||
chmod 600 ${pkgdir}/etc/sudoers.d/ctdb
|
chmod 440 ${pkgdir}/etc/sudoers.d/ctdb
|
||||||
|
# install ctdb service
|
||||||
|
install -D -m644 "${srcdir}"/samba-${pkgver}/ctdb/config/ctdb.service ${pkgdir}/usr/lib/systemd/system/ctdb.service
|
||||||
}
|
}
|
||||||
|
|
||||||
# vim: ts=2 sw=2 et:
|
# vim: ts=2 sw=2 et:
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=Samba NetBIOS name server
|
|
||||||
After=network.target
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=forking
|
|
||||||
PIDFile=/var/run/nmbd.pid
|
|
||||||
ExecStart=/usr/bin/nmbd -D
|
|
||||||
ExecReload=/bin/kill -HUP $MAINPID
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
|
@ -1,18 +0,0 @@
|
||||||
## Path: Network/Samba
|
|
||||||
## Description: Samba process options
|
|
||||||
## Type: string
|
|
||||||
## Default: ""
|
|
||||||
## ServiceRestart: samba
|
|
||||||
SAMBAOPTIONS=""
|
|
||||||
## Type: string
|
|
||||||
## Default: ""
|
|
||||||
## ServiceRestart: smb
|
|
||||||
SMBDOPTIONS=""
|
|
||||||
## Type: string
|
|
||||||
## Default: ""
|
|
||||||
## ServiceRestart: nmb
|
|
||||||
NMBDOPTIONS=""
|
|
||||||
## Type: string
|
|
||||||
## Default: ""
|
|
||||||
## ServiceRestart: winbind
|
|
||||||
WINBINDOPTIONS=""
|
|
|
@ -1,14 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=Samba AD Daemon
|
|
||||||
After=syslog.target network.target
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=forking
|
|
||||||
PIDFile=/var/run/samba.pid
|
|
||||||
LimitNOFILE=16384
|
|
||||||
EnvironmentFile=-/etc/conf.d/samba
|
|
||||||
ExecStart=/usr/bin/samba $SAMBAOPTIONS
|
|
||||||
ExecReload=/usr/bin/kill -HUP $MAINPID
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
|
@ -1,12 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=Samba SMB/CIFS server
|
|
||||||
After=network.target nmbd.service winbindd.service
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=forking
|
|
||||||
PIDFile=/var/run/smbd.pid
|
|
||||||
ExecStart=/usr/bin/smbd -D
|
|
||||||
ExecReload=/bin/kill -HUP $MAINPID
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
|
@ -1,9 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=Samba SMB/CIFS server socket
|
|
||||||
|
|
||||||
[Socket]
|
|
||||||
ListenStream=445
|
|
||||||
Accept=yes
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=sockets.target
|
|
|
@ -1,7 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=Samba SMB/CIFS server instance
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
ExecStart=/usr/bin/smbd -F
|
|
||||||
ExecReload=/bin/kill -HUP $MAINPID
|
|
||||||
StandardInput=socket
|
|
|
@ -1,12 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=Samba Winbind daemon
|
|
||||||
After=network.target nmbd.service
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=forking
|
|
||||||
PIDFile=/var/run/winbindd.pid
|
|
||||||
ExecStart=/usr/bin/winbindd -D
|
|
||||||
ExecReload=/bin/kill -HUP $MAINPID
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
Loading…
Reference in a new issue