Commit e31d4e6e authored by Jerzy Kołosowski's avatar Jerzy Kołosowski

delete samba

parent 66cfb529
# ChangeLog for net-fs/samba
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/ChangeLog,v 1.706 2015/01/13 08:49:48 polynomial-c Exp $
*samba-4.1.15 (13 Jan 2015)
13 Jan 2015; Lars Wendler <polynomial-c@gentoo.org> -samba-3.6.23-r1.ebuild,
+samba-4.1.15.ebuild, -files/samba-4.1.0-remove-dmapi-automagic.patch,
-files/samba4.initd, -files/samba-4.x-readline63_typedef_fix.patch:
Version bump. Removed old.
03 Jan 2015; Michał Górny <mgorny@gentoo.org> samba-4.0.23.ebuild,
samba-4.1.14.ebuild:
Use python-single-r1. Add missing PYTHON_REQUIRED_USE and PYTHON_USEDEPs. Set
PYTHON_REQ_USE for waf.
03 Jan 2015; Michał Górny <mgorny@gentoo.org> -samba-4.0.22.ebuild,
-samba-4.1.13.ebuild:
Drop old 4.* versions.
03 Jan 2015; Michał Górny <mgorny@gentoo.org>
+files/samba-4.1.14-libsystemd.patch, samba-4.1.14.ebuild:
Support linking against libsystemd, bug #526362.
03 Jan 2015; Michał Górny <mgorny@gentoo.org> samba-4.1.14.ebuild:
Make systemd library support optional, bug #512510.
26 Dec 2014; Agostino Sarubbo <ago@gentoo.org> samba-3.6.24.ebuild:
Stable for sparc, wrt bug #514676
25 Dec 2014; Agostino Sarubbo <ago@gentoo.org> samba-3.6.24.ebuild:
Stable for ia64, wrt bug #514676
24 Dec 2014; Agostino Sarubbo <ago@gentoo.org> samba-3.6.24.ebuild:
Stable for ppc64, wrt bug #514676
24 Dec 2014; Agostino Sarubbo <ago@gentoo.org> samba-3.6.24.ebuild:
Stable for ppc, wrt bug #514676
23 Dec 2014; Markus Meier <maekke@gentoo.org> samba-3.6.24.ebuild:
arm stable, bug #514676
23 Dec 2014; Agostino Sarubbo <ago@gentoo.org> samba-3.6.24.ebuild:
Stable for alpha, wrt bug #514676
21 Dec 2014; Agostino Sarubbo <ago@gentoo.org> samba-3.6.24.ebuild:
Stable for x86, wrt bug #514676
21 Dec 2014; Agostino Sarubbo <ago@gentoo.org> samba-3.6.24.ebuild:
Stable for amd64, wrt bug #514676
17 Dec 2014; Jeroen Roovers <jer@gentoo.org> samba-3.6.24.ebuild:
Stable for HPPA (bug #514676).
*samba-4.0.23 (16 Dec 2014)
16 Dec 2014; Lars Wendler <polynomial-c@gentoo.org> +samba-4.0.23.ebuild:
Version bump.
*samba-4.1.14 (02 Dec 2014)
02 Dec 2014; Lars Wendler <polynomial-c@gentoo.org> -samba-3.6.23.ebuild,
-samba-4.0.21.ebuild, -samba-4.1.12.ebuild, +samba-4.1.14.ebuild,
+files/samba-4.1.14-named.conf.dlz.patch:
Version bump. Removed old.
02 Nov 2014; Sven Vermeulen <swift@gentoo.org> samba-3.6.23-r1.ebuild,
samba-3.6.23.ebuild, samba-3.6.24.ebuild, samba-4.0.21.ebuild,
samba-4.0.22.ebuild, samba-4.1.12.ebuild, samba-4.1.13.ebuild:
Remove sec-policy/selinux-* dependency from DEPEND but keep in RDEPEND (bug
#527698)
*samba-4.1.13 (21 Oct 2014)
21 Oct 2014; Lars Wendler <polynomial-c@gentoo.org> -samba-4.1.11.ebuild,
+samba-4.1.13.ebuild:
Version bump. Removed old.
11 Oct 2014; Markus Meier <maekke@gentoo.org> samba-3.6.23-r1.ebuild:
arm stable, bug #512012
*samba-4.0.22 (18 Sep 2014)
18 Sep 2014; Lars Wendler <polynomial-c@gentoo.org> +samba-4.0.22.ebuild:
Version bump.
15 Sep 2014; Agostino Sarubbo <ago@gentoo.org> samba-3.6.23-r1.ebuild:
Stable for sparc, wrt bug #512012
*samba-4.1.12 (08 Sep 2014)
08 Sep 2014; Lars Wendler <polynomial-c@gentoo.org> +samba-4.1.12.ebuild:
Version bump.
25 Aug 2014; Agostino Sarubbo <ago@gentoo.org> samba-3.6.23-r1.ebuild:
Stable for alpha, wrt bug #512012
23 Aug 2014; Agostino Sarubbo <ago@gentoo.org> samba-3.6.23-r1.ebuild:
Stable for ia64, wrt bug #512012
21 Aug 2014; Agostino Sarubbo <ago@gentoo.org> samba-3.6.23-r1.ebuild:
Stable for ppc64, wrt bug #512012
08 Aug 2014; Lars Wendler <polynomial-c@gentoo.org> -samba-4.0.19.ebuild,
-samba-4.1.9.ebuild:
Removed vulnerable versions.
07 Aug 2014; Jeroen Roovers <jer@gentoo.org> samba-3.6.23-r1.ebuild:
Stable for HPPA (bug #512012).
06 Aug 2014; Lars Wendler <polynomial-c@gentoo.org> samba-4.1.11.ebuild:
Fixed dependency on ldb.
*samba-4.1.11 (01 Aug 2014)
*samba-4.0.21 (01 Aug 2014)
01 Aug 2014; Lars Wendler <polynomial-c@gentoo.org> -samba-4.0.18.ebuild,
+samba-4.0.21.ebuild, -samba-4.1.8.ebuild, +samba-4.1.11.ebuild:
Security bump (bug #518766). Removed old.
28 Jul 2014; Agostino Sarubbo <ago@gentoo.org> samba-3.6.23-r1.ebuild:
Stable for ppc, wrt bug #512012
23 Jul 2014; Agostino Sarubbo <ago@gentoo.org> samba-3.6.23-r1.ebuild:
Stable for x86, wrt bug #512012
22 Jul 2014; Agostino Sarubbo <ago@gentoo.org> samba-3.6.23-r1.ebuild:
Stable for amd64, wrt bug #512912
*samba-4.1.9 (11 Jul 2014)
*samba-4.0.19 (11 Jul 2014)
*samba-3.6.24 (11 Jul 2014)
11 Jul 2014; Lars Wendler <polynomial-c@gentoo.org> -samba-3.6.22.ebuild,
+samba-3.6.24.ebuild, -samba-4.0.17.ebuild, +samba-4.0.19.ebuild,
-samba-4.1.7.ebuild, +samba-4.1.9.ebuild,
+files/samba-4.0.19-automagic_aio_fix.patch:
Version bump. Removed old. Fixed automagic dependency on libaio (bug
#489764).
18 Jun 2014; Michał Górny <mgorny@gentoo.org> samba-3.6.23-r1.ebuild:
Update dependencies to require guaranteed EAPI=5 or multilib ebuilds, bug
#513718.
*samba-3.6.23-r1 (11 Jun 2014)
11 Jun 2014; Michał Górny <mgorny@gentoo.org> +samba-3.6.23-r1.ebuild:
Enable multilib support in samba-3.
*samba-4.1.8 (04 Jun 2014)
04 Jun 2014; Lars Wendler <polynomial-c@gentoo.org> -samba-4.1.6.ebuild,
+samba-4.1.8.ebuild:
Version bump. Removed old.
*samba-4.0.18 (28 May 2014)
28 May 2014; Lars Wendler <polynomial-c@gentoo.org> -samba-4.0.16.ebuild,
+samba-4.0.18.ebuild:
Version bump. Removed old.
14 May 2014; Agostino Sarubbo <ago@gentoo.org> samba-3.6.23.ebuild:
Stable for sparc, wrt bug #504494
17 Apr 2014; Jeroen Roovers <jer@gentoo.org> samba-4.1.7.ebuild:
Marked ~hppa too.
17 Apr 2014; Lars Wendler <polynomial-c@gentoo.org> samba-4.1.7.ebuild:
Dropped hppa keyword due to new package dependency.
*samba-4.1.7 (17 Apr 2014)
17 Apr 2014; Lars Wendler <polynomial-c@gentoo.org> +samba-4.1.7.ebuild:
Version bump. Finally link against system heimdal (bug #504694). Use
sys-libs/ntdb instead of bundled copy.
*samba-4.0.17 (15 Apr 2014)
15 Apr 2014; Lars Wendler <polynomial-c@gentoo.org> +samba-4.0.17.ebuild:
Version bump.
24 Mar 2014; Agostino Sarubbo <ago@gentoo.org> samba-3.6.23.ebuild:
Stable for ppc64, wrt bug #504494
24 Mar 2014; Agostino Sarubbo <ago@gentoo.org> samba-3.6.23.ebuild:
Stable for alpha, wrt bug #504494
22 Mar 2014; Markus Meier <maekke@gentoo.org> samba-3.6.23.ebuild:
arm stable, bug #504494
18 Mar 2014; Agostino Sarubbo <ago@gentoo.org> samba-3.6.23.ebuild:
Stable for ia64, wrt bug #504494
16 Mar 2014; Agostino Sarubbo <ago@gentoo.org> samba-3.6.23.ebuild:
Stable for ppc, wrt bug #504494
16 Mar 2014; Jeroen Roovers <jer@gentoo.org> samba-3.6.23.ebuild:
Stable for HPPA (bug #504494).
15 Mar 2014; Agostino Sarubbo <ago@gentoo.org> samba-3.6.23.ebuild:
Stable for x86, wrt bug #504494
15 Mar 2014; Agostino Sarubbo <ago@gentoo.org> samba-3.6.23.ebuild:
Stable for amd64, wrt bug #504494
*samba-4.1.6 (14 Mar 2014)
*samba-4.0.16 (14 Mar 2014)
*samba-3.6.23 (14 Mar 2014)
14 Mar 2014; Lars Wendler <polynomial-c@gentoo.org> -samba-3.6.19.ebuild,
-samba-3.6.20.ebuild, -samba-3.6.21.ebuild, +samba-3.6.23.ebuild,
-samba-4.0.15-r1.ebuild, +samba-4.0.16.ebuild, -samba-4.1.5-r1.ebuild,
+samba-4.1.6.ebuild, files/3.6/samba.initd:
Security bump (bug #504494). Removed old.
13 Mar 2014; Lars Wendler <polynomial-c@gentoo.org> samba-4.0.15-r1.ebuild,
samba-4.1.5-r1.ebuild, files/4.0/samba4.initd-r1, files/4.1/samba4.initd-r1,
files/samba.conf:
Fixed pidfile location for non-linux systems.
*samba-4.1.5-r1 (06 Mar 2014)
*samba-4.0.15-r1 (06 Mar 2014)
06 Mar 2014; Lars Wendler <polynomial-c@gentoo.org> -samba-4.0.14.ebuild,
-samba-4.0.15.ebuild, +samba-4.0.15-r1.ebuild, -samba-4.1.4.ebuild,
-samba-4.1.5.ebuild, +samba-4.1.5-r1.ebuild,
+files/samba-4.x-readline63_typedef_fix.patch:
Fixed compilation with sys-libs/readline-6.3 (bug #503580). Removed broken
versions.
01 Mar 2014; Michał Górny <mgorny@gentoo.org> samba-4.0.14.ebuild,
samba-4.0.15.ebuild, samba-4.1.4.ebuild, samba-4.1.5.ebuild:
Update libgcrypt dep to use slot :0.
*samba-4.1.5 (21 Feb 2014)
21 Feb 2014; Lars Wendler <polynomial-c@gentoo.org> -samba-4.1.3.ebuild,
+samba-4.1.5.ebuild, +files/named.conf.dlz.patch:
Version bump. Removed old.
*samba-4.0.15 (19 Feb 2014)
19 Feb 2014; Lars Wendler <polynomial-c@gentoo.org> -samba-4.0.13.ebuild,
+samba-4.0.15.ebuild:
Version bump. Removed old.
12 Jan 2014; Agostino Sarubbo <ago@gentoo.org> samba-3.6.22.ebuild:
Stable for ia64, wrt bug #493664
*samba-4.1.4 (11 Jan 2014)
11 Jan 2014; Lars Wendler <polynomial-c@gentoo.org> -samba-4.1.2.ebuild,
+samba-4.1.4.ebuild:
Version bump. Removed old.
*samba-4.0.14 (08 Jan 2014)
08 Jan 2014; Lars Wendler <polynomial-c@gentoo.org> -samba-4.0.12.ebuild,
+samba-4.0.14.ebuild:
Version bump. Removed old.
01 Jan 2014; Andreas K. Huettel <dilfridge@gentoo.org> +ChangeLog-2013:
Rotate ChangeLog
For previous entries, please see ChangeLog-2013.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
# Add "winbind" to the daemon_list if you also want winbind to start.
# Replace "smbd nmbd" by "samba4" if you want the active directory domain controller part or the ntvfs
# file server part or the rpc proxy to start.
# Note that samba4 controls 'smbd' by itself, thus it can't be started manually. You can, however,
# tweak the behaviour of a samba4-controlled smbd by modifying your '/etc/samba/smb.conf' file
# accordingly.
daemon_list="smbd nmbd"
#----------------------------------------------------------------------------
# Daemons calls: <daemon_name>_<command_option>
#----------------------------------------------------------------------------
my_service_name="samba"
my_service_PRE="unset TMP TMPDIR"
my_service_POST=""
#----------------------------------------------------------------------------
# Daemons calls: <daemon_name>_<command_option>
#----------------------------------------------------------------------------
smbd_start_options="-D"
smbd_start="start-stop-daemon --start --exec /usr/sbin/smbd -- ${smbd_start_options}"
smbd_stop="start-stop-daemon --stop --exec /usr/sbin/smbd"
smbd_reload="killall -HUP smbd"
nmbd_start_options="-D"
nmbd_start="start-stop-daemon --start --exec /usr/sbin/nmbd -- ${nmbd_start_options}"
nmbd_stop="start-stop-daemon --stop --exec /usr/sbin/nmbd"
nmbd_reload="killall -HUP nmbd"
samba4_start_options=""
samba4_start="start-stop-daemon --start --exec /usr/sbin/samba -- ${samba4_start_options}"
samba4_stop="start-stop-daemon --stop --exec /usr/sbin/samba"
samba4_reload="killall -HUP samba"
winbind_start_options=""
winbind_start="start-stop-daemon --start --exec /usr/sbin/winbindd -- ${winbind_start_options}"
winbind_stop="start-stop-daemon --stop --exec /usr/sbin/winbindd"
winbind_reload="killall -HUP winbindd"
#!/sbin/openrc-run
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License, v2 or later
# $Id$
extra_started_commands="reload"
piddir="/run/samba"
depend() {
after slapd
need net
use cupsd
}
DAEMONNAME="${SVCNAME##samba.}"
[ "${DAEMONNAME}" != "samba" ] && daemon_list=${DAEMONNAME}
signal_do() {
local signal="$1"
[ -z "${signal}" ] && return 0
local result=0 last_result=0 daemon= cmd_exec=
for daemon in ${daemon_list} ; do
eval cmd_exec=\$${daemon}_${signal}
if [ -n "${cmd_exec}" ]; then
ebegin "${my_service_name} -> ${signal}: ${daemon}"
#echo ${cmd} '->' ${!cmd}
${cmd_exec} > /dev/null
last_result=$?
eend ${last_result}
fi
result=$(( ${result} + ${last_result} ))
done
return ${result}
}
start() {
${my_service_PRE}
[ -d "${piddir}" ] || mkdir -p "${piddir}"
signal_do start && return 0
eerror "Error: starting services (see system logs)"
signal_do stop
return 1
}
stop() {
${my_service_PRE}
if signal_do stop ; then
${my_service_POST}
return 0
fi
}
reload() {
${my_service_PRE}
signal_do reload
}
# Add "winbind" to the daemon_list if you also want winbind to start.
# Replace "smbd nmbd" by "samba4" if you want the active directory domain controller part or the ntvfs
# file server part or the rpc proxy to start.
# Note that samba4 controls 'smbd' by itself, thus it can't be started manually. You can, however,
# tweak the behaviour of a samba4-controlled smbd by modifying your '/etc/samba/smb.conf' file
# accordingly.
daemon_list="smbd nmbd"
#----------------------------------------------------------------------------
# Daemons calls: <daemon_name>_<command_option>
#----------------------------------------------------------------------------
my_service_name="samba"
my_service_PRE="unset TMP TMPDIR"
my_service_POST=""
#----------------------------------------------------------------------------
# Daemons calls: <daemon_name>_<command_option>
#----------------------------------------------------------------------------
smbd_start_options="-D"
smbd_start="start-stop-daemon --start --exec /usr/sbin/smbd -- ${smbd_start_options}"
smbd_stop="start-stop-daemon --stop --exec /usr/sbin/smbd"
smbd_reload="killall -HUP smbd"
nmbd_start_options="-D"
nmbd_start="start-stop-daemon --start --exec /usr/sbin/nmbd -- ${nmbd_start_options}"
nmbd_stop="start-stop-daemon --stop --exec /usr/sbin/nmbd"
nmbd_reload="killall -HUP nmbd"
samba4_start_options=""
samba4_start="start-stop-daemon --start --exec /usr/sbin/samba -- ${samba4_start_options}"
samba4_stop="start-stop-daemon --stop --exec /usr/sbin/samba"
samba4_reload="killall -HUP samba"
winbind_start_options=""
winbind_start="start-stop-daemon --start --exec /usr/sbin/winbindd -- ${winbind_start_options}"
winbind_stop="start-stop-daemon --stop --exec /usr/sbin/winbindd"
winbind_reload="killall -HUP winbindd"
#!/sbin/openrc-run
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License, v2 or later
# $Id$
extra_started_commands="reload"
piddir="/run/samba"
depend() {
after slapd
need net
use cupsd
}
DAEMONNAME="${SVCNAME##samba.}"
[ "${DAEMONNAME}" != "samba" ] && daemon_list=${DAEMONNAME}
signal_do() {
local signal="$1"
[ -z "${signal}" ] && return 0
local result=0 last_result=0 daemon= cmd_exec=
for daemon in ${daemon_list} ; do
eval cmd_exec=\$${daemon}_${signal}
if [ -n "${cmd_exec}" ]; then
ebegin "${my_service_name} -> ${signal}: ${daemon}"
#echo ${cmd} '->' ${!cmd}
${cmd_exec} > /dev/null
last_result=$?
eend ${last_result}
fi
result=$(( ${result} + ${last_result} ))
done
return ${result}
}
start() {
${my_service_PRE}
[ -d "${piddir}" ] || mkdir -p "${piddir}"
signal_do start && return 0
eerror "Error: starting services (see system logs)"
signal_do stop
return 1
}
stop() {
${my_service_PRE}
if signal_do stop ; then
${my_service_POST}
return 0
fi
}
reload() {
${my_service_PRE}
signal_do reload
}
# Add "winbind" to the daemon_list if you also want winbind to start.
# Replace "smbd nmbd" by "samba4" if you want the active directory domain controller part or the ntvfs
# file server part or the rpc proxy to start.
# Note that samba4 controls 'smbd' by itself, thus it can't be started manually. You can, however,
# tweak the behaviour of a samba4-controlled smbd by modifying your '/etc/samba/smb.conf' file
# accordingly.
daemon_list="smbd nmbd"
#----------------------------------------------------------------------------
# Daemons calls: <daemon_name>_<command_option>
#----------------------------------------------------------------------------
my_service_name="samba"
my_service_PRE="unset TMP TMPDIR"
my_service_POST=""
#----------------------------------------------------------------------------
# Daemons calls: <daemon_name>_<command_option>
#----------------------------------------------------------------------------
smbd_start_options="-D"
smbd_start="start-stop-daemon --start --exec /usr/sbin/smbd -- ${smbd_start_options}"
smbd_stop="start-stop-daemon --stop --exec /usr/sbin/smbd"
smbd_reload="killall -HUP smbd"
nmbd_start_options="-D"
nmbd_start="start-stop-daemon --start --exec /usr/sbin/nmbd -- ${nmbd_start_options}"
nmbd_stop="start-stop-daemon --stop --exec /usr/sbin/nmbd"
nmbd_reload="killall -HUP nmbd"
samba4_start_options=""
samba4_start="start-stop-daemon --start --exec /usr/sbin/samba -- ${samba4_start_options}"
samba4_stop="start-stop-daemon --stop --exec /usr/sbin/samba"
samba4_reload="killall -HUP samba"
winbind_start_options=""
winbind_start="start-stop-daemon --start --exec /usr/sbin/winbindd -- ${winbind_start_options}"
winbind_stop="start-stop-daemon --stop --exec /usr/sbin/winbindd"
winbind_reload="killall -HUP winbindd"
#!/sbin/openrc-run
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License, v2 or later
# $Id$
extra_started_commands="reload"
piddir="/run/samba"
depend() {
after slapd
need net
use cupsd
}
DAEMONNAME="${SVCNAME##samba.}"
[ "${DAEMONNAME}" != "samba" ] && daemon_list=${DAEMONNAME}
signal_do() {
local signal="$1"
[ -z "${signal}" ] && return 0
local result=0 last_result=0 daemon= cmd_exec=
for daemon in ${daemon_list} ; do
eval cmd_exec=\$${daemon}_${signal}
if [ -n "${cmd_exec}" ]; then
ebegin "${my_service_name} -> ${signal}: ${daemon}"
#echo ${cmd} '->' ${!cmd}
${cmd_exec} > /dev/null
last_result=$?
eend ${last_result}
fi
result=$(( ${result} + ${last_result} ))
done
return ${result}
}
start() {
${my_service_PRE}
[ -d "${piddir}" ] || mkdir -p "${piddir}"
signal_do start && return 0
eerror "Error: starting services (see system logs)"
signal_do stop
return 1
}
stop() {
${my_service_PRE}
if signal_do stop ; then
${my_service_POST}
return 0
fi
}
reload() {
${my_service_PRE}
signal_do reload
}
diff --git a/source4/setup/named.conf.dlz b/source4/setup/named.conf.dlz
index be20a57..d86f766 100644
--- a/source4/setup/named.conf.dlz
+++ b/source4/setup/named.conf.dlz
@@ -11,9 +11,9 @@
#
dlz "AD DNS Zone" {
# For BIND 9.8.0
- database "dlopen ${MODULESDIR}/bind9/dlz_bind9.so";
+ # database "dlopen ${MODULESDIR}/bind9/dlz_bind9.so";
# For BIND 9.9.0
- # database "dlopen ${MODULESDIR}/bind9/dlz_bind9_9.so";
+ database "dlopen ${MODULESDIR}/bind9/dlz_bind9_9.so";
};
[Unit]
Description=Samba NetBIOS name server
After=network.target
[Service]
Type=forking
PIDFile=/var/run/samba/nmbd.pid
ExecStart=/usr/sbin/nmbd -D
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target
[PYTHON::pytevent]
LIBRARY_REALNAME = tevent.$(SHLIBEXT)
PRIVATE_DEPENDENCIES = LIBTEVENT PYTALLOC LIBSAMBA-UTIL LIBREPLACE
pytevent_OBJ_FILES = $(libteventsrcdir)/pytevent.o
https://bugzilla.samba.org/show_bug.cgi?id=10370
--- samba-4.0.19/source3/wscript
+++ samba-4.0.19/source3/wscript
@@ -507,9 +507,10 @@
else:
conf.DEFINE('HAVE_NO_AIO', '1')
- if host_os.rfind('linux') > -1:
- conf.CHECK_FUNCS_IN('io_submit', 'aio')
- conf.CHECK_CODE('''
+ if Options.options.with_aio_support != False:
+ if host_os.rfind('linux') > -1:
+ conf.CHECK_FUNCS_IN('io_submit', 'aio')
+ conf.CHECK_CODE('''
struct io_event ioev;
struct iocb *ioc;
io_context_t ctx;
@@ -526,11 +527,11 @@
io_getevents(ctx, 1, 1, &ioev, &ts);
''',
'HAVE_LINUX_KERNEL_AIO',
- msg='Checking for linux kernel asynchronous io support',
- headers='unistd.h stdlib.h sys/types.h fcntl.h sys/eventfd.h libaio.h',
- lib='aio')
+ msg='Checking for linux kernel asynchronous io support',
+ headers='unistd.h stdlib.h sys/types.h fcntl.h sys/eventfd.h libaio.h',
+ lib='aio')
- conf.CHECK_CODE('''
+ conf.CHECK_CODE('''
struct msghdr msg;
union {
struct cmsghdr cm;
@@ -540,17 +541,17 @@
msg.msg_controllen = sizeof(control_un.control);
''',
'HAVE_MSGHDR_MSG_CONTROL',
- msg='Checking if we can use msg_control for passing file descriptors',
- headers='sys/types.h stdlib.h stddef.h sys/socket.h sys/un.h')
- conf.CHECK_CODE('''
+ msg='Checking if we can use msg_control for passing file descriptors',
+ headers='sys/types.h stdlib.h stddef.h sys/socket.h sys/un.h')
+ conf.CHECK_CODE('''
struct msghdr msg;
int fd;
msg.msg_acctrights = (caddr_t) &fd;
msg.msg_acctrightslen = sizeof(fd);
''',
'HAVE_MSGHDR_MSG_ACCTRIGHTS',
- msg='Checking if we can use msg_acctrights for passing file descriptors',
- headers='sys/types.h stdlib.h stddef.h sys/socket.h sys/un.h')
+ msg='Checking if we can use msg_acctrights for passing file descriptors',
+ headers='sys/types.h stdlib.h stddef.h sys/socket.h sys/un.h')
if Options.options.with_winbind:
conf.env.build_winbind = True
From 0f9b06ade820ce165015526220569db81e00150b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
Date: Sat, 3 Jan 2015 18:59:48 +0100
Subject: [PATCH] Support libsystemd, renamed from libsystemd-daemon
---
lib/util/wscript_build | 2 +-
wscript | 4 ++++
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/lib/util/wscript_build b/lib/util/wscript_build