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

Collapse All | Expand All

(-)/usr/portage/net-mail/fetchmail/fetchmail-6.3.9.ebuild.old (+16 lines)
Lines 22-27 Link Here
22
DEPEND="${RDEPEND}
22
DEPEND="${RDEPEND}
23
	nls? ( sys-devel/gettext )"
23
	nls? ( sys-devel/gettext )"
24
24
25
pkg_setup() {
26
	enewgroup ${PN}
27
	enewuser ${PN} -1 -1 /var/lib/${PN} ${PN}
28
}
29
25
src_unpack() {
30
src_unpack() {
26
	unpack ${A}
31
	unpack ${A}
27
	cd "${S}"
32
	cd "${S}"
Lines 53-58 Link Here
53
}
58
}
54
59
55
src_install() {
60
src_install() {
61
	# dir for pidfile
62
	dodir /var/run/${PN}
63
	keepdir /var/run/${PN}
64
	fowners ${PN}:${PN} /var/run/${PN}
65
66
	# fetchmail's homedir (holds fetchmail's .fetchids)
67
	dodir /var/lib/${PN}
68
	keepdir /var/lib/${PN}
69
	fowners ${PN}:${PN} /var/lib/${PN}
70
	fperms 700 /var/lib/${PN}
71
56
	emake DESTDIR="${D}" install || die
72
	emake DESTDIR="${D}" install || die
57
	python_need_rebuild
73
	python_need_rebuild
58
74

Return to bug 124387