Skip to content
This repository
Browse code

Added new versions of TYPO3, released today

* Added TYPO3 4.5.12
* Added TYPO3 4.6.5

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dear TYPO3 world,

The TYPO3 Community has just released TYPO3 versions 4.5.12 and
4.6.5 which are now ready for you to download.

All versions are maintenance releases and contain bugfixes only.

The packages can be downloaded here:
  http://typo3.org/download/packages/

For details about the release, please see:
  http://news.typo3.org/news/article/typo3-4512-and-465-released/

MD5 checksums:

8d2c4836f37df12c48834e428503781f  blankpackage-4.5.12.tar.gz
801407f91ce2c2bd24ab3afdf6ede86e  blankpackage-4.5.12.zip
cbeffb05651a771ee264c1405440c750  dummy-4.5.12.tar.gz
51dfe48b9226dfc3ebff088d85dcf9c7  dummy-4.5.12.zip
e2ae84fce0dcb1040f7d1bb6377f1bae  introductionpackage-4.5.12.tar.gz
0b5e7c5ad1ffa4095ac6d87d1e1c406c  introductionpackage-4.5.12.zip
c5dc66138e36ea5f5c943fe459153f96  typo3_src+dummy-4.5.12.zip
1f2076e858b82441f4de40efe56ca7ad  typo3_src-4.5.12.tar.gz
98942c288e60a984b1cab455c65bff48  typo3_src-4.5.12.zip

2cb9d8ebc6b24a1ac20a8f2e5d805618  blankpackage-4.6.5.tar.gz
ed1d9e6056606878e41867903904836f  blankpackage-4.6.5.zip
0ecc3c36ce494e728829719990cd5067  dummy-4.6.5.tar.gz
298dac1ccaabec66e2ad722eec6ebcee  dummy-4.6.5.zip
d9f87140a3d943b3a0ccc5f1eeef3cfa  introductionpackage-4.6.5.tar.gz
343d9ac4b462c81c204537932c49fb46  introductionpackage-4.6.5.zip
0e0a0037ac5b6d8d92c24ba049266d35  typo3_src+dummy-4.6.5.zip
cf285360306f865d2dba1aafc7b069d1  typo3_src-4.6.5.tar.gz
f9072583b15d37e5b183e980f035964e  typo3_src-4.6.5.zip

Rock on!
Olly
- --
Oliver Hader
TYPO3 v4 Core Team Leader

TYPO3 .... inspiring people to share!
Get involved: http://typo3.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk9V7nEACgkQA6G+HE2q3Q2O3gCgnCPvV2w3NZb/U5QfmW4eQVXJ
UzwAnRwnTFJw6zyE5nx8k59m8Kw8vIDz
=ROGt
-----END PGP SIGNATURE-----
_______________________________________________
TYPO3-announce mailing list
TYPO3-announce@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-announce
  • Loading branch information...
commit cdc0db53daf4f27dc4860ca3e8955ae45565f1b1 1 parent 58520b0
Marc Richter authored March 06, 2012
2  www-apps/typo3_dummy/Manifest
... ...
@@ -1,5 +1,6 @@
1 1
 DIST dummy-4.5.10.tar.gz 9855 RMD160 23650827a20dc52038dd2b525f80b27f3af35480 SHA1 7f9a9c5ba42315ec8d7c97fdc3e7af57c44e7a94 SHA256 12707cf4eab1f161cf326739f6310df3abe9a152d013ce977be1c130e7335d4d
2 2
 DIST dummy-4.5.11.tar.gz 9857 RMD160 da77489deadc729f567e9686c831bca387231f5a SHA1 985e7b4319aade6df958601f9ffc86dbef93532b SHA256 3163e66f330e8a542af32c6f66465de7dafa91f0df7bacd7530287c5c844d61b
  3
+DIST dummy-4.5.12.tar.gz 9856 RMD160 a0fb4d067463f044ab68d2a8aa37cf73b28ed978 SHA1 130055a850a9f89439ea0c2860a3f65eec9ca5ce SHA256 569060bdae3e4d5db8044f99bfcfe50e4598c79d64f04f80a178d38d835782c6
3 4
 DIST dummy-4.5.4.tar.gz 7672 RMD160 db4df6ab0ee5b2a61d4dcd4ed8f5fc85d356bbbc SHA1 efef3befc7972e5c7d6cc0b7078db1febdfcd385 SHA256 ef7345938bd9634599af57b55ab42dca4278db5e53ff0e534857018b792d81db
