Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 433074 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/net-fs/samba/samba-3.6.14-r1.ebuild (-2 / +11 lines)
Lines 1-10 Link Here
1
# Copyright 1999-2013 Gentoo Foundation
1
# Copyright 1999-2013 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/samba-3.6.14-r1.ebuild,v 1.1 2013/05/12 08:48:34 pacho Exp $
3
# $Header: $
4
4
5
EAPI=4
5
EAPI=4
6
6
7
inherit pam versionator multilib eutils
7
inherit pam versionator multilib eutils systemd
8
8
9
MY_PV=${PV/_/}
9
MY_PV=${PV/_/}
10
MY_P="${PN}-${MY_PV}"
10
MY_P="${PN}-${MY_PV}"
Lines 371-376 Link Here
371
		newconfd "${CONFDIR}/samba.confd" samba
371
		newconfd "${CONFDIR}/samba.confd" samba
372
		newinitd "${CONFDIR}/samba.initd" samba
372
		newinitd "${CONFDIR}/samba.initd" samba
373
373
374
		sed -i \
375
			-e '/^EnvironmentFile/d' \
376
			-e '/^PIDFile/s:/run/:/var/run/samba/:' \
377
			../packaging/systemd/*.service || die
378
		systemd_dounit ../packaging/systemd/nmb.service
379
		systemd_dounit ../packaging/systemd/smb.service
380
		use winbind && systemd_dounit ../packaging/systemd/winbind.service
381
		systemd_newtmpfilesd "${CONFDIR}/samba.tmpfilesd" samba.conf
382
374
		insinto /etc/samba
383
		insinto /etc/samba
375
		doins "${CONFDIR}"/{smbusers,lmhosts}
384
		doins "${CONFDIR}"/{smbusers,lmhosts}
376
385

Return to bug 433074