summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEray Aslan <eras@gentoo.org>2013-01-04 08:52:46 +0000
committerEray Aslan <eras@gentoo.org>2013-01-04 08:52:46 +0000
commit1f2c7460891892aecf1e8e88e73459ab7ebde63a (patch)
treec9413d8f68b1b472cafec853d53d42cbdcdcc7cf /mail-client/pine
parentRemove old (diff)
downloadhistorical-1f2c7460891892aecf1e8e88e73459ab7ebde63a.tar.gz
historical-1f2c7460891892aecf1e8e88e73459ab7ebde63a.tar.bz2
historical-1f2c7460891892aecf1e8e88e73459ab7ebde63a.zip
Remove pine from the tree - bug #371593
Package-Manager: portage-2.2.0_alpha149/cvs/Linux x86_64 Manifest-Sign-Key: 0x77F1F175586A3B1F
Diffstat (limited to 'mail-client/pine')
-rw-r--r--mail-client/pine/ChangeLog8
-rw-r--r--mail-client/pine/Manifest56
-rw-r--r--mail-client/pine/pine-4.64-r5.ebuild183
-rw-r--r--mail-client/pine/pine-4.64-r6.ebuild194
-rw-r--r--mail-client/pine/pine-4.64-r7.ebuild193
-rw-r--r--mail-client/pine/pine-4.64-r8.ebuild194
6 files changed, 40 insertions, 788 deletions
diff --git a/mail-client/pine/ChangeLog b/mail-client/pine/ChangeLog
index bbb878ea9543..bc6ad9366797 100644
--- a/mail-client/pine/ChangeLog
+++ b/mail-client/pine/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for mail-client/pine
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/pine/ChangeLog,v 1.110 2010/07/10 22:49:48 hwoarang Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/mail-client/pine/ChangeLog,v 1.111 2013/01/04 08:52:45 eras Exp $
+
+ 04 Jan 2013; Eray Aslan <eras@gentoo.org> -pine-4.64-r5.ebuild,
+ -pine-4.64-r6.ebuild, -pine-4.64-r7.ebuild, -pine-4.64-r8.ebuild:
+ Remove pine from the tree - bug #371593
*pine-4.64-r8 (10 Jul 2010)
diff --git a/mail-client/pine/Manifest b/mail-client/pine/Manifest
index 63183b5abee7..f78b9e2e1f76 100644
--- a/mail-client/pine/Manifest
+++ b/mail-client/pine/Manifest
@@ -1,22 +1,34 @@
-AUX flock.c 1182 RMD160 d79b7f1cf11c8f1c18faa86636e8d392dea53782 SHA1 da070686eff9032dcd5cd17832816fc39fa64de1 SHA256 136dc7dcc6373b85719185a3224f0dd7d2a419047543cb262388ee6cc573c7f1
-AUX imap-2000-time.patch 1646 RMD160 46eae0bb784862029321efbad63ba436a57283f4 SHA1 74b86246801a595a24353d277bd37b652bd3938d SHA256 4597e21037c834ca886ac808293ee8fcca1f81840c6840fc7e21cdf22b6d3664
-AUX imap-4.7c2-flock_4.60.patch 537 RMD160 602988309237dca090eb7443937b173448ac9b11 SHA1 a251626e0778932f55cca1ca4f37985421d280ad SHA256 7a14d930808e8b4c144540b24c3fa1ac718bff798df931e232d3d8baa51c3891
-AUX pine-4.30-ldap.patch 420 RMD160 33c78dc3cbe4b2c0b496fed18c1badffb8b5f890 SHA1 30dfaa1b6b6a675b5e997430e4cda8e43fc9aab4 SHA256 d76cbb53443794f890aa79c3be66857963b92e67ac8d31101fce11388ad4e953
-AUX pine-4.31-segfix.patch 460 RMD160 a3d0718adcbf709ac936454c9eb0d1f6e5d2c793 SHA1 4b4ff5ab485b9a60bce5e8794d34faa92a12d1ad SHA256 954e99df827b43a14c40f94705cb26405bca1670154716a76b44e21aeaee8362
-AUX pine-4.40-lockfile-perm.patch 932 RMD160 b298294d1804c80c0e694d21d09cfb4c5989199c SHA1 0c3ad342cccb02609c2766fdbc740086d9f738ff SHA256 5a111d6f7f480e0f026a77cd2112dab93e3b59319e9ce8521f0a8eedce739b18
-AUX pine-4.56-passfile.patch 504 RMD160 57e58ed0f42ccea60dc5059bad591e06dbc8ed8a SHA1 728a9f0f331720a493d5d2945ba3df267da4e08d SHA256 4b7d16282833edd74afd19ec4bcf762f32a85981f8410f217701cda079fe70fc
-AUX pine-4.61-largeterminal.patch 526 RMD160 a77f2d1adfbd35bbf0e451da391ad16928e6e69a SHA1 929a4bd3401779ce1ab7e6b0ae58a46e4620e950 SHA256 dbb21976cb0962b3a5b0e22cd6c209fbd4850a14df9d041e9d25bf9cebdedbd8
-AUX pine-4.61-subjectlength.patch 2363 RMD160 634e03b7f0d2f12ed4d1c192287fe909d928175d SHA1 f7ac703ccfbe9ddaa10a57800e827d51aad020e0 SHA256 42955b934a89440f15a1c85e9fcc344ba8f74d399e90304e0425074aef4fccb0
-AUX pine-4.62-spooldir-permissions.patch 488 RMD160 e286a3e588ab8440d6d33cc9eeb81dbc17298afb SHA1 ebeb30f3866ac3b18592af8c02275be497c4c0cb SHA256 88eb08e815586a51ab453f709b0aae7bc2a5c09f5f7f74544c4cdcf718853c9b
-AUX pine-4.64-rename-symlink.patch 860 RMD160 76a815fad144699892158cd99a1f18e55d7b6b06 SHA1 d7f909f90ba1146629b12a5dd21c7b892f21cde0 SHA256 0ae8442d1e8b7f9a9d6f64785238043c9749a0b3b46f7de4fded28b37463dc16
-AUX transparency.patch 447 RMD160 47005c14ec0efb7fc484b164da7d6df6fe2f4e90 SHA1 3358b25f7d48160b0ca0c1ad0a146564e854fd1d SHA256 404a615f1c88a6e781fb4bd8ba87657dd4c505d566c2678fd7b15bd198efca00
-DIST pine-4.64-r5-chappa-all.patch.gz 181492 RMD160 12cc42e20e23ef275cc302961e4e75c4d443666b SHA1 a2e544103e7792d9a5c9645e80756b0ba18f4014 SHA256 68ce52ec065997c9f273518c2149b5810bf9866ad6280a79515215eb346da2be
-DIST pine-4.64-r6-chappa-all.patch.gz 187656 RMD160 e92a34550e1207afce198b38199ab69e3325f872 SHA1 d0a897426cb5cbd9a247abdf85b337592d1f6ec2 SHA256 3fdf3149befeb8837613c7495ff75cdb63c157b393b040f02b90327f6398b09c
-DIST pine-4.64-r7-chappa-all.patch.gz 187959 RMD160 2e30b604eaaeec257adb39ed4716f8063f77aaa2 SHA1 c46a65155b0252f928e07b39c366c9244b2dc303 SHA256 c52d002038a697cc4ffb2bbca6a60b5d170c976752b7f4185b47e1ac4e67a47d
-DIST pine4.64.tar.bz2 3110790 RMD160 8661cd3c0875e46c8cd5eafa7c7c964f79a3b3fd SHA1 b88aeb64ec2fa30bbb38fda3a051d98dc0e19c5e SHA256 5a697f1ffed84bba2dddb3534d0829eab6dacd169ea0122621e6b3dd522eb783
-EBUILD pine-4.64-r5.ebuild 5535 RMD160 1838c09c5244239ce1f8389fdbcd9e8f38e9bbff SHA1 c8a8b4292bc859cec23946a12fbd3c636aa7dd54 SHA256 354f623d5c01ef61fcb625f029d47a4bf391bb5d396c04be03ce6ab329a30663
-EBUILD pine-4.64-r6.ebuild 5913 RMD160 b9babc98f8c7e4aac7c1e267f3d048a733f445dd SHA1 effb2065cede4a740a7047faaed94282a75448ad SHA256 3ce7a15845c24ad78f16dd7170dfc401ac1051e150bfc6d53c375064c4e888b4
-EBUILD pine-4.64-r7.ebuild 6074 RMD160 d170f75324d37d164ce3e576d19a987814a2ec94 SHA1 547f0f43f335fafe500ac6f46642943a4e9ba96c SHA256 59c0b5d848cfd4e7d66811164272840ea3ff63161e22d82d9e04887e7366e668
-EBUILD pine-4.64-r8.ebuild 6174 RMD160 5b3352ff8f68ce8a6992836081d5aac80607b713 SHA1 bc706874129d92f9ce22d7d811c31f1ac6d8d906 SHA256 6d1b10fe12dc97c937fbd1987be49acff67c4ca8a8fd12d15d6ccabcdedb3a9e
-MISC ChangeLog 23896 RMD160 56abdee052bae5f3483346e9370079e4d482beaa SHA1 5f1a6913a6c799e42f144bb760735acf2866048b SHA256 b250672dcb78aaac9a0c22e80d5055fbe11cfd963b3d3f12815ad065c326c55d
-MISC metadata.xml 399 RMD160 d040cc64dc9e8a124319a1aabfb5da6ad56baaf8 SHA1 2002632d6f4236f1db97e695d5e046dda10d832f SHA256 974021bbe96256ccf1286bcda1ca194e67f8fc0a7ce0b968007d993fd09cf08a
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX flock.c 1182 SHA256 136dc7dcc6373b85719185a3224f0dd7d2a419047543cb262388ee6cc573c7f1 SHA512 3f8a3ac2cec2c31e8c2d1a93021276e09986aeab86a282b9b30d769ae98aa9df92d401c826b283ef528d91a8025ab168f0048ea9eae91326b9b1763ee4122ce4 WHIRLPOOL 01a85c936316cf73342240e11fe2d8ef57ee6f49aab7e9d4956e59b96f665b545603af2563a1d7e09ac0c0897f0743b6312ffd2409557f06cd30201d5abb17ec
+AUX imap-2000-time.patch 1646 SHA256 4597e21037c834ca886ac808293ee8fcca1f81840c6840fc7e21cdf22b6d3664 SHA512 1fdd657138b78320f97e2ccf5e254cc5734544fbdcbe3146085ac5cc716dd677cbb201b5cfbd6050ee6507d41db86ec485bf356d0f7cec4efbb78cfcb4ffeacb WHIRLPOOL 46091d39fef57ad52db8262cc2cc09389336a3891b97691c98cd7bad147c8e233b5d0f2917bdf4557effbab44dcd3fb1d5cea9429b932c51e53c5cb26140b452
+AUX imap-4.7c2-flock_4.60.patch 537 SHA256 7a14d930808e8b4c144540b24c3fa1ac718bff798df931e232d3d8baa51c3891 SHA512 8cb781ffa290de9516966311fc410853f2a8039a1833e64df317de59325cc4cd12d7866e6b4396c00cce70bd5780739be40ee55cc7973f3577506c02ef90ecd1 WHIRLPOOL 63ee5ab781437d8dc67900e8c210f0b82cead212a474ccd85b72addbf4f5fde2e9aca65b57242b0daaa4b929731d154035cb2192eceb12c8da2930318f5e2d5a
+AUX pine-4.30-ldap.patch 420 SHA256 d76cbb53443794f890aa79c3be66857963b92e67ac8d31101fce11388ad4e953 SHA512 6073dde6be40924bdbe36d1e5a942135e017be5692bc1659178c0c4f3d565ce18ad7694103e25bc417f7cf90788e19dc108c2aa59349accd6998dcff3733ffaf WHIRLPOOL 1d97e06e9921c1454ae191c9f2dc10efa5f559fd13059aaa0f6ddd2a00c70a327678fc21184a120fb5d61e977ff6e461d74e0a3405e07b3ee8c0f5e4e88b5b81
+AUX pine-4.31-segfix.patch 460 SHA256 954e99df827b43a14c40f94705cb26405bca1670154716a76b44e21aeaee8362 SHA512 6e4e10e7dbda7e0d07c022445fd1b9437dfed7a5503d3aacdae3008746dda41600c41d76ea72402d3c50a9dd8d4bb3aef1cd6f7f6f53678797061edb788a9da9 WHIRLPOOL 5b8fb5bbe2d3dfeaf365a43ba45063dda9225a1cec65e7ad6e7c7a5197c98acfe011811636687be55a3d08796189dc32e2be710ca3dfbf3600c773332fa65832
+AUX pine-4.40-lockfile-perm.patch 932 SHA256 5a111d6f7f480e0f026a77cd2112dab93e3b59319e9ce8521f0a8eedce739b18 SHA512 a82a75cfb0afa58917c5ec02b48b66d2caf9764ec01beff76e27f7393b985658655271578cb3e912a15ebcc62fbd94799752bad470ddc9c244c24ad587192776 WHIRLPOOL f221afec8788c986468c6b7b7f526202eb363d6d90fc8811906f486e65848c420994e7fcb62a4a787169d8e18325b5e5a4f46e37beae50d7d105765d17636c05
+AUX pine-4.56-passfile.patch 504 SHA256 4b7d16282833edd74afd19ec4bcf762f32a85981f8410f217701cda079fe70fc SHA512 6e0c7b1b7b1a9e184c957690605fc56ad06a1de1e97f7a659109914ed2541605d416438eb8aecac43ed0e75e295e0760c3d4d504ae602271e1490deba4134fe7 WHIRLPOOL ecc1ccca698a8894c1c0404d1b1a62ee0b552bfcb413f33eb3ee92bd50ac9412260097179d0821e8a5142ae2050bbb18e6af284e04bdab5ff493e056766b86ae
+AUX pine-4.61-largeterminal.patch 526 SHA256 dbb21976cb0962b3a5b0e22cd6c209fbd4850a14df9d041e9d25bf9cebdedbd8 SHA512 6f0f6b351e51ace1a8d10c0f08723a7bd2e74baff8a5860bc7e0727691a4f1c957b14082c5c68bdaee080c19a43644111d59fc019456ee76ed111e228fa7c863 WHIRLPOOL ea79e5061b9f6359786fb1fe93d594e6a95efe46307576fd03288349400e56d14bcc38b8b936068ec5b3c96679b9f87753d8576ec45582f8b758905f5176c77c
+AUX pine-4.61-subjectlength.patch 2363 SHA256 42955b934a89440f15a1c85e9fcc344ba8f74d399e90304e0425074aef4fccb0 SHA512 31f5472e191179ba49327e1448f5a0d049b22d9d95527fa050a6a7254f477457a7c5fe4c22583a9f72605f0a13fb4fac037c955f125b1ebe2e74f9bc8311b2c0 WHIRLPOOL dee1c7ba2d75f3aa0ce266ab7c00544c2b9a2ff80011cb2ea6a3d2fc322b7872fa891d92c57e2b020fac439ca61d4a97bccf1d692a14285217d45638f1e49b32
+AUX pine-4.62-spooldir-permissions.patch 488 SHA256 88eb08e815586a51ab453f709b0aae7bc2a5c09f5f7f74544c4cdcf718853c9b SHA512 39e4db6977898c04d49ee92740102d131a80d562d6063589f9f8c87e07d3e154af52d9c538615a41ad9c4151a7d53570d7d2f145690fb3c5c7081e479c0840e1 WHIRLPOOL 9c4cdb22182be5ea43bc52d5fd69dc9d3f1937a3ec8847513006d9a5614391fef9757f88edc7643bd4867a5418874ee472a08273c79737def4a76207d9a2e333
+AUX pine-4.64-rename-symlink.patch 860 SHA256 0ae8442d1e8b7f9a9d6f64785238043c9749a0b3b46f7de4fded28b37463dc16 SHA512 ad97843894e803821f013a2dc58db270692465318f6cf4410d5be09d85b94ae088967f849ece5c08c55dd4f9726bbbf656c131a80ab000be4adff02b94296520 WHIRLPOOL 9475e05b3eac99eef55c3bb66e4fc5a33fdaa02b0d660f21fe69d9d4651b6583a3b74ec9eae2173dcd5ae529f2d5ae993d518e7751485ac1e21ec736f400183a
+AUX transparency.patch 447 SHA256 404a615f1c88a6e781fb4bd8ba87657dd4c505d566c2678fd7b15bd198efca00 SHA512 3bc48d505e3ae5b56c8c7240695271a302636121bcb56ef6f911a528d3710685ad7e9597acdfca815407566c5b3f552185c230997d06e39ca697ceac09271f96 WHIRLPOOL 807bd78c81deed3cc6ad1651a385ea7ece8748c1ad5d04039f4b5668fdefaa1bfca5639f4971386748c82de1053eaaa969b72a375da1ac8751eea12e02f352c4
+MISC ChangeLog 24069 SHA256 15c92a2bd71051b42ada50ec7340b419b9c97ecacf7364298108bafe6ad87965 SHA512 22133ac212ae5c1404595bcd548f92a36b4528cb73a99dc90a462f2c941553c59294683f98114accaa8a76dc7cf5a35e7768c77abdb3e06d62e82ab6d03cbc8b WHIRLPOOL d25adfd741c4dc56ece7d6530f76025c6c20873380545c5a1a1f59a06224fd84ce4cbfc4e2c6db6bc4cbaaf2d3b930fd998525450ff51bb804949e2237db0f3e
+MISC metadata.xml 399 SHA256 974021bbe96256ccf1286bcda1ca194e67f8fc0a7ce0b968007d993fd09cf08a SHA512 8802ec78cdb021cfcf1bc9fdf04d5a1752ec2445c662c3827a0546521b25c9946eabf5c1e064c4fa1ba72c4f94acf0eea91de477a171708a70c3c2e39e178f34 WHIRLPOOL 679081029b4cdcf57a28849ed4b45ee48060848262b099d2f22eabd0b2f1d102ba5f076761e610d91170e21f90c4f093b97b3f86489c9591078e4885ce379c42
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iQIcBAEBCAAGBQJQ5pheAAoJEHfx8XVYajsf3doP/1SZ05aZjD/i6MiZMP72Cngp
+ejvmYySlgpKoxYM+z2u2N8xlePlbUodt99HBojnnPXse2XknaeVP/RoeWqs1b8YQ
+Ub6cfAF9SDquDbYwnuy/6BS2XzsWb9PW6cABPARzE10q6CFE01gvbWoREgkgxPlV
+32LOeKRE9gA/dSh6POdoAj22K0tKDZO7VjsdnmPjNxY0xuLcSVYCi+jPBv9BUATd
+b/0ragB8Dd+0fm1QlHgkDgmYVtKin/Fpl4+QPFoNV6BtXIEYA9SZ5/i2/0K11bmh
+KbQbR4z6iRvOPv8ujowZ5n4JjYxnsFq4Y1wxS66jJsJqnKn7L+yRINLObp6vRkqW
++KS8bD+tedGTAHh0m13xTP0MEqouYFhb3oeolCvfwlS5qYK5qmzunxWotHdmNi9x
+PjfmuZ1VlqTWK4wu9DpsyByOlBC/kw4SKd2O+i2/o7QNMHqvHty3OoFXV0hezfSk
+sYNN5h8TAHL5NEy9nepfFqvZcEpJo7BIbB0ozcBf5SE1z3EXzrUJOm3/EHAzI8e0
+4SSNT2hF3MCUZ3n9TfdPvRj6S0MaB7mbtqZwsebiKt5aXrJFF7Kc1x2BpzqtWBGu
+JZ50Fi2V9UfjYNrzncAqaVgZZ47tJd4H2MdO/vdWy0ZIiVhM2CAwNu+gJMflj9it
+enh9LGS9D65y+aJQPEHq
+=CwmG
+-----END PGP SIGNATURE-----
diff --git a/mail-client/pine/pine-4.64-r5.ebuild b/mail-client/pine/pine-4.64-r5.ebuild
deleted file mode 100644
index c328717d1703..000000000000
--- a/mail-client/pine/pine-4.64-r5.ebuild
+++ /dev/null
@@ -1,183 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/pine/pine-4.64-r5.ebuild,v 1.15 2009/09/23 17:55:03 patrick Exp $
-
-inherit eutils
-
-# Using this ugly hack, since we're making our own versioned copies of chappa
-# patch, as upstream doesn't version them, and patch revision number doesn't
-# always have to correspond to ebuild revision number. (see #59573)
-CHAPPA_PF="${PF}"
-
-DESCRIPTION="A tool for reading, sending and managing electronic messages."
-HOMEPAGE="http://www.washington.edu/pine/
- http://staff.washington.edu/chappa/pine/"
-SRC_URI="ftp://ftp.cac.washington.edu/pine/${P/-/}.tar.bz2
- mirror://gentoo/${CHAPPA_PF}-chappa-all.patch.gz"
-# ipv6? (
-# http://www.ngn.euro6ix.org/IPv6/${PN}/${P}-v6-20031001.diff
-# http://www.ngn.euro6ix.org/IPv6/${PN}/readme.${P}-v6-20031001
-# )"
-
-LICENSE="PICO"
-SLOT="0"
-KEYWORDS="alpha amd64 ia64 ppc sparc x86"
-IUSE="ssl ldap kerberos largeterminal pam passfile debug"
-
-DEPEND=">=sys-apps/sed-4
- >=sys-libs/ncurses-5.1
- pam? ( >=sys-libs/pam-0.72 )
- ssl? ( dev-libs/openssl )
- ldap? ( net-nds/openldap )
- kerberos? ( app-crypt/mit-krb5 )"
-RDEPEND="${DEPEND}
- app-misc/mime-types
- net-mail/uw-mailutils
- !<=net-mail/uw-imap-2004g"
-
-S="${WORKDIR}/${P/-/}"
-
-maildir_warn() {
- elog
- elog "This build of Pine has Maildir support built in as"
- elog "part of the chappa-all patch."
- elog
- elog "If you have a maildir at ~/Maildir it will be your"
- elog "default INBOX. The path may be changed with the"
- elog "\"maildir-location\" setting in Pine."
- elog
- elog "To use /var/spool/mail INBOX again, set"
- elog "\"disable-these-drivers=md\" in your .pinerc file."
- elog
- elog "Alternately, you might want to read following webpage, which explains how to"
- elog "use multiple mailboxes simultaneously:"
- elog
- elog "http://www.math.washington.edu/~chappa/pine/pine-info/collections/incoming-folders/"
- echo
-}
-
-pkg_setup() {
- maildir_warn
-}
-
-src_unpack() {
- unpack ${A} && cd "${S}"
-
- epatch "${FILESDIR}/pine-4.62-spooldir-permissions.patch"
-
- # Various fixes and features.
- epatch "${WORKDIR}/${CHAPPA_PF}-chappa-all.patch"
- # Fix flock() emulation.
- cp "${FILESDIR}/flock.c" "${S}/imap/src/osdep/unix" || die
- # Build the flock() emulation.
- epatch "${FILESDIR}/imap-4.7c2-flock_4.60.patch"
- if use ldap ; then
- # Link to shared ldap libs instead of static.
- epatch "${FILESDIR}/pine-4.30-ldap.patch"
- mkdir "${S}/ldap"
- ln -s /usr/lib "${S}/ldap/libraries"
- ln -s /usr/include "${S}/ldap/include"
- fi
-# if use ipv6 ; then
-# epatch "${DISTDIR}/${P}-v6-20031001.diff" || die
-# fi
- if use passfile ; then
- #Is this really the correct place to define it?
- epatch "${FILESDIR}/pine-4.56-passfile.patch"
- fi
- if use largeterminal ; then
- # Add support for large terminals by doubling the size of pine's internal display buffer
- epatch "${FILESDIR}/pine-4.61-largeterminal.patch"
- fi
-
- # Something from RedHat.
- epatch "${FILESDIR}/pine-4.31-segfix.patch"
- # Create lockfiles with a mode of 0600 instead of 0666.
- epatch "${FILESDIR}/pine-4.40-lockfile-perm.patch"
- # Add missing time.h includes.
- epatch "${FILESDIR}/imap-2000-time.patch"
- # Bug #23336 - makes pine transparent in terms that support it.
- epatch "${FILESDIR}/transparency.patch"
- # Bug #72861 - relaxes subject length for base64-encoded subjects
- epatch "${FILESDIR}/pine-4.61-subjectlength.patch"
- # Bug #58664 - preserve symlink if a file gets rewritten
- epatch "${FILESDIR}/${P}-rename-symlink.patch"
-
- if use debug ; then
- sed -e "s:-g -DDEBUG -DDEBUGJOURNAL:${CFLAGS} -g -DDEBUG -DDEBUGJOURNAL:" \
- -i "${S}/pine/makefile.lnx" || die "sed pine/makefile.lnx failed"
- sed -e "s:-g -DDEBUG:${CFLAGS} -g -DDEBUG:" \
- -i "${S}/pico/makefile.lnx" || die "sed pico/makefile.lnx failed"
- else
- sed -e "s:-g -DDEBUG -DDEBUGJOURNAL:${CFLAGS}:" \
- -i "${S}/pine/makefile.lnx" || die "sed pine/makefile.lnx failed"
- sed -e "s:-g -DDEBUG:${CFLAGS}:" \
- -i "${S}/pico/makefile.lnx" || die "sed pico/makefile.lnx failed"
- fi
-
- sed -e "s:/usr/local/lib/pine.conf:/etc/pine.conf:" \
- -i "${S}/pine/osdep/os-lnx.h" || die "sed os-lnx.h failed"
-}
-
-src_compile() {
- local myconf
- if use ssl ; then
- myconf="${myconf} SSLDIR=/usr SSLTYPE=unix SSLCERTS=/etc/ssl/certs"
- sed -e "s:\$(SSLDIR)/certs:/etc/ssl/certs:" \
- -e "s:\$(SSLCERTS):/etc/ssl/certs:" \
- -e "s:-I\$(SSLINCLUDE) ::" \
- -i "${S}/imap/src/osdep/unix/Makefile" || die "sed Makefile failed"
- else
- myconf="${myconf} NOSSL"
- fi
- if use ldap ; then
- ./contrib/ldap-setup lnp lnp
- myconf="${myconf} LDAPCFLAGS=-DENABLE_LDAP"
- else
- myconf="${myconf} NOLDAP"
- fi
- if use kerberos ; then
- myconf="${myconf} EXTRAAUTHENTICATORS=gss"
- fi
-
- if use pam ; then
- target=lnp
- else
- target=slx
- fi
-
- ./build ${myconf} ${target} || die "compile problem"
-}
-
-src_install() {
- dobin bin/pine bin/pico bin/pilot bin/rpdump bin/rpload
-
- # Only mailbase should install /etc/mailcap
-# newins doc/mailcap.unx mailcap
-
- doman doc/pine.1 doc/pico.1 doc/pilot.1 doc/rpdump.1 doc/rpload.1
- dodoc CPYRIGHT README doc/brochure.txt doc/tech-notes.txt
-# if use ipv6 ; then
-# dodoc "${DISTDIR}/readme.${P}-v6-20031001"
-# fi
-
- docinto imap
- dodoc imap/docs/*.txt imap/docs/CONFIG imap/docs/RELNOTES
-
- docinto imap/rfc
- dodoc imap/docs/rfc/*.txt
-
- docinto html/tech-notes
- dohtml -r doc/tech-notes/
-}
-
-pkg_postinst() {
- maildir_warn
-
- if use passfile ; then
- elog
- elog "Pine will cache passwords between connections."
- elog "File ~/.pinepw will be used for this."
- elog
- fi
-}
diff --git a/mail-client/pine/pine-4.64-r6.ebuild b/mail-client/pine/pine-4.64-r6.ebuild
deleted file mode 100644
index dabdb4c28215..000000000000
--- a/mail-client/pine/pine-4.64-r6.ebuild
+++ /dev/null
@@ -1,194 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/pine/pine-4.64-r6.ebuild,v 1.7 2010/06/25 17:45:22 armin76 Exp $
-
-inherit eutils
-
-# Using this ugly hack, since we're making our own versioned copies of chappa
-# patch, as upstream doesn't version them, and patch revision number doesn't
-# always have to correspond to ebuild revision number. (see #59573)
-CHAPPA_PF="${PF}"
-
-DESCRIPTION="A tool for reading, sending and managing electronic messages."
-HOMEPAGE="http://www.washington.edu/pine/
- http://staff.washington.edu/chappa/pine/"
-SRC_URI="ftp://ftp.cac.washington.edu/pine/${P/-/}.tar.bz2
- mirror://gentoo/${CHAPPA_PF}-chappa-all.patch.gz"
-# ipv6? (
-# http://www.ngn.euro6ix.org/IPv6/${PN}/${P}-v6-20031001.diff
-# http://www.ngn.euro6ix.org/IPv6/${PN}/readme.${P}-v6-20031001
-# )"
-
-LICENSE="PICO"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 -ia64 ~ppc ~sparc ~x86 ~x86-fbsd"
-IUSE="ssl ldap kerberos largeterminal pam passfile debug"
-
-DEPEND=">=sys-apps/sed-4
- >=sys-libs/ncurses-5.1
- pam? ( virtual/pam )
- ssl? ( dev-libs/openssl )
- ldap? ( net-nds/openldap )
- kerberos? ( app-crypt/mit-krb5 )"
-RDEPEND="${DEPEND}
- app-misc/mime-types
- net-mail/uw-mailutils
- !<=net-mail/uw-imap-2004g"
-
-S="${WORKDIR}/${P/-/}"
-
-maildir_warn() {
- einfo
- einfo "This build of Pine has Maildir support built in as"
- einfo "part of the chappa-all patch."
- einfo
- einfo "If you have a maildir at ~/Maildir it will be your"
- einfo "default INBOX. The path may be changed with the"
- einfo "\"maildir-location\" setting in Pine."
- einfo
- einfo "To use /var/spool/mail INBOX again, set"
- einfo "\"disable-these-drivers=md\" in your .pinerc file."
- einfo
- einfo "Alternately, you might want to read following webpage, which explains how to"
- einfo "use multiple mailboxes simultaneously:"
- echo
- echo "http://www.math.washington.edu/~chappa/pine/pine-info/collections/incoming-folders/"
- echo
-}
-
-pkg_setup() {
- maildir_warn
-}
-
-src_unpack() {
- unpack ${A} && cd "${S}"
-
- epatch "${FILESDIR}/pine-4.62-spooldir-permissions.patch"
-
- # Various fixes and features.
- epatch "${WORKDIR}/${CHAPPA_PF}-chappa-all.patch"
- # Fix flock() emulation.
- cp "${FILESDIR}/flock.c" "${S}/imap/src/osdep/unix" || die
- # Build the flock() emulation.
- epatch "${FILESDIR}/imap-4.7c2-flock_4.60.patch"
- if use ldap ; then
- # Link to shared ldap libs instead of static.
- epatch "${FILESDIR}/pine-4.30-ldap.patch"
- mkdir "${S}/ldap"
- ln -s /usr/lib "${S}/ldap/libraries"
- ln -s /usr/include "${S}/ldap/include"
- fi
-# if use ipv6 ; then
-# epatch "${DISTDIR}/${P}-v6-20031001.diff" || die
-# fi
- if use passfile ; then
- #Is this really the correct place to define it?
- epatch "${FILESDIR}/pine-4.56-passfile.patch"
- fi
- if use largeterminal ; then
- # Add support for large terminals by doubling the size of pine's internal display buffer
- epatch "${FILESDIR}/pine-4.61-largeterminal.patch"
- fi
-
- # Something from RedHat.
- epatch "${FILESDIR}/pine-4.31-segfix.patch"
- # Create lockfiles with a mode of 0600 instead of 0666.
- epatch "${FILESDIR}/pine-4.40-lockfile-perm.patch"
- # Add missing time.h includes.
- epatch "${FILESDIR}/imap-2000-time.patch"
- # Bug #23336 - makes pine transparent in terms that support it.
- epatch "${FILESDIR}/transparency.patch"
- # Bug #72861 - relaxes subject length for base64-encoded subjects
- epatch "${FILESDIR}/pine-4.61-subjectlength.patch"
- # Bug #58664 - preserve symlink if a file gets rewritten
- epatch "${FILESDIR}/${P}-rename-symlink.patch"
-
- if use debug ; then
- sed -e "s:-g -DDEBUG -DDEBUGJOURNAL:${CFLAGS} -g -DDEBUG -DDEBUGJOURNAL:" \
- -i "${S}/pine/makefile.lnx" || die "sed pine/makefile.lnx failed"
- sed -e "s:-g -DDEBUG:${CFLAGS} -g -DDEBUG:" \
- -i "${S}/pico/makefile.lnx" || die "sed pico/makefile.lnx failed"
- else
- sed -e "s:-g -DDEBUG -DDEBUGJOURNAL:${CFLAGS}:" \
- -i "${S}/pine/makefile.lnx" || die "sed pine/makefile.lnx failed"
- sed -e "s:-g -DDEBUG:${CFLAGS}:" \
- -i "${S}/pico/makefile.lnx" || die "sed pico/makefile.lnx failed"
- fi
-
- sed -e "s:/usr/local/lib/pine.conf:/etc/pine.conf:" \
- -i "${S}/pine/osdep/os-lnx.h" || die "sed os-lnx.h failed"
-
- sed -e "s:/usr/local/lib/pine.conf:/etc/pine.conf:" \
- -i "${S}/pine/osdep/os-bsf.h" || die "sed os-bsf.h failed"
-
- # We use ncurses for FreeBSD
- for x in "${S}"/*/makefile.bsf ; do
- sed -e "s/-ltermcap/-lcurses/g" -e "s/-ltermlib/-lcurses/g" \
- -i "${x}" || die "sed ${x} failed"
- done
-}
-
-src_compile() {
- local myconf
- if use ssl ; then
- myconf="${myconf} SSLDIR=/usr SSLTYPE=unix SSLCERTS=/etc/ssl/certs"
- sed -e "s:\$(SSLDIR)/certs:/etc/ssl/certs:" \
- -e "s:\$(SSLCERTS):/etc/ssl/certs:" \
- -e "s:-I\$(SSLINCLUDE):-I/usr/include/openssl:" \
- -i "${S}/imap/src/osdep/unix/Makefile" || die "sed Makefile failed"
- else
- myconf="${myconf} NOSSL"
- fi
- if use ldap ; then
- ./contrib/ldap-setup lnp lnp
- myconf="${myconf} LDAPCFLAGS=-DENABLE_LDAP"
- else
- myconf="${myconf} NOLDAP"
- fi
- if use kerberos ; then
- myconf="${myconf} EXTRAAUTHENTICATORS=gss"
- fi
-
- if use elibc_FreeBSD ; then
- target=bsf
- elif use pam ; then
- target=lnp
- else
- target=slx
- fi
-
- ./build ${myconf} ${target} || die "compile problem"
-}
-
-src_install() {
- dobin bin/pine bin/pico bin/pilot bin/rpdump bin/rpload
-
- # Only mailbase should install /etc/mailcap
-# newins doc/mailcap.unx mailcap
-
- doman doc/pine.1 doc/pico.1 doc/pilot.1 doc/rpdump.1 doc/rpload.1
- dodoc CPYRIGHT README doc/brochure.txt doc/tech-notes.txt
-# if use ipv6 ; then
-# dodoc "${DISTDIR}/readme.${P}-v6-20031001"
-# fi
-
- docinto imap
- dodoc imap/docs/*.txt imap/docs/CONFIG imap/docs/RELNOTES
-
- docinto imap/rfc
- dodoc imap/docs/rfc/*.txt
-
- docinto html/tech-notes
- dohtml -r doc/tech-notes/
-}
-
-pkg_postinst() {
- maildir_warn
-
- if use passfile ; then
- elog
- elog "Pine will cache passwords between connections."
- elog "File ~/.pinepw will be used for this."
- elog
- fi
-}
diff --git a/mail-client/pine/pine-4.64-r7.ebuild b/mail-client/pine/pine-4.64-r7.ebuild
deleted file mode 100644
index 55ee8a01cf66..000000000000
--- a/mail-client/pine/pine-4.64-r7.ebuild
+++ /dev/null
@@ -1,193 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/pine/pine-4.64-r7.ebuild,v 1.8 2010/06/25 17:45:22 armin76 Exp $
-
-EAPI=3
-inherit eutils
-
-# Using this ugly hack, since we're making our own versioned copies of chappa
-# patch, as upstream doesn't version them, and patch revision number doesn't
-# always have to correspond to ebuild revision number. (see #59573)
-CHAPPA_PF="${PF}"
-
-DESCRIPTION="A tool for reading, sending and managing electronic messages."
-HOMEPAGE="http://www.washington.edu/pine/
- http://staff.washington.edu/chappa/pine/"
-SRC_URI="ftp://ftp.cac.washington.edu/pine/${P/-/}.tar.bz2
- mirror://gentoo/${CHAPPA_PF}-chappa-all.patch.gz"
-# ipv6? (
-# http://www.ngn.euro6ix.org/IPv6/${PN}/${P}-v6-20031001.diff
-# http://www.ngn.euro6ix.org/IPv6/${PN}/readme.${P}-v6-20031001
-# )"
-
-LICENSE="PICO"
-SLOT="0"
-KEYWORDS="alpha amd64 -ia64 ppc sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="ssl ldap kerberos largeterminal pam passfile debug"
-
-DEPEND=">=sys-apps/sed-4
- >=sys-libs/ncurses-5.1
- pam? ( virtual/pam )
- ssl? ( dev-libs/openssl )
- ldap? ( net-nds/openldap )
- kerberos? ( app-crypt/mit-krb5 )"
-RDEPEND="${DEPEND}
- app-misc/mime-types
- net-mail/uw-mailutils
- !<=net-mail/uw-imap-2004g"
-
-S="${WORKDIR}/${P/-/}"
-
-maildir_warn() {
- einfo
- einfo "This build of Pine has Maildir support built in as"
- einfo "part of the chappa-all patch."
- einfo
- einfo "If you have a maildir at ~/Maildir it will be your"
- einfo "default INBOX. The path may be changed with the"
- einfo "\"maildir-location\" setting in Pine."
- einfo
- einfo "To use /var/spool/mail INBOX again, set"
- einfo "\"disable-these-drivers=md\" in your .pinerc file."
- einfo
- einfo "Alternately, you might want to read following webpage, which explains how to"
- einfo "use multiple mailboxes simultaneously:"
- echo
- echo "http://www.math.washington.edu/~chappa/pine/pine-info/collections/incoming-folders/"
- echo
-}
-
-pkg_setup() {
- maildir_warn
-}
-
-src_prepare() {
- epatch "${FILESDIR}/pine-4.62-spooldir-permissions.patch"
-
- # Various fixes and features.
- epatch "${WORKDIR}/${CHAPPA_PF}-chappa-all.patch"
- # Fix flock() emulation.
- cp "${FILESDIR}/flock.c" "${S}/imap/src/osdep/unix" || die
- # Build the flock() emulation.
- epatch "${FILESDIR}/imap-4.7c2-flock_4.60.patch"
- if use ldap ; then
- # Link to shared ldap libs instead of static.
- epatch "${FILESDIR}/pine-4.30-ldap.patch"
- mkdir "${S}/ldap"
- ln -s /usr/lib "${S}/ldap/libraries"
- ln -s /usr/include "${S}/ldap/include"
- fi
-# if use ipv6 ; then
-# epatch "${DISTDIR}/${P}-v6-20031001.diff" || die
-# fi
- if use passfile ; then
- #Is this really the correct place to define it?
- epatch "${FILESDIR}/pine-4.56-passfile.patch"
- fi
- if use largeterminal ; then
- # Add support for large terminals by doubling the size of pine's internal display buffer
- epatch "${FILESDIR}/pine-4.61-largeterminal.patch"
- fi
-
- # Something from RedHat.
- epatch "${FILESDIR}/pine-4.31-segfix.patch"
- # Create lockfiles with a mode of 0600 instead of 0666.
- epatch "${FILESDIR}/pine-4.40-lockfile-perm.patch"
- # Add missing time.h includes.
- epatch "${FILESDIR}/imap-2000-time.patch"
- # Bug #23336 - makes pine transparent in terms that support it.
- epatch "${FILESDIR}/transparency.patch"
- # Bug #72861 - relaxes subject length for base64-encoded subjects
- epatch "${FILESDIR}/pine-4.61-subjectlength.patch"
- # Bug #58664 - preserve symlink if a file gets rewritten
- epatch "${FILESDIR}/${P}-rename-symlink.patch"
-
- if use debug ; then
- sed -e "s:-g -DDEBUG -DDEBUGJOURNAL:${CFLAGS} -g -DDEBUG -DDEBUGJOURNAL:" \
- -i "${S}/pine/makefile.lnx" || die "sed pine/makefile.lnx failed"
- sed -e "s:-g -DDEBUG:${CFLAGS} -g -DDEBUG:" \
- -i "${S}/pico/makefile.lnx" || die "sed pico/makefile.lnx failed"
- else
- sed -e "s:-g -DDEBUG -DDEBUGJOURNAL:${CFLAGS}:" \
- -i "${S}/pine/makefile.lnx" || die "sed pine/makefile.lnx failed"
- sed -e "s:-g -DDEBUG:${CFLAGS}:" \
- -i "${S}/pico/makefile.lnx" || die "sed pico/makefile.lnx failed"
- fi
-
- sed -e "s:/usr/local/lib/pine.conf:${EPREFIX}/etc/pine.conf:" \
- -i "${S}/pine/osdep/os-lnx.h" || die "sed os-lnx.h failed"
-
- sed -e "s:/usr/local/lib/pine.conf:/etc/pine.conf:" \
- -i "${S}/pine/osdep/os-bsf.h" || die "sed os-bsf.h failed"
-
- # We use ncurses for FreeBSD
- for x in "${S}"/*/makefile.bsf ; do
- sed -e "s/-ltermcap/-lcurses/g" -e "s/-ltermlib/-lcurses/g" \
- -i "${x}" || die "sed ${x} failed"
- done
-}
-
-src_compile() {
- local myconf
- if use ssl ; then
- myconf="${myconf} SSLDIR=${EPREFIX}/usr SSLTYPE=unix SSLCERTS=${EPREFIX}/etc/ssl/certs"
- sed -e "s:\$(SSLDIR)/certs:${EPREFIX}/etc/ssl/certs:" \
- -e "s:\$(SSLCERTS):${EPREFIX}/etc/ssl/certs:" \
- -e "s:-I\$(SSLINCLUDE):-I${EPREFIX}/usr/include/openssl:" \
- -i "${S}/imap/src/osdep/unix/Makefile" || die "sed Makefile failed"
- else
- myconf="${myconf} NOSSL"
- fi
- if use ldap ; then
- ./contrib/ldap-setup lnp lnp
- myconf="${myconf} LDAPCFLAGS=-DENABLE_LDAP"
- else
- myconf="${myconf} NOLDAP"
- fi
- if use kerberos ; then
- myconf="${myconf} EXTRAAUTHENTICATORS=gss"
- fi
-
- if use elibc_FreeBSD ; then
- target=bsf
- elif use pam ; then
- [[ ${CHOST} == *-darwin* ]] && target=oxp || target=lnp
- else
- [[ ${CHOST} == *-darwin* ]] && target=osx || target=slx
- fi
-
- ./build ${myconf} ${target} || die "compile problem"
-}
-
-src_install() {
- dobin bin/pine bin/pico bin/pilot bin/rpdump bin/rpload
-
- # Only mailbase should install /etc/mailcap
-# newins doc/mailcap.unx mailcap
-
- doman doc/pine.1 doc/pico.1 doc/pilot.1 doc/rpdump.1 doc/rpload.1
- dodoc CPYRIGHT README doc/brochure.txt doc/tech-notes.txt
-# if use ipv6 ; then
-# dodoc "${DISTDIR}/readme.${P}-v6-20031001"
-# fi
-
- docinto imap
- dodoc imap/docs/*.txt imap/docs/CONFIG imap/docs/RELNOTES
-
- docinto imap/rfc
- dodoc imap/docs/rfc/*.txt
-
- docinto html/tech-notes
- dohtml -r doc/tech-notes/
-}
-
-pkg_postinst() {
- maildir_warn
-
- if use passfile ; then
- elog
- elog "Pine will cache passwords between connections."
- elog "File ~/.pinepw will be used for this."
- elog
- fi
-}
diff --git a/mail-client/pine/pine-4.64-r8.ebuild b/mail-client/pine/pine-4.64-r8.ebuild
deleted file mode 100644
index 1552645ec839..000000000000
--- a/mail-client/pine/pine-4.64-r8.ebuild
+++ /dev/null
@@ -1,194 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/pine/pine-4.64-r8.ebuild,v 1.1 2010/07/10 22:49:48 hwoarang Exp $
-
-EAPI=3
-inherit eutils
-
-# Using this ugly hack, since we're making our own versioned copies of chappa
-# patch, as upstream doesn't version them, and patch revision number doesn't
-# always have to correspond to ebuild revision number. (see #59573)
-CHAPPA_PF="${P}-r7"
-
-DESCRIPTION="A tool for reading, sending and managing electronic messages."
-HOMEPAGE="http://www.washington.edu/pine/
- http://staff.washington.edu/chappa/pine/"
-SRC_URI="ftp://ftp.cac.washington.edu/pine/${P/-/}.tar.bz2
- mirror://gentoo/${CHAPPA_PF}-chappa-all.patch.gz"
-# ipv6? (
-# http://www.ngn.euro6ix.org/IPv6/${PN}/${P}-v6-20031001.diff
-# http://www.ngn.euro6ix.org/IPv6/${PN}/readme.${P}-v6-20031001
-# )"
-
-LICENSE="PICO"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 -ia64 ~ppc ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE="ssl ldap kerberos largeterminal pam passfile debug"
-
-DEPEND=">=sys-apps/sed-4
- >=sys-libs/ncurses-5.1
- pam? ( virtual/pam )
- ssl? ( dev-libs/openssl )
- ldap? ( net-nds/openldap )
- kerberos? ( app-crypt/mit-krb5 )"
-RDEPEND="${DEPEND}
- app-misc/mime-types
- net-mail/uw-mailutils
- !<=net-mail/uw-imap-2004g"
-
-S="${WORKDIR}/${P/-/}"
-
-maildir_warn() {
- einfo
- einfo "This build of Pine has Maildir support built in as"
- einfo "part of the chappa-all patch."
- einfo
- einfo "If you have a maildir at ~/Maildir it will be your"
- einfo "default INBOX. The path may be changed with the"
- einfo "\"maildir-location\" setting in Pine."
- einfo
- einfo "To use /var/spool/mail INBOX again, set"
- einfo "\"disable-these-drivers=md\" in your .pinerc file."
- einfo
- einfo "Alternately, you might want to read following webpage, which explains how to"
- einfo "use multiple mailboxes simultaneously:"
- echo
- echo "http://www.math.washington.edu/~chappa/pine/pine-info/collections/incoming-folders/"
- echo
-}
-
-pkg_setup() {
- maildir_warn
-}
-
-src_prepare() {
- epatch "${FILESDIR}/pine-4.62-spooldir-permissions.patch"
-
- # Various fixes and features.
- epatch "${WORKDIR}/${CHAPPA_PF}-chappa-all.patch"
- # Fix flock() emulation.
- cp "${FILESDIR}/flock.c" "${S}/imap/src/osdep/unix" || die
- # Build the flock() emulation.
- epatch "${FILESDIR}/imap-4.7c2-flock_4.60.patch"
- if use ldap ; then
- # Link to shared ldap libs instead of static.
- epatch "${FILESDIR}/pine-4.30-ldap.patch"
- mkdir "${S}/ldap"
- ln -s /usr/lib "${S}/ldap/libraries"
- ln -s /usr/include "${S}/ldap/include"
- fi
-# if use ipv6 ; then
-# epatch "${DISTDIR}/${P}-v6-20031001.diff" || die
-# fi
- if use passfile ; then
- #Is this really the correct place to define it?
- epatch "${FILESDIR}/pine-4.56-passfile.patch"
- fi
- if use largeterminal ; then
- # Add support for large terminals by doubling the size of pine's internal display buffer
- epatch "${FILESDIR}/pine-4.61-largeterminal.patch"
- fi
-
- # Something from RedHat.
- epatch "${FILESDIR}/pine-4.31-segfix.patch"
- # Create lockfiles with a mode of 0600 instead of 0666.
- epatch "${FILESDIR}/pine-4.40-lockfile-perm.patch"
- # Add missing time.h includes.
- epatch "${FILESDIR}/imap-2000-time.patch"
- # Bug #23336 - makes pine transparent in terms that support it.
- epatch "${FILESDIR}/transparency.patch"
- # Bug #72861 - relaxes subject length for base64-encoded subjects
- epatch "${FILESDIR}/pine-4.61-subjectlength.patch"
- # Bug #58664 - preserve symlink if a file gets rewritten
- epatch "${FILESDIR}/${P}-rename-symlink.patch"
-
- if use debug ; then
- sed -e "s:-g -DDEBUG -DDEBUGJOURNAL:${CFLAGS} -g -DDEBUG -DDEBUGJOURNAL:" \
- -i "${S}/pine/makefile.lnx" || die "sed pine/makefile.lnx failed"
- sed -e "s:-g -DDEBUG:${CFLAGS} -g -DDEBUG:" \
- -i "${S}/pico/makefile.lnx" || die "sed pico/makefile.lnx failed"
- else
- sed -e "s:-g -DDEBUG -DDEBUGJOURNAL:${CFLAGS}:" \
- -i "${S}/pine/makefile.lnx" || die "sed pine/makefile.lnx failed"
- sed -e "s:-g -DDEBUG:${CFLAGS}:" \
- -i "${S}/pico/makefile.lnx" || die "sed pico/makefile.lnx failed"
- fi
-
- sed -e "s:/usr/local/lib/pine.conf:${EPREFIX}/etc/pine.conf:" \
- -i "${S}/pine/osdep/os-lnx.h" || die "sed os-lnx.h failed"
-
- sed -e "s:/usr/local/lib/pine.conf:/etc/pine.conf:" \
- -i "${S}/pine/osdep/os-bsf.h" || die "sed os-bsf.h failed"
-
- # We use ncurses for FreeBSD
- for x in "${S}"/*/makefile.bsf ; do
- sed -e "s/-ltermcap/-lcurses/g" -e "s/-ltermlib/-lcurses/g" \
- -i "${x}" || die "sed ${x} failed"
- done
-}
-
-src_compile() {
- local myconf
- if use ssl ; then
- myconf="${myconf} SSLDIR=${EPREFIX}/usr SSLTYPE=unix SSLCERTS=${EPREFIX}/etc/ssl/certs"
- sed -e "s:\$(SSLDIR)/certs:${EPREFIX}/etc/ssl/certs:" \
- -e "s:\$(SSLCERTS):${EPREFIX}/etc/ssl/certs:" \
- -e "s:-I\$(SSLINCLUDE):-I${EPREFIX}/usr/include/openssl:" \
- -i "${S}/imap/src/osdep/unix/Makefile" || die "sed Makefile failed"
- else
- myconf="${myconf} NOSSL"
- fi
- if use ldap ; then
- ./contrib/ldap-setup lnp lnp
- myconf="${myconf} LDAPCFLAGS=-DENABLE_LDAP"
- else
- myconf="${myconf} NOLDAP"
- fi
- if use kerberos ; then
- myconf="${myconf} EXTRAAUTHENTICATORS=gss"
- fi
-
- if use elibc_FreeBSD ; then
- target=bsf
- elif use pam ; then
- [[ ${CHOST} == *-darwin* ]] && target=oxp || target=lnp
- else
- [[ ${CHOST} == *-darwin* ]] && target=osx || target=slx
- fi
- myconf="${myconf} CC=\"$(tc-getCC)\""
- ./build ${myconf} ${target} EXTRACFLAGS="${CFLAGS}" \
- EXTRALDFLAGS="${LDFLAGS}" || die "compile problem"
-}
-
-src_install() {
- dobin bin/pine bin/pico bin/pilot bin/rpdump bin/rpload
-
- # Only mailbase should install /etc/mailcap
-# newins doc/mailcap.unx mailcap
-
- doman doc/pine.1 doc/pico.1 doc/pilot.1 doc/rpdump.1 doc/rpload.1
- dodoc CPYRIGHT README doc/brochure.txt doc/tech-notes.txt
-# if use ipv6 ; then
-# dodoc "${DISTDIR}/readme.${P}-v6-20031001"
-# fi
-
- docinto imap
- dodoc imap/docs/*.txt imap/docs/CONFIG imap/docs/RELNOTES
-
- docinto imap/rfc
- dodoc imap/docs/rfc/*.txt
-
- docinto html/tech-notes
- dohtml -r doc/tech-notes/
-}
-
-pkg_postinst() {
- maildir_warn
-
- if use passfile ; then
- elog
- elog "Pine will cache passwords between connections."
- elog "File ~/.pinepw will be used for this."
- elog
- fi
-}