4 5
 DIST dummy-4.5.5.tar.gz 7676 RMD160 9b624140fb8da21a7188715830bfd03e120faa44 SHA1 a718a482b975e2d31b197b185ebc22c5d04d85a9 SHA256 b391a1371eee84a495d779213406984d4e50ff9c740b336a3944a645b980028c
5 6
 DIST dummy-4.5.6.tar.gz 7680 RMD160 48369d41d7a66839c7c2809fb9e9f1953dd8b255 SHA1 99eb7f5c9ae19de579219bd4281c1997230c0a32 SHA256 40d3e7cd2f5517f24612b48256710be4fdfc107ae626562123f4792e80aaa9db
@@ -11,4 +12,5 @@ DIST dummy-4.6.1.tar.gz 10139 RMD160 ee458ad9cd140afc717fd6035750ade5b94a2c9a SH
11 12
 DIST dummy-4.6.2.tar.gz 10148 RMD160 2821c44a48a2b661efa7415d884ed646b0f9ed01 SHA1 30deba0a8b8af5906b3834a67d25ce21e48f96cc SHA256 13739399097dac204efbe1341fdeea6bfbc25407c492150f6d289bbbcd4ecc5e
12 13
 DIST dummy-4.6.3.tar.gz 10142 RMD160 8f004a3ad666d3edea02550b4626ad5cb7b9a54a SHA1 a462566c68ba3386524192ca2500137e7d66bb55 SHA256 e2cdd569564350038259d0297efcc5ed1729503407ffff124cf30dfd4d0c0e4d
13 14
 DIST dummy-4.6.4.tar.gz 10137 RMD160 a03c9f2192dbe621c95a868ca12a19679af04c90 SHA1 3131fc08643f8977877523471db28e24b40bd8da SHA256 4ecb65ef441786295340f60fcb67e4c637f2caaff99471c6ac09e99ec2a5032e
  15
+DIST dummy-4.6.5.tar.gz 10140 RMD160 186597d138287cf229e96e11985ce8f78062c301 SHA1 5a08053a9f3d28d0bccf515af0fa168490799320 SHA256 bee9fdeea16b6b537b4884d43c357d710071857d431a9ec9a1ae1636816768e8
14 16
 DIST dummy-4.7.0beta1.tar.gz 10151 RMD160 02f41069de298c7bb6e2badffc0ce6096a3ed74b SHA1 f31a6d9af1b76b4c2efe6ddd2cff608bdda169ca SHA256 961834f1d72b9c49b63c144bf0a13761fd6d84513643cada197a55ddfb60ba4a
41  www-apps/typo3_dummy/typo3_dummy-4.5.12-r1.ebuild
... ...
@@ -0,0 +1,41 @@
  1
+# Copyright 1999-2011 Gentoo Foundation
  2
+# Distributed under the terms of the GNU General Public License v2
  3
+# $Header: $
  4
+
  5
+EAPI="4"
  6
+
  7
+inherit webapp
  8
+
  9
+MY_PN="dummy"
  10
+DESCRIPTION="TYPO3 is a free Open Source CMS. This is the dummy package."
  11
+HOMEPAGE="http://typo3.org/"
  12
+SRC_URI="mirror://sourceforge/typo3/${MY_PN}-${PV}.tar.gz"
  13
+
  14
+LICENSE="GPL-2"
  15
+KEYWORDS="amd64 ~hppa ~ppc ~ppc64 ~sparc x86"
  16
+IUSE=""
  17
+
  18
+PDEPEND="~www-apps/typo3_src-${PV}"
  19
+
  20
+S=${WORKDIR}/${MY_PN}-${PV}
  21
+
  22
+src_unpack() {
  23
+	unpack ${A}
  24
+	cd "${S}"
  25
+	rm -f typo3_src
  26
+}
  27
+
  28
+src_install() {
  29
+	webapp_src_preinst
  30
+	dodoc *.txt
  31
+
  32
+	cp -R . "${D}"/${MY_HTDOCSDIR}
  33
+
  34
+local files="fileadmin fileadmin/_temp_ fileadmin/user_upload typo3temp uploads uploads/pics uploads/media uploads/tf typo3conf typo3conf/extTables.php typo3conf/localconf.php typo3conf/ext typo3conf/l10n"
  35
+	for file in ${files}; do
  36
+		webapp_serverowned "${MY_HTDOCSDIR}/${file}"
  37
+	done
  38
+
  39
+	webapp_configfile ${MY_HTDOCSDIR}/typo3conf/localconf.php
  40
+	webapp_src_install
  41
+}
41  www-apps/typo3_dummy/typo3_dummy-4.6.5-r1.ebuild
... ...
@@ -0,0 +1,41 @@
  1
