[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbase/files/

2022-11-13 Thread Conrad Kostecki
commit: d1486c5306ab2bc7297ddea3ff45fb272f6d7b18
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Sat Nov 12 08:07:22 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun Nov 13 18:33:53 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1486c53

net-mail/mailbase: remove unused patch

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/28241
Signed-off-by: Conrad Kostecki  gentoo.org>

 net-mail/mailbase/files/mailcap-r3 | 30 --
 1 file changed, 30 deletions(-)

diff --git a/net-mail/mailbase/files/mailcap-r3 
b/net-mail/mailbase/files/mailcap-r3
deleted file mode 100644
index fe717f34e0b0..
--- a/net-mail/mailbase/files/mailcap-r3
+++ /dev/null
@@ -1,30 +0,0 @@
-# Database binding MIME types to programs that can process them.
-# This file is generally used by mail clients to view attachments.
-#
-# Users should add their own rules to their ~/.mailcap file.  That file will be
-# processed first before falling back to this one.
-#
-# For more information, see the mailcap(5) man page.
-
-# NB: Do not quote %s.  Clients will handle expanding it with proper quoting,
-# so adding quotes ourselves just confuses things.
-
-application/pdf; xdg-open %s; needsterminal
-application/postscript; xdg-open %s; needsterminal
-application/x-info; info --subnodes -o /dev/stdout -f %s 2>/dev/null; 
copiousoutput; description=GNU Info document
-application/x-gtar; tar tvzf -; print=tar tvzf - | print text/plain:-; 
copiousoutput
-application/x-tar; tar tvf -; print=tar tvf - | print text/plain:-; 
copiousoutput
-application/x-troff-man; nroff -mandoc -Tutf8; copiousoutput; print=nroff 
-mandoc -Tutf8 | print text/plain:-
-# It'd be nice to limit this to compressed formats (e.g. x-*), but the file
-# format doesn't support that, and less has good fallbacks already.
-application/*; less %s; copiousoutput; needsterminal
-
-audio/*; xdg-open %s; needsterminal
-image/*; xdg-open %s; needsterminal
-
-text/html; lynx -dump -assume_charset=%{charset} %s; copiousoutput; 
description=HTML Text; nametemplate=%s.html
-text/troff; man -l %s; needsterminal; description=Man page
-text/*; less %s; needsterminal
-text/*; gview %s; edit=gvim -f %s; compose=gvim -f %s; test=test "$DISPLAY" != 
""
-text/*; view %s; edit=vim %s; compose=vim %s; needsterminal
-text/*; more %s; needsterminal



[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbase/

2022-11-10 Thread Eray Aslan
commit: a9b7c2773237d9dd44b366797a15ccec8dc51e8f
Author: Eray Aslan  gentoo  org>
AuthorDate: Thu Nov 10 13:22:34 2022 +
Commit: Eray Aslan  gentoo  org>
CommitDate: Thu Nov 10 13:22:34 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9b7c277

net-mail/mailbase: drop 1.8

Signed-off-by: Eray Aslan  gentoo.org>

 net-mail/mailbase/mailbase-1.8.ebuild | 44 ---
 1 file changed, 44 deletions(-)

diff --git a/net-mail/mailbase/mailbase-1.8.ebuild 
b/net-mail/mailbase/mailbase-1.8.ebuild
deleted file mode 100644
index 9fe729541140..
--- a/net-mail/mailbase/mailbase-1.8.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-inherit pam
-
-DESCRIPTION="MTA layout package"
-HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage;
-S=${WORKDIR}
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="pam"
-
-RDEPEND="
-   acct-group/mail
-   acct-user/mail
-   acct-user/postmaster
-   pam? ( sys-libs/pam )
-"
-
-src_install() {
-   insinto /etc/mail
-   doins "${FILESDIR}"/aliases
-   insinto /etc
-   newins "${FILESDIR}"/mailcap-r3 mailcap
-   doman "${FILESDIR}"/mailcap.5
-
-   dosym spool/mail /var/mail
-
-   if use pam ; then
-   newpamd "${FILESDIR}"/common-pamd-include pop
-   newpamd "${FILESDIR}"/common-pamd-include imap
-   local p
-   for p in pop3 pop3s pops ; do
-   dosym pop /etc/pam.d/${p}
-   done
-   for p in imap4 imap4s imaps ; do
-   dosym imap /etc/pam.d/${p}
-   done
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbase/

2022-11-09 Thread Sam James
commit: 5b080bedc523f4b84fd1aa0947094428727435c2
Author: Sam James  gentoo  org>
AuthorDate: Wed Nov  9 08:38:52 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Nov  9 08:38:52 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b080bed

net-mail/mailbase: Stabilize 1.8.1 ALLARCHES, #880559

Signed-off-by: Sam James  gentoo.org>

 net-mail/mailbase/mailbase-1.8.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/mailbase/mailbase-1.8.1.ebuild 
b/net-mail/mailbase/mailbase-1.8.1.ebuild
index 850aea9e32f0..e39746e46b00 100644
--- a/net-mail/mailbase/mailbase-1.8.1.ebuild
+++ b/net-mail/mailbase/mailbase-1.8.1.ebuild
@@ -11,7 +11,7 @@ S=${WORKDIR}
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 IUSE="pam"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbase/

2022-11-08 Thread Eray Aslan
commit: c01943da194fce2f895026a5d2d56d92bad24917
Author: Eray Aslan  gentoo  org>
AuthorDate: Wed Nov  9 07:45:12 2022 +
Commit: Eray Aslan  gentoo  org>
CommitDate: Wed Nov  9 07:45:12 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c01943da

net-mail/mailbase: update EAPI 7 -> 8

Signed-off-by: Eray Aslan  gentoo.org>

 net-mail/mailbase/mailbase-1.8.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/mailbase/mailbase-1.8.1.ebuild 
b/net-mail/mailbase/mailbase-1.8.1.ebuild
index 31a62191a865..850aea9e32f0 100644
--- a/net-mail/mailbase/mailbase-1.8.1.ebuild
+++ b/net-mail/mailbase/mailbase-1.8.1.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="7"
+EAPI="8"
 
 inherit pam
 



[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbase/files/, net-mail/mailbase/

2022-05-28 Thread Eray Aslan
commit: 2a7b70d6874dfd700cc9c92f0e51c0594366b201
Author: Eray Aslan  gentoo  org>
AuthorDate: Sat May 28 08:20:04 2022 +
Commit: Eray Aslan  gentoo  org>
CommitDate: Sat May 28 08:20:29 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a7b70d6

net-mail/mailbase: add 1.8.1

copiousoutput and needsterminal do not make sense when used together.
one is "does no interaction with the user" and the other "needs to
interact with the user".

Signed-off-by: Eray Aslan  gentoo.org>

 net-mail/mailbase/files/mailcap-r4  | 30 ++
 net-mail/mailbase/mailbase-1.8.1.ebuild | 44 +
 2 files changed, 74 insertions(+)

diff --git a/net-mail/mailbase/files/mailcap-r4 
b/net-mail/mailbase/files/mailcap-r4
new file mode 100644
index ..8c1bd310e3de
--- /dev/null
+++ b/net-mail/mailbase/files/mailcap-r4
@@ -0,0 +1,30 @@
+# Database binding MIME types to programs that can process them.
+# This file is generally used by mail clients to view attachments.
+#
+# Users should add their own rules to their ~/.mailcap file.  That file will be
+# processed first before falling back to this one.
+#
+# For more information, see the mailcap(5) man page.
+
+# NB: Do not quote %s.  Clients will handle expanding it with proper quoting,
+# so adding quotes ourselves just confuses things.
+
+application/pdf; xdg-open %s; needsterminal
+application/postscript; xdg-open %s; needsterminal
+application/x-info; info --subnodes -o /dev/stdout -f %s 2>/dev/null; 
copiousoutput; description=GNU Info document
+application/x-gtar; tar tvzf -; print=tar tvzf - | print text/plain:-; 
copiousoutput
+application/x-tar; tar tvf -; print=tar tvf - | print text/plain:-; 
copiousoutput
+application/x-troff-man; nroff -mandoc -Tutf8; copiousoutput; print=nroff 
-mandoc -Tutf8 | print text/plain:-
+# It'd be nice to limit this to compressed formats (e.g. x-*), but the file
+# format doesn't support that, and less has good fallbacks already.
+application/*; less %s; needsterminal
+
+audio/*; xdg-open %s; needsterminal
+image/*; xdg-open %s; needsterminal
+
+text/html; lynx -dump -assume_charset=%{charset} %s; copiousoutput; 
description=HTML Text; nametemplate=%s.html
+text/troff; man -l %s; needsterminal; description=Man page
+text/*; less %s; needsterminal
+text/*; gview %s; edit=gvim -f %s; compose=gvim -f %s; test=test "$DISPLAY" != 
""
+text/*; view %s; edit=vim %s; compose=vim %s; needsterminal
+text/*; more %s; needsterminal

diff --git a/net-mail/mailbase/mailbase-1.8.1.ebuild 
b/net-mail/mailbase/mailbase-1.8.1.ebuild
new file mode 100644
index ..31a62191a865
--- /dev/null
+++ b/net-mail/mailbase/mailbase-1.8.1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+inherit pam
+
+DESCRIPTION="MTA layout package"
+HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage;
+S=${WORKDIR}
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="pam"
+
+RDEPEND="
+   acct-group/mail
+   acct-user/mail
+   acct-user/postmaster
+   pam? ( sys-libs/pam )
+"
+
+src_install() {
+   insinto /etc/mail
+   doins "${FILESDIR}"/aliases
+   insinto /etc
+   newins "${FILESDIR}"/mailcap-r4 mailcap
+   doman "${FILESDIR}"/mailcap.5
+
+   dosym spool/mail /var/mail
+
+   if use pam ; then
+   newpamd "${FILESDIR}"/common-pamd-include pop
+   newpamd "${FILESDIR}"/common-pamd-include imap
+   local p
+   for p in pop3 pop3s pops ; do
+   dosym pop /etc/pam.d/${p}
+   done
+   for p in imap4 imap4s imaps ; do
+   dosym imap /etc/pam.d/${p}
+   done
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbase/

2022-05-07 Thread WANG Xuerui
commit: 98e9ddbc36d7221426fc98f1452e8524f1adc164
Author: WANG Xuerui  gentoo  org>
AuthorDate: Fri May  6 04:09:54 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Sat May  7 11:14:30 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98e9ddbc

net-mail/mailbase: keyword 1.8 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 net-mail/mailbase/mailbase-1.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/mailbase/mailbase-1.8.ebuild 
b/net-mail/mailbase/mailbase-1.8.ebuild
index ad0055041aa6..9fe729541140 100644
--- a/net-mail/mailbase/mailbase-1.8.ebuild
+++ b/net-mail/mailbase/mailbase-1.8.ebuild
@@ -11,7 +11,7 @@ S=${WORKDIR}
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 IUSE="pam"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbase/

2022-05-07 Thread WANG Xuerui
commit: e96794846736912c0f3a629f516472f94ca0e751
Author: WANG Xuerui  gentoo  org>
AuthorDate: Fri May  6 04:09:45 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Sat May  7 11:14:30 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9679484

net-mail/mailbase: mark ALLARCHES

Signed-off-by: WANG Xuerui  gentoo.org>

 net-mail/mailbase/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net-mail/mailbase/metadata.xml b/net-mail/mailbase/metadata.xml
index 38ebffc8efa5..a790b9587a45 100644
--- a/net-mail/mailbase/metadata.xml
+++ b/net-mail/mailbase/metadata.xml
@@ -5,4 +5,5 @@
 e...@gentoo.org
 Eray Aslan
   
+  
 



[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbase/files/, net-mail/mailbase/

2022-04-19 Thread Eray Aslan
commit: f1394019e23364160898c3e27fa52b41c1dcc740
Author: Eray Aslan  gentoo  org>
AuthorDate: Tue Apr 19 12:04:42 2022 +
Commit: Eray Aslan  gentoo  org>
CommitDate: Tue Apr 19 12:04:42 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1394019

net-mail/mailbase: drop 1.6-r1, 1.7

Signed-off-by: Eray Aslan  gentoo.org>

 net-mail/mailbase/files/mailcap-r1   | 19 -
 net-mail/mailbase/files/mailcap-r2   | 36 -
 net-mail/mailbase/mailbase-1.6-r1.ebuild | 46 
 net-mail/mailbase/mailbase-1.7.ebuild| 45 ---
 4 files changed, 146 deletions(-)

diff --git a/net-mail/mailbase/files/mailcap-r1 
b/net-mail/mailbase/files/mailcap-r1
deleted file mode 100644
index 0ffdcca3783f..
--- a/net-mail/mailbase/files/mailcap-r1
+++ /dev/null
@@ -1,19 +0,0 @@
-application/pdf; xdg-open '%s'; needsterminal
-application/postscript; xdg-open '%s'; needsterminal
-application/x-info; info --subnodes -o /dev/stdout -f '%s' 2>/dev/null; 
copiousoutput; description=GNU Info document
-application/x-gtar; tar tvzf -; print=tar tvzf - | print text/plain:-; 
copiousoutput
-application/x-tar; tar tvf -; print=tar tvf - | print text/plain:-; 
copiousoutput
-application/x-troff-man; nroff -mandoc -Tutf8; copiousoutput; print=nroff 
-mandoc -Tutf8 | print text/plain:-
-
-audio/*; xdg-open '%s'; needsterminal
-image/*; xdg-open '%s'; needsterminal
-
-text/html; lynx -dump '%s'; copiousoutput; description=HTML Text; 
nametemplate=%s.html
-text/troff; man -l '%s'; needsterminal; description=Man page
-text/*; less '%s'; needsterminal
-text/*; gview '%s'; edit=gvim -f '%s'; compose=gvim -f '%s'; test=test 
"$DISPLAY" != ""
-text/*; view '%s'; edit=vim '%s'; compose=vim '%s'; needsterminal
-text/*; more '%s'; needsterminal
-
-*/*; less '%s'; needsterminal
-*/*; false; print=lpr '%s'

diff --git a/net-mail/mailbase/files/mailcap-r2 
b/net-mail/mailbase/files/mailcap-r2
deleted file mode 100644
index 5ecd40a4201a..
--- a/net-mail/mailbase/files/mailcap-r2
+++ /dev/null
@@ -1,36 +0,0 @@
-# Database binding MIME types to programs that can process them.
-# This file is generally used by mail clients to view attachments.
-#
-# Users should add their own rules to their ~/.mailcap file.  That file will be
-# processed first before falling back to this one.
-#
-# For more information, see the mailcap(5) man page.
-
-# NB: Do not quote %s.  Clients will handle expanding it with proper quoting,
-# so adding quotes ourselves just confuses things.
-
-application/pdf; xdg-open %s; needsterminal
-application/postscript; xdg-open %s; needsterminal
-application/x-info; info --subnodes -o /dev/stdout -f %s 2>/dev/null; 
copiousoutput; description=GNU Info document
-application/x-gtar; tar tvzf -; print=tar tvzf - | print text/plain:-; 
copiousoutput
-application/x-tar; tar tvf -; print=tar tvf - | print text/plain:-; 
copiousoutput
-application/x-troff-man; nroff -mandoc -Tutf8; copiousoutput; print=nroff 
-mandoc -Tutf8 | print text/plain:-
-# It'd be nice to limit this to compressed formats (e.g. x-*), but the file
-# format doesn't support that, and less has good fallbacks already.
-application/*; less %s; copiousoutput; needsterminal
-
-audio/*; xdg-open %s; needsterminal
-image/*; xdg-open %s; needsterminal
-
-text/html; lynx -dump -assume_charset=%{charset} %s; copiousoutput; 
description=HTML Text; nametemplate=%s.html
-text/troff; man -l %s; needsterminal; description=Man page
-text/*; less %s; needsterminal
-text/*; gview %s; edit=gvim -f %s; compose=gvim -f %s; test=test "$DISPLAY" != 
""
-text/*; view %s; edit=vim %s; compose=vim %s; needsterminal
-text/*; more %s; needsterminal
-
-# NB: This is an extension in the hope that it might be useful to some 
programs.
-# RFC1524 does not support * for the type (the string before the /), only for
-# the subtype (the string after the /).
-*/*; less %s; needsterminal
-*/*; false; print=lpr %s

diff --git a/net-mail/mailbase/mailbase-1.6-r1.ebuild 
b/net-mail/mailbase/mailbase-1.6-r1.ebuild
deleted file mode 100644
index c8ddcc3a5694..
--- a/net-mail/mailbase/mailbase-1.6-r1.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-inherit pam
-
-DESCRIPTION="MTA layout package"
-SRC_URI=""
-HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage;
-S=${WORKDIR}
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="pam"
-
-RDEPEND="
-   acct-group/mail
-   acct-user/mail
-   acct-user/postmaster
-   pam? ( sys-libs/pam )
-   !https://wiki.gentoo.org/wiki/No_homepage;
-S=${WORKDIR}
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm 

[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbase/

2022-04-15 Thread Arthur Zamarin
commit: b209952470355d4f498d356218efefb80e46ea93
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Apr 16 04:47:29 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Apr 16 04:47:29 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2099524

net-mail/mailbase: Stabilize 1.8 hppa, #835731

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-mail/mailbase/mailbase-1.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/mailbase/mailbase-1.8.ebuild 
b/net-mail/mailbase/mailbase-1.8.ebuild
index 0a3b76f9b1a6..ad0055041aa6 100644
--- a/net-mail/mailbase/mailbase-1.8.ebuild
+++ b/net-mail/mailbase/mailbase-1.8.ebuild
@@ -11,7 +11,7 @@ S=${WORKDIR}
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
 IUSE="pam"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbase/

2022-03-26 Thread Arthur Zamarin
commit: fcbcba23c25caba18e03fac18f7073bf8bd0b1da
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Mar 26 17:56:32 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Mar 26 17:58:20 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcbcba23

net-mail/mailbase: Stabilize 1.8 arm, #835731

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-mail/mailbase/mailbase-1.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/mailbase/mailbase-1.8.ebuild 
b/net-mail/mailbase/mailbase-1.8.ebuild
index a3f549417eb4..0a3b76f9b1a6 100644
--- a/net-mail/mailbase/mailbase-1.8.ebuild
+++ b/net-mail/mailbase/mailbase-1.8.ebuild
@@ -11,7 +11,7 @@ S=${WORKDIR}
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
 IUSE="pam"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbase/

2022-03-23 Thread Agostino Sarubbo
commit: 160a81fd89666c930b929f021339604fe0ddc04f
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Mar 23 10:35:18 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Mar 23 10:35:18 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=160a81fd

net-mail/mailbase: x86 stable wrt bug #835731

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-mail/mailbase/mailbase-1.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/mailbase/mailbase-1.8.ebuild 
b/net-mail/mailbase/mailbase-1.8.ebuild
index d329a0113c2d..a3f549417eb4 100644
--- a/net-mail/mailbase/mailbase-1.8.ebuild
+++ b/net-mail/mailbase/mailbase-1.8.ebuild
@@ -11,7 +11,7 @@ S=${WORKDIR}
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
 IUSE="pam"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbase/

2022-03-23 Thread Jakov Smolić
commit: 491aa2258298479a7264012c20024f2f73b4fd1d
Author: Jakov Smolić  gentoo  org>
AuthorDate: Wed Mar 23 09:57:44 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Wed Mar 23 09:57:44 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=491aa225

net-mail/mailbase: Stabilize 1.8 arm64, #835731

Signed-off-by: Jakov Smolić  gentoo.org>

 net-mail/mailbase/mailbase-1.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/mailbase/mailbase-1.8.ebuild 
b/net-mail/mailbase/mailbase-1.8.ebuild
index 326746dde760..d329a0113c2d 100644
--- a/net-mail/mailbase/mailbase-1.8.ebuild
+++ b/net-mail/mailbase/mailbase-1.8.ebuild
@@ -11,7 +11,7 @@ S=${WORKDIR}
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
 IUSE="pam"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbase/

2022-03-22 Thread Agostino Sarubbo
commit: 2dbe9f79818b717cbf8ada804a35a7926246beb7
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Mar 22 11:26:38 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Mar 22 11:26:38 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2dbe9f79

net-mail/mailbase: sparc stable wrt bug #835731

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-mail/mailbase/mailbase-1.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/mailbase/mailbase-1.8.ebuild 
b/net-mail/mailbase/mailbase-1.8.ebuild
index bb5ce6c3ce1b..326746dde760 100644
--- a/net-mail/mailbase/mailbase-1.8.ebuild
+++ b/net-mail/mailbase/mailbase-1.8.ebuild
@@ -11,7 +11,7 @@ S=${WORKDIR}
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
 IUSE="pam"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbase/

2022-03-22 Thread Agostino Sarubbo
commit: a102417026e2b3be8c2bea81c430532b9a7e2711
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Mar 22 11:25:50 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Mar 22 11:25:50 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1024170

net-mail/mailbase: ppc64 stable wrt bug #835731

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-mail/mailbase/mailbase-1.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/mailbase/mailbase-1.8.ebuild 
b/net-mail/mailbase/mailbase-1.8.ebuild
index d56fd6eb1788..bb5ce6c3ce1b 100644
--- a/net-mail/mailbase/mailbase-1.8.ebuild
+++ b/net-mail/mailbase/mailbase-1.8.ebuild
@@ -11,7 +11,7 @@ S=${WORKDIR}
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
 IUSE="pam"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbase/

2022-03-22 Thread Agostino Sarubbo
commit: 801175fac6fd29731ba5b5f7914545ea4b2641a6
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Mar 22 11:24:52 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Mar 22 11:24:52 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=801175fa

net-mail/mailbase: ppc stable wrt bug #835731

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-mail/mailbase/mailbase-1.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/mailbase/mailbase-1.8.ebuild 
b/net-mail/mailbase/mailbase-1.8.ebuild
index 0dfb902eead3..d56fd6eb1788 100644
--- a/net-mail/mailbase/mailbase-1.8.ebuild
+++ b/net-mail/mailbase/mailbase-1.8.ebuild
@@ -11,7 +11,7 @@ S=${WORKDIR}
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
 IUSE="pam"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbase/

2022-03-22 Thread Agostino Sarubbo
commit: d61ee15adf3b2c049badb314de06cb14d637f1f9
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Mar 22 11:24:06 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Mar 22 11:24:06 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d61ee15a

net-mail/mailbase: amd64 stable wrt bug #835731

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-mail/mailbase/mailbase-1.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/mailbase/mailbase-1.8.ebuild 
b/net-mail/mailbase/mailbase-1.8.ebuild
index cda3bb10477b..0dfb902eead3 100644
--- a/net-mail/mailbase/mailbase-1.8.ebuild
+++ b/net-mail/mailbase/mailbase-1.8.ebuild
@@ -11,7 +11,7 @@ S=${WORKDIR}
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
 IUSE="pam"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbase/

2022-02-13 Thread Conrad Kostecki
commit: 59dc589f40712c4da57b8763faf43c537c1e7f8d
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sun Feb 13 20:54:25 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun Feb 13 21:08:10 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59dc589f

net-mail/mailbase: fix ci 'RedundantDodir'

Signed-off-by: Conrad Kostecki  gentoo.org>

 net-mail/mailbase/mailbase-1.6-r1.ebuild | 12 ++--
 net-mail/mailbase/mailbase-1.7.ebuild|  9 -
 net-mail/mailbase/mailbase-1.8.ebuild|  5 ++---
 3 files changed, 12 insertions(+), 14 deletions(-)

diff --git a/net-mail/mailbase/mailbase-1.6-r1.ebuild 
b/net-mail/mailbase/mailbase-1.6-r1.ebuild
index 724400f5e450..c8ddcc3a5694 100644
--- a/net-mail/mailbase/mailbase-1.6-r1.ebuild
+++ b/net-mail/mailbase/mailbase-1.6-r1.ebuild
@@ -1,12 +1,14 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI="7"
+
 inherit pam
 
 DESCRIPTION="MTA layout package"
 SRC_URI=""
 HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage;
+S=${WORKDIR}
 
 LICENSE="GPL-2"
 SLOT="0"
@@ -18,12 +20,10 @@ RDEPEND="
acct-user/mail
acct-user/postmaster
pam? ( sys-libs/pam )
-   !https://wiki.gentoo.org/wiki/No_homepage;
+S=${WORKDIR}
 
 LICENSE="GPL-2"
 SLOT="0"
@@ -18,12 +19,10 @@ RDEPEND="
acct-user/mail
acct-user/postmaster
pam? ( sys-libs/pam )
-   !https://wiki.gentoo.org/wiki/No_homepage;
+S=${WORKDIR}
 
 LICENSE="GPL-2"
 SLOT="0"
@@ -20,8 +21,6 @@ RDEPEND="
pam? ( sys-libs/pam )
 "
 
-S=${WORKDIR}
-
 src_install() {
insinto /etc/mail
doins "${FILESDIR}"/aliases



[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbase/, net-mail/mailbase/files/

2021-12-26 Thread Eray Aslan
commit: d5bd002303ad67cfc0b5e8ebd9fb018d06fdccfd
Author: Eray Aslan  gentoo  org>
AuthorDate: Mon Dec 27 05:38:46 2021 +
Commit: Eray Aslan  gentoo  org>
CommitDate: Mon Dec 27 05:38:46 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5bd0023

net-mail/mailbase: remove old

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Eray Aslan  gentoo.org>

 net-mail/mailbase/files/mailcap  | 25 -
 net-mail/mailbase/mailbase-1.5-r2.ebuild | 47 
 2 files changed, 72 deletions(-)

diff --git a/net-mail/mailbase/files/mailcap b/net-mail/mailbase/files/mailcap
deleted file mode 100644
index 7c42a55cf635..
--- a/net-mail/mailbase/files/mailcap
+++ /dev/null
@@ -1,25 +0,0 @@
-
-text/plain; less '%s'; needsterminal
-application/x-troff-man; /usr/bin/nroff -mandoc -Tlatin1; copiousoutput; 
print=/usr/bin/nroff -mandoc -Tlatin1 | print text/plain:-
-text/plain; shownonascii iso-8859-1 '%s'; description="Plain ASCII Text"; 
test=test "$(echo %{charset} | tr "[A-Z]" "[a-z]")" = iso-8859-1 -a "$DISPLAY" 
!= ""
-text/richtext; shownonascii iso-8859-1 -e richtext -p '%s'; 
description="Richtext"; copiousoutput; test=test "$(echo %{charset} | tr 
"[A-Z]" "[a-z]")" = iso-8859-1 -a "$DISPLAY" != ""
-text/enriched; shownonascii iso-8859-1 -e richtext -e -p '%s'; 
description="Enriched Text"; copiousoutput; test=test "$(echo %{charset} | tr 
"[A-Z]" "[a-z]")" = iso-8859-1 -a "$DISPLAY" != ""
-message/partial; showpartial '%s' %{id} %{number} %{total}; description="An 
incomplete message"
-message/external-body; showexternal '%s' %{access-type} %{name} %{site} 
%{directory} %{mode} %{server}; needsterminal; description="A reference to data 
stored in an external location"; composetyped="extcompose '%s"'
-audio/basic; /usr/lib/mime/playaudio '%s'; description=Basic uLaw Audio; 
nametemplate=%s.au
-application/x-tar; /bin/tar tvf -; print=/bin/tar tvf - | print text/plain:-; 
copiousoutput
-application/x-gtar; /bin/tar tvzf -; print=/bin/tar tvzf - | print 
text/plain:-; copiousoutput
-text/plain; more '%s'; needsterminal
-application/xrx; view=xrx '%s'; description="remote X application"; test=test 
"$DISPLAY"; nametemplate=%s.rx
-text/richtext; richtext '%s'; description="Richtext"; copiousoutput
-text/enriched; richtext -e '%s'; description="Enriched Text"; copiousoutput
-text/plain; gview '%s'; edit=gvim -f '%s'; compose=gvim -f '%s'; test=test 
"$DISPLAY" != ""
-text/plain; view '%s'; edit=vim '%s'; compose=vim '%s'; needsterminal
-text/html; /usr/bin/lynx -force_html '%s'; needsterminal; description=HTML 
Text; nametemplate=%s.html
-text/*; less '%s'; needsterminal
-text/html; /usr/bin/lynx -dump -force_html '%s'; copiousoutput; 
description=HTML Text; nametemplate=%s.html
-text/*; gview '%s'; edit=gvim -f '%s'; compose=gvim -f '%s'; test=test 
"$DISPLAY" != ""
-text/*; view '%s'; edit=vim '%s'; compose=vim '%s'; needsterminal
-text/*; more '%s'; needsterminal
-*/*; less '%s'; needsterminal
-*/*; false; print=lpr '%s'

diff --git a/net-mail/mailbase/mailbase-1.5-r2.ebuild 
b/net-mail/mailbase/mailbase-1.5-r2.ebuild
deleted file mode 100644
index 5cc221243da2..
--- a/net-mail/mailbase/mailbase-1.5-r2.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit pam
-
-DESCRIPTION="MTA layout package"
-SRC_URI=""
-HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc 
x86"
-IUSE="pam"
-
-RDEPEND="
-   acct-group/mail
-   acct-user/mail
-   acct-user/postmaster
-   pam? ( sys-libs/pam )
-   !

[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbase/files/, net-mail/mailbase/

2021-12-26 Thread Eray Aslan
commit: 1a1eb2dfdfd41ba2eb9a5416e1b6f445fe00028d
Author: Eray Aslan  gentoo  org>
AuthorDate: Mon Dec 27 05:34:48 2021 +
Commit: Eray Aslan  gentoo  org>
CommitDate: Mon Dec 27 05:34:48 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a1eb2df

net-mail/mailbase: remove wildcards from mailcap

as noted in mailcap(5):
Note that wildcards may only be specified in the subtype (e.g.
"*" or "*/*" do not work),  and  as  the  entire subtype (e.g.
"application/x-*" does not work)

wildcards were introduced in the hope that they might be useful for some
programs.  however, some mailers reportedly error out with:

s-nail: $MAILCAPS: /etc/mailcap: skip due to error: invalid MIME type: */*

so, just remove */* wildcards from mailcap

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Eray Aslan  gentoo.org>

 net-mail/mailbase/files/mailcap-r3| 30 +++
 net-mail/mailbase/mailbase-1.8.ebuild | 45 +++
 2 files changed, 75 insertions(+)

diff --git a/net-mail/mailbase/files/mailcap-r3 
b/net-mail/mailbase/files/mailcap-r3
new file mode 100644
index ..fe717f34e0b0
--- /dev/null
+++ b/net-mail/mailbase/files/mailcap-r3
@@ -0,0 +1,30 @@
+# Database binding MIME types to programs that can process them.
+# This file is generally used by mail clients to view attachments.
+#
+# Users should add their own rules to their ~/.mailcap file.  That file will be
+# processed first before falling back to this one.
+#
+# For more information, see the mailcap(5) man page.
+
+# NB: Do not quote %s.  Clients will handle expanding it with proper quoting,
+# so adding quotes ourselves just confuses things.
+
+application/pdf; xdg-open %s; needsterminal
+application/postscript; xdg-open %s; needsterminal
+application/x-info; info --subnodes -o /dev/stdout -f %s 2>/dev/null; 
copiousoutput; description=GNU Info document
+application/x-gtar; tar tvzf -; print=tar tvzf - | print text/plain:-; 
copiousoutput
+application/x-tar; tar tvf -; print=tar tvf - | print text/plain:-; 
copiousoutput
+application/x-troff-man; nroff -mandoc -Tutf8; copiousoutput; print=nroff 
-mandoc -Tutf8 | print text/plain:-
+# It'd be nice to limit this to compressed formats (e.g. x-*), but the file
+# format doesn't support that, and less has good fallbacks already.
+application/*; less %s; copiousoutput; needsterminal
+
+audio/*; xdg-open %s; needsterminal
+image/*; xdg-open %s; needsterminal
+
+text/html; lynx -dump -assume_charset=%{charset} %s; copiousoutput; 
description=HTML Text; nametemplate=%s.html
+text/troff; man -l %s; needsterminal; description=Man page
+text/*; less %s; needsterminal
+text/*; gview %s; edit=gvim -f %s; compose=gvim -f %s; test=test "$DISPLAY" != 
""
+text/*; view %s; edit=vim %s; compose=vim %s; needsterminal
+text/*; more %s; needsterminal

diff --git a/net-mail/mailbase/mailbase-1.8.ebuild 
b/net-mail/mailbase/mailbase-1.8.ebuild
new file mode 100644
index ..699bdc713711
--- /dev/null
+++ b/net-mail/mailbase/mailbase-1.8.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+inherit pam
+
+DESCRIPTION="MTA layout package"
+HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="pam"
+
+RDEPEND="
+   acct-group/mail
+   acct-user/mail
+   acct-user/postmaster
+   pam? ( sys-libs/pam )
+"
+
+S=${WORKDIR}
+
+src_install() {
+   insinto /etc/mail
+   doins "${FILESDIR}"/aliases
+   insinto /etc
+   newins "${FILESDIR}"/mailcap-r3 mailcap
+   doman "${FILESDIR}"/mailcap.5
+
+   dosym spool/mail /var/mail
+
+   if use pam ; then
+   newpamd "${FILESDIR}"/common-pamd-include pop
+   newpamd "${FILESDIR}"/common-pamd-include imap
+   local p
+   for p in pop3 pop3s pops ; do
+   dosym pop /etc/pam.d/${p}
+   done
+   for p in imap4 imap4s imaps ; do
+   dosym imap /etc/pam.d/${p}
+   done
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbase/, net-mail/mailbase/files/

2021-09-15 Thread Mike Frysinger
commit: 882f0d776b44270540a4477c0622b72f9cf261a9
Author: Mike Frysinger  gentoo  org>
AuthorDate: Wed Sep 15 15:24:45 2021 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Wed Sep 15 15:32:44 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=882f0d77

net-mail/mailbase: document mailcap better

Also fix quoting of %s, and add %{charset} support to html.

Clean up the mailcap man page to generalize and remove mention of the
"metamail" package since this file is not specific to it.

Closes: https://bugs.gentoo.org/521134
Signed-off-by: Mike Frysinger  gentoo.org>

 net-mail/mailbase/files/mailcap-r2| 36 ++
 net-mail/mailbase/files/mailcap.5 | 58 +--
 net-mail/mailbase/mailbase-1.7.ebuild | 46 +++
 3 files changed, 111 insertions(+), 29 deletions(-)

diff --git a/net-mail/mailbase/files/mailcap-r2 
b/net-mail/mailbase/files/mailcap-r2
new file mode 100644
index 000..5ecd40a4201
--- /dev/null
+++ b/net-mail/mailbase/files/mailcap-r2
@@ -0,0 +1,36 @@
+# Database binding MIME types to programs that can process them.
+# This file is generally used by mail clients to view attachments.
+#
+# Users should add their own rules to their ~/.mailcap file.  That file will be
+# processed first before falling back to this one.
+#
+# For more information, see the mailcap(5) man page.
+
+# NB: Do not quote %s.  Clients will handle expanding it with proper quoting,
+# so adding quotes ourselves just confuses things.
+
+application/pdf; xdg-open %s; needsterminal
+application/postscript; xdg-open %s; needsterminal
+application/x-info; info --subnodes -o /dev/stdout -f %s 2>/dev/null; 
copiousoutput; description=GNU Info document
+application/x-gtar; tar tvzf -; print=tar tvzf - | print text/plain:-; 
copiousoutput
+application/x-tar; tar tvf -; print=tar tvf - | print text/plain:-; 
copiousoutput
+application/x-troff-man; nroff -mandoc -Tutf8; copiousoutput; print=nroff 
-mandoc -Tutf8 | print text/plain:-
+# It'd be nice to limit this to compressed formats (e.g. x-*), but the file
+# format doesn't support that, and less has good fallbacks already.
+application/*; less %s; copiousoutput; needsterminal
+
+audio/*; xdg-open %s; needsterminal
+image/*; xdg-open %s; needsterminal
+
+text/html; lynx -dump -assume_charset=%{charset} %s; copiousoutput; 
description=HTML Text; nametemplate=%s.html
+text/troff; man -l %s; needsterminal; description=Man page
+text/*; less %s; needsterminal
+text/*; gview %s; edit=gvim -f %s; compose=gvim -f %s; test=test "$DISPLAY" != 
""
+text/*; view %s; edit=vim %s; compose=vim %s; needsterminal
+text/*; more %s; needsterminal
+
+# NB: This is an extension in the hope that it might be useful to some 
programs.
+# RFC1524 does not support * for the type (the string before the /), only for
+# the subtype (the string after the /).
+*/*; less %s; needsterminal
+*/*; false; print=lpr %s

diff --git a/net-mail/mailbase/files/mailcap.5 
b/net-mail/mailbase/files/mailcap.5
index eec92103f88..438c6e2fa6d 100644
--- a/net-mail/mailbase/files/mailcap.5
+++ b/net-mail/mailbase/files/mailcap.5
@@ -1,17 +1,15 @@
 .\" Hey, Emacs!  This is an -*- nroff -*- source file.
 .TH MAILCAP 5 "Release 2" "Bellcore Prototype"
 .SH NAME
-mailcap - metamail capabilities file
+mailcap - mail capabilities file
 .SH DESCRIPTION
 The
 .I mailcap
-file is read by the 
-.I metamail
-program to determine how to display non-text at the local site.
+file is read by e-mail clients to determine how to display non-text at the 
local site.
 
 The syntax of a mailcap file is quite simple, at least compared to termcap 
files.  Any line that starts with "#" is a comment.  Blank lines are ignored.  
Otherwise, each line defines a single mailcap entry for a single content type.  
Long lines may be continued by ending them with a backslash character, \\.
 
-Each individual mailcap entry consists of a content-type specification, a 
command to execute, and (possibly) a set of optional "flag" values.  For 
example, a very simple mailcap entry (which is actually a built-in default 
behavior for metamail) would look like this:
+Each individual mailcap entry consists of a content-type specification, a 
command to execute, and (possibly) a set of optional "flag" values.  For 
example, a very simple mailcap entry would look like this:
 
 text/plain; cat %s
 
@@ -21,55 +19,57 @@ text/plain; cat %s; copiousoutput
 
 can be used to indicate that the output of the 'cat' command may be 
voluminous, requiring either a scrolling window, a pager, or some other 
appropriate coping mechanism.
 
-The "type" field (text/plain, in the above example) is simply any legal 
content type name, as defined by informational RFC 1524.  In practice, this is 
almost any string.  It is the string that will be matched against the 
"Content\-type" header (or the value passed in with \-c) to decide if this is 
the mailcap entry that matches the 

[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbase/

2021-09-15 Thread Mike Frysinger
commit: 0fc0f01d1d8c6a58058fa127bc3fd0b36233c857
Author: Mike Frysinger  gentoo  org>
AuthorDate: Wed Sep 15 15:03:38 2021 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Wed Sep 15 15:32:44 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fc0f01d

net-mail/mailbase: stabilize 1.6-r1

Signed-off-by: Mike Frysinger  gentoo.org>

 net-mail/mailbase/mailbase-1.6-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/mailbase/mailbase-1.6-r1.ebuild 
b/net-mail/mailbase/mailbase-1.6-r1.ebuild
index 542ba478e0c..724400f5e45 100644
--- a/net-mail/mailbase/mailbase-1.6-r1.ebuild
+++ b/net-mail/mailbase/mailbase-1.6-r1.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
 IUSE="pam"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbase/

2021-05-25 Thread Yixun Lan
commit: ca3e5f06b00e1cb2e7b40b7847d5549cd85af40b
Author: Yixun Lan  gentoo  org>
AuthorDate: Tue May 25 03:46:25 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Tue May 25 08:24:28 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca3e5f06

net-mail/mailbase: add riscv keyword

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Yixun Lan  gentoo.org>

 net-mail/mailbase/mailbase-1.6-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/mailbase/mailbase-1.6-r1.ebuild 
b/net-mail/mailbase/mailbase-1.6-r1.ebuild
index 2d43e4feac0..542ba478e0c 100644
--- a/net-mail/mailbase/mailbase-1.6-r1.ebuild
+++ b/net-mail/mailbase/mailbase-1.6-r1.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
 IUSE="pam"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbase/

2021-01-23 Thread Mikle Kolyada
commit: 3ffc287d4c5029841b977e8a6ff011a034605664
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Jan 23 14:09:16 2021 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Jan 23 14:10:13 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ffc287d

net-mail/mailbase: install pam files conditionally

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Mikle Kolyada  gentoo.org>

 .../mailbase/{mailbase-1.5-r1.ebuild => mailbase-1.5-r2.ebuild}| 7 ---
 net-mail/mailbase/{mailbase-1.6.ebuild => mailbase-1.6-r1.ebuild}  | 4 ++--
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/net-mail/mailbase/mailbase-1.5-r1.ebuild 
b/net-mail/mailbase/mailbase-1.5-r2.ebuild
similarity index 85%
rename from net-mail/mailbase/mailbase-1.5-r1.ebuild
rename to net-mail/mailbase/mailbase-1.5-r2.ebuild
index ce871f5f8f8..e7d481a196e 100644
--- a/net-mail/mailbase/mailbase-1.5-r1.ebuild
+++ b/net-mail/mailbase/mailbase-1.5-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -32,9 +32,10 @@ src_install() {
 
dosym spool/mail /var/mail
 
-   newpamd "${FILESDIR}"/common-pamd-include pop
-   newpamd "${FILESDIR}"/common-pamd-include imap
if use pam ; then
+   newpamd "${FILESDIR}"/common-pamd-include pop
+   newpamd "${FILESDIR}"/common-pamd-include imap
+
local p
for p in pop3 pop3s pops ; do
dosym pop /etc/pam.d/${p}

diff --git a/net-mail/mailbase/mailbase-1.6.ebuild 
b/net-mail/mailbase/mailbase-1.6-r1.ebuild
similarity index 90%
rename from net-mail/mailbase/mailbase-1.6.ebuild
rename to net-mail/mailbase/mailbase-1.6-r1.ebuild
index 81158f51db8..2d43e4feac0 100644
--- a/net-mail/mailbase/mailbase-1.6.ebuild
+++ b/net-mail/mailbase/mailbase-1.6-r1.ebuild
@@ -32,9 +32,9 @@ src_install() {
 
dosym spool/mail /var/mail
 
-   newpamd "${FILESDIR}"/common-pamd-include pop
-   newpamd "${FILESDIR}"/common-pamd-include imap
if use pam ; then
+   newpamd "${FILESDIR}"/common-pamd-include pop
+   newpamd "${FILESDIR}"/common-pamd-include imap
local p
for p in pop3 pop3s pops ; do
dosym pop /etc/pam.d/${p}



[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbase/

2021-01-06 Thread Fabian Groffen
commit: 6dd0fc662f3a33174c3a2f2efb46bf70d6881b5c
Author: Fabian Groffen  gentoo  org>
AuthorDate: Wed Jan  6 14:46:16 2021 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Wed Jan  6 15:06:35 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6dd0fc66

net-mail/mailbase: drop x86-macos

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Fabian Groffen  gentoo.org>

 net-mail/mailbase/mailbase-1.6.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-mail/mailbase/mailbase-1.6.ebuild 
b/net-mail/mailbase/mailbase-1.6.ebuild
index b48682ed174..81158f51db8 100644
--- a/net-mail/mailbase/mailbase-1.6.ebuild
+++ b/net-mail/mailbase/mailbase-1.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -10,7 +10,7 @@ HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
 IUSE="pam"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbase/

2020-12-30 Thread Fabian Groffen
commit: 4276a664c2bbe8b5917070e6a09f454925474f01
Author: Fabian Groffen  gentoo  org>
AuthorDate: Wed Dec 30 12:02:16 2020 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Wed Dec 30 12:02:53 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4276a664

net-mail/mailbase-1.6: add Prefix keywords

Closes: https://bugs.gentoo.org/761772
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Fabian Groffen  gentoo.org>

 net-mail/mailbase/mailbase-1.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/mailbase/mailbase-1.6.ebuild 
b/net-mail/mailbase/mailbase-1.6.ebuild
index 7687676d7b1..b48682ed174 100644
--- a/net-mail/mailbase/mailbase-1.6.ebuild
+++ b/net-mail/mailbase/mailbase-1.6.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos 
~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 IUSE="pam"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbase/files/, net-mail/mailbase/

2020-12-29 Thread Eray Aslan
commit: f2b712ce31a89f4873ae76c1f5a4148eebfc7533
Author: Eray Aslan  gentoo  org>
AuthorDate: Tue Dec 29 10:41:04 2020 +
Commit: Eray Aslan  gentoo  org>
CommitDate: Tue Dec 29 10:41:30 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2b712ce

net-mail/mailbase: do not hardcode application paths

as it obviously wont work for gentoo prefix project.
and review and revize the mailcap file while at it.

Bug: https://bugs.gentoo.org/761772
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Eray Aslan  gentoo.org>

 net-mail/mailbase/files/mailcap-r1| 19 +++
 net-mail/mailbase/mailbase-1.6.ebuild | 46 +++
 2 files changed, 65 insertions(+)

diff --git a/net-mail/mailbase/files/mailcap-r1 
b/net-mail/mailbase/files/mailcap-r1
new file mode 100644
index 000..0ffdcca3783
--- /dev/null
+++ b/net-mail/mailbase/files/mailcap-r1
@@ -0,0 +1,19 @@
+application/pdf; xdg-open '%s'; needsterminal
+application/postscript; xdg-open '%s'; needsterminal
+application/x-info; info --subnodes -o /dev/stdout -f '%s' 2>/dev/null; 
copiousoutput; description=GNU Info document
+application/x-gtar; tar tvzf -; print=tar tvzf - | print text/plain:-; 
copiousoutput
+application/x-tar; tar tvf -; print=tar tvf - | print text/plain:-; 
copiousoutput
+application/x-troff-man; nroff -mandoc -Tutf8; copiousoutput; print=nroff 
-mandoc -Tutf8 | print text/plain:-
+
+audio/*; xdg-open '%s'; needsterminal
+image/*; xdg-open '%s'; needsterminal
+
+text/html; lynx -dump '%s'; copiousoutput; description=HTML Text; 
nametemplate=%s.html
+text/troff; man -l '%s'; needsterminal; description=Man page
+text/*; less '%s'; needsterminal
+text/*; gview '%s'; edit=gvim -f '%s'; compose=gvim -f '%s'; test=test 
"$DISPLAY" != ""
+text/*; view '%s'; edit=vim '%s'; compose=vim '%s'; needsterminal
+text/*; more '%s'; needsterminal
+
+*/*; less '%s'; needsterminal
+*/*; false; print=lpr '%s'

diff --git a/net-mail/mailbase/mailbase-1.6.ebuild 
b/net-mail/mailbase/mailbase-1.6.ebuild
new file mode 100644
index 000..7687676d7b1
--- /dev/null
+++ b/net-mail/mailbase/mailbase-1.6.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit pam
+
+DESCRIPTION="MTA layout package"
+SRC_URI=""
+HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sparc ~x86"
+IUSE="pam"
+
+RDEPEND="
+   acct-group/mail
+   acct-user/mail
+   acct-user/postmaster
+   pam? ( sys-libs/pam )
+   !

[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbase/

2020-06-08 Thread Robin H. Johnson
commit: d07954b4a13bf2de328076eb924f9310bcad28e1
Author: Robin H. Johnson  gentoo  org>
AuthorDate: Mon Jun  8 06:30:12 2020 +
Commit: Robin H. Johnson  gentoo  org>
CommitDate: Mon Jun  8 06:30:50 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d07954b4

net-mail/mailbase: prevent collision with old metamail over mailcap.5

Signed-off-by: Robin H. Johnson  gentoo.org>

 net-mail/mailbase/mailbase-1.5-r1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/net-mail/mailbase/mailbase-1.5-r1.ebuild 
b/net-mail/mailbase/mailbase-1.5-r1.ebuild
index ede3a931e61..ce871f5f8f8 100644
--- a/net-mail/mailbase/mailbase-1.5-r1.ebuild
+++ b/net-mail/mailbase/mailbase-1.5-r1.ebuild
@@ -17,7 +17,8 @@ RDEPEND="
acct-group/mail
acct-user/mail
acct-user/postmaster
-   pam? ( sys-libs/pam )"
+   pam? ( sys-libs/pam )
+   !

[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbase/

2020-02-08 Thread David Seifert
commit: 610136f85c4c653753a1e427cf2acd481c6e0238
Author: David Seifert  gentoo  org>
AuthorDate: Sat Feb  8 14:17:39 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Feb  8 14:17:39 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=610136f8

net-mail/mailbase: [QA] Fix BadHomepage

Signed-off-by: David Seifert  gentoo.org>

 net-mail/mailbase/mailbase-1.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/mailbase/mailbase-1.5-r1.ebuild 
b/net-mail/mailbase/mailbase-1.5-r1.ebuild
index 77a5c3c409c..4368739cfcf 100644
--- a/net-mail/mailbase/mailbase-1.5-r1.ebuild
+++ b/net-mail/mailbase/mailbase-1.5-r1.ebuild
@@ -6,7 +6,7 @@ inherit pam
 
 DESCRIPTION="MTA layout package"
 SRC_URI=""
-HOMEPAGE="https://www.gentoo.org/;
+HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage;
 
 LICENSE="GPL-2"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbase/

2019-10-12 Thread Mikle Kolyada
commit: c0c375f18a0b6094ce4bc3a43738a4cebcad1fa0
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Oct 12 20:59:05 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Oct 12 20:59:05 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0c375f1

net-mail/mailbase: migrate to sys-libs/pam

Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Mikle Kolyada  gentoo.org>

 net-mail/mailbase/mailbase-1.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/mailbase/mailbase-1.5-r1.ebuild 
b/net-mail/mailbase/mailbase-1.5-r1.ebuild
index ffbe8bd85c0..e4aeaa32cbc 100644
--- a/net-mail/mailbase/mailbase-1.5-r1.ebuild
+++ b/net-mail/mailbase/mailbase-1.5-r1.ebuild
@@ -17,7 +17,7 @@ RDEPEND="
acct-group/mail
acct-user/mail
acct-user/postmaster
-   pam? ( virtual/pam )"
+   pam? ( sys-libs/pam )"
 
 S=${WORKDIR}
 



[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbase/

2019-10-12 Thread Michał Górny
commit: e421cd6ca6cc74dde7d1da4c0ea9e8b235fa8a12
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Oct 12 07:04:47 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Oct 12 07:06:27 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e421cd6c

net-mail/mailbase: Drop old (EAPI 0)

Signed-off-by: Michał Górny  gentoo.org>

 net-mail/mailbase/mailbase-1.1.ebuild | 71 ---
 net-mail/mailbase/mailbase-1.3.ebuild | 66 
 net-mail/mailbase/mailbase-1.4.ebuild | 67 -
 net-mail/mailbase/mailbase-1.5.ebuild | 67 -
 4 files changed, 271 deletions(-)

diff --git a/net-mail/mailbase/mailbase-1.1.ebuild 
b/net-mail/mailbase/mailbase-1.1.ebuild
deleted file mode 100644
index b3d45a25eda..000
--- a/net-mail/mailbase/mailbase-1.1.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=0
-
-inherit pam eutils user
-
-DESCRIPTION="MTA layout package"
-SRC_URI=""
-HOMEPAGE="https://www.gentoo.org/;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 sh sparc 
x86"
-IUSE="pam"
-
-RDEPEND="pam? ( virtual/pam )"
-
-S=${WORKDIR}
-
-pkg_setup() {
-   enewgroup mail 12
-   enewuser mail 8 -1 /var/spool/mail mail
-   enewuser postmaster 14 -1 /var/spool/mail
-}
-
-src_install() {
-   dodir /etc/mail
-   insinto /etc/mail
-   doins "${FILESDIR}"/aliases || die
-   insinto /etc
-   doins "${FILESDIR}"/mailcap || die
-
-   keepdir /var/spool/mail
-   fowners root:mail /var/spool/mail
-   fperms 03775 /var/spool/mail
-   dosym /var/spool/mail /var/mail
-
-   newpamd "${FILESDIR}"/common-pamd-include pop
-   newpamd "${FILESDIR}"/common-pamd-include imap
-   if use pam ; then
-   local p
-   for p in pop3 pop3s pops ; do
-   dosym pop /etc/pam.d/${p} || die
-   done
-   for p in imap4 imap4s imaps ; do
-   dosym imap /etc/pam.d/${p} || die
-   done
-   fi
-}
-
-get_permissions_oct() {
-   if [[ ${USERLAND} = GNU ]] ; then
-   stat -c%a "${ROOT}$1"
-   elif [[ ${USERLAND} = BSD ]] ; then
-   stat -f%p "${ROOT}$1" | cut -c 3-
-   fi
-}
-
-pkg_postinst() {
-   if [[ "$(get_permissions_oct /var/spool/mail)" != "3775" ]] ; then
-   echo
-   ewarn "Your ${ROOT}var/spool/mail/ directory permissions differ 
from"
-   ewarn "  those which mailbase wants to set it to (03775)."
-   ewarn "  If you did not change them on purpose, consider 
running:"
-   ewarn
-   ewarn "chown root:mail ${ROOT}var/spool/mail/"
-   ewarn "chmod 03775 ${ROOT}var/spool/mail/"
-   echo
-   fi
-}

diff --git a/net-mail/mailbase/mailbase-1.3.ebuild 
b/net-mail/mailbase/mailbase-1.3.ebuild
deleted file mode 100644
index 817fdca0ca1..000
--- a/net-mail/mailbase/mailbase-1.3.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit pam eutils user
-
-DESCRIPTION="MTA layout package"
-SRC_URI=""
-HOMEPAGE="https://www.gentoo.org/;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86"
-IUSE="pam"
-
-RDEPEND="pam? ( virtual/pam )"
-
-S=${WORKDIR}
-
-pkg_setup() {
-   enewgroup mail 12
-   enewuser mail 8 -1 /var/spool/mail mail
-   enewuser postmaster 14 -1 /var/spool/mail
-}
-
-src_install() {
-   dodir /etc/mail
-   insinto /etc/mail
-   doins "${FILESDIR}"/aliases
-   insinto /etc
-   doins "${FILESDIR}"/mailcap
-
-   keepdir /var/spool/mail
-   fowners root:mail /var/spool/mail
-   fperms 03775 /var/spool/mail
-   dosym spool/mail /var/mail
-
-   newpamd "${FILESDIR}"/common-pamd-include pop
-   newpamd "${FILESDIR}"/common-pamd-include imap
-   if use pam ; then
-   local p
-   for p in pop3 pop3s pops ; do
-   dosym pop /etc/pam.d/${p}
-   done
-   for p in imap4 imap4s imaps ; do
-   dosym imap /etc/pam.d/${p}
-   done
-   fi
-}
-
-get_permissions_oct() {
-   if [[ ${USERLAND} = GNU ]] ; then
-   stat -c%a "${ROOT}$1"
-   elif [[ ${USERLAND} = BSD ]] ; then
-   stat -f%p "${ROOT}$1" | cut -c 3-
-   fi
-}
-
-pkg_postinst() {
-   # bug 614396
-   if [[ "$(get_permissions_oct /var/spool/mail)" != "3775" ]] ; then
-   einfo  "Fixing ${ROOT}var/spool/mail/ permissions"
-   chown root:mail "${ROOT}var/spool/mail/"
-   chmod 

[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbase/

2019-10-11 Thread Matt Turner
commit: 33019822ebcc4a95e2b525730af82072857ab97a
Author: Matt Turner  gentoo  org>
AuthorDate: Sat Oct 12 04:38:56 2019 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sat Oct 12 04:38:56 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33019822

net-mail/mailbase: Propagate stable keywords, bug 696342

Signed-off-by: Matt Turner  gentoo.org>

 net-mail/mailbase/mailbase-1.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/mailbase/mailbase-1.5-r1.ebuild 
b/net-mail/mailbase/mailbase-1.5-r1.ebuild
index a1c7f260b81..ffbe8bd85c0 100644
--- a/net-mail/mailbase/mailbase-1.5-r1.ebuild
+++ b/net-mail/mailbase/mailbase-1.5-r1.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="https://www.gentoo.org/;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh 
sparc x86"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 sh sparc 
x86"
 IUSE="pam"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbase/

2019-10-11 Thread Sergei Trofimovich
commit: aac77ba7389bfed65996a07d30e20b532bfb018d
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Fri Oct 11 22:18:00 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Oct 11 22:31:56 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aac77ba7

net-mail/mailbase: stable 1.5-r1 for hppa, bug #696342

Package-Manager: Portage-2.3.76, Repoman-2.3.17
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-mail/mailbase/mailbase-1.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/mailbase/mailbase-1.5-r1.ebuild 
b/net-mail/mailbase/mailbase-1.5-r1.ebuild
index 59c44e38232..a1c7f260b81 100644
--- a/net-mail/mailbase/mailbase-1.5-r1.ebuild
+++ b/net-mail/mailbase/mailbase-1.5-r1.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="https://www.gentoo.org/;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh 
sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh 
sparc x86"
 IUSE="pam"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbase/

2019-10-07 Thread Sergei Trofimovich
commit: 647b38120af47e8abebc4226a663897fcde1ae05
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Oct  7 19:08:38 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Oct  7 19:12:05 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=647b3812

net-mail/mailbase: stable 1.5-r1 for ia64, bug #696342

Package-Manager: Portage-2.3.76, Repoman-2.3.17
RepoMan-Options: --include-arches="ia64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-mail/mailbase/mailbase-1.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/mailbase/mailbase-1.5-r1.ebuild 
b/net-mail/mailbase/mailbase-1.5-r1.ebuild
index da89e00a4b3..b6a430a36ed 100644
--- a/net-mail/mailbase/mailbase-1.5-r1.ebuild
+++ b/net-mail/mailbase/mailbase-1.5-r1.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="https://www.gentoo.org/;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 s390 ~sh 
sparc x86 ~amd64-fbsd ~x86-fbsd"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh 
sparc x86 ~amd64-fbsd ~x86-fbsd"
 IUSE="pam"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbase/

2019-10-07 Thread Agostino Sarubbo
commit: 51e7504b90786534ddfb2f7d25291383d290ac91
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Oct  7 10:43:44 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Oct  7 10:43:44 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51e7504b

net-mail/mailbase: sparc stable wrt bug #696342

Package-Manager: Portage-2.3.76, Repoman-2.3.16
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-mail/mailbase/mailbase-1.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/mailbase/mailbase-1.5-r1.ebuild 
b/net-mail/mailbase/mailbase-1.5-r1.ebuild
index 07d0fa58b6f..da89e00a4b3 100644
--- a/net-mail/mailbase/mailbase-1.5-r1.ebuild
+++ b/net-mail/mailbase/mailbase-1.5-r1.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="https://www.gentoo.org/;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 s390 ~sh 
~sparc x86 ~amd64-fbsd ~x86-fbsd"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 s390 ~sh 
sparc x86 ~amd64-fbsd ~x86-fbsd"
 IUSE="pam"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbase/

2019-10-07 Thread Agostino Sarubbo
commit: 4135d4d4d6477daa59cc743f731d577c2fce64c5
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Oct  7 10:38:16 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Oct  7 10:38:16 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4135d4d4

net-mail/mailbase: ppc64 stable wrt bug #696342

Package-Manager: Portage-2.3.76, Repoman-2.3.16
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-mail/mailbase/mailbase-1.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/mailbase/mailbase-1.5-r1.ebuild 
b/net-mail/mailbase/mailbase-1.5-r1.ebuild
index 8d90fe59a33..07d0fa58b6f 100644
--- a/net-mail/mailbase/mailbase-1.5-r1.ebuild
+++ b/net-mail/mailbase/mailbase-1.5-r1.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="https://www.gentoo.org/;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 s390 ~sh 
~sparc x86 ~amd64-fbsd ~x86-fbsd"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 s390 ~sh 
~sparc x86 ~amd64-fbsd ~x86-fbsd"
 IUSE="pam"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbase/

2019-10-07 Thread Agostino Sarubbo
commit: 40df0d934f26da880c405346a3f14cd31564a1f1
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Oct  7 09:45:50 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Oct  7 09:47:27 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40df0d93

net-mail/mailbase: ppc stable wrt bug #696342

Package-Manager: Portage-2.3.76, Repoman-2.3.16
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-mail/mailbase/mailbase-1.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/mailbase/mailbase-1.5-r1.ebuild 
b/net-mail/mailbase/mailbase-1.5-r1.ebuild
index ff7f3eeb347..8d90fe59a33 100644
--- a/net-mail/mailbase/mailbase-1.5-r1.ebuild
+++ b/net-mail/mailbase/mailbase-1.5-r1.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="https://www.gentoo.org/;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 s390 
~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 s390 ~sh 
~sparc x86 ~amd64-fbsd ~x86-fbsd"
 IUSE="pam"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbase/

2019-10-07 Thread Agostino Sarubbo
commit: 2b8b3fcad124c84174be22cf7fb052b7f06a224e
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Oct  7 07:28:48 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Oct  7 07:28:48 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b8b3fca

net-mail/mailbase: s390 stable wrt bug #696342

Package-Manager: Portage-2.3.76, Repoman-2.3.16
RepoMan-Options: --include-arches="s390"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-mail/mailbase/mailbase-1.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/mailbase/mailbase-1.5-r1.ebuild 
b/net-mail/mailbase/mailbase-1.5-r1.ebuild
index 0cdbaa62108..b12e19b45f5 100644
--- a/net-mail/mailbase/mailbase-1.5-r1.ebuild
+++ b/net-mail/mailbase/mailbase-1.5-r1.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="https://www.gentoo.org/;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 s390 
~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd"
 IUSE="pam"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbase/

2019-10-06 Thread Thomas Deutschmann
commit: 4f8002600e20bbb03e17514c29077d2a346c3f04
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sun Oct  6 21:17:17 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sun Oct  6 21:18:18 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f800260

net-mail/mailbase: x86 stable (bug #696342)

Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Thomas Deutschmann  gentoo.org>

 net-mail/mailbase/mailbase-1.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/mailbase/mailbase-1.5-r1.ebuild 
b/net-mail/mailbase/mailbase-1.5-r1.ebuild
index 8a212cf0d79..0cdbaa62108 100644
--- a/net-mail/mailbase/mailbase-1.5-r1.ebuild
+++ b/net-mail/mailbase/mailbase-1.5-r1.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="https://www.gentoo.org/;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd"
 IUSE="pam"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbase/

2019-08-11 Thread David Seifert
commit: 1bb0d0081c1134b102924c2b9056363d1da496cc
Author: David Seifert  gentoo  org>
AuthorDate: Sun Aug 11 11:20:07 2019 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Aug 11 11:20:07 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bb0d008

net-mail/mailbase: [QA] Fix missing trailing slash

Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: David Seifert  gentoo.org>

 net-mail/mailbase/mailbase-1.4.ebuild | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/net-mail/mailbase/mailbase-1.4.ebuild 
b/net-mail/mailbase/mailbase-1.4.ebuild
index 157b09c6105..30ec0e15153 100644
--- a/net-mail/mailbase/mailbase-1.4.ebuild
+++ b/net-mail/mailbase/mailbase-1.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -60,8 +60,8 @@ get_permissions_oct() {
 pkg_postinst() {
# bug 614396
if [[ "$(get_permissions_oct /var/spool/mail)" != "3775" ]] ; then
-   einfo  "Fixing ${ROOT}var/spool/mail/ permissions"
-   chown root:mail "${ROOT}var/spool/mail/"
-   chmod 03775 "${ROOT}var/spool/mail/"
+   einfo  "Fixing ${ROOT}/var/spool/mail/ permissions"
+   chown root:mail "${ROOT}/var/spool/mail/"
+   chmod 03775 "${ROOT}/var/spool/mail/"
fi
 }



[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbase/

2019-06-24 Thread Michał Górny
commit: a482d6425f824b7871a4a9bfc93e49e1f427c0a9
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jun 20 09:58:53 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jun 24 10:29:37 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a482d642

net-mail/mailbase: Migrate to use acct-*/{mail,postmaster}

