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

Collapse All | Expand All

(-)a/sys-apps/pcsc-lite/pcsc-lite-1.8.13-r1.ebuild (-7 / +15 lines)
Lines 24-30 Link Here
24
# This is called libusb so that it doesn't fool people in thinking that
24
# This is called libusb so that it doesn't fool people in thinking that
25
# it is _required_ for USB support. Otherwise they'll disable udev and
25
# it is _required_ for USB support. Otherwise they'll disable udev and
26
# that's going to be worse.
26
# that's going to be worse.
27
IUSE="libusb policykit selinux +udev"
27
IUSE="libusb policykit selinux systemd +udev"
28
28
29
REQUIRED_USE="^^ ( udev libusb )"
29
REQUIRED_USE="^^ ( udev libusb )"
30
30
Lines 78-84 Link Here
78
78
79
	if use udev; then
79
	if use udev; then
80
		insinto "$(get_udevdir)"/rules.d
80
		insinto "$(get_udevdir)"/rules.d
81
		doins "${FILESDIR}"/99-pcscd-hotplug.rules
81
		if use systemd; then
82
			doins "${FILESDIR}"/99-pcscd-hotplug-systemd.rules
83
		else
84
			doins "${FILESDIR}"/99-pcscd-hotplug.rules
85
		fi
82
	fi
86
	fi
83
87
84
	python_fix_shebang "${ED}/usr/bin"
88
	python_fix_shebang "${ED}/usr/bin"
Lines 97-106 Link Here
97
	elog "EXTRA_OPTS variable."
101
	elog "EXTRA_OPTS variable."
98
	elog ""
102
	elog ""
99
	if use udev; then
103
	if use udev; then
100
		elog "Hotplug support is provided by udev rules; you only need to tell"
104
		if use systemd; then
101
		elog "the init system to hotplug it, by setting this variable in"
105
			elog "Hotplug support is provided by udev rules and systemd."
102
		elog "/etc/rc.conf:"
106
		else
103
		elog ""
107
			elog "Hotplug support is provided by udev rules; you only need to tell"
104
		elog "    rc_hotplug=\"pcscd\""
108
			elog "the init system to hotplug it, by setting this variable in"
109
			elog "/etc/rc.conf:"
110
			elog ""
111
			elog "    rc_hotplug=\"pcscd\""
112
		fi
105
	fi
113
	fi
106
}
114
}

Return to bug 554118