+# Copyright 1999-2011 Gentoo Foundation
  2
+# Distributed under the terms of the GNU General Public License v2
  3
+# $Header: $
  4
+
  5
+EAPI="4"
  6
+
  7
+inherit webapp
  8
+
  9
+MY_PN="dummy"
  10
+DESCRIPTION="TYPO3 is a free Open Source CMS. This is the dummy package."
  11
+HOMEPAGE="http://typo3.org/"
  12
+SRC_URI="mirror://sourceforge/typo3/${MY_PN}-${PV}.tar.gz"
  13
+
  14
+LICENSE="GPL-2"
  15
+KEYWORDS="amd64 ~hppa ~ppc ~ppc64 ~sparc x86"
  16
+IUSE=""
  17
+
  18
+PDEPEND="~www-apps/typo3_src-${PV}"
  19
+
  20
+S=${WORKDIR}/${MY_PN}-${PV}
  21
+
  22
+src_unpack() {
  23
+	unpack ${A}
  24
+	cd "${S}"
  25
+	rm -f typo3_src
  26
+}
  27
+
  28
+src_install() {
  29
+	webapp_src_preinst
  30
+	dodoc *.txt
  31
+
  32
+	cp -R . "${D}"/${MY_HTDOCSDIR}
  33
+
  34
+local files="fileadmin fileadmin/_temp_ fileadmin/user_upload typo3temp uploads uploads/pics uploads/media uploads/tf typo3conf typo3conf/extTables.php typo3conf/localconf.php typo3conf/ext typo3conf/l10n"
  35
+	for file in ${files}; do
  36
+		webapp_serverowned "${MY_HTDOCSDIR}/${file}"
  37
+	done
  38
+
  39
+	webapp_configfile ${MY_HTDOCSDIR}/typo3conf/localconf.php
  40
+	webapp_src_install
  41
+}
2  www-apps/typo3_src/Manifest
... ...
@@ -1,5 +1,6 @@
1 1
 DIST typo3_src-4.5.10.tar.gz 20528141 RMD160 717d867e5255e64561ede520d68926c471c592df SHA1 2cfd9cd2ead0c5acaafb114df8d7b0f64b3fb316 SHA256 850f12006bf09e17cbb90213696a2296527c85f55ff473bbc675997c1901d8e0
2 2
 DIST typo3_src-4.5.11.tar.gz 20530278 RMD160 913474133aa0c30e8ca3caa7784754b66028a708 SHA1 ff339747109b1f2672acc74f77b0c663b6813dbc SHA256 20a71afbd23a9d26a8dbff14099ea0a5b80a864293c5ce687202f254d9bd6cde
  3
+DIST typo3_src-4.5.12.tar.gz 20530753 RMD160 2cc6b8a4f6b053cd1a3662c75a8533c90d97fd35 SHA1 300277031cf9424b5ecb6901f2f4172b3b5ed116 SHA256 3e1216bca145fce08b5b49af2441fd5ebf5a99d9754cde199e2ac7901abf054b
3 4
 DIST typo3_src-4.5.4.tar.gz 20504971 RMD160 551f0c0c1ef62c4e7ea6f3db6d4721f94d2291fd SHA1 12ebacb41592b4594cf3eca4896397ce0e86d5c3 SHA256 0359e40faa53d48dfa74aa25a90a7ac4f419847ed215f51a60e343c22ff7658c
4 5
 DIST typo3_src-4.5.5.tar.gz 20506753 RMD160 20ae6e46acb043f3559a069681459f2755b1ce66 SHA1 8c864aa7c67b703443a5889a4684f6aed6af254b SHA256 c5ea1425a74af0bc392ace8dd9337db09aa6b728fbd176956ba0ac8b71b1fd5c
5 6
 DIST typo3_src-4.5.6.tar.gz 20508179 RMD160 2f0fe599c742807db8218717040ac61ed8ce220e SHA1 b9043f541287c815d5d4170f78e43c9ba0169238 SHA256 9eff541d0ee60d7a2d5527ed5459ea33870a9693e91174228f0fc0d51a5d95ac
