diff options
author | Eray Aslan <eras@gentoo.org> | 2012-10-24 13:11:03 +0000 |
---|---|---|
committer | Eray Aslan <eras@gentoo.org> | 2012-10-24 13:11:03 +0000 |
commit | 12f5008e9b5c3c2a38aa228cd0cf9e933c657cfa (patch) | |
tree | c8345e86380024d4144a84b6fd96cb5e752f4d33 /mail-client | |
parent | Mask experimental =mail-client/squirrelmail-1.4.23* (diff) | |
download | historical-12f5008e9b5c3c2a38aa228cd0cf9e933c657cfa.tar.gz historical-12f5008e9b5c3c2a38aa228cd0cf9e933c657cfa.tar.bz2 historical-12f5008e9b5c3c2a38aa228cd0cf9e933c657cfa.zip |
Version bump for php-5.4 trouble - bug #439404
Package-Manager: portage-2.2.0_alpha141/cvs/Linux x86_64
Manifest-Sign-Key: 0x77F1F175586A3B1F
Diffstat (limited to 'mail-client')
-rw-r--r-- | mail-client/squirrelmail/ChangeLog | 8 | ||||
-rw-r--r-- | mail-client/squirrelmail/Manifest | 62 | ||||
-rw-r--r-- | mail-client/squirrelmail/squirrelmail-1.4.23_pre20121024.ebuild | 209 |
3 files changed, 248 insertions, 31 deletions
diff --git a/mail-client/squirrelmail/ChangeLog b/mail-client/squirrelmail/ChangeLog index 27852aa43351..74a67778eb2b 100644 --- a/mail-client/squirrelmail/ChangeLog +++ b/mail-client/squirrelmail/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for mail-client/squirrelmail # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-client/squirrelmail/ChangeLog,v 1.168 2012/04/24 13:49:17 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-client/squirrelmail/ChangeLog,v 1.169 2012/10/24 13:10:53 eras Exp $ + +*squirrelmail-1.4.23_pre20121024 (24 Oct 2012) + + 24 Oct 2012; Eray Aslan <eras@gentoo.org> + +squirrelmail-1.4.23_pre20121024.ebuild: + Version bump for php-5.4 trouble - bug #439404 24 Apr 2012; Tomáš Chvátal <scarabeus@gentoo.org> squirrelmail-1.4.22.ebuild: Depend only on aspell so ispell can slowly die. diff --git a/mail-client/squirrelmail/Manifest b/mail-client/squirrelmail/Manifest index f4cd9832a2c9..eeab5d445c50 100644 --- a/mail-client/squirrelmail/Manifest +++ b/mail-client/squirrelmail/Manifest @@ -1,35 +1,37 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 +Hash: SHA256 -AUX ldapuserdata-0.4-gentoo.patch 709 RMD160 a7b5fe1aba60530c193919ecb6b213cdd57dddf8 SHA1 99f5dd6f4e9666d6d3915c3e52c2694d1dc06a9e SHA256 bff9cf8e7518df983b03b3f4e7f10fcf31fb75f6d73afb21c8923f2a8312b4a3 -AUX postinstall-en.txt 698 RMD160 7f3b2cfad0cb7c0eef53ecd7ecb49553217d55e7 SHA1 550846016b3ae303e121f87d3cfae0a8ddc754cf SHA256 4e3702651bb5cce4cc517a2b2bed3e71b137167645138bc72c0cedab4ba98da3 -DIST admin_add.0.1-1.4.0.tar.gz 2388 RMD160 6847934c59ae73119a796c6fef251de26a2ea531 SHA1 9265289ac5b67549590e82d10560d05295a8a5e6 SHA256 25ec999eea098a509f7d49cfe368b0557b64c698f86b2a2c951617f67735dabc -DIST all_locales-1.4.18-20090526.tar.bz2 3898341 RMD160 e77b7174181dd187caeb9eb43c1cb22ba064d27d SHA1 098372a3493afd37d912c0b348927ec37a16dd60 SHA256 b9198127084407950ad6158e030c76fdf9be5fd0d0abd69c606fb7757ae246c6 -DIST amavisnewsql-0.8.0-1.4.tar.gz 101008 RMD160 72b796565f128354c51e8a04384e49621371cf16 SHA1 29bfa703c047cf5416e4062198ed7c267ef6bbfa SHA256 f9ef453f80e0a44a22c695712b44af935f6d1a505239bd0cb6470fc27608041c -DIST compatibility-2.0.16-1.0.tar.gz 41497 RMD160 3a5207cd9f23f64ffd8b7882e9c5965efaaad5d9 SHA1 0107fb428a2400bdd7fb3280a1e3226e06e152fb SHA256 bf179d29223fc76ff6609fdf5146d8f488c603314a343ef70e41f77267de0261 -DIST ldapuserdata-0.4.tar.gz 67439 RMD160 6f7fa3eab6eb2877057fc4d9d360da2e10858ba6 SHA1 b2ad3425607be839e3e4b9cc212b9c8a40ff439b SHA256 ee10b97e99c35b0656e7e87f60785408f3d26a53ee2a0107d8aa04f7947c3ff7 -DIST retrieveuserdata.0.9-1.4.0.tar.gz 10448 RMD160 942d073f86947295ed069ed04e4fc268857932af SHA1 f91b763293f7777799d46f161aace891ff6f612a SHA256 086796d858e781c518b538b37e9ec011d51a2aebd6d14aeba1aa330b58626b8d -DIST secure_login-1.4-1.2.8.tar.gz 16993 RMD160 879f9e735434871f265e6039c3880419349e110d SHA1 52a4aef7f8bad7aff2882508260a572ec1b91418 SHA256 b6ede807a79c9b5300b43565c920570c583a1cc4d339bcea715c32196518837e -DIST show_ssl_link-2.2-1.2.8.tar.gz 13193 RMD160 8e0669c674453cab31b0493ab1404e0a0097ad8d SHA1 39073e417ce28080f9206d068cbfa4161284be3e SHA256 70ecefc01003fd5dddc13e6dd7bf4e6ab4663426a9990c894e353fb96ebb4a1a -DIST squirrelmail-decode-1.2.tar.bz2 333942 RMD160 a217662f923a7e2129e293c6bf806dd0c21dab0b SHA1 90439c4644fd99b7ca4208b441ee0a2c2efa2308 SHA256 72750301b83ee23fffe32ae40a3dec33ad4f39abf81c5abdd38f235aab3fcb26 -DIST squirrelmail-webmail-1.4.22.tar.bz2 531360 RMD160 08c2aff84a3750dc6f0704a0105bc42a74966eb0 SHA1 46819275be27e9119e9a2fd976d441cee261ea55 SHA256 2231578d0f9abeae52bc4e461a6773d78762f20a27e1e2fbebc1a11ccd1af877 -EBUILD squirrelmail-1.4.22.ebuild 5603 RMD160 b3e4e6184b57c69c468b7bdea57e5c950c29c323 SHA1 7d46fd4e1d26f41fc7f9c2747cb41c88e4af468c SHA256 ef72793fbe882865164b4b2694ef25a8163324031a507fc878ae65d622b8a218 -MISC ChangeLog 33125 RMD160 0e62e754b93d2ba1379199d6775a16acf16e7f0e SHA1 5b7fd34c41c4829a07d0345532e87ec7a84c38cc SHA256 73b90edbb9656308b5ea2e99e4c8ccbe509009ccdba77c309f33617e656e365c -MISC metadata.xml 256 RMD160 1d17a8ea7a1b4d83b151287d3c55481493c2a820 SHA1 6e17c2f60251b728a4529b083f395ba812ff8887 SHA256 4c67b16c0ac2307fd0bb4ae307bddd5cc6fc6a9c7a41edc4cffb885e63edbb63 +AUX ldapuserdata-0.4-gentoo.patch 709 SHA256 bff9cf8e7518df983b03b3f4e7f10fcf31fb75f6d73afb21c8923f2a8312b4a3 SHA512 a3106d3dcf4cbd8ed194842f3a131feacae78152a83b447661e17a107843d3d90e3c29601fabdb7fdbe241c0f42fde20bbce56afe88d69ef17d7d8df19a48749 WHIRLPOOL 5630a393598f0401b1ea06a7c42d9441d8bb085a8826055b8968a5123ea7e5e29074999f28e0b5183a7af2105d4834dd13bb3fc4ef1c106bbc14521db01814b1 +AUX postinstall-en.txt 698 SHA256 4e3702651bb5cce4cc517a2b2bed3e71b137167645138bc72c0cedab4ba98da3 SHA512 2d01b8295ed88909bd8e1889e39655e7f9c8d284f691fca7823f4139bc74900d26af20f2df0e3c9b19a5ad3db0cfd13aef56fea91264ce86d1ef0369ade9c645 WHIRLPOOL cd1ba8c1d776ec7a9133d782898bd5fe6d8769103ff3b84beccdb0321f4ead0ae9dfc8b2b84f5fb35e86efd6940cf5b0a7b54ffdab42dfe9596256b4e99dcfae +DIST admin_add.0.1-1.4.0.tar.gz 2388 SHA256 25ec999eea098a509f7d49cfe368b0557b64c698f86b2a2c951617f67735dabc SHA512 c8abb5a29b815ad2a4591ed965d60d1f75deea17d64c5eaa85ba4fec11d7d1ac1aa5beb8d39228e02b1377782d507b0fb55c47bb8ad10b9b958af8c207c6b627 WHIRLPOOL 94d26bd55e1e859f583db0cd39e4ae9b1ef778139302a24af1a10a671b44989354180c837e9eb74b0d58cef0adb345e65a2421c7777ddf77bcb48795133ce534 +DIST all_locales-1.4.18-20090526.tar.bz2 3898341 SHA256 b9198127084407950ad6158e030c76fdf9be5fd0d0abd69c606fb7757ae246c6 SHA512 082317a7b443db11236a5fa5771fa68535200b212cf0471ea37013f54c4b3979a3ee3d289aa3e6eed0988febd2188ab7a6054508068d972dd19c49fa700c9492 WHIRLPOOL 66b2eb3f4353f03280b45d1a14d00d924af38b6558997ca667b1672144dfcbfb5731e4df7b910f80a3aec11bc6fbcc2b28ff5a56fff6a3b8d1bfee86cd51ba1b +DIST amavisnewsql-0.8.0-1.4.tar.gz 101008 SHA256 f9ef453f80e0a44a22c695712b44af935f6d1a505239bd0cb6470fc27608041c +DIST compatibility-2.0.16-1.0.tar.gz 41497 SHA256 bf179d29223fc76ff6609fdf5146d8f488c603314a343ef70e41f77267de0261 SHA512 478b921da90679022da8790183a651c91bcc879e2ec42db9982e3fef7d3f7e92cd23703ac81a7e8e465889348b28597feba8aaa60943cdbe518a076c4723cf3c WHIRLPOOL 6248e48123484d29c299f88485342b612ecfd72f1ea21a67e988b8d379fcc54bc1262095ed75a3ee238bc60e527d5177e1252a370d0e32f0640b227a4e5e69c2 +DIST ldapuserdata-0.4.tar.gz 67439 SHA256 ee10b97e99c35b0656e7e87f60785408f3d26a53ee2a0107d8aa04f7947c3ff7 +DIST retrieveuserdata.0.9-1.4.0.tar.gz 10448 SHA256 086796d858e781c518b538b37e9ec011d51a2aebd6d14aeba1aa330b58626b8d SHA512 77588d0dafc603837cff7c33f8e487ee9b322d9ba875077fce1c5ef85b6e57fe9239680f1b9cf805e0940ae4f1a34c0dcd03e3d26706ac44732ea679ccaf8896 WHIRLPOOL b0121dac6146659fce80b9653084b92efb44fb4cc5ee986ebde91c46e581a721c775c8791e5f38bad10fba5b2369ab0f9e72c8749eeec102d1006a93e5f9d13a +DIST secure_login-1.4-1.2.8.tar.gz 16993 SHA256 b6ede807a79c9b5300b43565c920570c583a1cc4d339bcea715c32196518837e SHA512 3246bf3e3f058d73e33a3f2e33166aa57061be0210fcc939f3a881bdb569d049fb95d8ad5c141de9ff7f2014feff40bcc5c72f4ca9acf9c30937c484977e15db WHIRLPOOL 86e5361ec0e0df994c2bd80346fc54126f77d463f642bb23e1fa39daf31488d2abab71cf81c8b290059e9acba1032b160b87a2d92f1295fb6b8b0ee22a477707 +DIST show_ssl_link-2.2-1.2.8.tar.gz 13193 SHA256 70ecefc01003fd5dddc13e6dd7bf4e6ab4663426a9990c894e353fb96ebb4a1a SHA512 5e2579a6d55924e5b92ee558379e88f7a5ffd4702009fa00c9a99a2a5bec750cf7b1de7b78ac05c0cdb5f59248c73bde15404e8b27a408766c96fc24ecc4b9c8 WHIRLPOOL d99dc6a04ef026b3faf8029b695ad5bb374009c1e19866661f3b32f5d2b46f27e231cd82f59130cbd15ca3caac3496b132b8c79b5229f5ed558b05e8743e7b8e +DIST squirrelmail-20121024_0200-SVN.stable.tar.bz2 538981 SHA256 13ff57262182295c2b162d250ff680918f43c233861add6face1501fa8f5467f SHA512 dd133e2ddbe668c70e89fb772648103b2f22846efbc5fc1f44f48e2a6bd5e4c7724b52b0adc0cac37025a741be8c9485f2c796fdf04783a3400cf31f26f58c46 WHIRLPOOL be2ae2cdaac193859dc7f1b20329589bc1743cae27a39a14a7b734da52bae0aead971b199456b79e7808107aeca93fafdfc62a3976629c84299f6bbd05855319 +DIST squirrelmail-decode-1.2.tar.bz2 333942 SHA256 72750301b83ee23fffe32ae40a3dec33ad4f39abf81c5abdd38f235aab3fcb26 SHA512 f804d7e4bf8814fc00ea076b388a106820df6cb22e0d6c76305fef414f159238578a31e13787a932f9e832dc4b31eb4a7ef5da481f2abbcb164b81673e68698b WHIRLPOOL 735695b9f78068542b1db65cb1d35c06eb5c7d94b699fb176d6c5c82cb2b2f38725a83c6bff355ec7035916a55493666e5f839356369b923d2a6b8f9bd5688da +DIST squirrelmail-webmail-1.4.22.tar.bz2 531360 SHA256 2231578d0f9abeae52bc4e461a6773d78762f20a27e1e2fbebc1a11ccd1af877 +EBUILD squirrelmail-1.4.22.ebuild 5603 SHA256 ef72793fbe882865164b4b2694ef25a8163324031a507fc878ae65d622b8a218 SHA512 f08a2c51c5bab74f4ca8d72b12b5bd9b65d1f886fe43d73916743374f549a45242976c4cbb60d05790a53911a531926c4fa1c5a73dcecda09c2d5b1723fb8388 WHIRLPOOL 74d06f01254caf999b1f3295c730e5be10c9808c87570e226142049a3d80c1b76a7a4ddd2f5e6e7f8eebf41e1373f0fa58dd438b76f382c6a43113ec707a787f +EBUILD squirrelmail-1.4.23_pre20121024.ebuild 5696 SHA256 1ceea75cbf21fbca6d8a11c0e3e8e39be5b4db214fc19dc7f81af1778fe0dcd0 SHA512 5296444367f8e9905bc2b0bebf025543afe81e1a6d4c6ff4cf2ffd73e485a625fa3fc3f592daa06a722f5c4ab15969269859a3c454f9f24ad2e507a5767493ad WHIRLPOOL 29c040e18491a47574114f1c0325580dd0c82219b8c259f8551e411727db5b8b361ec8a47174decd7e8ed642bb216550fbd9d6a14c087f592fa64453b633abc9 +MISC ChangeLog 33305 SHA256 117d0415afa77fd82ce97a163952651326bc9cb835da6ea5fa99535ba16e8feb SHA512 a5894de49a5982af3520b91fa04242571a6843a1d22fdd788f32caba00d05dba9924cad66b8505e0fca028376ea53910b1fd46368b2f408ac303651e58cb4c94 WHIRLPOOL 4736a8d5269e76e678744b83212274ea283f551a1720cb4ef263abb18e779d39cdbcf14c2e3e27c87cdf64fbac2c20e7ff17de70321cb4b0c9640fa6cf903c87 +MISC metadata.xml 256 SHA256 4c67b16c0ac2307fd0bb4ae307bddd5cc6fc6a9c7a41edc4cffb885e63edbb63 SHA512 4b46b758a464b135b75f974e80797be03dbc6288c1a362fdd368ee28f7dc0b4c7a00e9b3f9d169bad980ccaa2c5d8015f422f6cbf7bcd110a977c65b0fbd62f7 WHIRLPOOL 62f242b449b06bcd5afa286195f62f7f92dc3519ccd3725510d2b294e51ea157625daa88051cd989562d766781b582ac10b0a222ba97a3d439c8f8b62eb159ff -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.17 (GNU/Linux) +Version: GnuPG v2.0.19 (GNU/Linux) -iQIcBAEBAgAGBQJPlq/XAAoJEOSiRoyO7jvohVYP/0ACoIfaIr7wX8kvPAYhbYUK -WTTjljSBNYPy3KHuRVQo3pp185Mi3aTuo1MUy6MimruaT/PYL5t/Jf2G3Jyp0NXd -VKBLEQaNOSfz85UmKXDfl5c+94hRzogrm1NyO6F1ZwDJMoTSGpew7dOc5jsxo8d0 -MRQPsvV0kkiGrwSz6puvx2tBc5+ApY9NfKJ1bf2TnTruTc8ldYfQjqeKvO5IRx0s -ndJR3X+nliaFoKWkUKymCh0Np4TRhWnsMLZRSDf5Gggq/JLmPYyKDbAab1Lo6al+ -NxAOvJiX0u63OjBxmhDxVkiDngstBWjihB7xt6+zdASbXk3JEs+DNFW8YCg9+l1S -V5j+NRxmVavkbv78Bf+EGk0LvXaXDsO409sNuFTF9fmucDUkiRF1Wtkn5R4SsgAe -DQhBqAtFystV8eC4KQssfGEASlhdkA8wsvoV6jp3zYau/FRZRA8qCDxtflFKL+qe -VjS0IPOtX2onyHUrqDJx0Ip37pJd3PMbqF1ZMHpZfTPYLtHyeAOfeg+Wm2c1Mp+V -5wF3woCfNbSmfLAJEnu0d038/dVarG0Ts8duQpNjl1vICBpC7XOFScKzvQsiTyiZ -njUcVWEnvqql3zHtgAmF6zdbnUlS1DOcsUYffn7X/Blkjx+6XdRVRFgu25P08J54 -C5dlZiz99VZXwQuDELAm -=8nUG +iQIcBAEBCAAGBQJQh+jnAAoJEHfx8XVYajsfNVoP/Ah6j8JKNbonrhh2C/YoweFs +8D/QugNenTx5SNFFuTj69pIASx7j+plhdvi2XXiMm92YJuJgzlZ+AvwQtUlaUhyv +Utl8YuLusOXHcKkn9Hjj2DEQo2tHKVp37LB0W5H/PnzTxi8lHYODwC0lMJ2L8wjX +VkitGFftf3O0nO13viU8yRBG2Xa84KapcM1aZtZO+Irv/N6uJyC2cwkTMCM4FtC0 +QT+By5AFIGQdIMDq9ShB/YyfBUtH29HLuuKmfcXMn2IahL2XnSXX3SnEk7JZkTno +NLSS0nSd8BK9klSzoEpA04UHqaUaTKpB9iZBibmmAkl1MHiY8/QfiWMlupO0DaPQ +PdbX+Rlq0M8eDfXDEYrqAA+aZ4TrZuTaixM6rSPa7qcrS90C4KQGBqO9MLUP5tTE +STvrfL++n3wpq6TPlIj/q1F54QGCx39//3xblm1DkJrQGcP2SuLshmwcTjeV2LrK +KzAKXL50zkSiytIyv6r3CTLf55CfupWSeQ6WFUDHivR7k2Xn7bpN+IsGpK438Q2p +fN03p86IQhTXhfnT4zs24gpS6QtOgU+w9nAENzPqXAsw0GAvjya3sKqq5+tEaSIc +7eATEwSsJOHpCeIPd27drhbkIiNONOH/rWYbOk2PwZFWjhmJQozhtHgSSz9Hn1z/ +KYutoR9mq5v/AfRDdbJc +=OLig -----END PGP SIGNATURE----- diff --git a/mail-client/squirrelmail/squirrelmail-1.4.23_pre20121024.ebuild b/mail-client/squirrelmail/squirrelmail-1.4.23_pre20121024.ebuild new file mode 100644 index 000000000000..ac89ea70049a --- /dev/null +++ b/mail-client/squirrelmail/squirrelmail-1.4.23_pre20121024.ebuild @@ -0,0 +1,209 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-client/squirrelmail/squirrelmail-1.4.23_pre20121024.ebuild,v 1.1 2012/10/24 13:10:53 eras Exp $ + +EAPI=4 +inherit webapp eutils + +IUSE="ldap spell ssl filter mysql postgres nls" +DESCRIPTION="Webmail for nuts!" + +# Plugin Versions +COMPATIBILITY_VER=2.0.16-1.0 +USERDATA_VER=0.9-1.4.0 +ADMINADD_VER=0.1-1.4.0 +AMAVIS_VER=0.8.0-1.4 +LDAP_USERDATA_VER=0.4 +SECURELOGIN_VER=1.4-1.2.8 +SHOWSSL_VER=2.2-1.2.8 +LOCALES_VER=1.4.18-20090526 +DECODING_VER=1.2 + +#MY_P=${PN}-webmail-${PV} +MY_P=${PN}-${PVR##*_pre}_0200-SVN.stable +#S="${WORKDIR}/${MY_P}" +S="${WORKDIR}/${PN}.stable/${PN}" + +PLUGINS_LOC="http://www.squirrelmail.org/plugins" +SRC_URI="http://snapshots.squirrelmail.org/${MY_P}.tar.bz2 + mirror://sourceforge/${PN}/squirrelmail-decode-${DECODING_VER}.tar.bz2 + mirror://sourceforge/retruserdata/retrieveuserdata.${USERDATA_VER}.tar.gz + ${PLUGINS_LOC}/compatibility-${COMPATIBILITY_VER}.tar.gz + ssl? ( ${PLUGINS_LOC}/secure_login-${SECURELOGIN_VER}.tar.gz ) + ssl? ( ${PLUGINS_LOC}/show_ssl_link-${SHOWSSL_VER}.tar.gz ) + ${PLUGINS_LOC}/admin_add.${ADMINADD_VER}.tar.gz + filter? ( ${PLUGINS_LOC}/amavisnewsql-0.8.0-1.4.tar.gz ) + ldap? ( ${PLUGINS_LOC}/ldapuserdata-${LDAP_USERDATA_VER}.tar.gz ) + nls? ( mirror://sourceforge/${PN}/all_locales-${LOCALES_VER}.tar.bz2 )" + +HOMEPAGE="http://www.squirrelmail.org/" + +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" + +DEPEND="" + +RDEPEND="dev-lang/php[session] + virtual/perl-DB_File + ldap? ( net-nds/openldap ) + spell? ( app-text/aspell ) + filter? ( mail-filter/amavisd-new dev-php/PEAR-Log dev-php/PEAR-DB dev-php/PEAR-Net_SMTP ) + postgres? ( dev-php/PEAR-DB ) + mysql? ( dev-php/PEAR-DB )" + +src_unpack() { + unpack ${MY_P}.tar.bz2 + unpack squirrelmail-decode-${DECODING_VER}.tar.bz2 + + cd "${S}" || die + + mv config/config_default.php config/config.php || die + + # Now do the plugins + cd "${S}/plugins" || die + + unpack compatibility-${COMPATIBILITY_VER}.tar.gz + + unpack admin_add.${ADMINADD_VER}.tar.gz + + unpack retrieveuserdata.${USERDATA_VER}.tar.gz + + use filter && + unpack amavisnewsql-${AMAVIS_VER}.tar.gz && + mv amavisnewsql/config.php.dist amavisnewsql/config.php + + use ldap && + unpack ldapuserdata-${LDAP_USERDATA_VER}.tar.gz + + use ssl && + unpack secure_login-${SECURELOGIN_VER}.tar.gz && + mv secure_login/config.sample.php secure_login/config.php && + unpack show_ssl_link-${SHOWSSL_VER}.tar.gz && + mv show_ssl_link/config.php.sample show_ssl_link/config.php + + use nls && + cd "${S}" && + unpack all_locales-${LOCALES_VER}.tar.bz2 +} + +src_prepare() { + sed -i "s:'/var/local/squirrelmail/data/':SM_PATH . 'data/':" \ + config/config.php || die + + cd "${S}/plugins" || die + if use ldap; then + epatch "${FILESDIR}"/ldapuserdata-${LDAP_USERDATA_VER}-gentoo.patch + mv ldapuserdata/config_sample.php ldapuserdata/config.php || die + fi +} + +src_configure() { + #we need to have this empty function ... + echo "Nothing to configure" +} + +src_compile() { + #we need to have this empty function ... default compile hangs + echo "Nothing to compile" +} + +src_install() { + webapp_src_preinst + + # handle documentation files + # + # NOTE that doc files go into /usr/share/doc as normal; they do NOT + # get installed per vhost! + + dodoc README + + docinto compatibility + for doc in plugins/compatibility/docs/INSTALL plugins/compatibility/docs/README; do + dodoc ${doc} + rm -f ${doc} + done + + docinto admin_add + for doc in plugins/admin_add/README; do + dodoc ${doc} + rm -f ${doc} + done + + docinto retrieveuserdata + for doc in plugins/retrieveuserdata/INSTALL plugins/retrieveuserdata/changelog plugins/retrieveuserdata/users_example.txt; do + dodoc ${doc} + rm -f ${doc} + done + + if use filter; then + docinto amavisnewsql + for doc in plugins/amavisnewsql/{CHANGELOG,README,UPGRADE}; do + dodoc ${doc} + rm -f ${doc} + done + fi + + if use ldap; then + rm plugins/ldapuserdata/README + docinto ldapuserdata + for doc in plugins/ldapuserdata/doc/README; do + dodoc ${doc} + rm -f ${doc} + done + fi + + if use ssl; then + docinto secure_login + for doc in plugins/secure_login/INSTALL plugins/secure_login/README; do + dodoc ${doc} + rm -f ${doc} + done + + docinto show_ssl_link + for doc in plugins/show_ssl_link/INSTALL plugins/show_ssl_link/README; do + dodoc ${doc} + rm -f ${doc} + done + fi + + # Copy the app's main files + einfo "Installing squirrelmail files." + cp -r . "${D}${MY_HTDOCSDIR}" || die + + cp "${WORKDIR}"/squirrelmail-decode-${DECODING_VER}/*/*.php \ + "${D}${MY_HTDOCSDIR}/functions/decode" || die + + # Identify the configuration files that this app uses + local configs="config/config.php config/config_local.php plugins/retrieveuserdata/config.php" + use filter && configs="${configs} plugins/amavisnewsql/config.php" + use ldap && configs="${configs} plugins/ldapuserdata/config.php" + use ssl && configs="${configs} plugins/show_ssl_link/config.php plugins/secure_login/config.php" + + for file in ${configs}; do + webapp_configfile ${MY_HTDOCSDIR}/${file} + done + + # Identify any script files that need #! headers adding to run under + # a CGI script (such as PHP/CGI) + # + # for phpmyadmin, we *assume* that all .php files that don't end in + # .inc.php need to have CGI/BIN support added + + #for x in `find . -name '*.php' -print | grep -v 'inc.php'` ; do + # webapp_runbycgibin php ${MY_HTDOCSDIR}/$x + #done + + local server_owned="data index.php" + for file in ${server_owned}; do + webapp_serverowned ${MY_HTDOCSDIR}/${file} + done + + # add the post-installation instructions + webapp_postinst_txt en "${FILESDIR}/postinstall-en.txt" + + # all done + # + # now we let the eclass strut its stuff ;-) + + webapp_src_install +} |