Signed-off-by: Michał Górny  gentoo.org>

 net-mail/mailbase/mailbase-1.5-r1.ebuild | 45 
 1 file changed, 45 insertions(+)

diff --git a/net-mail/mailbase/mailbase-1.5-r1.ebuild 
b/net-mail/mailbase/mailbase-1.5-r1.ebuild
new file mode 100644
index 000..8a212cf0d79
--- /dev/null
+++ b/net-mail/mailbase/mailbase-1.5-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit pam
+
+DESCRIPTION="MTA layout package"
+SRC_URI=""
+HOMEPAGE="https://www.gentoo.org/;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
+IUSE="pam"
+
+RDEPEND="
+   acct-group/mail
+   acct-user/mail
+   acct-user/postmaster
+   pam? ( virtual/pam )"
+
+S=${WORKDIR}
+
+src_install() {
+   dodir /etc/mail
+   insinto /etc/mail
+   doins "${FILESDIR}"/aliases
+   insinto /etc
+   doins "${FILESDIR}"/mailcap
+   doman "${FILESDIR}"/mailcap.5
+
+   dosym spool/mail /var/mail
+
+   newpamd "${FILESDIR}"/common-pamd-include pop
+   newpamd "${FILESDIR}"/common-pamd-include imap
+   if use pam ; then
+   local p
+   for p in pop3 pop3s pops ; do
+   dosym pop /etc/pam.d/${p}
+   done
+   for p in imap4 imap4s imaps ; do
+   dosym imap /etc/pam.d/${p}
+   done
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbase/

2019-03-26 Thread Eray Aslan
commit: f3a4608fc2631041e5277c9a9c023f741d3c2d22
Author: Eray Aslan  gentoo  org>
AuthorDate: Wed Mar 27 05:02:58 2019 +
Commit: Eray Aslan  gentoo  org>
CommitDate: Wed Mar 27 05:02:58 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3a4608f

net-mail/mailbase: add myself as maintainer

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Eray Aslan  gentoo.org>

 net-mail/mailbase/metadata.xml | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/net-mail/mailbase/metadata.xml b/net-mail/mailbase/metadata.xml
index 6f49eba8f49..e6f3bf582ab 100644
--- a/net-mail/mailbase/metadata.xml
+++ b/net-mail/mailbase/metadata.xml
@@ -1,5 +1,8 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-
+  
+e...@gentoo.org
+Eray Aslan
+  
 



[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbase/

2018-09-24 Thread Eray Aslan
commit: ceb8405e2422b24627a1badfdad48bcb1ec4cd39
Author: Eray Aslan  gentoo  org>
AuthorDate: Tue Sep 25 05:28:46 2018 +
Commit: Eray Aslan  gentoo  org>
CommitDate: Tue Sep 25 05:28:46 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ceb8405e

net-mail/mailbase: EAPI7: ROOT does not end in /

Closes: https://bugs.gentoo.org/666942
Package-Manager: Portage-2.3.50, Repoman-2.3.11

 net-mail/mailbase/mailbase-1.5.ebuild | 67 +++
 1 file changed, 67 insertions(+)

diff --git a/net-mail/mailbase/mailbase-1.5.ebuild 
b/net-mail/mailbase/mailbase-1.5.ebuild
new file mode 100644
index 000..898d804dc88
--- /dev/null
+++ b/net-mail/mailbase/mailbase-1.5.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit pam user
+
+DESCRIPTION="MTA layout package"
+SRC_URI=""
+HOMEPAGE="https://www.gentoo.org/;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
+IUSE="pam"
+
+RDEPEND="pam? ( virtual/pam )"
+
+S=${WORKDIR}
+
+pkg_setup() {
+   enewgroup mail 12
+   enewuser mail 8 -1 /var/spool/mail mail
+   enewuser postmaster 14 -1 /var/spool/mail
+}
+
+src_install() {
+   dodir /etc/mail
+   insinto /etc/mail
+   doins "${FILESDIR}"/aliases
+   insinto /etc
+   doins "${FILESDIR}"/mailcap
+   doman "${FILESDIR}"/mailcap.5
+
+   keepdir /var/spool/mail
+   fowners root:mail /var/spool/mail
+   fperms 03775 /var/spool/mail
+   dosym spool/mail /var/mail
+
+   newpamd "${FILESDIR}"/common-pamd-include pop
+   newpamd "${FILESDIR}"/common-pamd-include imap
+   if use pam ; then
+   local p
+   for p in pop3 pop3s pops ; do
+   dosym pop /etc/pam.d/${p}
+   done
+   for p in imap4 imap4s imaps ; do
+   dosym imap /etc/pam.d/${p}
+   done
+   fi
+}
+
+get_permissions_oct() {
+   if [[ ${USERLAND} = GNU ]] ; then
+   stat -c%a "${ROOT}$1"
+   elif [[ ${USERLAND} = BSD ]] ; then
+   stat -f%p "${ROOT}$1" | cut -c 3-
+   fi
+}
+
+pkg_postinst() {
+   # bug 614396
+   if [[ "$(get_permissions_oct /var/spool/mail)" != "3775" ]] ; then
+   einfo  "Fixing ${ROOT}/var/spool/mail/ permissions"
+   chown root:mail "${ROOT}/var/spool/mail/"
+   chmod 03775 "${ROOT}/var/spool/mail/"
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbase/

2018-06-02 Thread Aaron Bauman
commit: 8be8348c14b236bec7d6060ec4bf5bb3d1cfb4f1
Author: Aaron Bauman  gentoo  org>
AuthorDate: Sun Jun  3 00:19:46 2018 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sun Jun  3 02:58:49 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8be8348c

net-mail/mailbase: drop old EAPI

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 net-mail/mailbase/mailbase-1.2.ebuild | 67 -
 net-mail/mailbase/mailbase-1.ebuild   | 70 ---
 2 files changed, 137 deletions(-)

diff --git a/net-mail/mailbase/mailbase-1.2.ebuild 
b/net-mail/mailbase/mailbase-1.2.ebuild
deleted file mode 100644
index 45ddce55a0e..000
--- a/net-mail/mailbase/mailbase-1.2.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=0
-
-inherit pam eutils user
-
-DESCRIPTION="MTA layout package"
-SRC_URI=""
-HOMEPAGE="https://www.gentoo.org/;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
-IUSE="pam"
-
-RDEPEND="pam? ( virtual/pam )"
-
-S=${WORKDIR}
-
-pkg_setup() {
-   enewgroup mail 12
-   enewuser mail 8 -1 /var/spool/mail mail
-   enewuser postmaster 14 -1 /var/spool/mail
-}
-
-src_install() {
-   dodir /etc/mail
-   insinto /etc/mail
-   doins "${FILESDIR}"/aliases || die
-   insinto /etc
-   doins "${FILESDIR}"/mailcap || die
-
-   keepdir /var/spool/mail
-   fowners root:mail /var/spool/mail
-   fperms 03775 /var/spool/mail
-   dosym /var/spool/mail /var/mail
-
-   newpamd "${FILESDIR}"/common-pamd-include pop
-   newpamd "${FILESDIR}"/common-pamd-include imap
-   if use pam ; then
-   local p
-   for p in pop3 pop3s pops ; do
-   dosym pop /etc/pam.d/${p} || die
-   done
-   for p in imap4 imap4s imaps ; do
-   dosym imap /etc/pam.d/${p} || die
-   done
-   fi
-}
-
-get_permissions_oct() {
-   if [[ ${USERLAND} = GNU ]] ; then
-   stat -c%a "${ROOT}$1"
-   elif [[ ${USERLAND} = BSD ]] ; then
-   stat -f%p "${ROOT}$1" | cut -c 3-
-   fi
-}
-
-pkg_postinst() {
-   # bug 614396
-   if [[ "$(get_permissions_oct /var/spool/mail)" != "3775" ]] ; then
-   einfo  "Fixing ${ROOT}var/spool/mail/ permissions"
-   chown root:mail "${ROOT}var/spool/mail/"
-   chmod 03775 "${ROOT}var/spool/mail/"
-   fi
-}

diff --git a/net-mail/mailbase/mailbase-1.ebuild 
b/net-mail/mailbase/mailbase-1.ebuild
deleted file mode 100644
index a8ffd2843f2..000
--- a/net-mail/mailbase/mailbase-1.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=0
-
-inherit pam eutils user
-
-DESCRIPTION="MTA layout package"
-SRC_URI=""
-HOMEPAGE="https://www.gentoo.org/;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 
~amd64-fbsd ~x86-fbsd"
-IUSE="pam"
-
-RDEPEND="pam? ( virtual/pam )"
-
-S=${WORKDIR}
-
-pkg_setup() {
-   enewgroup mail 12
-   enewuser mail 8 -1 /var/spool/mail mail
-   enewuser postmaster 14 -1 /var/spool/mail
-}
-
-src_install() {
-   dodir /etc/mail
-   insinto /etc/mail
-   doins "${FILESDIR}"/aliases || die
-   insinto /etc
-   doins "${FILESDIR}"/mailcap || die
-
-   keepdir /var/spool/mail
-   fowners root:mail /var/spool/mail
-   fperms 0775 /var/spool/mail
-   dosym /var/spool/mail /var/mail
-
-   newpamd "${FILESDIR}"/common-pamd-include pop
-   newpamd "${FILESDIR}"/common-pamd-include imap
-   if use pam ; then
-   local p
-   for p in pop3 pop3s pops ; do
-   dosym pop /etc/pam.d/${p} || die
-   done
-   for p in imap4 imap4s imaps ; do
-   dosym imap /etc/pam.d/${p} || die
-   done
-   fi
-}
-
-get_permissions_oct() {
-   if [[ ${USERLAND} = GNU ]] ; then
-   stat -c%a "${ROOT}$1"
-   elif [[ ${USERLAND} = BSD ]] ; then
-   stat -f%p "${ROOT}$1" | cut -c 3-
-   fi
-}
-
-pkg_postinst() {
-   if [[ "$(get_permissions_oct /var/spool/mail)" != "775" ]] ; then
-   echo
-   ewarn "Your ${ROOT}/var/spool/mail/ directory permissions 
differ from"
-   ewarn "  those which mailbase set when you first installed it 
(0775)."
-   ewarn "  If you did not change them on purpose, consider 
running:"
-   ewarn
-   ewarn "chmod 0775 ${ROOT}/var/spool/mail/"
-   echo
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbase/, net-mail/mailbase/files/

2018-05-31 Thread Eray Aslan
commit: 5dfcab1a044ef30c8bc4f3c9b739446be2f65084
Author: Eray Aslan  gentoo  org>
AuthorDate: Thu May 31 07:48:08 2018 +
Commit: Eray Aslan  gentoo  org>
CommitDate: Thu May 31 07:48:08 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5dfcab1a

net-mail/mailbase: provide mailcap man page

Closes: https://bugs.gentoo.org/417743
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 net-mail/mailbase/files/mailcap.5 | 75 +++
 net-mail/mailbase/mailbase-1.4.ebuild | 67 +++
 2 files changed, 142 insertions(+)

diff --git a/net-mail/mailbase/files/mailcap.5 
b/net-mail/mailbase/files/mailcap.5
new file mode 100644
index 000..eec92103f88
--- /dev/null
+++ b/net-mail/mailbase/files/mailcap.5
@@ -0,0 +1,75 @@
+.\" Hey, Emacs!  This is an -*- nroff -*- source file.
+.TH MAILCAP 5 "Release 2" "Bellcore Prototype"
+.SH NAME
+mailcap - metamail capabilities file
+.SH DESCRIPTION
+The
+.I mailcap
+file is read by the 
+.I metamail
+program to determine how to display non-text at the local site.
+
+The syntax of a mailcap file is quite simple, at least compared to termcap 
files.  Any line that starts with "#" is a comment.  Blank lines are ignored.  
Otherwise, each line defines a single mailcap entry for a single content type.  
Long lines may be continued by ending them with a backslash character, \\.
+
+Each individual mailcap entry consists of a content-type specification, a 
command to execute, and (possibly) a set of optional "flag" values.  For 
example, a very simple mailcap entry (which is actually a built-in default 
behavior for metamail) would look like this:
+
+text/plain; cat %s
+
+The optional flags can be used to specify additional information about the 
mail-handling command.  For example:
+
+text/plain; cat %s; copiousoutput
+
+can be used to indicate that the output of the 'cat' command may be 
voluminous, requiring either a scrolling window, a pager, or some other 
appropriate coping mechanism.
+
+The "type" field (text/plain, in the above example) is simply any legal 
content type name, as defined by informational RFC 1524.  In practice, this is 
almost any string.  It is the string that will be matched against the 
"Content\-type" header (or the value passed in with \-c) to decide if this is 
the mailcap entry that matches the current message.  Additionally, the type 
field may specify a subtype (e.g. "text/ISO\-8859\-1") or a wildcard to match 
all subtypes (e.g. "image/*").
+
+The "command" field is any UNIX command ("cat %s" in the above example), and 
is used to specify the interpreter for the given type of message.  It will be 
passed to the shell via the system(3) facility.  Semicolons and backslashes 
within the command must be quoted with backslashes.  If the command contains 
"%s", those two characters will be replaced by the name of a file that contains 
the body of the message. If it contains "%t", those two characters will be 
replaced by the content-type field, including the subtype, if any.  (That is, 
if the content-type was "image/pbm; opt1=something-else", then "%t" would be 
replaced by "image/pbm".)   If the command field contains  "%{" followed by a 
parameter name and a closing "}", then all those characters will be replaced by 
the value of the named parameter, if any, from the Content-type header.   Thus, 
in the previous example, "%{opt1}" will be replaced by "something-else".  
Finally, if the command contains "\\%", those two characters will b
 e replaced by a single % character.  (In fact, the backslash can be used to 
quote any character, including itself.)
+
+If no "%s" appears in the command field, then instead of placing the message 
body in a temporary file, metamail will pass the body to the command on the 
standard input.  This is helpful in saving /tmp file space, but can be 
problematic for window-oriented applications under some window systems such as 
MGR.
+
+Two special codes can appear in the viewing command for objects of type 
multipart (any subtype).  These are "%n" and "%F".  %n will be replaced by the 
number of parts within the multipart object.  %F will be replaced by a series 
of arguments, two for each part, giving first the content-type and then the 
name of the temporary file where the decoded part has been stored.  In 
addition, for each file created by %F, a second file is created, with the same 
name followed by "H", which contains the header information for that body part. 
 This will not be needed by most multipart handlers, but it is there if you 
ever need it.  
+
+The "notes=xxx" field is an uninterpreted string that is used to specify the 
name of the person who installed this entry in the mailcap file.  (The "xxx" 
may be replaced by any text string.)
+
+The "test=xxx" field is a command that is executed to determine whether or not 
the mailcap line actually applies.  That is, if the content-type field matches 
the content-type 

[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbase/

2018-04-05 Thread Eray Aslan
commit: 58d2aaeaf1e56c989f72deda4e6c773171c9d420
Author: Eray Aslan  gentoo  org>
AuthorDate: Thu Apr  5 11:07:29 2018 +
Commit: Eray Aslan  gentoo  org>
CommitDate: Thu Apr  5 11:07:29 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58d2aaea

net-mail/mailbase: EAPI bump

Package-Manager: Portage-2.3.28, Repoman-2.3.9

 net-mail/mailbase/mailbase-1.3.ebuild | 66 +++
 1 file changed, 66 insertions(+)

diff --git a/net-mail/mailbase/mailbase-1.3.ebuild 
b/net-mail/mailbase/mailbase-1.3.ebuild
new file mode 100644
index 000..6a3ab7e4c86
--- /dev/null
+++ b/net-mail/mailbase/mailbase-1.3.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit pam eutils user
+
+DESCRIPTION="MTA layout package"
+SRC_URI=""
+HOMEPAGE="https://www.gentoo.org/;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
+IUSE="pam"
+
+RDEPEND="pam? ( virtual/pam )"
+
+S=${WORKDIR}
+
+pkg_setup() {
+   enewgroup mail 12
+   enewuser mail 8 -1 /var/spool/mail mail
+   enewuser postmaster 14 -1 /var/spool/mail
+}
+
+src_install() {
+   dodir /etc/mail
+   insinto /etc/mail
+   doins "${FILESDIR}"/aliases
+   insinto /etc
+   doins "${FILESDIR}"/mailcap
+
+   keepdir /var/spool/mail
+   fowners root:mail /var/spool/mail
+   fperms 03775 /var/spool/mail
+   dosym spool/mail /var/mail
+
+   newpamd "${FILESDIR}"/common-pamd-include pop
+   newpamd "${FILESDIR}"/common-pamd-include imap
+   if use pam ; then
+   local p
+   for p in pop3 pop3s pops ; do
+   dosym pop /etc/pam.d/${p}
+   done
+   for p in imap4 imap4s imaps ; do
+   dosym imap /etc/pam.d/${p}
+   done
+   fi
+}
+
+get_permissions_oct() {
+   if [[ ${USERLAND} = GNU ]] ; then
+   stat -c%a "${ROOT}$1"
+   elif [[ ${USERLAND} = BSD ]] ; then
+   stat -f%p "${ROOT}$1" | cut -c 3-
+   fi
+}
+
+pkg_postinst() {
+   # bug 614396
+   if [[ "$(get_permissions_oct /var/spool/mail)" != "3775" ]] ; then
+   einfo  "Fixing ${ROOT}var/spool/mail/ permissions"
+   chown root:mail "${ROOT}var/spool/mail/"
+   chmod 03775 "${ROOT}var/spool/mail/"
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: net-mail/mailbase/

2018-04-04 Thread Eray Aslan
commit: 3b8f34badbdf4008f9d92db08d49b1e6ead27868
Author: Eray Aslan  gentoo  org>
AuthorDate: Wed Apr  4 14:03:38 2018 +
Commit: Eray Aslan  gentoo  org>
CommitDate: Wed Apr  4 14:03:38 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b8f34ba

net-mail/mailbase: fix mail spool permissions on first install

Closes: https://bugs.gentoo.org/614396
Package-Manager: Portage-2.3.28, Repoman-2.3.9

 net-mail/mailbase/mailbase-1.2.ebuild | 65 +++
 1 file changed, 65 insertions(+)

diff --git a/net-mail/mailbase/mailbase-1.2.ebuild 
b/net-mail/mailbase/mailbase-1.2.ebuild
new file mode 100644
index 000..508f9f65781
--- /dev/null
+++ b/net-mail/mailbase/mailbase-1.2.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit pam eutils user
+
+DESCRIPTION="MTA layout package"
+SRC_URI=""
+HOMEPAGE="https://www.gentoo.org/;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
+IUSE="pam"
+
+RDEPEND="pam? ( virtual/pam )"
+
+S=${WORKDIR}
+
+pkg_setup() {
+   enewgroup mail 12
+   enewuser mail 8 -1 /var/spool/mail mail
+   enewuser postmaster 14 -1 /var/spool/mail
+}
+
+src_install() {
+   dodir /etc/mail
+   insinto /etc/mail
+   doins "${FILESDIR}"/aliases || die
+   insinto /etc
+   doins "${FILESDIR}"/mailcap || die
+
+   keepdir /var/spool/mail
+   fowners root:mail /var/spool/mail
+   fperms 03775 /var/spool/mail
+   dosym /var/spool/mail /var/mail
+
+   newpamd "${FILESDIR}"/common-pamd-include pop
+   newpamd "${FILESDIR}"/common-pamd-include imap
+   if use pam ; then
+   local p
+   for p in pop3 pop3s pops ; do
+   dosym pop /etc/pam.d/${p} || die
+   done
+   for p in imap4 imap4s imaps ; do
+   dosym imap /etc/pam.d/${p} || die
+   done
+   fi
+}
+
+get_permissions_oct() {
+   if [[ ${USERLAND} = GNU ]] ; then
+   stat -c%a "${ROOT}$1"
+   elif [[ ${USERLAND} = BSD ]] ; then
+   stat -f%p "${ROOT}$1" | cut -c 3-
+   fi
+}
+
+pkg_postinst() {
+   # bug 614396
+   if [[ "$(get_permissions_oct /var/spool/mail)" != "3775" ]] ; then
+   einfo  "Fixing ${ROOT}var/spool/mail/ permissions"
+   chown root:mail "${ROOT}var/spool/mail/"
+   chmod 03775 "${ROOT}var/spool/mail/"
+   fi
+}