pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/typolight27 Update www/typolight27 pacakge to 2.7....
details: https://anonhg.NetBSD.org/pkgsrc/rev/54b0f54aa030
branches: trunk
changeset: 394959:54b0f54aa030
user: taca <taca%pkgsrc.org@localhost>
date: Sun Jun 28 07:39:38 2009 +0000
description:
Update www/typolight27 pacakge to 2.7.2. Approved by agc@.
Version 2.7.2 (2009-06-25)
--------------------------
- Improved navigation skip links (#815)
- Fixed a few PHP 5.3 compatibility issues (#783, #785, #786)
- Fixed issue with wrong duplicate newsletter recipient warning (#769)
- Fixed issue with files with special characters not being downloadable (#816)
- Fixed issue with date calculation in "edit multiple" mode (#809)
- Fixed issue with revision date not being set in "edit multiple" mode (#793)
- Fixed issue with news pagination menu not showing (#760)
- Fixed issue with news author notifications not working (#806)
- Fixed issue with "checkCredentials" hook (#811)
- Fixed a few minor issues
diffstat:
www/typolight27/Makefile | 3 +-
www/typolight27/Makefile.version | 4 +-
www/typolight27/PLIST | 6 +-
www/typolight27/distinfo | 9 +-
www/typolight27/patches/patch-aa | 327 ---------------------------------------
5 files changed, 8 insertions(+), 341 deletions(-)
diffs (truncated from 398 to 300 lines):
diff -r b21723624da2 -r 54b0f54aa030 www/typolight27/Makefile
--- a/www/typolight27/Makefile Sat Jun 27 23:42:39 2009 +0000
+++ b/www/typolight27/Makefile Sun Jun 28 07:39:38 2009 +0000
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.4 2009/06/22 01:17:06 taca Exp $
+# $NetBSD: Makefile,v 1.5 2009/06/28 07:39:38 taca Exp $
#
DISTNAME= typolight-${TL_VERSION}
PKGNAME= typolight${TL_VER}-${TL_PKGVER}
-PKGREVISION= 1
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=typolight/}
diff -r b21723624da2 -r 54b0f54aa030 www/typolight27/Makefile.version
--- a/www/typolight27/Makefile.version Sat Jun 27 23:42:39 2009 +0000
+++ b/www/typolight27/Makefile.version Sun Jun 28 07:39:38 2009 +0000
@@ -1,3 +1,3 @@
-# $NetBSD: Makefile.version,v 1.3 2009/05/30 16:53:26 taca Exp $
+# $NetBSD: Makefile.version,v 1.4 2009/06/28 07:39:38 taca Exp $
#
-TL_VERSION= 2.7.1
+TL_VERSION= 2.7.2
diff -r b21723624da2 -r 54b0f54aa030 www/typolight27/PLIST
--- a/www/typolight27/PLIST Sat Jun 27 23:42:39 2009 +0000
+++ b/www/typolight27/PLIST Sun Jun 28 07:39:38 2009 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2009/06/14 22:00:38 joerg Exp $
+@comment $NetBSD: PLIST,v 1.5 2009/06/28 07:39:38 taca Exp $
${TL_DOCDIR}/README
${TL_EGDIR}/basic.css
${TL_EGDIR}/print.css
@@ -72,8 +72,6 @@
${TL_WEBDIR}/plugins/highlighter/styles/shThemeDefault.css
${TL_WEBDIR}/plugins/highlighter/styles/shThemeTYPOlight.css
${TL_WEBDIR}/plugins/highlighter/styles/wrapping.png
-${TL_WEBDIR}/plugins/http/class.http.php
-${TL_WEBDIR}/plugins/http/license.txt
${TL_WEBDIR}/plugins/mootools/images/blank.gif
${TL_WEBDIR}/plugins/mootools/images/moor_arrows.gif
${TL_WEBDIR}/plugins/mootools/images/moor_boverlay.png
@@ -1217,11 +1215,9 @@
${TL_WEBDIR}/system/modules/listing/dca/tl_module.php
${TL_WEBDIR}/system/modules/listing/html/details.gif
${TL_WEBDIR}/system/modules/listing/languages/de/.htaccess
-${TL_WEBDIR}/system/modules/listing/languages/de/default.php
${TL_WEBDIR}/system/modules/listing/languages/de/modules.php
${TL_WEBDIR}/system/modules/listing/languages/de/tl_module.php
${TL_WEBDIR}/system/modules/listing/languages/en/.htaccess
-${TL_WEBDIR}/system/modules/listing/languages/en/default.php
${TL_WEBDIR}/system/modules/listing/languages/en/modules.php
${TL_WEBDIR}/system/modules/listing/languages/en/tl_module.php
${TL_WEBDIR}/system/modules/listing/templates/.htaccess
diff -r b21723624da2 -r 54b0f54aa030 www/typolight27/distinfo
--- a/www/typolight27/distinfo Sat Jun 27 23:42:39 2009 +0000
+++ b/www/typolight27/distinfo Sun Jun 28 07:39:38 2009 +0000
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.4 2009/06/22 01:17:06 taca Exp $
+$NetBSD: distinfo,v 1.5 2009/06/28 07:39:38 taca Exp $
-SHA1 (typolight-2.7.1.tar.gz) = 498f1b117c5fd5edd21f5e62ab98a6ac9d393b2c
-RMD160 (typolight-2.7.1.tar.gz) = b6e0690a8f1c13ef57ddd9a6cc7cf2d2265f1dec
-Size (typolight-2.7.1.tar.gz) = 4286757 bytes
-SHA1 (patch-aa) = 901a6fdf247c950418e0b540b6107e9fab7ef235
+SHA1 (typolight-2.7.2.tar.gz) = ec9af7f6605a48a469c652473a66cb0193ce941f
+RMD160 (typolight-2.7.2.tar.gz) = eae9a54cb92b424ce00228fa3edc8de6cbd80f5a
+Size (typolight-2.7.2.tar.gz) = 4281865 bytes
diff -r b21723624da2 -r 54b0f54aa030 www/typolight27/patches/patch-aa
--- a/www/typolight27/patches/patch-aa Sat Jun 27 23:42:39 2009 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,327 +0,0 @@
-$NetBSD: patch-aa,v 1.1 2009/06/22 01:17:06 taca Exp $
-
-Fix Extention Repository access problem from TYPOlight forum's
-articles :
- http://www.typolight.org/forum/topic/12088.html
- http://www.typolight.org/board/message/80018.html
-
---- system/libraries/Request.php.orig 2009-05-08 23:12:15.000000000 +0900
-+++ system/libraries/Request.php
-@@ -30,7 +30,8 @@
- /**
- * Class Request
- *
-- * Provide methods to handle HTTP request.
-+ * Provide methods to handle HTTP request. This class uses some functions of
-+ * Drupal's HTTP request class that you can find on http://drupal.org.
- * @copyright Leo Feyer 2005-2009
- * @author Leo Feyer <leo%typolight.org@localhost>
- * @package Library
-@@ -39,27 +40,61 @@ class Request
- {
-
- /**
-- * HTTP object
-- * @var object
-+ * Data to be added to the request
-+ * @var string
- */
-- protected $objHttp;
-+ protected $strData;
-
-+ /**
-+ * Request method (defaults to GET)
-+ * @var string
-+ */
-+ protected $strMethod;
-
- /**
-- * Instantiate object and load http plugin
-- * @throws Exception
-+ * Error string
-+ * @var string
- */
-- public function __construct()
-- {
-- $strPluginPath = TL_ROOT . '/plugins/http';
-+ protected $strError;
-
-- if (!is_dir($strPluginPath))
-- {
-- throw new Exception('Plugin http required');
-- }
-+ /**
-+ * Response code
-+ * @var integer
-+ */
-+ protected $intCode;
-+
-+ /**
-+ * Response string
-+ * @var string
-+ */
-+ protected $strResponse;
-+
-+ /**
-+ * Request string
-+ * @var string
-+ */
-+ protected $strRequest;
-+
-+ /**
-+ * Headers array (these headers will be sent)
-+ * @var array
-+ */
-+ protected $arrHeaders = array();
-+
-+ /**
-+ * Response headers array (these headers are returned)
-+ * @var array
-+ */
-+ protected $arrResponseHeaders = array();
-
-- include_once($strPluginPath . '/class.http.php');
-- $this->objHttp = new Http();
-+
-+ /**
-+ * Set default values
-+ */
-+ public function __construct()
-+ {
-+ $this->strData = '';
-+ $this->strMethod = 'get';
- }
-
-
-@@ -74,11 +109,11 @@ class Request
- switch ($strKey)
- {
- case 'data':
-- $this->objHttp->setParams($varValue);
-+ $this->strData = $varValue;
- break;
-
- case 'method':
-- $this->objHttp->setMethod(strtoupper($varValue));
-+ $this->strMethod = $varValue;
- break;
-
- default:
-@@ -98,19 +133,23 @@ class Request
- switch ($strKey)
- {
- case 'error':
-- return $this->objHttp->getError();
-+ return $this->strError;
- break;
-
- case 'code':
-- return $this->objHttp->getStatus();
-+ return $this->intCode;
-+ break;
-+
-+ case 'request':
-+ return $this->strRequest;
- break;
-
- case 'response':
-- return $this->objHttp->getResult();
-+ return $this->strResponse;
- break;
-
- case 'headers':
-- return $this->objHttp->getHeaders();
-+ return $this->arrResponseHeaders;
- break;
-
- default:
-@@ -121,12 +160,23 @@ class Request
-
-
- /**
-+ * Set additional request headers
-+ * @param string
-+ * @param mixed
-+ */
-+ public function setHeader($strKey, $varValue)
-+ {
-+ $this->arrHeaders[$strKey] = $varValue;
-+ }
-+
-+
-+ /**
- * Return true if there has been an error
- * @return boolean
- */
- public function hasError()
- {
-- return ($this->objHttp->getError() != '');
-+ return strlen($this->strError) ? true : false;
- }
-
-
-@@ -140,15 +190,161 @@ class Request
- {
- if ($strData)
- {
-- $this->objHttp->setParams($strData);
-+ $this->strData = $strData;
- }
-
- if ($strMethod)
- {
-- $this->objHttp->setMethod(strtoupper($strMethod));
-+ $this->strMethod = $strMethod;
- }
-
-- $this->objHttp->execute($strUrl);
-+ $errstr = '';
-+ $errno = null;
-+ $uri = parse_url($strUrl);
-+
-+ switch ($uri['scheme'])
-+ {
-+ case 'http':
-+ $port = isset($uri['port']) ? $uri['port'] : 80;
-+ $host = $uri['host'] . (($port != 80) ? ':' . $port : '');
-+ $fp = @fsockopen($uri['host'], $port, $errno, $errstr, 10);
-+ break;
-+
-+ case 'https':
-+ $port = isset($uri['port']) ? $uri['port'] : 443;
-+ $host = $uri['host'] . (($port != 443) ? ':' . $port : '');
-+ $fp = @fsockopen('ssl://' . $uri['host'], $port, $errno, $errstr, 15);
-+ break;
-+
-+ default:
-+ $this->strError = 'Invalid schema ' . $uri['scheme'];
-+ return;
-+ break;
-+ }
-+
-+ if (!is_resource($fp))
-+ {
-+ $this->strError = trim($errno .' '. $errstr);
-+ return;
-+ }
-+
-+ $path = isset($uri['path']) ? $uri['path'] : '/';
-+
-+ if (isset($uri['query']))
-+ {
-+ $path .= '?' . $uri['query'];
-+ }
-+
-+ $default = array
-+ (
-+ 'Host' => 'Host: ' . $host,
-+ 'User-Agent' => 'User-Agent: TYPOlight (+http://www.typolight.org/)',
-+ 'Content-Length' => 'Content-Length: '. strlen($this->strData),
-+ 'Connection' => 'Connection: close'
-+ );
-+
-+ foreach ($this->arrHeaders as $header=>$value)
-+ {
-+ $default[$header] = $header . ': ' . $value;
-+ }
-+
-+ $request = strtoupper($this->strMethod) .' '. $path ." HTTP/1.1\r\n";
-+ $request .= implode("\r\n", $default);
Home |
Main Index |
Thread Index |
Old Index