pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/geeklog Update geeklog to 1.4.1.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c55979dc0776
branches:  trunk
changeset: 528939:c55979dc0776
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun May 20 15:56:44 2007 +0000

description:
Update geeklog to 1.4.1.

pkgsrc's change: improving our README file.


Geeklog 1.4.1

New Features

  * Support for Microsoft SQL Server. Starting with this release, Geeklog can
    now also be installed on Microsoft SQL Server, so it's no longer restricted
    to just MySQL. The MS SQL support was developed by Randy Kolenko. Thanks,
    Randy!
    Please note that any third-party plugins will have to offer support for MS
    SQL before they can be installed on Microsoft SQL Server. The bundled
    plugins (Calendar, Links, Polls, Spam-X, Static Pages) have already been
    updated accordingly.
  * Calendar plugin. The formerly built-in calendar and events have now been
    moved into a separate plugin. This complements the move of the polls and
    links sections into plugins in Geeklog 1.4.0 and makes Geeklog more modular
    as you can now easily disable or replace functionality that you don't need
    for your site.
  * Multi-language support. It is now possible to build truly multi-linugal
    sites with Geeklog where not only the navigation but also the content of
    the site changes with the language.
  * Ships with FCKeditor 2.3.1, which once again includes a file manager for
    uploading images.
  * A function for mass-deletion of old or inactive users. The list
    automatically searches for users that have never logged in, only used the
    site for a very short time or have not been online since a very long time.
    The time span can be varied, and found users can be selectively deleted.

Security

In the light of the security issues discovered in Geeklog 1.4.0 and earlier
versions, the Geeklog source code has undergone a code review. We have
identified and addressed several minor issues and introduced new measures to
enhance security in this release. As a welcome side effect, the code reviews
have also uncovered a few bugs and inconsistencies that we also fixed in this
release.

Spam Protection

With this release we are finally removing support for the discontinued
MT-Blacklist. In its place, we are now using a system called Spam Link
Verification (SLV) run by Russ Jones at www.linksleeve.org. SLV could be
described as a community-driven, automatically updated blacklist. See the
documentation of the Spam-X plugin for details.

diffstat:

 www/geeklog/DEINSTALL        |     3 +-
 www/geeklog/INSTALL          |     5 +-
 www/geeklog/Makefile         |    25 +-
 www/geeklog/Makefile.common  |    10 +-
 www/geeklog/PLIST            |  1375 +++++++++++++++++++----------------------
 www/geeklog/distinfo         |    18 +-
 www/geeklog/files/README     |    32 +-
 www/geeklog/patches/patch-aa |    16 +-
 www/geeklog/patches/patch-ab |     4 +-
 www/geeklog/patches/patch-ac |     8 +-
 www/geeklog/patches/patch-ad |    10 -
 www/geeklog/patches/patch-ae |    46 -
 www/geeklog/patches/patch-af |    13 -
 www/geeklog/patches/patch-ag |    20 +
 14 files changed, 736 insertions(+), 849 deletions(-)

diffs (truncated from 2252 to 300 lines):

diff -r eef7c291daa5 -r c55979dc0776 www/geeklog/DEINSTALL
--- a/www/geeklog/DEINSTALL     Sun May 20 15:49:54 2007 +0000
+++ b/www/geeklog/DEINSTALL     Sun May 20 15:56:44 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: DEINSTALL,v 1.3 2006/07/23 13:21:09 taca Exp $
+# $NetBSD: DEINSTALL,v 1.4 2007/05/20 15:56:44 taca Exp $
 
 GEEKLOG_DIR="@GEEKLOG_DIR@"
 GEEKLOG_EXAMPLESDIR="@GEEKLOG_EXAMPLESDIR@"
@@ -8,6 +8,7 @@
 
 case ${STAGE} in
 DEINSTALL)
