diff options
Diffstat (limited to 'mail-client/alpine')
-rw-r--r-- | mail-client/alpine/Manifest | 3 | ||||
-rw-r--r-- | mail-client/alpine/alpine-2.23.ebuild | 89 |
2 files changed, 92 insertions, 0 deletions
diff --git a/mail-client/alpine/Manifest b/mail-client/alpine/Manifest index e633e7f710fb..83b20df2af1b 100644 --- a/mail-client/alpine/Manifest +++ b/mail-client/alpine/Manifest @@ -2,6 +2,9 @@ AUX alpine-2.22-cc.patch 537 BLAKE2B 0f916be9bf91d8f9c347c9325d20a13e8ffdc462f05 AUX alpine-2.22-fno-common.patch 677 BLAKE2B c03b54ff8db4e8a4868144c3b6214e75153bf88af78380bc5334a94cac4c2aaf9404a3b6ba9cfb4ac662af2f911211703c5383c37138dfe0acc71c965e08c395 SHA512 cb1513c374ced36adfec51267a61cdb38c38ea0d3d81812a1eebdaf973f2aaabf74f8fde58920c4044d0f389898966335cae2f54505a8314e0f917fbe2786cab DIST alpine-2.22-chappa.patch.gz 173232 BLAKE2B ac2cfc22119c9e60fdc053212447fb5df8cc59781c049329560d21e19e67d700fe45a07649352747583b500a605499eeb61dfd83ba150c3bd58f4033486e2581 SHA512 9db36ebb4fb2efaee975ed33d44cf95780c56075cbc0ad39056268248db38109e1bb04e279b40cdd085b3dfec89d0f9c69aa4ddf5a64b5708437909661288e23 DIST alpine-2.22.tar.xz 6336604 BLAKE2B 65cab2000b6c606c002efcca6e731d2c87329b4685dec81d202e95598b4302175137ea84f079af1f766a6ef99d0b2cb51132e12539bea7f4d24954bb48af7bea SHA512 7737dce02ac94170948df7fccb61380c6cb101190e37f5b3ba281d573f54df1db24569d177b460f49bfff381a922be2e4b0f3a0f1a213d88a64d361aedc3c4f1 +DIST alpine-2.23-chappa.patch.gz 172604 BLAKE2B f814a269fe316dd42e73f98b09a67b26f8d0c5db9bc83ebcc6145f7f3373f14a5fa9f7991f60a4186c0f078428fa0a38bc81b0459998045ea433438f730f05a8 SHA512 5195db336651da161b3d94afeab8f46fd6bd3d1953db72b8f453355b46eafe8afe26eccb2466024f077fc3e40ff52e1a14a126ce3cc33fdcfcaeded67f9422d0 +DIST alpine-2.23.tar.xz 6330784 BLAKE2B e7be73dc0ccf04cfbd8712e70f8b114063983b971c1d967765b41ab0bf86369815d954e85fc4d9622539b1e3a6324ffda635a2808b9439a123302e7f9c9f421d SHA512 abc3675b18d6bd20a547b8e2c3f1f4c668aee2f2d20f426f28b4b3d4cfd66762777007441da3b0fda74e625c71bc2ef05434089508c2af804e62cf216df5554b EBUILD alpine-2.22-r1.ebuild 2309 BLAKE2B d294369cddf068bd2e7a01de85f2abeef467ff88db001fb6e1994975f422c16cf37fe07d659d156d9b7185035f9a131f58c85bae3e2b46a2dcdf02f0d5703654 SHA512 21d917188d5b94d01ca12bcabd65d41bd44e3b721a1081b1fadc69ff082d9f7fd32b8bf236b3074b824df22c39e2ec0b236d38c77173376f8871a2e2e5e323b2 EBUILD alpine-2.22.ebuild 2060 BLAKE2B 5f58202d66033d9417c2d9eec597e2cef12c04c7d7953490fd680782d2a843afdea6791bbe2a2cb265ccff3934c55221f5495b7c656289874b64f6fd83fb78ce SHA512 6685cbdb825260de2da09d8a23c06be390235346aa93d411cdabe9741dff45c10399b4693baa3bd30355591de59b7dfc77e5e847924d5f24ae226645569d5301 +EBUILD alpine-2.23.ebuild 2230 BLAKE2B 8494d490310ab76d9d9caea5da895d2b94a66a0c715db3787407a13cfeceffa3f7bb880a4aef40614def220869738156f2e5ff828b0c7e78e8b2a188c0fd54ab SHA512 26cb1157828ed5f086cf293a89a7d34f78280e80cda9322c2a7d822c5326020a51a32249d18540f870982c2f275f4c00f4db6de81f829aef844960392ef77308 MISC metadata.xml 731 BLAKE2B 299d44541ef09d51036feeb36ca1d720fba218c526cbb34d7d7358f8baa8d227ee96f823a1960a3fe16313da57f3ea2cd83424d5228839d722a94f780680949e SHA512 fb53b04da391da15373da8dff24b64abd9bee04a24eea999f1331d175c2084d9267c056426b5a9d7cebec808002715782bc1d414a70c310ddbbad72c0540dbae diff --git a/mail-client/alpine/alpine-2.23.ebuild b/mail-client/alpine/alpine-2.23.ebuild new file mode 100644 index 000000000000..a3563213e20a --- /dev/null +++ b/mail-client/alpine/alpine-2.23.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-5.1:0= + 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 +} |