summaryrefslogtreecommitdiff
path: root/net-mail/mailbase
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-06-29 12:04:12 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-06-29 12:04:12 +0100
commit0f558761aa2dee1017b4751e4017205e015a9560 (patch)
tree037df795519468a25d9362b4e95cdaeb84eb1cf9 /net-mail/mailbase
parent752d6256e5204b958b0ef7905675a940b5e9172f (diff)
gentoo resync : 29.12.2022
Diffstat (limited to 'net-mail/mailbase')
-rw-r--r--net-mail/mailbase/Manifest2
-rw-r--r--net-mail/mailbase/files/mailcap-r430
-rw-r--r--net-mail/mailbase/mailbase-1.8.1.ebuild44
3 files changed, 76 insertions, 0 deletions
diff --git a/net-mail/mailbase/Manifest b/net-mail/mailbase/Manifest
index 09eb48464d8d..c25da7d5f57b 100644
--- a/net-mail/mailbase/Manifest
+++ b/net-mail/mailbase/Manifest
@@ -2,6 +2,8 @@ AUX aliases 809 BLAKE2B bc6295e7cddae8ee29450f4054992b6fe47f301303be7ea284d42f9e
AUX common-pamd 308 BLAKE2B 95a2b44b1bd2112da1160cf5c3f993debb85692111e046a79c14f89a83cd82eebc5580ea0375f6548d373a04ac17f214a0135047d99f7ed3cf62f5500953bf6a SHA512 5b7d878969e644aac8aa9355e1a8ff9e2a9c1b07edb5a62c694bd7a4f87961242db7c85b1030540c9ad733a4d3d4c5367a047a188b21517d1d077bec6e620ec7
AUX common-pamd-include 245 BLAKE2B 3c2a5133b232869a5749df49a7e1f94a51f68d3bd37037d3ea10bfab18fb48fae565304bd2eba6fc686da3f3bf71249975e8f8bc9deada66eb3665d20929020d SHA512 3516815034b419bf4fd57a43536e7a25b820013d5339cb818bbbee3f0e8e26651f6b4aefae0177240219e05010ba8a2aaf6d0337220cf176801992204c3216f0
AUX mailcap-r3 1584 BLAKE2B eac2e35ea578079c4a67f71a690443d616f99d666dad12553ae2020fc0affcbc121529c62d9cad1419e42b5a9d95ec3166c3f71385b047827c97acc0cc81d460 SHA512 3be98f171d9b6d891a24cc759d595eb856e28bbe29a2578d409993a6dec33ffd369f1c40bdb143e3e0a3698d009b06d5a0a5d329563c886fc592d58d874eab35
+AUX mailcap-r4 1569 BLAKE2B 33100eb2bf0f0bf1b07584894f3c385635388b8446dba33e7949cbf5ae21c607f4c86360b8d88fd73f5af9323a9ae17dda3c0ab320c2223b15a1eea64588969d SHA512 6c326b4b90f680cd278543c7fdbd086617ce22bba0ecd4de6ab3c06b5da1ae627bdbc782c9a7147d40d49373b3e10d1946dae72e3cdc429345285d1ba0eec257
AUX mailcap.5 8951 BLAKE2B 6bd704c8efe861471343e318734abed30c5f406a06646877286d91bfe3cb9afaf128ddf77675d4a14dd1e19a6979772cf013923cf30b02f62e54eac2a7fe02b7 SHA512 6973397bdd389e8eaf1977d8eeee271beda2ad1bd0b01ed7408156af0e7cf430a45e2b7261213a3278fbc2cbb250b65a3f34c11d3c5603cffffade4f1fba24e5
+EBUILD mailbase-1.8.1.ebuild 1016 BLAKE2B 064e5e98eb89df74bf9ef4dbc54e8cd7a09ba601379019c71d9c0c85c1e99c62d6cab7b54f68a86057c9640a33f196e17db970be2e58da54495a79d7b277c390 SHA512 fddb156152e9140dd892e19c1e3757638ac8abb5341bf2194ac4a6f2a6fa8f28184b2e76d10ff85e4ad031e8d123d78a72a9702f7d35205831b22a576a39bbb6
EBUILD mailbase-1.8.ebuild 1008 BLAKE2B 548491b99107ec8e4b6a65d5993f4feb4e393ee60d6aae8aa1aae968096eebb26fb63bfda967506b0dd955c3337e941af562ee9c6c7e151e0fd2f9a29f231e3d SHA512 be4f5edcc5f207654560306decfc091e87fa986ccb8e6e8ab9a9ceb93aaccf4b59b0bf007614d1b22e72fd1f107c222e2f423c894eb1e239cec51d11d9287c43
MISC metadata.xml 273 BLAKE2B b4cfe539dd0b8abaa460e6a58d4eb4abca02c82a3174ed097dce35389b4d6aa0f80c0ae9fcb6cec3b57b0d5de6e8105f569a7872193177fade6a3ca96939ef9c SHA512 ea73916029216f884fa542103def24e21b8e7bd9efd6764554d14e7c34e0d4b289c39bb81b07524dc3ce87adc5abfd4c421a965506c583430e134e235f26012d
diff --git a/net-mail/mailbase/files/mailcap-r4 b/net-mail/mailbase/files/mailcap-r4
new file mode 100644
index 000000000000..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 000000000000..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
+}