@@ -11,4 +12,5 @@ DIST typo3_src-4.6.1.tar.gz 21257674 RMD160 a44b28aae3b78f79c9481c85a9fd93ac4395
11 12
 DIST typo3_src-4.6.2.tar.gz 21258662 RMD160 5b1768af5b034cf2d46eb3c41f9936b4bfcd4acf SHA1 df154b7eeb438a5773e3146a38f5f8bcaef3e6ef SHA256 fee585143b6432ea9d27e9ea9e247212e777bfb4b0930a951c9d3ff497b7d481
12 13
 DIST typo3_src-4.6.3.tar.gz 21259490 RMD160 f71eba4d015b3141cd2da5fddb53c4db8b414104 SHA1 bf6c4f36c5f33eb992b36f7586b4026390400cb6 SHA256 556849959da5ab6daaf48477b78f97263ae525312e06a7f572cb4fcd7f46a846
13 14
 DIST typo3_src-4.6.4.tar.gz 21260842 RMD160 cfaa3e84db90df384ac9850f2e6fb3fd30fa3c37 SHA1 6f784831839a209cbceacdde094cf747136a2c88 SHA256 f1c74544612f165e94131519a98d4eeeffd1d23f3a3db1e721876e16eb6557e0
  15
+DIST typo3_src-4.6.5.tar.gz 21267212 RMD160 9ecb4fdbf0104fa254b6a3f1b7867ebf572f0850 SHA1 79dfa4986e89ca7d9a3f7691fa0cddefb9b58b93 SHA256 95b608ab0d541e0f9ad2559623adf132bcaa3fe75183c7ab67d767260136a08a
14 16
 DIST typo3_src-4.7.0beta1.tar.gz 22353058 RMD160 bf42fa37467a83e55990a3e84a6fb4efa92ac929 SHA1 09784dd7962b971da92567278f61603bac789e59 SHA256 cd34b35e5364aff0a665d76b24cda4818d70d184679d78d6f4f11350819e1a42
138  www-apps/typo3_src/typo3_src-4.5.12-r1.ebuild
... ...
@@ -0,0 +1,138 @@
  1
+# Copyright 1999-2011 Gentoo Foundation
  2
+# Distributed under the terms of the GNU General Public License v2
  3
+# $Header: $
  4
+
  5
+EAPI="4"
  6
+
  7
+inherit eutils webapp depend.php
  8
+
  9
+DESCRIPTION="TYPO3 is a free Open Source CMS. This is the source package."
  10
+HOMEPAGE="http://typo3.org/"
  11
+SRC_URI="mirror://sourceforge/typo3/${PN}-${PV}.tar.gz"
  12
+
  13
+LICENSE="GPL-2"
  14
+KEYWORDS="amd64 ~hppa ~ppc ~ppc64 ~sparc x86"
  15
+IUSE="mysql"
  16
+
  17
+RDEPEND="~www-apps/typo3_dummy-${PV}
  18
+	|| ( >=dev-lang/php-5.2[filter,gd,json,ssl,session,soap,xml,zlib,truetype,zlib,mysql] >=dev-lang/php-5.2[filter,gd,json,ssl,session,soap,xml,zlib,truetype,zlib,mysqli] )
  19
+	|| ( media-gfx/graphicsmagick[zlib,truetype,tiff,png,jpeg] <=media-gfx/imagemagick-4.2.9[zlib,truetype,tiff,png,jpeg] )
  20
+	dev-libs/libpcre
  21
+	>=dev-db/mysql-5.0"
  22
+
  23
+need_php5_httpd
  24
+
  25
