Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 360276 Details for
Bug 487172
net-dns/djbdns: perform user/group creation in pkg_setup()
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to the -r28 ebuild
0001-Perform-user-group-creation-in-pkg_setup-per-the-dev.patch (text/plain), 1.36 KB, created by
Michael Orlitzky
on 2013-10-07 00:40:36 UTC
(
hide
)
Description:
Patch to the -r28 ebuild
Filename:
MIME Type:
Creator:
Michael Orlitzky
Created:
2013-10-07 00:40:36 UTC
Size:
1.36 KB
patch
obsolete
>From a4bd6f74f4010d3ab2729552c14b8421454c0d53 Mon Sep 17 00:00:00 2001 >From: Michael Orlitzky <michael@orlitzky.com> >Date: Sun, 6 Oct 2013 20:34:38 -0400 >Subject: [PATCH 1/2] Perform user/group creation in pkg_setup() per the > devmanual. > >--- > net-dns/djbdns/djbdns-1.05-r28.ebuild | 20 ++++++++++---------- > 1 file changed, 10 insertions(+), 10 deletions(-) > >diff --git a/net-dns/djbdns/djbdns-1.05-r28.ebuild b/net-dns/djbdns/djbdns-1.05-r28.ebuild >index 03b946a..7c028b0 100644 >--- a/net-dns/djbdns/djbdns-1.05-r28.ebuild >+++ b/net-dns/djbdns/djbdns-1.05-r28.ebuild >@@ -24,6 +24,16 @@ RDEPEND=" > doc? ( app-doc/djbdns-man ) > selinux? ( sec-policy/selinux-djbdns )" > >+pkg_setup() { >+ # The nofiles group is no longer provided by baselayout. >+ # Share it with qmail if possible. >+ enewgroup nofiles 200 >+ >+ enewuser dnscache -1 -1 -1 nofiles >+ enewuser dnslog -1 -1 -1 nofiles >+ enewuser tinydns -1 -1 -1 nofiles >+} >+ > src_prepare() { > epatch \ > "${FILESDIR}/headtail.patch" \ >@@ -97,16 +107,6 @@ src_install() { > readme.gentoo_create_doc > } > >-pkg_preinst() { >- # The nofiles group is no longer provided by baselayout. >- # Share it with qmail if possible. >- enewgroup nofiles 200 >- >- enewuser dnscache -1 -1 -1 nofiles >- enewuser dnslog -1 -1 -1 nofiles >- enewuser tinydns -1 -1 -1 nofiles >-} >- > DISABLE_AUTOFORMATTING=1 > FORCE_PRINT_ELOG=1 #remove next bump > DOC_CONTENTS=' >-- >1.8.1.5 >
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 487172
: 360276