diff options
author | Martin Holzer <mholzer@gentoo.org> | 2003-10-01 20:46:26 +0000 |
---|---|---|
committer | Martin Holzer <mholzer@gentoo.org> | 2003-10-01 20:46:26 +0000 |
commit | e85f06805ba299e31fb5336add4719911a7cf478 (patch) | |
tree | 568a7d644ca5197f847cbb6c3bb5aec879419adb /net-mail | |
parent | Version bumped. (diff) | |
download | historical-e85f06805ba299e31fb5336add4719911a7cf478.tar.gz historical-e85f06805ba299e31fb5336add4719911a7cf478.tar.bz2 historical-e85f06805ba299e31fb5336add4719911a7cf478.zip |
Version bumped.
Diffstat (limited to 'net-mail')
-rw-r--r-- | net-mail/squirrelmail/Manifest | 4 | ||||
-rw-r--r-- | net-mail/squirrelmail/files/digest-squirrelmail-1.4.2 | 1 | ||||
-rw-r--r-- | net-mail/squirrelmail/squirrelmail-1.4.2.ebuild | 56 |
3 files changed, 59 insertions, 2 deletions
diff --git a/net-mail/squirrelmail/Manifest b/net-mail/squirrelmail/Manifest index 3acc48c6b8a4..315a26067ff7 100644 --- a/net-mail/squirrelmail/Manifest +++ b/net-mail/squirrelmail/Manifest @@ -1,9 +1,9 @@ -MD5 8e7c202e8cefe2cb887f0f8763f3c957 ChangeLog 4331 +MD5 86859b0f891990a1ec08c270e4b7a22f ChangeLog 4462 MD5 70afb5f382d1a431afcb8b73e9d2cc01 squirrelmail-1.2.11.ebuild 1573 MD5 c937d4107ed3eac1daa9daff5e3bfe54 squirrelmail-1.4.0-r1.ebuild 1640 MD5 b056818f0b150e806edb75d8bae139d0 squirrelmail-1.4.1.ebuild 1634 MD5 5721b86fd871bdfab77231abc6e02f68 metadata.xml 161 -MD5 93539c98d3d0afe8308754f847a2294e squirrelmail-1.4.2.ebuild 1631 +MD5 90237b19a8a6ddd8adcd9da2b07e0163 squirrelmail-1.4.2.ebuild 1630 MD5 8eeb77a0af1734942ad728fc29c84441 files/digest-squirrelmail-1.2.11 73 MD5 61d48932b92d626923fd5db1dae0c7b4 files/digest-squirrelmail-1.4.0-r1 72 MD5 92831f98ddb4e63a5f42fb451f59518a files/digest-squirrelmail-1.4.1 72 diff --git a/net-mail/squirrelmail/files/digest-squirrelmail-1.4.2 b/net-mail/squirrelmail/files/digest-squirrelmail-1.4.2 new file mode 100644 index 000000000000..ce95a20a55bf --- /dev/null +++ b/net-mail/squirrelmail/files/digest-squirrelmail-1.4.2 @@ -0,0 +1 @@ +MD5 8d8271c704a9f23d53138a4ceea38fb4 squirrelmail-1.4.2.tar.bz2 1888703 diff --git a/net-mail/squirrelmail/squirrelmail-1.4.2.ebuild b/net-mail/squirrelmail/squirrelmail-1.4.2.ebuild new file mode 100644 index 000000000000..651bfa29a95a --- /dev/null +++ b/net-mail/squirrelmail/squirrelmail-1.4.2.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-mail/squirrelmail/squirrelmail-1.4.2.ebuild,v 1.1 2003/10/01 20:46:20 mholzer Exp $ + +DESCRIPTION="Webmail for nuts!" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" +HOMEPAGE="http://www.squirrelmail.org/" + +LICENSE="GPL-2" +SLOT="1" +KEYWORDS="~x86 ~ppc ~sparc ~alpha" + +RDEPEND="virtual/php + dev-perl/DB_File" +DEPEND="${RDEPEND}" + +HTTPD_ROOT="/home/httpd/htdocs" +HTTPD_USER="apache" +HTTPD_GROUP="apache" + +pkg_setup() { + if [ -L ${HTTPD_ROOT}/${PN} ] ; then + ewarn "You need to unmerge your old SquirrelMail version first." + ewarn "SquirrelMail will be installed into ${HTTPD_ROOT}/${PN}" + ewarn "directly instead of a version-dependant directory." + die "need to unmerge old version first" + fi +} + +src_compile() { + #we need to have this empty function ... default compile hangs + echo "Nothing to compile" +} + +src_install() { + dodir ${HTTPD_ROOT}/${PN} + cp -r . ${D}/${HTTPD_ROOT}/${PN} + cd ${D}/${HTTPD_ROOT} + chown -R ${HTTPD_USER}.${HTTPD_GROUP} ${PN}/data +} + +pkg_postinst() { + einfo "Squirrelmail NO LONGER requires PHP to have" + einfo "'register_globals = On' !!!" + old_ver=`ls ${HTTPD_ROOT}/${PN}-[0-9]* 2>/dev/null` + if [ ! -z "${old_ver}" ]; then + einfo "" + einfo "You will also want to move old SquirrelMail data to" + einfo "the new location:" + einfo "" + einfo "\tmv ${HTTPD_ROOT}/${PN}-OLDVERSION/data/* \\" + einfo "\t\t${HTTPD_ROOT}/${PN}/data" + einfo "\tmv ${HTTPD_ROOT}/${PN}-OLDVERSION/config/config.php \\" + einfo "\t\t${HTTPD_ROOT}/${PN}/config" + fi +} |