Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 437466 Details for
Bug 585882
mail-mta/nullmailer: Prefix support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
nullmailer.patch
nullmailer.patch (text/plain), 2.31 KB, created by
Benda Xu
on 2016-06-14 03:49:35 UTC
(
hide
)
Description:
nullmailer.patch
Filename:
MIME Type:
Creator:
Benda Xu
Created:
2016-06-14 03:49:35 UTC
Size:
2.31 KB
patch
obsolete
>--- /usr/portage/mail-mta/nullmailer/nullmailer-2.0.ebuild 2016-03-08 06:39:49.000000000 +0900 >+++ nullmailer-2.0.ebuild 2016-06-14 12:39:23.401824577 +0900 >@@ -59,7 +59,7 @@ > # https://github.com/bruceg/nullmailer/pull/31/commits > append-lfs-flags #471102 > econf \ >- --localstatedir=/var \ >+ --localstatedir="${EPREFIX}"/var \ > $(use_enable ssl tls) > } > >@@ -99,20 +99,20 @@ > } > > pkg_postinst() { >- if [ ! -e "${ROOT}"/var/spool/nullmailer/trigger ]; then >- mkfifo "${ROOT}"/var/spool/nullmailer/trigger || die >+ if [ ! -e ${EROOT}var/spool/nullmailer/trigger ]; then >+ mkfifo "${EROOT}"var/spool/nullmailer/trigger || die > fi > chown nullmail:nullmail \ >- "${ROOT}"/var/log/nullmailer \ >- "${ROOT}"/var/spool/nullmailer/{tmp,queue,trigger} || die >+ "${EROOT}"var/log/nullmailer \ >+ "${EROOT}"var/spool/nullmailer/{tmp,queue,trigger} || die > chmod 770 \ >- "${ROOT}"/var/log/nullmailer \ >- "${ROOT}"/var/spool/nullmailer/{tmp,queue} || die >- chmod 660 "${ROOT}"/var/spool/nullmailer/trigger || die >+ "${EROOT}"var/log/nullmailer \ >+ "${EROOT}"var/spool/nullmailer/{tmp,queue} || die >+ chmod 660 "${EROOT}"var/spool/nullmailer/trigger || die > > # This contains passwords, so should be secure >- chmod 0640 "${ROOT}"/etc/nullmailer/remotes || die >- chown root:nullmail "${ROOT}"/etc/nullmailer/remotes || die >+ chmod 0640 "${EROOT}"etc/nullmailer/remotes || die >+ chown root:nullmail "${EROOT}"etc/nullmailer/remotes || die > > if [[ -z ${REPLACING_VERSIONS} ]]; then > elog "To create an initial setup, please do:" >@@ -121,18 +121,18 @@ > } > > pkg_postrm() { >- if [[ -e "${ROOT}"/var/spool/nullmailer/trigger ]]; then >- rm "${ROOT}"/var/spool/nullmailer/trigger || die >+ if [[ -e ${EROOT}var/spool/nullmailer/trigger ]]; then >+ rm "${EROOT}"var/spool/nullmailer/trigger || die > fi > } > > pkg_config() { >- if [ ! -s "${ROOT}"/etc/nullmailer/me ]; then >+ if [ ! -s ${EROOT}etc/nullmailer/me ]; then > einfo "Setting /etc/nullmailer/me" >- /bin/hostname --fqdn > "${ROOT}"/etc/nullmailer/me >+ hostname --fqdn > "${EROOT}"etc/nullmailer/me > fi >- if [ ! -s "${ROOT}"/etc/nullmailer/defaultdomain ]; then >+ if [ ! -s ${EROOT}etc/nullmailer/defaultdomain ]; then > einfo "Setting /etc/nullmailer/defaultdomain" >- /bin/hostname --domain > "${ROOT}"/etc/nullmailer/defaultdomain >+ hostname --domain > "${EROOT}"etc/nullmailer/defaultdomain > fi > }
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 585882
: 437466