mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 08:52:56 +02:00
samba: added runit services.
This commit is contained in:
parent
3fac07b466
commit
062b622c5d
5 changed files with 13 additions and 2 deletions
2
srcpkgs/samba/files/nmbd/log/run
Executable file
2
srcpkgs/samba/files/nmbd/log/run
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
exec logger -p nmbd.notice
|
2
srcpkgs/samba/files/nmbd/run
Executable file
2
srcpkgs/samba/files/nmbd/run
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
exec nmbd -F -S
|
2
srcpkgs/samba/files/smbd/log/run
Executable file
2
srcpkgs/samba/files/smbd/log/run
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
exec logger -p smbd.notice
|
2
srcpkgs/samba/files/smbd/run
Executable file
2
srcpkgs/samba/files/smbd/run
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
exec smbd -F -S
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'samba'
|
# Template file for 'samba'
|
||||||
pkgname=samba
|
pkgname=samba
|
||||||
version=3.6.24
|
version=3.6.24
|
||||||
revision=2
|
revision=3
|
||||||
build_wrksrc=source3
|
build_wrksrc=source3
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-fhs --with-pam --with-pam_smbpass --with-ldap
|
configure_args="--with-fhs --with-pam --with-pam_smbpass --with-ldap
|
||||||
|
@ -20,6 +20,7 @@ distfiles="http://us1.samba.org/samba/ftp/stable/$pkgname-$version.tar.gz"
|
||||||
checksum=11d0bd04b734731970259efc6692b8e749ff671a9b56d8cc5fa98c192ab234a7
|
checksum=11d0bd04b734731970259efc6692b8e749ff671a9b56d8cc5fa98c192ab234a7
|
||||||
|
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
|
replaces="runit-void<20141013_2"
|
||||||
build_options="systemd"
|
build_options="systemd"
|
||||||
conf_files="/etc/pam.d/samba"
|
conf_files="/etc/pam.d/samba"
|
||||||
hostmakedepends="pkg-config perl python-devel"
|
hostmakedepends="pkg-config perl python-devel"
|
||||||
|
@ -41,7 +42,6 @@ fi
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
sed -e 's,XFS_QUOTA_,FS_QUOTA_,g' -i lib/sysquotas_xfs.c
|
sed -e 's,XFS_QUOTA_,FS_QUOTA_,g' -i lib/sysquotas_xfs.c
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
cd ${wrksrc}
|
cd ${wrksrc}
|
||||||
# conf file
|
# conf file
|
||||||
|
@ -82,6 +82,9 @@ post_install() {
|
||||||
vinstall ${FILESDIR}/samba.tmpfiles 644 usr/lib/tmpfiles.d samba.conf
|
vinstall ${FILESDIR}/samba.tmpfiles 644 usr/lib/tmpfiles.d samba.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
vsv nmbd
|
||||||
|
vsv smbd
|
||||||
|
|
||||||
# PAM support
|
# PAM support
|
||||||
vinstall ${FILESDIR}/samba.pam 644 etc/pam.d samba
|
vinstall ${FILESDIR}/samba.pam 644 etc/pam.d samba
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue