summaryrefslogtreecommitdiff
path: root/mail-client/alpine
diff options
context:
space:
mode:
Diffstat (limited to 'mail-client/alpine')
-rw-r--r--mail-client/alpine/Manifest2
-rw-r--r--mail-client/alpine/alpine-2.21.1-r2.ebuild95
-rw-r--r--mail-client/alpine/files/alpine-2.21.1-nopam.patch27
3 files changed, 124 insertions, 0 deletions
diff --git a/mail-client/alpine/Manifest b/mail-client/alpine/Manifest
index 4e5f5610bffa..6353796a642d 100644
--- a/mail-client/alpine/Manifest
+++ b/mail-client/alpine/Manifest
@@ -3,11 +3,13 @@ AUX 2.00-lcrypto.patch 496 BLAKE2B 915c0c1d423ee2b78f366186ef0eb696f795561e3bd11
AUX 2.00-lpam.patch 295 BLAKE2B cc624474e6f283becb65cdaa903123f658b23d18c1d1208a1b18636fed0306a812ec4613eba5c18a8d920ab6ddfd51d850b01d2e13925e7a6af949bb30413403 SHA512 5705c7736797b38c80a2b1bd96f283b00a06ea7b00868c0470cd4a33408aa00a49c5cbba986bf6f3d4d0d84d220f4ae0191003914b0e0651fead785068140d5a
AUX 2.00-qa-chappa-115.patch 1312 BLAKE2B a73fe10eeeac3dd651ebd6ce72a1321d73da2fd1543dfcd4749a08c8033b74f4d35db41166afd11c133cbb42cd39d72fb9240e539abc3c1c68e2e8b583672d96 SHA512 ec6720bffdba5b853f696720ef9a74b13901ec918648c97170dce3ae8be4c2f1dc6de124662b1a9d9e08f7c626688aae81456f5afb6131594a427edc9de7c56b
AUX 2.00-qa.patch 409 BLAKE2B 2d74c9835079a8b62721f58d21c10071b69d9c3821ad5ecaa5397b791ba4ded5a68e08f2da23088a27654cc4a63c8b59631a297e139c8ddb98624e6bcfbeb049 SHA512 4c9107fe2db7688f925054b31748fc10db5c445fda5177babbee2fe543c834658f4b65ea3b4e18259acb809755bf4fa2408f47ee379d6006554ee7556b334a26
+AUX alpine-2.21.1-nopam.patch 704 BLAKE2B 2a388b75246de1282686d3b229ea2841a930eeef3c9080303e544c9430c34546c179e8a4b0f6b700f3f532a10a203929047922c5ad6e918537011df5c9bd1cdd SHA512 4c5690a96137c303350ef515f3f382160b4045612df8c1ad63a7b72de040f13e33c8aa21e34858d8b33124c4f58dd7a19edcd40c8f49b95e9bbb0746973bcf46
DIST alpine-2.00-chappa-115-all.patch.gz 212705 BLAKE2B 99c21a7b74a4ea04c3bb54947868b31f0e65eef0e35e515d14d9a701e5809fa1a7191444a353de3ba08b821bdf71543faaf261d4a427c2d1e366bbc00d4bf337 SHA512 5e9fcb6a80dbd18bed26109caa6b7aa5eeb88de420861d9998c32f031e8279d6367c28b6670fb54203d1b14c3dc47cf5ad25b42e4949157de64f3f1fd36d0aa7
DIST alpine-2.00.tar.bz2 5222673 BLAKE2B 38a9cd1fe3e291119b889bca0d304333cdf9ad8c63bc7923ea0735d3528c933b7d4dfe70bb353fe7b6047dafdaee3218a35e561f542b6ac763b60cb986509371 SHA512 17c6e65fbe767d4f9ffb3d3c2bb3deeab9d3620cd046cbb0009290aa484c9254effa992957631f0603bd82b82aeca2923d391aee6d20a7684d5830fbca8ce4d2
DIST alpine-2.21.1.tar.gz 7490699 BLAKE2B f3aeafb55697701f6edda43659c9d27c7d7dab74f8e332e867f354ce555c26037f4b642af80f18db249dd7269f80bd880bc315ba4ae08ae7f63abc7998cea073 SHA512 78b47bd9e9dfc652bc407fe736d8b7526625782c332803cf01e5214a2b0a5af21736b8a2e685348913f6e2b10c80dced12081202294e9c61e3168b3a2b9657b7
DIST alpine-843b2f1.tar.gz 7490140 BLAKE2B 13ac5ef43dd729a7cf21b44dcd6feace3e1813672aec537fd05d5ff90b67bec145ceef71cfcf35b0cb7e250bb307556f5dcf8ebb024bc6366fd0ace0a7c41161 SHA512 106caa7bfe86fd5e82554ba68b9ee579cd8495bcd0dfbf82d9d75da2df3bd292d42d67af8ec737091f2a820b2555c25bbf0058c9c7bb5de5f950b570ffc25c4d
EBUILD alpine-2.00-r7.ebuild 2681 BLAKE2B eeef58cd6d584933bd099eaa1af9410f17bc78d280e329fd0f0e5a787565ef0c582adf81bed5e8080b1aeeb92fd28823c978a9580275ef5ef07f77e480719842 SHA512 cd2655334569b2c6b55220562ccaf6dfb348ca6bd9b4e5f5ce5cb6435832c169bb55aed6e9492f98fbe1e71faf8fdde5ac1436af2fa9db606ac2d43527d448c0
EBUILD alpine-2.21.1-r1.ebuild 2236 BLAKE2B 7d07cf9514084d756342741a5f340be66379af128a4b779571d7ce1efa6ccdbef77e626022ddd22efae7d63ef9da1af8a7cda2649c8e21985ba4ebeee3092513 SHA512 028c6bc83e5d73cc884795ea13653537b9fd00ed81f412a0235de12d479b55621f085d877447256e90da81f8afdd4cfa18933701ee48551960d3826eefdff275
+EBUILD alpine-2.21.1-r2.ebuild 2219 BLAKE2B 3b2596d67ecb30f9959356e8a74a2d8bc4516723b3fa57a226e34574d8732037d0d68c79c4d94871617967f1a970346405389ccb3bff961165f65c4deb231ad1 SHA512 6ea45a6167c0a8acc11d92038fdb15e63b391b3bc6c8afed004dd6381e9a9a9243631ceb55da90e06281eabdd8dd1cf67e9f7824a46ea648fb6450bde3280afd
EBUILD alpine-2.21.1.ebuild 1997 BLAKE2B 78aaffebf416ca172151f8fcf1fc721550ea89c210c95a0b9d2ff5aebe4fd49ca4a0f8b970cfd8fba525a60660f2cb596c9cba67c06d0855bf5a89240b27e459 SHA512 53772f745778305d9fde413bfad52e0e28f3938ce1e589cbfbaabb081eb225b630bf3c5778b2b105dd61563b4dc28001b36eb101722fcc755c71a6f605d64682
MISC metadata.xml 731 BLAKE2B 56450ee7efb0663450b32b746f06718440e8b722ed72ad7b7ae5d3f100bf4930bcac1d3aa5bc198bfff6081da220020dcda7ef857409313cb050a51d6f6099cc SHA512 27adca82690095f965b98b31fb175f4215f4585ad8144fab2d3f519f2c6edc77b92f1f335ef832d0bfa99b31713e3064717e8cab75880eb44aada9fed49aaab9
diff --git a/mail-client/alpine/alpine-2.21.1-r2.ebuild b/mail-client/alpine/alpine-2.21.1-r2.ebuild
new file mode 100644
index 000000000000..cd4168685904
--- /dev/null
+++ b/mail-client/alpine/alpine-2.21.1-r2.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2019 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="https://www.washington.edu/alpine/ https://repo.or.cz/alpine.git/"
+GIT_COMMIT="843b2f16abfd949e09b1c5465387b1b0f724994a"
+MY_P="${PN}-${GIT_COMMIT::7}"
+SRC_URI="https://repo.or.cz/alpine.git/snapshot/${GIT_COMMIT}.tar.gz -> ${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
+IUSE="doc ipv6 kerberos ldap libressl nls onlyalpine pam passfile smime spell ssl threads"
+
+DEPEND=">=sys-libs/ncurses-5.1:0=
+ kerberos? ( app-crypt/mit-krb5 )
+ ldap? ( net-nds/openldap )
+ pam? ( sys-libs/pam )
+ spell? ( app-text/aspell )
+ ssl? (
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:0= )
+ )
+"
+RDEPEND="${DEPEND}
+ app-misc/mime-types
+"
+
+HTML_DOCS=("doc/tech-notes/")
+
+PATCHES=(
+ "${FILESDIR}/${P}-nopam.patch"
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+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)
+ $(use_with pam)
+ )
+
+ 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 doc/tech-notes/tech-notes.txt
+ 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
+}
diff --git a/mail-client/alpine/files/alpine-2.21.1-nopam.patch b/mail-client/alpine/files/alpine-2.21.1-nopam.patch
new file mode 100644
index 000000000000..1552f440b536
--- /dev/null
+++ b/mail-client/alpine/files/alpine-2.21.1-nopam.patch
@@ -0,0 +1,27 @@
+--- ./configure.ac 2019-11-04 20:09:50.094172283 +0100
++++ ./configure.ac 2019-11-04 20:59:33.775007247 +0100
+@@ -257,6 +257,7 @@
+ alpine_c_client_gccoptlevel="-O0"
+ AC_MSG_RESULT([no])
+ fi
++AC_ARG_WITH([pam], AS_HELP_STRING([--without-pam], [Build without PAM support]))
+
+ dnl disable mouse support
+ AC_MSG_CHECKING([option: mouse support enabled])
+@@ -1108,7 +1109,7 @@
+ alpine_PAM="yes"
+ else
+ systype="LNX"
+- AC_CHECK_LIB(pam, pam_start,
++ AS_IF(test "x$with_pam" != "xno",
+ [
+ alpine_c_client_target="lnp"
+ alpine_PAM="yes"
+@@ -1119,6 +1120,7 @@
+ else
+ alpine_c_client_target="lnx"
+ fi
++ alpine_PAM="none"
+ ])
+ fi
+ ;;