+       (cd ${GEEKLOG_PUBDIR}; ${RM} -fr admin)
        (cd ${GEEKLOG_TMPL_DIR}
        ${FIND} ${GEEKLOG_TMPL_SUB} -type f -print | \
                while read f; do
diff -r eef7c291daa5 -r c55979dc0776 www/geeklog/INSTALL
--- a/www/geeklog/INSTALL       Sun May 20 15:49:54 2007 +0000
+++ b/www/geeklog/INSTALL       Sun May 20 15:56:44 2007 +0000
@@ -1,12 +1,15 @@
-# $NetBSD: INSTALL,v 1.2 2006/07/23 13:21:09 taca Exp $
+# $NetBSD: INSTALL,v 1.3 2007/05/20 15:56:44 taca Exp $
 
 APACHE_GROUP="@APACHE_GROUP@"
 GEEKLOG_PUBDIR="@GEEKLOG_PUBDIR@"
+GEEKLOG_ADMIN_DIR="@GEEKLOG_ADMIN_DIR@"
 GEEKLOG_TMPL_SUB="@GEEKLOG_TMPL_SUB@"
 GEEKLOG_TMPL_DIR="@GEEKLOG_TMPL_DIR@"
+PAX="@PAX@"
 
 case ${STAGE} in
 POST-INSTALL)
