summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Scherbaum <dertobi123@gentoo.org>2008-07-19 11:32:10 +0000
committerTobias Scherbaum <dertobi123@gentoo.org>2008-07-19 11:32:10 +0000
commit83a9984d564c8a4dd6c64e64a361aae624ecb780 (patch)
tree375951ee01b9c5049983d9d8150b2a26cc7897f0 /mail-client/squirrelmail
parentVersion bump. Removed dev-perl/Text-Tabs+Wrap dependency. (diff)
downloadhistorical-83a9984d564c8a4dd6c64e64a361aae624ecb780.tar.gz
historical-83a9984d564c8a4dd6c64e64a361aae624ecb780.tar.bz2
historical-83a9984d564c8a4dd6c64e64a361aae624ecb780.zip
Version bump, #226511
Package-Manager: portage-2.2_rc1/cvs/Linux 2.6.25-gentoo-r6 x86_64
Diffstat (limited to 'mail-client/squirrelmail')
-rw-r--r--mail-client/squirrelmail/ChangeLog8
-rw-r--r--mail-client/squirrelmail/Manifest5
-rw-r--r--mail-client/squirrelmail/squirrelmail-1.4.15.ebuild199
3 files changed, 210 insertions, 2 deletions
diff --git a/mail-client/squirrelmail/ChangeLog b/mail-client/squirrelmail/ChangeLog
index dbae3e40533b..7cc333a879bc 100644
--- a/mail-client/squirrelmail/ChangeLog
+++ b/mail-client/squirrelmail/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for mail-client/squirrelmail
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/squirrelmail/ChangeLog,v 1.110 2008/01/12 02:40:39 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-client/squirrelmail/ChangeLog,v 1.111 2008/07/19 11:32:10 dertobi123 Exp $
+
+*squirrelmail-1.4.15 (19 Jul 2008)
+
+ 19 Jul 2008; Tobias Scherbaum <dertobi123@gentoo.org>
+ +squirrelmail-1.4.15.ebuild:
+ Version bump, #226511
*squirrelmail-1.5.1-r7 (12 Jan 2008)
*squirrelmail-1.4.13-r1 (12 Jan 2008)
diff --git a/mail-client/squirrelmail/Manifest b/mail-client/squirrelmail/Manifest
index f7651fd2be88..4858177ded74 100644
--- a/mail-client/squirrelmail/Manifest
+++ b/mail-client/squirrelmail/Manifest
@@ -9,6 +9,7 @@ AUX squirrelmail-1.5.1-ie-mime.patch 1832 RMD160 01ecbf3469c85704c4a6ea97eb93851
AUX squirrelmail-1.5.1-sqimap_get_message.patch 672 RMD160 ba2d4c3f03c08d173329511b5142874254cf7be4 SHA1 2b9f57074b56fd4821536fc6787c7c1576878d1e SHA256 f30957b4c3966e678fed5b86c6ecd2164f7b7ba45c92fb2552f5bb1636b5837b
AUX squirrelmail-gpg-2.1-CVE-2005-1924.patch 1484 RMD160 59f2fb52b9c72ff2556cc26fa97b877562e6785c SHA1 93fef3df6ec4319743a54d8e0ed01204bd3d772a SHA256 397f6c94bd4a3a7a42ff024af9f7ecc4c83576342f7db1998d290366c286cc90
DIST admin_add.0.1-1.4.0.tar.gz 2388 RMD160 6847934c59ae73119a796c6fef251de26a2ea531 SHA1 9265289ac5b67549590e82d10560d05295a8a5e6 SHA256 25ec999eea098a509f7d49cfe368b0557b64c698f86b2a2c951617f67735dabc
+DIST all_locales-1.4.13-20071220.tar.bz2 3016605 RMD160 67ebd2a4af9385de05b7ebe445296e63f1bf2aa8 SHA1 dd013b0e5ec3985d66fe2a8b2a38db6e47f89c4e SHA256 8fa5b82bb2e4448da80d2ccc42ec9874df8674691358736da6c7c3f7bbbae639
DIST all_locales-1.4.9-20070106.tar.bz2 2699569 RMD160 9da0e3df1bc5a89b861f7dd9ac244a3885a45417 SHA1 d187a9b77384b398a0945f51aaaf248379fdfa15 SHA256 04ad3e37042deb8c5668946c3364cd53d9c30b2486f24deee4d71c05fa584423
DIST all_locales-1.5.1-20060219.tar.bz2 2616039 RMD160 681ea1bcbfc5ae57ced11e33cb19731cefa2dd00 SHA1 77d2f0f4328ff546076181fa5c54b64ce8994888 SHA256 f27d7f1506607c8cf2651bb4384f5a840eb71f0d38cfae4d77b292c56e49d0a3
DIST amavisnewsql-0.8.0-1.4.tar.gz 101008 RMD160 72b796565f128354c51e8a04384e49621371cf16 SHA1 29bfa703c047cf5416e4062198ed7c267ef6bbfa SHA256 f9ef453f80e0a44a22c695712b44af935f6d1a505239bd0cb6470fc27608041c
@@ -21,10 +22,12 @@ DIST secure_login-1.3-1.2.8.tar.gz 16075 RMD160 1c8ef7f0f02846f59c9088f4703748d9
DIST show_ssl_link-2.2-1.2.8.tar.gz 13193 RMD160 8e0669c674453cab31b0493ab1404e0a0097ad8d SHA1 39073e417ce28080f9206d068cbfa4161284be3e SHA256 70ecefc01003fd5dddc13e6dd7bf4e6ab4663426a9990c894e353fb96ebb4a1a
DIST squirrelmail-1.4.10a.tar.bz2 484523 RMD160 4337f99575e1ada931cea461679b96acd5b4901d SHA1 b8a84e1fb69b6922c6bf817015201d57a82aa843 SHA256 b5e047c0a32b758b67e15772dc9c467d0ee830372858f7b9442a9a6aa6caf854
DIST squirrelmail-1.4.13.tar.bz2 497103 RMD160 d2d27c9e2fe6225833da15981b9d6881ce55fc6d SHA1 cbc101076dfde6f78e871133fc6a17b5d3aa0edb SHA256 331ff58933f48f5d772d018c1ba1362867646005b3486d6006b1747e1fbc16d5
+DIST squirrelmail-1.4.15.tar.bz2 506346 RMD160 ef2878abae89ec8a5cb2464809f89d409c499732 SHA1 5387e8647ada27d9850c5d2f6a5fdf7dbb6b5862 SHA256 e562b612ff6eb55665f1aba3cb9dd7b2367f1cf105ba7e509adaf8110825fd00
DIST squirrelmail-1.5.1.tar.bz2 904370 RMD160 a59df6a73e5694b54d2791d4c139941ef220d2d1 SHA1 e6aa8fe560b17a1205b3af288e31a2404397f44e SHA256 3e7f370dd869fb57ed5b3c159d7450c1180309fffeda9dbf168b2d456f477909
DIST squirrelmail-decode-1.2.tar.bz2 333942 RMD160 a217662f923a7e2129e293c6bf806dd0c21dab0b SHA1 90439c4644fd99b7ca4208b441ee0a2c2efa2308 SHA256 72750301b83ee23fffe32ae40a3dec33ad4f39abf81c5abdd38f235aab3fcb26
EBUILD squirrelmail-1.4.10a-r2.ebuild 6066 RMD160 28e852b185f5014849eca4f28de32910d252fb67 SHA1 415d266be47a46e1111ddf321fc5d0cf2bb1aca8 SHA256 b675413ad9771353223b7466a4a4b7ba179801ca5d92129adb1cf4a5616d6a7d
EBUILD squirrelmail-1.4.13-r1.ebuild 5579 RMD160 287ada0c6157e34a87565282932c259cf3eaa3fe SHA1 d5e482562e06ae8db3542e559965f4a0b48419c1 SHA256 65d54e622c4c14e842e19893ec0e34506863e1f3cfa7f04cd654442a0d9d4e12
+EBUILD squirrelmail-1.4.15.ebuild 5593 RMD160 03d76bf92f0c84486b6e6befda319f7bddc72394 SHA1 a41f0c25cdb8b1e221bf99657caa680bcfbd6a2e SHA256 810723dbc7caae66332429381d9ce52a9d3485ff1c3811442c4cf2c2c9e16d8a
EBUILD squirrelmail-1.5.1-r7.ebuild 5471 RMD160 f301a93217ee8e657b921e873c220b3f2063b956 SHA1 f7f26d3be85719bd1d7c4d9dd46a9c0d7f85bf8a SHA256 5a2c63cec48196e42518431d866b5a74150bf1b4f6c78b822acd44bc74cec39b
-MISC ChangeLog 25410 RMD160 7e530b99a874eb9032f09e534ab29bb21b4d0858 SHA1 263445bd6ced4e152ad875223b335cae28c53c30 SHA256 0ead29388bf3d3e8b6b0f468c5e369c12ecd677c547c773f6c16ccbd85dfc896
+MISC ChangeLog 25558 RMD160 255b57dfeab507369eacc3b5d93f119c1227976b SHA1 320a7dcfadeb1eb77807f54ab9a718bd494d7e06 SHA256 2b1b093751c81696350575abb5be49093cec713310b6ebb1bcd68f6801f088e9
MISC metadata.xml 258 RMD160 d2eb817fc980ecb7e48b90373e39e38538ddc060 SHA1 f969f9d21f42c6347a0509bacb7382b390c10ce8 SHA256 0c209e720f028e6e9b098d29eab884753668aea3f47b56e44f3271ae60750680
diff --git a/mail-client/squirrelmail/squirrelmail-1.4.15.ebuild b/mail-client/squirrelmail/squirrelmail-1.4.15.ebuild
new file mode 100644
index 000000000000..75e9a507fc9c
--- /dev/null
+++ b/mail-client/squirrelmail/squirrelmail-1.4.15.ebuild
@@ -0,0 +1,199 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-client/squirrelmail/squirrelmail-1.4.15.ebuild,v 1.1 2008/07/19 11:32:10 dertobi123 Exp $
+
+IUSE="ldap spell ssl filter mysql postgres nls"
+
+inherit webapp eutils
+
+DESCRIPTION="Webmail for nuts!"
+
+# Plugin Versions
+COMPATIBILITY_VER=2.0.9-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.3-1.2.8
+SHOWSSL_VER=2.2-1.2.8
+LOCALES_VER=1.4.13-20071220
+DECODING_VER=1.2
+
+MY_P=${P/_rc/-RC}
+S="${WORKDIR}/${MY_P}"
+
+PLUGINS_LOC="http://www.squirrelmail.org/plugins"
+SRC_URI="mirror://sourceforge/${PN}/${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="virtual/php
+ virtual/perl-DB_File
+ ldap? ( net-nds/openldap )
+ spell? ( || ( app-text/aspell app-text/ispell ) )
+ 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}"
+
+ mv config/config_default.php config/config.php
+
+ sed -i "s:'/var/local/squirrelmail/data/':SM_PATH . 'data/':" config/config.php
+
+ # Now do the plugins
+ cd "${S}/plugins"
+
+ sed -i 's:/usr/games/fortune:/usr/bin/fortune:g' fortune/setup.php || die "Unable to fix fortunes plugin."
+
+ 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 &&
+ epatch "${FILESDIR}"/ldapuserdata-${LDAP_USERDATA_VER}-gentoo.patch &&
+ mv ldapuserdata/config_sample.php ldapuserdata/config.php
+
+ 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_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!
+
+ for doc in AUTHORS COPYING ChangeLog INSTALL README ReleaseNotes UPGRADE; do
+ dodoc ${doc}
+ rm -f ${doc}
+ done
+
+ docinto compatibility
+ for doc in plugins/compatibility/INSTALL plugins/compatibility/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}"
+
+ cp "${WORKDIR}"/squirrelmail-decode-${DECODING_VER}/*/*.php "${D}${MY_HTDOCSDIR}/functions/decode"
+
+ # 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
+}