+pkg_setup() {
  26
+	local optional="truetype zlib"
  27
+	if ! PHPCHECKNODIE="yes" require_php_with_use ${optional} || \
  28
+		! PHPCHECKNODIE="yes" require_php_with_any_use gd gd-external ; then
  29
+		    ewarn
  30
+		    ewarn "NOTE: The above use flags are not enabled for your PHP install"
  31
+		    ewarn "but are strongly recommended to make use of full features of ${PN}."
  32
+		    ewarn "Consider re-emerging ${PHP_PKG} with those USE flags enabled."
  33
+		    ewarn
  34
+		    ebeep
  35
+		    epause 5
  36
+	fi
  37
+
  38
+	# check for mysql support first, this is the preferred and primary DB backend
  39
+	if use mysql ; then
  40
+		require_php_with_use mysql
  41
+	else
  42
+		# check for at least one of DB backends supported by the bundled ADOdb
  43
+		local adodb="db2 firebird interbase mssql mysql mysqli oci8 odbc pdo postgres sapdb sqlite sybase"
  44
+		ewarn
  45
+		ewarn "MySQL is the recommended DB backend for ${PN} but you do not have USE=mysql"
  46
+		ewarn "enabled for PHP. Support for other DB backends is provided via ADOdb abstraction"
  47
+		ewarn "and includes:"
  48
+		ewarn "${adodb}"
  49
+		ewarn
  50
+		ebeep
  51
+		epause 5
  52
+		require_php_with_any_use ${adodb}
  53
+	fi
  54
+
  55
+	webapp_pkg_setup
  56
+}
  57
+
  58
+src_install() {
  59
+	webapp_src_preinst
  60
+
  61
+	rm -f {GPL,LICENSE}.txt
  62
+	dodoc *.txt ChangeLog
  63
+	rm -f *.txt ChangeLog
  64
+	
  65
+	insinto "${MY_HTDOCSDIR}"
  66
+	dodir "${MY_HTDOCSDIR}"
  67
+	
  68
+	cp -R . "${D}"/"${MY_HTDOCSDIR}"
  69
+	
  70
+	local files="typo3/ext"
  71
+	for file in ${files}; do
  72
+		webapp_serverowned "${MY_HTDOCSDIR}/${file}"
  73
+	done
  74
+
  75
+	webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
  76
+	webapp_postupgrade_txt en "${FILESDIR}"/postupgrade-en.txt
  77
+
  78
+	webapp_src_install
  79
+}
  80
+
  81
+pkg_postinst() {
  82
+	elog
  83
+	elog "Some sort of PHP cache is highly recommended for ${PN}."
  84
+	elog "If you have not installed one yet, consider emerging one of the following ebuilds:"
  85
+	elog "		dev-php/xcache"
  86
+	elog "		dev-php/eaccelerator"
  87
+	elog "		dev-php/pecl-apc"
  88
+	elog
  89
+	elog "TYPO3 is divided into two corresponding packages: One containing"
  90
+	elog "the core (www-apps/typo3_src) and a second one, containing necessary"
  91
+	elog "files to get a fresh instance running (www-apps/typo3_dummy)."
  92
+	elog "Every time, a new version of TYPO3 core is released, it's dummy"
  93
+	elog "package is updated, too. Most of the time containing only an updated"
  94
+	elog "changelog. But it might also happen that other files are updated"
  95
+	elog "within the dummy package. Therefore, the recommended upgrade"
  96
+	elog "procedure suggests to always update both packages at the same time"
  97
+	elog "before continuing with TYPO3's official upgrade instructions [1]."
  98
+	elog
  99
+	elog "The official dummy package contains a symlink named \"typo3_src\","
  100
+	elog "pointing to \"../typo3_src-VERSION\" and further ones, such as"
  101
+	elog "\"t3lib\" or \"typo3\", pointing to that symlink. That way, if there's"
  102
+	elog "an update, the only directory that must be changed is the one where"
  103
+	elog "the \"typo3_src\" symlink points to."
  104
+	elog "The www-apps/typo3_dummy ebuild removes that symlink, since Funtoo's"
  105
+	elog "webapp-config mechanism is more effective. So the \"Funtoo way\" to"
  106
+	elog "setup TYPO3 is to first install one or more instances of"
  107
+	elog "www-apps/typo3_dummy using webapp-config as by the following"
  108
+	elog "example:"
  109
+	elog
  110
+	elog "webapp-config -I -h ${VHOST_HOSTNAME} -d typo3 typo3_dummy ${PVR}"
  111
+	elog
  112
+	elog "After the www-apps/typo3_dummy package has been installed that way,"
  113
+	elog "the package www-apps/typo3_src package must be installed into the"
  114
+	elog "same directory as a subfolder called \"typo3_src\" as by the following"
  115
+	elog "example (this assumes that you used the directory \"typo3\" as"
  116
+	elog "destination for the dummy package):"
  117
+	elog
  118
+	elog "webapp-config -I -h ${VHOST_HOSTNAME} -d typo3/${PN} ${PN} ${PVR}"
  119
+	elog
  120
+	elog "After this you can start using TYPO3 as usual."
  121
+	elog
  122
+	elog "If you have set USE=\"vhosts\", webapp-config will install the two"
  123
+	elog "packages based on it's defaults at these two locations:"
  124
+	elog
  125
+	elog "/var/www/${VHOST_HOSTNAME}/htdocs/${PN}"
  126
+	elog "and"
  127
+	elog "/var/www/${VHOST_HOSTNAME}/htdocs/typo3_dummy"
  128
+	elog
  129
+	elog "You have to set a symlink pointing from"
  130
+	elog "/var/www/${VHOST_HOSTNAME}/htdocs/typo3_dummy/${PN}"
  131
+	elog "to"
  132
+	elog "/var/www/${VHOST_HOSTNAME}/htdocs/${PN}"
  133
+	elog "manually in this case (or wherever your defaults point to)."
  134
+	elog
  135
+	elog "[1] http://wiki.typo3.org/wiki/Upgrade"
  136
+	elog
  137
+	webapp_pkg_postinst
  138
+}
138  www-apps/typo3_src/typo3_src-4.6.5-r1.ebuild
... ...
@@ -0,0 +1,138 @@
  1
