Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 182584 Details for
Bug 124387
"running fetchmail as root is discouraged" but /etc/init.d/fetchmail does so
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
update to allow running fetchmail as user fetchmail
fetchmail-6.3.9-ebuild.patch (text/plain), 768 bytes, created by
Brian Verkley
on 2009-02-19 22:39:11 UTC
(
hide
)
Description:
update to allow running fetchmail as user fetchmail
Filename:
MIME Type:
Creator:
Brian Verkley
Created:
2009-02-19 22:39:11 UTC
Size:
768 bytes
patch
obsolete
>--- /usr/portage/net-mail/fetchmail/fetchmail-6.3.9.ebuild.old 2009-02-19 15:16:50.000000000 -0500 >+++ /usr/portage/net-mail/fetchmail/fetchmail-6.3.9.ebuild 2009-02-19 16:47:26.000000000 -0500 >@@ -22,6 +22,11 @@ > DEPEND="${RDEPEND} > nls? ( sys-devel/gettext )" > >+pkg_setup() { >+ enewgroup ${PN} >+ enewuser ${PN} -1 -1 /var/lib/${PN} ${PN} >+} >+ > src_unpack() { > unpack ${A} > cd "${S}" >@@ -53,6 +58,17 @@ > } > > src_install() { >+ # dir for pidfile >+ dodir /var/run/${PN} >+ keepdir /var/run/${PN} >+ fowners ${PN}:${PN} /var/run/${PN} >+ >+ # fetchmail's homedir (holds fetchmail's .fetchids) >+ dodir /var/lib/${PN} >+ keepdir /var/lib/${PN} >+ fowners ${PN}:${PN} /var/lib/${PN} >+ fperms 700 /var/lib/${PN} >+ > emake DESTDIR="${D}" install || die > python_need_rebuild >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 124387
:
81565
|
88446
|
88447
|
88448
|
88475
|
88488
|
88579
|
137293
| 182584 |
182585