This ebuild is very alpha, but it works for me. Some feedback would be nice :) Note: typo3 needs imagemagick-4.2.9 to works well! also you need a pached libgd with gif support! Reproducible: Always Steps to Reproduce:
Created attachment 15999 [details] net-www/typo3/typo3-3.5.0.ebuild Place the ebuild in /usr/portage/net-www/typo3/ To build the digest for the file you need to: ebuild /usr/portage/net-www/typo3/typo3-3.5.0.ebuild digest
Created attachment 16000 [details] media-gfx/imagemagick/imagemagick-4.2.9.ebuild you need to create a new digest for the ebuild
Created attachment 16057 [details] net-www/typo3/typo3-3.5.0.ebuild a new ebuild
Comment on attachment 15999 [details] net-www/typo3/typo3-3.5.0.ebuild # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 SRC_URI="http://typo3.sunsite.dk/unix-archives/typo3_src/${PN}_src-${PV}-3.tar. bz2 testsite? ( http://typo3.sunsite.dk/zip-archives/testsite-${PV}.zip ) dummy? ( http://typo3.sunsite.dk/zip-archives/dummy-${PV}.zip ) freesite? ( http://www.typo3.cyberservers.net/zip-archives/freesite-${PV}.zip)" IUSE="testsite dummy" KEYWORDS="~x86 ~ppc" DESCRIPTION="TYPO3 is a free Open Source content management system for enterprise purposes on the web and in intranets." HOMEPAGE="http://www.typo3.com/ http://typo3.org/" RDEPEND="~media-libs/freetype-1.3.1-r3 media-libs/jpeg sys-libs/zlib media-libs/tiff media-libs/libpng media-libs/libgd ~media-gfx/imagemagick-4.2.9 sys-devel/gettext media-libs/ming media-libs/pdflib dev-db/mysql net-www/apache dev-php/mod_php" LICENSE="GPL" SLOT="0" MY_P=${PN}_src-${PV}-3 S=${WORKDIR}/${MY_P} pkg_preinst() { einfo "Generating links for freetype 1.3.1" ln -fs /usr/include/freetype/* /usr/include } src_install() { dodir /home/httpd/htdocs/typo3 cd ${WORKDIR} ln -s ${PN}_src-${PV} ${PN}_src cd ${WORKDIR}/${PN}_src-${PV}/typo3/install/ cp index.php index.php.orig sed -e 's:die:#die:g' index.php.orig > index.php || die "sed command failed!" x=0 if [ `use testsite` ] ; then let x=$x+1; fi if [ `use dummy` ] ; then let x=$x+1; fi if [ `use freesite` ] ; then let x=$x+1; fi if [ $x -gt 1 ] ; then eerror "Only use one of freesite, dummy or testsite" eerror "If you are a new typo3 user try the testsite" die fi if [ `use testsite` ] ; then dodir /etc/typo3 cd ${WORKDIR} touch testsite-${PV}/typo3temp/.keep touch testsite-${PV}/fileadmin/_temp_/.keep cd testsite-${PV} rm -rf t3lib media tslib typo3 ln -s ../${PN}_src/t3lib t3lib ln -s ../${PN}_src/tslib tslib ln -s tslib/media media ln -s ../${PN}_src/typo3 typo3 chmod 777 typo3temp chmod 777 typo3/temp chmod 777 typo3conf/ chmod 777 typo3conf/ext/ chmod 777 typo3/ext/ chmod 777 uploads/ chmod 777 uploads/pics/ chmod 777 uploads/media/ chmod 777 uploads/tf/ chmod 777 fileadmin/ chmod ug+w fileadmin/_temp_/ fi if [ `use dummy` ] ; then cd ${WORKDIR} touch dummy-${PV}/typo3temp/.keep touch dummy-${PV}/fileadmin/_temp_/.keep cd dummy-${PV} rm -rf t3lib media tslib typo3 ln -s ../${PN}_src/t3lib t3lib ln -s ../${PN}_src/tslib tslib ln -s tslib/media media ln -s ../${PN}_src/typo3 typo3 chmod 777 typo3temp chmod 777 typo3/temp chmod 777 typo3conf/ chmod 777 typo3conf/ext/ chmod 777 typo3/ext/ chmod 777 uploads/ chmod 777 uploads/pics/ chmod 777 uploads/media/ chmod 777 uploads/tf/ chmod 777 fileadmin/ chmod ug+w fileadmin/_temp_/ fi if [ `use freesite` ] ; then cd ${WORKDIR} mv freesite freesite-${PV} touch freesite-${PV}/typo3temp/.keep touch freesite-${PV}/fileadmin/_temp_/.keep cd freesite-${PV} rm -rf t3lib media tslib typo3 ln -s ../${PN}_src/t3lib t3lib ln -s ../${PN}_src/tslib tslib ln -s tslib/media media ln -s ../${PN}_src/typo3 typo3 chmod 777 typo3temp chmod 777 typo3/temp chmod 777 typo3conf/ mkdir typo3conf/ext/ chmod 777 typo3conf/ext/ chmod 777 typo3/ext/ chmod 777 uploads/ chmod 777 uploads/pics/ chmod 777 uploads/media/ chmod 777 uploads/tf/ chmod 777 fileadmin/ chmod ug+w fileadmin/_temp_/ fi cd ${WORKDIR} chown --quiet -R apache:apache * find -type l -exec chown root:root {} \; find -type d -exec mkdir -p ${D}/home/httpd/htdocs/typo3/{} \; find -type d -exec chown apache:apache ${D}/home/httpd/htdocs/typo3/{} \; find -type f -exec cp -p {} ${D}/home/httpd/htdocs/typo3/{} \; find -type l -exec cp -r {} ${D}/home/httpd/htdocs/typo3/{} \; } pkg_postinst(){ if [ $x -eq 0 ] ; then einfo " *** NOTE ***" einfo "You should set USE to one of testsite, dummy or freesite" einfo "may be: USE=\"testsite\" emerge typo3" fi einfo " *** NOTE ***" einfo "libgd needs to be compiled with USE=\"+gif\"" einfo "If you don't have +gif in your USE libgd needs a recompile." einfo " *** NOTE ***" einfo "If your mod_php was compiled before libgd it needs to be recompiled." einfo " *** NOTE ***" einfo "start your mysqld and apache and place your browser to " einfo "http://yourhost/typo3/{testsite|dummy|freesite}-3.5.0/ and follow the" einfo "1-2-3 Install-Tool." einfo "After the 1-2-3 Install-Tool you can log in to typo3 backend with:" einfo " admin / password" einfo " *** NOTE ***" einfo "In the 1-2-3 Install-Tool you should set [im_path] and [im_path_lzw] to" einfo "/usr/local/ImageMagick-4.2.9/ TYPO3 only works well with this version!" einfo " *** NOTE ***" einfo "If you reinstall TYPO3 all your config files will be lost! so make a" einfo "backup from all config files before you upgrade or reinstall and read:" einfo "http://typo3.org/doc.0.html?&tx_extrepmgm_pi1[extUid]=265&tx_extrepmgm_pi1[toc El]=83&cHash=d7a35782a6" einfo "" einfo " Have a nice day!" }
Created attachment 16111 [details] net-www/typo3/typo3-3.5.0.ebuild Sorry for my last post, seem that my day was very hard ;) I want to edit the attachment... This here here is the newest ebuild.
Hi, The web-apps herd is currently working on delivering some important changes to the way that web-based applications are installed and managed on Gentoo Linux. Until this work is complete, we're not commiting ebuilds for new web-based packages. I've marked this bug as 'LATER'. As soon as we are able to, we will come back to this bug and help you convert your ebuild to our new approach. Many thanks for your patience, Stu
Hi, Sorry for the delay in replying. We've been very busy putting a new framework in place for ebuilds for web-based applications. This has now been added to Portage. We need you to update your ebuild to use the new framework before we can accept your ebuild. Please emerge net-www/webapp-config (make sure you get version 1.2 or later), and update your ebuild to work with this new tool. You can use 'man 5 webapp.eclass', 'man 5 webapp-config' and 'man 8 webapp-config' to learn more about how your ebuild needs to work. You can find an example ebuild, for phpmyadmin, in /usr/share/doc/webapp-config-1.2/ If you encounter any difficulties with the new framework (and we apologise, but there are sure to be a few at first), please let us know and we'll do our best to help you. Best regards, Stu
*** Bug 37465 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of 37465 ***