+       (cd ${GEEKLOG_ADMIN_DIR}; ${PAX} -rw . ${GEEKLOG_PUBDIR}/admin)
        (cd ${GEEKLOG_TMPL_DIR}
        ${FIND} ${GEEKLOG_TMPL_SUB} -type d -print | \
                while read d; do
diff -r eef7c291daa5 -r c55979dc0776 www/geeklog/Makefile
--- a/www/geeklog/Makefile      Sun May 20 15:49:54 2007 +0000
+++ b/www/geeklog/Makefile      Sun May 20 15:56:44 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2007/02/22 19:27:20 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2007/05/20 15:56:44 taca Exp $
 #
 
 DISTNAME=      geeklog-${VER}
@@ -13,7 +13,7 @@
 DEPENDS+=      ${APACHE_PKG_PREFIX}-${PHP_PKG_PREFIX}>=4.3.3:../../www/ap-php
 DEPENDS+=      ${PHP_PKG_PREFIX}-mysql>=4.3.0:../../databases/php-mysql
 
-VER=           1.4.0sr5-1
+VER=           1.4.1
 NO_BUILD=      YES
 
 BUILD_DEFS+=   APACHE_GROUP GEEKLOG_SITEBASE
@@ -22,8 +22,9 @@
 GEEKLOG_TMPL_SUB=      backend images/articles images/library \
                        images/topics images/userphotos
 
-GEEKLOG_CONF_FILES=    config.php plugins/links/config.php \
-                       plugins/polls/config.php plugins/spamx/config.php \
+GEEKLOG_CONF_FILES=    config.php plugins/calendar/config.php \
+                       plugins/links/config.php plugins/polls/config.php \
+                       plugins/spamx/config.php \
                        plugins/staticpages/config.php \
                        system/lib-custom.php
 
@@ -39,16 +40,20 @@
 OWN_DIRS_PERMS+=       ${GEEKLOG_DIR}/backups ${BINOWN} ${APACHE_GROUP} 0770 \
                        ${GEEKLOG_DIR}/data ${BINOWN} ${APACHE_GROUP} 0770 \
                        ${GEEKLOG_DIR}/logs ${BINOWN} ${APACHE_GROUP} 0775
+OWN_DIRS+=             ${GEEKLOG_PUB}
 
 FILES_SUBST+=          APACHE_GROUP=${APACHE_GROUP:Q} \
                        GEEKLOG_DIR=${GEEKLOG_DIR:Q} \
                        GEEKLOG_EXAMPLESDIR=${GEEKLOG_EXAMPLESDIR:Q} \
                        GEEKLOG_PUBDIR=${GEEKLOG_PUBDIR:Q} \
+                       GEEKLOG_ADMIN_DIR=${GEEKLOG_ADMIN_DIR:Q} \
                        GEEKLOG_TMPL_SUB=${GEEKLOG_TMPL_SUB:Q} \
-                       GEEKLOG_TMPL_DIR=${GEEKLOG_TMPL_DIR:Q}
+                       GEEKLOG_TMPL_DIR=${GEEKLOG_TMPL_DIR:Q} \
+                       PAX=${PAX:Q}
 
 PLIST_SUBST+=          GEEKLOG_BASE=${GEEKLOG_BASE:Q} \
                        GEEKLOG_PUB=${GEEKLOG_PUB:Q} \
+                       GEEKLOG_ADMIN=${GEEKLOG_ADMIN:Q} \
                        GEEKLOG_TMPL=${GEEKLOG_TMPL:Q}
 
 .include "../../www/geeklog/Makefile.common"
@@ -87,6 +92,7 @@
        ${FIND} ${WRKSRC:Q} -name "*.orig*" -exec ${RM} -f {} \;
        cd ${WRKSRC}/public_html; \
                ${FIND} ${GEEKLOG_TMPL_SUB} -type f -exec ${CHMOD} -x {} \;
+       ${CHMOD} 0664 ${WRKSRC}/public_html/backend/geeklog.rss
        cd ${WRKSRC}/system; \
                ${FIND} pear -type f -exec ${CHMOD} 0644 {} \;
 
@@ -98,9 +104,14 @@
        ${INSTALL_DATA} ${WRKSRC}/${f} ${GEEKLOG_EXAMPLESDIR}/${f}
        ${RM} ${WRKSRC}/${f}
 .endfor
-       ${INSTALL_SCRIPT} ${WRKDIR}/createdb.php ${GEEKLOG_EXAMPLESDIR}
+       ${INSTALL_SCRIPT} ${WRKDIR}/createdb.php ${GEEKLOG_DIR}
        ${INSTALL_DATA} ${WRKDIR}/geeklog.conf ${GEEKLOG_EXAMPLESDIR}
-       cd ${WRKSRC}; ${CP} -R ${GEEKLOG_SYS} ${GEEKLOG_DIR}
+.for f in ${GEEKLOG_SYS}
+       cd ${WRKSRC}; ${PAX} -rw ${f} ${GEEKLOG_DIR}
+.endfor
+       cd ${WRKSRC}/public_html; \
+               ${PAX} -rw admin ${GEEKLOG_DIR}; \
+               ${RM} -rf admin
 .for d in ${GEEKLOG_TMPL_SUB}
        cd ${WRKSRC}/public_html; \
                if [ -d ${d} ]; then \
diff -r eef7c291daa5 -r c55979dc0776 www/geeklog/Makefile.common
--- a/www/geeklog/Makefile.common       Sun May 20 15:49:54 2007 +0000
+++ b/www/geeklog/Makefile.common       Sun May 20 15:56:44 2007 +0000
@@ -1,19 +1,21 @@
-# $NetBSD: Makefile.common,v 1.3 2007/02/22 19:27:20 wiz Exp $
+# $NetBSD: Makefile.common,v 1.4 2007/05/20 15:56:44 taca Exp $
 #
 
 GEEKLOG_BASE=          share/geeklog
 GEEKLOG_PUB=           share/httpd/geeklog
-GEEKLOG_TMPL=          share/geeklog/default
+GEEKLOG_ADMIN=         ${GEEKLOG_BASE}/admin
+GEEKLOG_TMPL=          ${GEEKLOG_BASE}/default
 
 # Geeklog system
 GEEKLOG_DIR=           ${PREFIX}/${GEEKLOG_BASE}
 
 # Geeklog public area
 GEEKLOG_PUBDIR=                ${PREFIX}/${GEEKLOG_PUB}
+GEEKLOG_ADMIN_DIR=     ${PREFIX}/${GEEKLOG_ADMIN}
+GEEKLOG_TMPL_DIR=      ${PREFIX}/${GEEKLOG_TMPL}
 
-GEEKLOG_DOCDIR=        ${PREFIX}/share/doc/geeklog
+GEEKLOG_DOCDIR=                ${PREFIX}/share/doc/geeklog
 GEEKLOG_EXAMPLESDIR=   ${PREFIX}/share/examples/geeklog
-GEEKLOG_TMPL_DIR=      ${PREFIX}/${GEEKLOG_TMPL}
 
 .include "../../mk/bsd.prefs.mk"
 
diff -r eef7c291daa5 -r c55979dc0776 www/geeklog/PLIST
--- a/www/geeklog/PLIST Sun May 20 15:49:54 2007 +0000
+++ b/www/geeklog/PLIST Sun May 20 15:56:44 2007 +0000
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.6 2006/07/24 16:13:55 taca Exp $
+@comment $NetBSD: PLIST,v 1.7 2007/05/20 15:56:44 taca Exp $
+${GEEKLOG_BASE}/createdb.php
 ${GEEKLOG_BASE}/emailgeeklogstories
 ${GEEKLOG_BASE}/language/afrikaans.php
 ${GEEKLOG_BASE}/language/afrikaans_utf-8.php
@@ -8,8 +9,6 @@
 ${GEEKLOG_BASE}/language/bulgarian_utf-8.php
 ${GEEKLOG_BASE}/language/catalan.php
 ${GEEKLOG_BASE}/language/catalan_utf-8.php
-${GEEKLOG_BASE}/language/chinese_big5.php
-${GEEKLOG_BASE}/language/chinese_gb2312.php
 ${GEEKLOG_BASE}/language/chinese_simplified_utf-8.php
 ${GEEKLOG_BASE}/language/chinese_traditional_utf-8.php
 ${GEEKLOG_BASE}/language/croatian.php
@@ -22,6 +21,8 @@
 ${GEEKLOG_BASE}/language/dutch_utf-8.php
 ${GEEKLOG_BASE}/language/english.php
 ${GEEKLOG_BASE}/language/english_utf-8.php
+${GEEKLOG_BASE}/language/estonian.php
+${GEEKLOG_BASE}/language/estonian_utf-8.php
 ${GEEKLOG_BASE}/language/farsi_utf-8.php
 ${GEEKLOG_BASE}/language/finnish.php
 ${GEEKLOG_BASE}/language/finnish_utf-8.php
@@ -33,7 +34,7 @@
 ${GEEKLOG_BASE}/language/german_formal.php
 ${GEEKLOG_BASE}/language/german_formal_utf-8.php
 ${GEEKLOG_BASE}/language/german_utf-8.php
-${GEEKLOG_BASE}/language/hebrew.php
+${GEEKLOG_BASE}/language/hebrew_utf-8.php
 ${GEEKLOG_BASE}/language/hellenic.php
 ${GEEKLOG_BASE}/language/hellenic_utf-8.php
 ${GEEKLOG_BASE}/language/indonesian.php
@@ -69,6 +70,47 @@
 ${GEEKLOG_BASE}/language/ukrainian.php
 ${GEEKLOG_BASE}/language/ukrainian_koi8-u.php
 ${GEEKLOG_BASE}/language/ukrainian_utf-8.php
+${GEEKLOG_BASE}/plugins/calendar/functions.inc
+${GEEKLOG_BASE}/plugins/calendar/language/README
+${GEEKLOG_BASE}/plugins/calendar/language/english.php
+${GEEKLOG_BASE}/plugins/calendar/language/english_utf-8.php
+${GEEKLOG_BASE}/plugins/calendar/language/estonian.php
+${GEEKLOG_BASE}/plugins/calendar/language/estonian_utf-8.php
+${GEEKLOG_BASE}/plugins/calendar/language/german.php
+${GEEKLOG_BASE}/plugins/calendar/language/german_formal.php
+${GEEKLOG_BASE}/plugins/calendar/language/german_formal_utf-8.php
+${GEEKLOG_BASE}/plugins/calendar/language/german_utf-8.php
+${GEEKLOG_BASE}/plugins/calendar/language/japanese.php
+${GEEKLOG_BASE}/plugins/calendar/language/japanese_utf-8.php
+${GEEKLOG_BASE}/plugins/calendar/language/russian.php
+${GEEKLOG_BASE}/plugins/calendar/language/russian_utf-8.php
+${GEEKLOG_BASE}/plugins/calendar/language/slovenian.php
+${GEEKLOG_BASE}/plugins/calendar/language/slovenian_utf-8.php
+${GEEKLOG_BASE}/plugins/calendar/language/ukrainian.php
+${GEEKLOG_BASE}/plugins/calendar/language/ukrainian_koi8-u.php
+${GEEKLOG_BASE}/plugins/calendar/language/ukrainian_utf-8.php
+${GEEKLOG_BASE}/plugins/calendar/sql/mssql_install.php
+${GEEKLOG_BASE}/plugins/calendar/sql/mysql_install.php
+${GEEKLOG_BASE}/plugins/calendar/templates/addevent.thtml
+${GEEKLOG_BASE}/plugins/calendar/templates/addeventoption.thtml
+${GEEKLOG_BASE}/plugins/calendar/templates/addremoveevent.thtml
+${GEEKLOG_BASE}/plugins/calendar/templates/admin/eventeditor.thtml
+${GEEKLOG_BASE}/plugins/calendar/templates/calendar.thtml
+${GEEKLOG_BASE}/plugins/calendar/templates/calendarday.thtml
+${GEEKLOG_BASE}/plugins/calendar/templates/calendarevent.thtml
+${GEEKLOG_BASE}/plugins/calendar/templates/calendarweek.thtml
+${GEEKLOG_BASE}/plugins/calendar/templates/dayview/column.thtml
+${GEEKLOG_BASE}/plugins/calendar/templates/dayview/dayview.thtml
+${GEEKLOG_BASE}/plugins/calendar/templates/dayview/quickaddform.thtml
+${GEEKLOG_BASE}/plugins/calendar/templates/dayview/singleevent.thtml
+${GEEKLOG_BASE}/plugins/calendar/templates/editpersonalevent.thtml
+${GEEKLOG_BASE}/plugins/calendar/templates/eventdetails.thtml
+${GEEKLOG_BASE}/plugins/calendar/templates/events.thtml
+${GEEKLOG_BASE}/plugins/calendar/templates/mastercalendaroption.thtml
+${GEEKLOG_BASE}/plugins/calendar/templates/personalcalendaroption.thtml
+${GEEKLOG_BASE}/plugins/calendar/templates/submitevent.thtml
+${GEEKLOG_BASE}/plugins/calendar/templates/weekview/events.thtml
+${GEEKLOG_BASE}/plugins/calendar/templates/weekview/weekview.thtml
 ${GEEKLOG_BASE}/plugins/developer.README
 ${GEEKLOG_BASE}/plugins/links/functions.inc
 ${GEEKLOG_BASE}/plugins/links/language/README
@@ -77,6 +119,8 @@
 ${GEEKLOG_BASE}/plugins/links/language/dutch.php
 ${GEEKLOG_BASE}/plugins/links/language/english.php
 ${GEEKLOG_BASE}/plugins/links/language/english_utf-8.php
+${GEEKLOG_BASE}/plugins/links/language/estonian.php
+${GEEKLOG_BASE}/plugins/links/language/estonian_utf-8.php
 ${GEEKLOG_BASE}/plugins/links/language/german.php
 ${GEEKLOG_BASE}/plugins/links/language/german_formal.php
 ${GEEKLOG_BASE}/plugins/links/language/german_formal_utf-8.php
@@ -85,8 +129,13 @@
 ${GEEKLOG_BASE}/plugins/links/language/japanese_utf-8.php
 ${GEEKLOG_BASE}/plugins/links/language/polish.php
 ${GEEKLOG_BASE}/plugins/links/language/russian.php
+${GEEKLOG_BASE}/plugins/links/language/slovenian.php
+${GEEKLOG_BASE}/plugins/links/language/slovenian_utf-8.php
 ${GEEKLOG_BASE}/plugins/links/language/ukrainian.php
-${GEEKLOG_BASE}/plugins/links/sql/install.php
+${GEEKLOG_BASE}/plugins/links/language/ukrainian_koi8-u.php
+${GEEKLOG_BASE}/plugins/links/language/ukrainian_utf-8.php
+${GEEKLOG_BASE}/plugins/links/sql/mssql_install.php
+${GEEKLOG_BASE}/plugins/links/sql/mysql_install.php
 ${GEEKLOG_BASE}/plugins/links/templates/admin/linkeditor.thtml
 ${GEEKLOG_BASE}/plugins/links/templates/categoryactivecol.thtml
 ${GEEKLOG_BASE}/plugins/links/templates/categorycol.thtml
@@ -105,6 +154,8 @@
 ${GEEKLOG_BASE}/plugins/polls/language/dutch.php
 ${GEEKLOG_BASE}/plugins/polls/language/english.php
 ${GEEKLOG_BASE}/plugins/polls/language/english_utf-8.php
+${GEEKLOG_BASE}/plugins/polls/language/estonian.php
+${GEEKLOG_BASE}/plugins/polls/language/estonian_utf-8.php
 ${GEEKLOG_BASE}/plugins/polls/language/german.php
 ${GEEKLOG_BASE}/plugins/polls/language/german_formal.php
 ${GEEKLOG_BASE}/plugins/polls/language/german_formal_utf-8.php
@@ -112,8 +163,13 @@
 ${GEEKLOG_BASE}/plugins/polls/language/japanese.php
 ${GEEKLOG_BASE}/plugins/polls/language/japanese_utf-8.php
 ${GEEKLOG_BASE}/plugins/polls/language/russian.php
+${GEEKLOG_BASE}/plugins/polls/language/slovenian.php
+${GEEKLOG_BASE}/plugins/polls/language/slovenian_utf-8.php
 ${GEEKLOG_BASE}/plugins/polls/language/ukrainian.php
-${GEEKLOG_BASE}/plugins/polls/sql/install.php
+${GEEKLOG_BASE}/plugins/polls/language/ukrainian_koi8-u.php
+${GEEKLOG_BASE}/plugins/polls/language/ukrainian_utf-8.php
+${GEEKLOG_BASE}/plugins/polls/sql/mssql_install.php
+${GEEKLOG_BASE}/plugins/polls/sql/mysql_install.php
 ${GEEKLOG_BASE}/plugins/polls/templates/admin/pollansweroption.thtml
 ${GEEKLOG_BASE}/plugins/polls/templates/admin/polleditor.thtml
 ${GEEKLOG_BASE}/plugins/polls/templates/pollanswer.thtml
@@ -135,12 +191,14 @@
 ${GEEKLOG_BASE}/plugins/spamx/Header.Examine.class.php
 ${GEEKLOG_BASE}/plugins/spamx/IP.Examine.class.php
 ${GEEKLOG_BASE}/plugins/spamx/IPofUrl.Examine.class.php
-${GEEKLOG_BASE}/plugins/spamx/Import.Admin.class.php
 ${GEEKLOG_BASE}/plugins/spamx/LogView.Admin.class.php
-${GEEKLOG_BASE}/plugins/spamx/MTBlackList.Examine.class.php
 ${GEEKLOG_BASE}/plugins/spamx/MailAdmin.Action.class.php
 ${GEEKLOG_BASE}/plugins/spamx/MassDelTrackback.Admin.class.php
 ${GEEKLOG_BASE}/plugins/spamx/MassDelete.Admin.class.php
+${GEEKLOG_BASE}/plugins/spamx/SLV.Examine.class.php
+${GEEKLOG_BASE}/plugins/spamx/SLVbase.class.php
+${GEEKLOG_BASE}/plugins/spamx/SLVreport.Action.class.php
+${GEEKLOG_BASE}/plugins/spamx/SLVwhitelist.Admin.class.php
 ${GEEKLOG_BASE}/plugins/spamx/functions.inc
 ${GEEKLOG_BASE}/plugins/spamx/language/english.php
 ${GEEKLOG_BASE}/plugins/spamx/language/english_utf-8.php
@@ -148,16 +206,19 @@
 ${GEEKLOG_BASE}/plugins/spamx/language/french_canada.php
 ${GEEKLOG_BASE}/plugins/spamx/language/french_france.php
 ${GEEKLOG_BASE}/plugins/spamx/language/italian.php
+${GEEKLOG_BASE}/plugins/spamx/language/japanese.php
+${GEEKLOG_BASE}/plugins/spamx/language/japanese_utf-8.php
+${GEEKLOG_BASE}/plugins/spamx/language/russian.php



Home | Main Index | Thread Index | Old Index