public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-fs/samba/files/4.1/
@ 2016-01-12  5:51 Victor Ostorga
  0 siblings, 0 replies; only message in thread
From: Victor Ostorga @ 2016-01-12  5:51 UTC (permalink / raw
  To: gentoo-commits

commit:     dfcf8dafa3a041a3bc541cb9228b9c43f96c9460
Author:     Victor Ostorga <vostorga <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 12 05:50:50 2016 +0000
Commit:     Victor Ostorga <vostorga <AT> gentoo <DOT> org>
CommitDate: Tue Jan 12 05:50:50 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfcf8daf

Cleaning up 4.1 files

Package-Manager: portage-2.2.24

 net-fs/samba/files/4.1/com_err.patch   | 35 ---------------------
 net-fs/samba/files/4.1/samba4.confd    | 38 -----------------------
 net-fs/samba/files/4.1/samba4.initd-r1 | 56 ----------------------------------
 3 files changed, 129 deletions(-)

diff --git a/net-fs/samba/files/4.1/com_err.patch b/net-fs/samba/files/4.1/com_err.patch
deleted file mode 100644
index 2c9ad88..0000000
--- a/net-fs/samba/files/4.1/com_err.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From 2f34bfbc1941127d17a7a91c6598d6a6c35620e2 Mon Sep 17 00:00:00 2001
-From: Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl>
-Date: Thu, 6 Oct 2011 00:19:01 +0200
-Subject: [PATCH] Add missing com_err dependencies
-
----
- auth/kerberos/wscript_build |    2 +-
- nsswitch/wscript_build      |    2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/auth/kerberos/wscript_build b/auth/kerberos/wscript_build
-index 1070770..2421b16 100644
---- a/auth/kerberos/wscript_build
-+++ b/auth/kerberos/wscript_build
-@@ -1,3 +1,3 @@
- bld.SAMBA_SUBSYSTEM('KRB5_PAC',
-                     source='gssapi_pac.c kerberos_pac.c',
--                    deps='gssapi_krb5 krb5 ndr-krb5pac')
-+                    deps='gssapi_krb5 krb5 ndr-krb5pac com_err')
-diff --git a/nsswitch/wscript_build b/nsswitch/wscript_build
-index 298da06..4e353d3 100644
---- a/nsswitch/wscript_build
-+++ b/nsswitch/wscript_build
-@@ -33,7 +33,7 @@ if bld.CONFIG_SET('WITH_PAM_MODULES') and bld.CONFIG_SET('HAVE_PAM_START'):
- if bld.CONFIG_SET('HAVE_KRB5_LOCATE_PLUGIN_H'):
- 	bld.SAMBA_LIBRARY('winbind_krb5_locator',
- 		source='winbind_krb5_locator.c',
--		deps='wbclient krb5',
-+		deps='wbclient krb5 com_err',
- 		realname='winbind_krb5_locator.so')
- 
- bld.SAMBA_SUBSYSTEM('WB_REQTRANS',
--- 
-1.7.3.4
-

diff --git a/net-fs/samba/files/4.1/samba4.confd b/net-fs/samba/files/4.1/samba4.confd
deleted file mode 100644
index 58b2c78..0000000
--- a/net-fs/samba/files/4.1/samba4.confd
+++ /dev/null
@@ -1,38 +0,0 @@
-# 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"
-

diff --git a/net-fs/samba/files/4.1/samba4.initd-r1 b/net-fs/samba/files/4.1/samba4.initd-r1
deleted file mode 100644
index 012e19e..0000000
--- a/net-fs/samba/files/4.1/samba4.initd-r1
+++ /dev/null
@@ -1,56 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License, v2 or later
-# $Id$
-
-extra_started_commands="reload"
-piddir="/var/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
-}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-01-12  5:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-12  5:51 [gentoo-commits] repo/gentoo:master commit in: net-fs/samba/files/4.1/ Victor Ostorga

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox