diff options
Diffstat (limited to 'mail-client/alpine')
-rw-r--r-- | mail-client/alpine/Manifest | 3 | ||||
-rw-r--r-- | mail-client/alpine/alpine-2.24.ebuild | 89 |
2 files changed, 92 insertions, 0 deletions
diff --git a/mail-client/alpine/Manifest b/mail-client/alpine/Manifest index cd79be7f4ee9..9e99bddd7e01 100644 --- a/mail-client/alpine/Manifest +++ b/mail-client/alpine/Manifest @@ -1,4 +1,7 @@ DIST alpine-2.23-chappa.patch.gz 172604 BLAKE2B f814a269fe316dd42e73f98b09a67b26f8d0c5db9bc83ebcc6145f7f3373f14a5fa9f7991f60a4186c0f078428fa0a38bc81b0459998045ea433438f730f05a8 SHA512 5195db336651da161b3d94afeab8f46fd6bd3d1953db72b8f453355b46eafe8afe26eccb2466024f077fc3e40ff52e1a14a126ce3cc33fdcfcaeded67f9422d0 DIST alpine-2.23.tar.xz 6330784 BLAKE2B e7be73dc0ccf04cfbd8712e70f8b114063983b971c1d967765b41ab0bf86369815d954e85fc4d9622539b1e3a6324ffda635a2808b9439a123302e7f9c9f421d SHA512 abc3675b18d6bd20a547b8e2c3f1f4c668aee2f2d20f426f28b4b3d4cfd66762777007441da3b0fda74e625c71bc2ef05434089508c2af804e62cf216df5554b +DIST alpine-2.24-chappa.patch.gz 172010 BLAKE2B 39f5336ead355a4b78bcdd5b44dc398888bf93f3c3efa95b3ad8a86f3a0dda13f03164a03fbed898150864130648a204a6b5d9e32c3437138878516d014c8bbe SHA512 7152a8e4a79a530345448267204a96bc2585b4fccb23f011fd4dc97bc713696b8eb7ca9563655d8da33570ef14bf29577f82fe0f104c80590a43b0e74ec89e81 +DIST alpine-2.24.tar.xz 7341676 BLAKE2B 63e2d9387f1a369f9a4623625524f25eec64c600672092608256fd2827c094fae1384b35da84ec5f5865295744982ede533551dc47b6f0c80f2405ed16cad546 SHA512 642a51f73732ebdf7c40e2b66370aa2f48fb13b349b477871b26295c3e8b860a0cc78dec9f80efc6ea74c548a080ceff04181eb18c35a9c8cae8d8ef831178c5 EBUILD alpine-2.23.ebuild 2227 BLAKE2B 0dc55e814c736e2381e1ccc05b3b67e5b7f1ed065d8b854569bc4ec8e5db4028cf427fe1e24aa6ec8d07b792790402ee3a946811f2722b79e1cc498aff356dfe SHA512 b1ab7041333db6b69b4378a4f4f76e6309f460a2507bad2d5b2b2e509b2df2f8dd56a9e4020687f3bb5614796e676ea94bc28b3b749e97d838451a995990554e +EBUILD alpine-2.24.ebuild 2221 BLAKE2B 2ccc64b6695ab2549afd5b52bde33766c4a7a8a4499d456886da6aee0b1b81875ad395bdd198c4695e812802a0c9674fe0d8075c520c460350acdf4f09881c43 SHA512 75502c03343afa0c134a8ce8584aa6f479b8c3cb2ee1e9c38b2478e2d214619a1156c7d7ec6e8a56217ce6df48e33c8a299eaa2ceb9503420902d1cf40d5ccba MISC metadata.xml 731 BLAKE2B 299d44541ef09d51036feeb36ca1d720fba218c526cbb34d7d7358f8baa8d227ee96f823a1960a3fe16313da57f3ea2cd83424d5228839d722a94f780680949e SHA512 fb53b04da391da15373da8dff24b64abd9bee04a24eea999f1331d175c2084d9267c056426b5a9d7cebec808002715782bc1d414a70c310ddbbad72c0540dbae diff --git a/mail-client/alpine/alpine-2.24.ebuild b/mail-client/alpine/alpine-2.24.ebuild new file mode 100644 index 000000000000..7b23e69e396c --- /dev/null +++ b/mail-client/alpine/alpine-2.24.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools toolchain-funcs + +DESCRIPTION="An easy to use text-based based mail and news client" +HOMEPAGE="http://alpine.x10host.com/alpine/ https://repo.or.cz/alpine.git/" +CHAPPA_PATCH_NAME="${P}-chappa.patch" +SRC_URI="http://alpine.x10host.com/alpine/release/src/${P}.tar.xz + chappa? ( http://alpine.x10host.com/alpine/patches/${P}/all.patch.gz -> ${CHAPPA_PATCH_NAME}.gz ) " + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="+chappa doc ipv6 kerberos ldap libressl nls onlyalpine passfile smime spell ssl threads" + +DEPEND="sys-libs/ncurses + kerberos? ( app-crypt/mit-krb5 ) + ldap? ( net-nds/openldap ) + spell? ( app-text/aspell ) + ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + ) +" +RDEPEND="${DEPEND} + app-misc/mime-types +" + +src_prepare() { + default + use chappa && eapply "${WORKDIR}/${CHAPPA_PATCH_NAME}" + eautoreconf + tc-export CC RANLIB AR + export CC_FOR_BUILD=$(tc-getBUILD_CC) +} + +src_configure() { + myconf=( + --without-tcl + --with-system-pinerc="${EPREFIX}"/etc/pine.conf + --with-system-fixed-pinerc="${EPREFIX}"/etc/pine.conf.fixed + $(use_with ldap) + $(use_with ssl) + $(use_with passfile passfile .pinepwd) + $(use_with kerberos krb5) + $(use_with threads pthread) + $(use_with spell interactive-spellcheck /usr/bin/aspell) + $(use_enable nls) + $(use_with ipv6) + $(use_with smime) + ) + + if use ssl; then + myconf+=( + --with-ssl-include-dir="${EPREFIX}"/usr/include/openssl + --with-ssl-lib-dir="${EPREFIX}"/usr/$(get_libdir) + --with-ssl-certs-dir="${EPREFIX}"/etc/ssl/certs + ) + fi + econf "${myconf[@]}" +} + +src_compile() { + emake -j1 AR=$(tc-getAR) +} + +src_install() { + if use onlyalpine ; then + dobin alpine/alpine + doman doc/man1/alpine.1 + else + emake -j1 DESTDIR="${D}" install + doman doc/man1/*.1 + fi + + dodoc NOTICE README* + + if use doc ; then + dodoc doc/brochure.txt + + dodoc -r doc/tech-notes/ + newdoc "${S}/doc/mailcap.unx" mailcap.unx.sample + newdoc "${S}/doc/mime.types" mime.types.sample + docompress -x /usr/share/doc/${PF}/mailcap.unx.sample /usr/share/doc/${PF}/mime.types.sample + fi +} |