Bug 208779 - www/typo3: update to 7.6.5
Summary: www/typo3: update to 7.6.5
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Wen Heping
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-13 14:40 UTC by Helmut Ritter
Modified: 2016-04-28 02:49 UTC (History)
1 user (show)

See Also:


Attachments
another patch to update typo3 to 7.6.5 (1.91 KB, text/plain)
2016-04-15 13:09 UTC, Wen Heping
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Comment 1 Wen Heping freebsd_committer freebsd_triage 2016-04-15 13:09:42 UTC
Created attachment 169335 [details]
another patch to update typo3 to 7.6.5
Comment 2 Wen Heping freebsd_committer freebsd_triage 2016-04-15 13:13:02 UTC
Hi, maintainer:
   
    I submit a patch to of typo3, it include:

- Update to 7.6.5
- Add php module simplexml and dom
- Set GD ZLIB as default options(else the installer will warn)
- Touch a file FIRST_INSTALL which installer require)
- Make WWWDIR writable for user www

wen
Comment 3 Helmut Ritter 2016-04-15 19:00:35 UTC
Hi Wen,

- GD and ZLIB were optional to install only minimal footprint (GD requires ImageMagick which makes the installation "fat")
- WWWDIR should not be writable for www user for security reasons

The rest is fine for me, thank you!
Comment 4 Wen Heping freebsd_committer freebsd_triage 2016-04-16 00:15:29 UTC
(In reply to freebsd-ports from comment #3)

  1 Withoout GD and ZLIB, the installer will print a warning message.

  2 Set WWWDIR writable is unsecurity, but without it installer stop.
    If you would not set WWWDIR writable, would you create a pkg-message file
    which help the user how to install and config typo3 after the 
    package install ?

wen
Comment 5 Wen Heping freebsd_committer freebsd_triage 2016-04-16 00:59:46 UTC
To welcome typo3-8.0.1, I sugguset:

 1 rename typo3-lts to typo3-lts-6
 2 repocopy typo3 to typo3-lts-7
 3 update typo3 to 8.0.x

wen
Comment 6 Po-Chuan Hsieh freebsd_committer freebsd_triage 2016-04-16 09:07:17 UTC
(In reply to Wen Heping from comment #5)

How about typo3-lts6 and typo3-lts7?
Comment 7 Wen Heping freebsd_committer freebsd_triage 2016-04-16 09:12:03 UTC
(In reply to Sunpoet Po-Chuan Hsieh from comment)

No object :)
Comment 8 Helmut Ritter 2016-04-16 09:27:46 UTC
(In reply to Wen Heping from comment #5)

My plan was to update typo3-LTS to version 7 and typo3 to version 8 soon. Do you think we require 3 versions of typo3?
Comment 9 Helmut Ritter 2016-04-16 09:30:31 UTC
(In reply to Wen Heping from comment #4)

1) But only a warning, not an error ;)
2) I do not use Typo3 anymore, what is the error message, does the installer only want to write to a specific directory? If yes I can create a pkg-message, sure!
Comment 10 Wen Heping freebsd_committer freebsd_triage 2016-04-16 12:39:32 UTC
(In reply to freebsd-ports from comment #8)
Since upstream maintain 3 versions I think it is OK ports maintain 3 versions.
Comment 11 Wen Heping freebsd_committer freebsd_triage 2016-04-16 12:40:35 UTC
(In reply to Wen Heping from comment #10)
Installer want create some diretories under WWWDIR
Comment 12 Wen Heping freebsd_committer freebsd_triage 2016-04-17 01:22:33 UTC
The pkg-message.in file I suggest as below. But if maintainer does not agree set WWWDIR writable, would you add some message to help the user to complete the install ?

wen




POST-INSTALL CONFIGURATION FOR TYPO3
=====================================

1) Add the following to your Apache configuration file
   httpd.conf, and restart the server:

   For Apache versions earlier than 2.4:

   Alias /typo3 %%PREFIX%%/%%TYPO3WWW%%/%%TYPO3DIR%%/
   AcceptPathInfo On
   <Directory %%PREFIX%%/%%TYPO3WWW%%/%%TYPO3DIR%%>
      Options Indexes FollowSymLinks
      AllowOverride None
      Order Allow,Deny
      Allow from all
   </Directory>

   For Apache version 2.4.x or above:

   Alias /typo3 %%PREFIX%%/%%TYPO3WWW%%/%%TYPO3DIR%%/
   AcceptPathInfo On
   <Directory %%PREFIX%%/%%TYPO3WWW%%/%%TYPO3DIR%%/>
      Options Indexes FollowSymLinks
      AllowOverride None
      Require all granted
   </Directory>

3) Visit your Moodle site with a browser (i.e.,
   http://your.server.com/typo3/), and you should
   be taken to the install.php script, which will lead
   you through creating a config.php file and then
   setting up Moodle, creating an admin account, etc.

For more information, see the INSTALL DOCUMENTATION:

  https://github.com/TYPO3/TYPO3.CMS/blob/TYPO3_7-6/INSTALL.md
   For Apache version 2.4.x or above:

   Alias /typo3 %%PREFIX%%/%%TYPO3WWW%%/%%TYPO3DIR%%/
   AcceptPathInfo On
   <Directory %%PREFIX%%/%%TYPO3WWW%%/%%TYPO3DIR%%/>
      Options Indexes FollowSymLinks
      AllowOverride None
      Require all granted
   </Directory>

3) Visit your typo3 site with a browser (i.e.,
   http://your.server.com/typo3/), and you should
   be taken to the install.php script, which will lead
   you through creating the typo3 site.

For more information, see the INSTALL DOCUMENTATION:

  https://github.com/TYPO3/TYPO3.CMS/blob/TYPO3_7-6/INSTALL.md
Comment 13 Helmut Ritter 2016-04-17 16:48:09 UTC
Thank you Wen, I'm fine with this. If it makes you happy, set WWDIR writable. ;)

Could you also make this change for www/typo3-lts please?
Comment 14 commit-hook freebsd_committer freebsd_triage 2016-04-28 02:44:29 UTC
A commit references this bug:

Author: wen
Date: Thu Apr 28 02:43:54 UTC 2016
New revision: 414154
URL: https://svnweb.freebsd.org/changeset/ports/414154

Log:
  - Update to 7.6.5
  - Add missing DEPENDS
  - Add pkg-message.in

  PR:		208779
  Submitted by:	freebsd-ports@charlieroot.de(maintainer)

Changes:
  head/www/typo3/Makefile
  head/www/typo3/distinfo
  head/www/typo3/files/
  head/www/typo3/files/pkg-message.in