+# Copyright 1999-2011 Gentoo Foundation
  2
+# Distributed under the terms of the GNU General Public License v2
  3
+# $Header: $
  4
+
  5
+EAPI="4"
  6
+
  7
+inherit eutils webapp depend.php
  8
+
  9
+DESCRIPTION="TYPO3 is a free Open Source CMS. This is the source package."
  10
+HOMEPAGE="http://typo3.org/"
  11
+SRC_URI="mirror://sourceforge/typo3/${PN}-${PV}.tar.gz"
  12
+
  13
+LICENSE="GPL-2"
  14
+KEYWORDS="amd64 ~hppa ~ppc ~ppc64 ~sparc x86"
  15
+IUSE="mysql"
  16
+
  17
+RDEPEND="~www-apps/typo3_dummy-${PV}
  18
+	|| ( >=dev-lang/php-5.3[filter,gd,json,ssl,session,soap,xml,zlib,truetype,zlib,mysql] >=dev-lang/php-5.3[filter,gd,json,ssl,session,soap,xml,zlib,truetype,zlib,mysqli] )
  19
+	|| ( media-gfx/graphicsmagick[zlib,truetype,tiff,png,jpeg] <=media-gfx/imagemagick-4.2.9[zlib,truetype,tiff,png,jpeg] )
  20
+	dev-libs/libpcre
  21
+	>=dev-db/mysql-5.0"
  22
+
  23
+need_php5_httpd
  24
+
  25
+pkg_setup() {
  26
+	local optional="truetype zlib"
  27
+	if ! PHPCHECKNODIE="yes" require_php_with_use ${optional} || \
  28
+		! PHPCHECKNODIE="yes" require_php_with_any_use gd gd-external ; then
  29
+		    ewarn
  30
+		    ewarn "NOTE: The above use flags are not enabled for your PHP install"
  31
+		    ewarn "but are strongly recommended to make use of full features of ${PN}."
  32
+		    ewarn "Consider re-emerging ${PHP_PKG} with those USE flags enabled."
  33
+		    ewarn
  34
+		    ebeep
  35
+		    epause 5
  36
+	fi
  37
+
  38
+	# check for mysql support first, this is the preferred and primary DB backend
  39
+	if use mysql ; then
  40
+		require_php_with_use mysql
  41
+	else
  42
+		# check for at least one of DB backends supported by the bundled ADOdb
  43
+		local adodb="db2 firebird interbase mssql mysql mysqli oci8 odbc pdo postgres sapdb sqlite sybase"
  44
+		ewarn
  45
+		ewarn "MySQL is the recommended DB backend for ${PN} but you do not have USE=mysql"
  46
+		ewarn "enabled for PHP. Support for other DB backends is provided via ADOdb abstraction"
  47
+		ewarn "and includes:"
  48
+		ewarn "${adodb}"
  49
+		ewarn
  50
+		ebeep
  51
+		epause 5
  52
+		require_php_with_any_use ${adodb}
  53
+	fi
  54
+
  55
+	webapp_pkg_setup
  56
+}
  57
+
  58
+src_install() {
  59
+	webapp_src_preinst
  60
+
  61
+	rm -f {GPL,LICENSE}.txt
  62
+	dodoc *.txt ChangeLog
  63
+	rm -f *.txt ChangeLog
  64
+	
  65
+	insinto "${MY_HTDOCSDIR}"
  66
+	dodir "${MY_HTDOCSDIR}"
  67
+	
  68
+	cp -R . "${D}"/"${MY_HTDOCSDIR}"
  69
+	
  70
+	local files="typo3/ext"
  71
+	for file in ${files}; do
  72
+		webapp_serverowned "${MY_HTDOCSDIR}/${file}"
  73
+	done
  74
+
  75
+	webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
  76
+	webapp_postupgrade_txt en "${FILESDIR}"/postupgrade-en.txt
  77
+
  78
+	webapp_src_install
  79
+}
  80
+
  81
+pkg_postinst() {
  82
+	elog
  83
+	elog "Some sort of PHP cache is highly recommended for ${PN}."
  84
+	elog "If you have not installed one yet, consider emerging one of the following ebuilds:"
  85
+	elog "		dev-php/xcache"
  86
+	elog "		dev-php/eaccelerator"
  87
+	elog "		dev-php/pecl-apc"
  88
+	elog
  89
+	elog "TYPO3 is divided into two corresponding packages: One containing"
  90
+	elog "the core (www-apps/typo3_src) and a second one, containing necessary"
  91
+	elog "files to get a fresh instance running (www-apps/typo3_dummy)."
  92
+	elog "Every time, a new version of TYPO3 core is released, it's dummy"
  93
+	elog "package is updated, too. Most of the time containing only an updated"
  94
+	elog "changelog. But it might also happen that other files are updated"
  95
+	elog "within the dummy package. Therefore, the recommended upgrade"
  96
+	elog "procedure suggests to always update both packages at the same time"
  97
+	elog "before continuing with TYPO3's official upgrade instructions [1]."
  98
+	elog
  99
+	elog "The official dummy package contains a symlink named \"typo3_src\","
  100
+	elog "pointing to \"../typo3_src-VERSION\" and further ones, such as"
  101
+	elog "\"t3lib\" or \"typo3\", pointing to that symlink. That way, if there's"
  102
+	elog "an update, the only directory that must be changed is the one where"
  103
+	elog "the \"typo3_src\" symlink points to."
  104
+	elog "The www-apps/typo3_dummy ebuild removes that symlink, since Funtoo's"
  105
+	elog "webapp-config mechanism is more effective. So the \"Funtoo way\" to"
  106
+	elog "setup TYPO3 is to first install one or more instances of"
  107
+	elog "www-apps/typo3_dummy using webapp-config as by the following"
  108
+	elog "example:"
  109
+	elog
  110
+	elog "webapp-config -I -h ${VHOST_HOSTNAME} -d typo3 typo3_dummy ${PVR}"
  111
+	elog
  112
+	elog "After the www-apps/typo3_dummy package has been installed that way,"
  113
+	elog "the package www-apps/typo3_src package must be installed into the"
  114
+	elog "same directory as a subfolder called \"typo3_src\" as by the following"
  115
+	elog "example (this assumes that you used the directory \"typo3\" as"
  116
+	elog "destination for the dummy package):"
  117
+	elog
  118
+	elog "webapp-config -I -h ${VHOST_HOSTNAME} -d typo3/${PN} ${PN} ${PVR}"
  119
+	elog
  120
+	elog "After this you can start using TYPO3 as usual."
  121
+	elog
  122
+	elog "If you have set USE=\"vhosts\", webapp-config will install the two"
  123
+	elog "packages based on it's defaults at these two locations:"
  124
+	elog
  125
+	elog "/var/www/${VHOST_HOSTNAME}/htdocs/${PN}"
  126
+	elog "and"
  127
+	elog "/var/www/${VHOST_HOSTNAME}/htdocs/typo3_dummy"
  128
+	elog
  129
+	elog "You have to set a symlink pointing from"
  130
+	elog "/var/www/${VHOST_HOSTNAME}/htdocs/typo3_dummy/${PN}"
  131
+	elog "to"
  132
+	elog "/var/www/${VHOST_HOSTNAME}/htdocs/${PN}"
  133
+	elog "manually in this case (or wherever your defaults point to)."
  134
+	elog
  135
+	elog "[1] http://wiki.typo3.org/wiki/Upgrade"
  136
+	elog
  137
+	webapp_pkg_postinst
  138
+}

0 notes on commit cdc0db5

Please sign in to comment.
Something went wrong with that request. Please try again.