pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/php-dotclear php-dotclear: Add www/php-dotclear ve...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ecdbaad4119a
branches: trunk
changeset: 454918:ecdbaad4119a
user: triaxx <triaxx%pkgsrc.org@localhost>
date: Thu Jun 24 02:32:27 2021 +0000
description:
php-dotclear: Add www/php-dotclear version 2.18.1
Dotclear's proposed aim is to develop a software that fully respects web
standards based on open source solutions, with multilingual interface and
publishing capabilities. It is written in PHP.
Notable features include handling many blogs, using Wiki or XHTML syntax for
entries, adding pages that are independent from the flow of entries and support
for several database types: (MySQL, PostgreSQL, SQLite).
This pkgsrc packages provides:
* Patches to move the configuration file config.php to PKG_SYSCONFDIR,
* Patches to move files writable by the web server (public files, cache
files and additional plugins) to directories relative to VARBASE.
diffstat:
www/php-dotclear/DESCR | 6 +
www/php-dotclear/Makefile | 95 +
www/php-dotclear/PLIST | 1564 +++++++++++++
www/php-dotclear/distinfo | 12 +
www/php-dotclear/files/apache24.conf | 40 +
www/php-dotclear/files/initdb-mysql.sh | 31 +
www/php-dotclear/files/initdb-pgsql.sh | 11 +
www/php-dotclear/files/lighttpd.conf | 33 +
www/php-dotclear/files/nginx.conf | 49 +
www/php-dotclear/files/php-fpm.conf | 15 +
www/php-dotclear/options.mk | 31 +
www/php-dotclear/patches/patch-admin_install_index.php | 15 +
www/php-dotclear/patches/patch-admin_install_wizard.php | 34 +
www/php-dotclear/patches/patch-inc_config.php.in | 40 +
www/php-dotclear/patches/patch-inc_core_class.dc.core.php | 15 +
www/php-dotclear/patches/patch-inc_load__plugin__file.php | 15 +
www/php-dotclear/patches/patch-inc_prepend.php | 15 +
17 files changed, 2021 insertions(+), 0 deletions(-)
diffs (truncated from 2089 to 300 lines):
diff -r eba361735eb6 -r ecdbaad4119a www/php-dotclear/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/php-dotclear/DESCR Thu Jun 24 02:32:27 2021 +0000
@@ -0,0 +1,6 @@
+Dotclear's proposed aim is to develop a software that fully respects web
+standards based on open source solutions, with multilingual interface and
+publishing capabilities. It is written in PHP.
+Notable features include handling many blogs, using Wiki or XHTML syntax for
+entries, adding pages that are independent from the flow of entries and support
+for several database types: (MySQL, PostgreSQL, SQLite).
diff -r eba361735eb6 -r ecdbaad4119a www/php-dotclear/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/php-dotclear/Makefile Thu Jun 24 02:32:27 2021 +0000
@@ -0,0 +1,95 @@
+# $NetBSD: Makefile,v 1.1 2021/06/24 02:32:27 triaxx Exp $
+
+DISTNAME= dotclear-2.18.1
+PKGNAME= ${PHP_PKG_PREFIX}-${DISTNAME}
+CATEGORIES= www
+MASTER_SITES= https://download.dotclear.org/latest/ \
+ https://download.dotclear.org/attic/
+
+MAINTAINER= triaxx%NetBSD.org@localhost
+HOMEPAGE= https://dotclear.org/
+COMMENT= Open-source web publising software
+LICENSE= gnu-gpl-v2
+
+DEPENDS+= ${PHP_PKG_PREFIX}-mbstring>=${PHP_BASE_VERS}:../../converters/php-mbstring
+DEPENDS+= ${PHP_PKG_PREFIX}-iconv>=${PHP_BASE_VERS}:../../converters/php-iconv
+DEPENDS+= ${PHP_PKG_PREFIX}-json>=${PHP_BASE_VERS}:../../textproc/php-json
+DEPENDS+= ${PHP_PKG_PREFIX}-zlib>=${PHP_BASE_VERS}:../../archivers/php-zlib
+
+NO_BUILD= yes
+USE_TOOLS+= find pax sed
+WRKSRC= ${WRKDIR}/dotclear
+BUILD_DEFS+= PKG_SYSCONFBASE VARBASE
+
+.include "../../lang/php/phpversion.mk"
+.include "options.mk"
+
+PHP_VERSIONS_ACCEPTED= 74 73 56
+
+PKG_SYSCONFSUBDIR= dotclear
+
+DOTCLEAR_USER?= dotclear
+DOTCLEAR_GROUP?= dotclear
+DOTCLEAR_SHAREDIR?= ${PREFIX}/share/dotclear
+DOTCLEAR_CACHEDIR?= ${VARBASE}/cache/dotclear
+DOTCLEAR_DBDIR?= ${VARBASE}/db/dotclear
+DOTCLEAR_LOGDIR?= ${VARBASE}/log/dotclear
+DOTCLEAR_PUBDIR?= ${DOTCLEAR_DBDIR}/public
+DOTCLEAR_PLUGDIR?= ${DOTCLEAR_DBDIR}/plugins
+
+REQD_FILES_PERMS+= ${EGDIR}/config.php.in ${PKG_SYSCONFDIR}/config.php.in \
+ ${DOTCLEAR_USER} ${DOTCLEAR_GROUP} 644
+OWN_DIRS_PERMS+= ${PKG_SYSCONFDIR} ${DOTCLEAR_USER} ${DOTCLEAR_GROUP} 770
+OWN_DIRS_PERMS+= ${DOTCLEAR_CACHEDIR} ${DOTCLEAR_USER} ${DOTCLEAR_GROUP} 775
+OWN_DIRS_PERMS+= ${DOTCLEAR_DBDIR} ${DOTCLEAR_USER} ${DOTCLEAR_GROUP} 775
+OWN_DIRS_PERMS+= ${DOTCLEAR_PUBDIR} ${DOTCLEAR_USER} ${DOTCLEAR_GROUP} 775
+OWN_DIRS_PERMS+= ${DOTCLEAR_PLUGDIR} ${DOTCLEAR_USER} ${DOTCLEAR_GROUP} 775
+OWN_DIRS_PERMS+= ${DOTCLEAR_LOGDIR} ${DOTCLEAR_USER} ${DOTCLEAR_GROUP} 775
+
+PKG_GROUPS+= ${DOTCLEAR_GROUP}
+PKG_USERS+= ${DOTCLEAR_USER}:${DOTCLEAR_GROUP}
+PKG_GECOS.${DOTCLEAR_USER}= Dotclear user
+
+EGDIR= ${PREFIX}/share/examples/dotclear
+
+INSTALLATION_DIRS= ${DOTCLEAR_SHAREDIR} ${EGDIR}
+
+SUBST_CLASSES+= cfg
+SUBST_STAGE.cfg= do-configure
+SUBST_MESSAGE.cfg= Adapting files to use pkgsrc directories.
+SUBST_FILES.cfg= admin/install/index.php admin/install/wizard.php
+SUBST_FILES.cfg+= inc/config.php.in inc/core/class.dc.core.php
+SUBST_FILES.cfg+= inc/load_plugin_file.php inc/prepend.php
+SUBST_VARS.cfg= PKG_SYSCONFDIR DOTCLEAR_SHAREDIR DOTCLEAR_CACHEDIR DOTCLEAR_DBDIR
+SUBST_VARS.cfg+= DOTCLEAR_PUBDIR DOTCLEAR_PLUGDIR DOTCLEAR_LOGDIR
+
+pre-configure:
+ ${SED} -e 's|@DOTCLEAR_SHAREDIR@|${DOTCLEAR_SHAREDIR}|g' \
+ -e 's|@DOTCLEAR_PUBDIR@|${DOTCLEAR_PUBDIR}|g' ${FILESDIR}/apache24.conf > ${WRKSRC}/apache24.conf
+ ${SED} -e 's|@PREFIX@|${PREFIX}|g' ${FILESDIR}/initdb-mysql.sh > ${WRKSRC}/initdb-mysql.sh
+ ${SED} -e 's|@PREFIX@|${PREFIX}|g' ${FILESDIR}/initdb-pgsql.sh > ${WRKSRC}/initdb-pgsql.sh
+ ${SED} -e 's|@DOTCLEAR_SHAREDIR@|${DOTCLEAR_SHAREDIR}|g' \
+ -e 's|@DOTCLEAR_PUBDIR@|${DOTCLEAR_PUBDIR}|g' \
+ -e 's|@VARBASE@|${VARBASE}|g' ${FILESDIR}/lighttpd.conf > ${WRKSRC}/lighttpd.conf
+ ${SED} -e 's|@DOTCLEAR_SHAREDIR@|${DOTCLEAR_SHAREDIR}|g' \
+ -e 's|@DOTCLEAR_PUBDIR@|${DOTCLEAR_PUBDIR}|g' \
+ -e 's|@VARBASE@|${VARBASE}|g' ${FILESDIR}/nginx.conf > ${WRKSRC}/nginx.conf
+ ${SED} -e 's|@VARBASE@|${VARBASE}|g' ${FILESDIR}/php-fpm.conf > ${WRKSRC}/php-fpm.conf
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/index.php ${DESTDIR}${DOTCLEAR_SHAREDIR}/index.php
+.for d in admin inc locales plugins themes
+ ${INSTALL_DATA_DIR} ${DESTDIR}${DOTCLEAR_SHAREDIR}/${d}
+ cd ${WRKSRC}/${d} && ${FIND} . -type f \! -name '*.orig' -print | \
+ ${PAX} -rw ${DESTDIR}${DOTCLEAR_SHAREDIR}/${d}
+.endfor
+ ${INSTALL_DATA} ${WRKSRC}/inc/config.php.in ${DESTDIR}${EGDIR}/config.php.in
+ ${RM} -f ${DESTDIR}${DOTCLEAR_SHAREDIR}/inc/config.php.in
+ ${INSTALL_DATA} ${WRKSRC}/apache24.conf ${DESTDIR}${EGDIR}/apache24.conf
+ ${INSTALL_DATA} ${WRKSRC}/initdb-mysql.sh ${DESTDIR}${EGDIR}/initdb-mysql.sh
+ ${INSTALL_DATA} ${WRKSRC}/initdb-pgsql.sh ${DESTDIR}${EGDIR}/initdb-pgsql.sh
+ ${INSTALL_DATA} ${WRKSRC}/lighttpd.conf ${DESTDIR}${EGDIR}/lighttpd.conf
+ ${INSTALL_DATA} ${WRKSRC}/nginx.conf ${DESTDIR}${EGDIR}/nginx.conf
+ ${INSTALL_DATA} ${WRKSRC}/php-fpm.conf ${DESTDIR}${EGDIR}/php-fpm.conf
+
+.include "../../mk/bsd.pkg.mk"
diff -r eba361735eb6 -r ecdbaad4119a www/php-dotclear/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/php-dotclear/PLIST Thu Jun 24 02:32:27 2021 +0000
@@ -0,0 +1,1564 @@
+@comment $NetBSD: PLIST,v 1.1 2021/06/24 02:32:27 triaxx Exp $
+share/dotclear/admin/_charte.php
+share/dotclear/admin/auth.php
+share/dotclear/admin/blog.php
+share/dotclear/admin/blog_del.php
+share/dotclear/admin/blog_pref.php
+share/dotclear/admin/blog_theme.php
+share/dotclear/admin/blogs.php
+share/dotclear/admin/categories.php
+share/dotclear/admin/category.php
+share/dotclear/admin/comment.php
+share/dotclear/admin/comments.php
+share/dotclear/admin/comments_actions.php
+share/dotclear/admin/csp_report.php
+share/dotclear/admin/help.php
+share/dotclear/admin/images/admin.png
+share/dotclear/admin/images/attach.png
+share/dotclear/admin/images/attach.svg
+share/dotclear/admin/images/check-off.png
+share/dotclear/admin/images/check-on.png
+share/dotclear/admin/images/check-wrn.png
+share/dotclear/admin/images/close.png
+share/dotclear/admin/images/collapser-hide.png
+share/dotclear/admin/images/collapser-show.png
+share/dotclear/admin/images/comments.png
+share/dotclear/admin/images/date-picker.png
+share/dotclear/admin/images/disabled_down.png
+share/dotclear/admin/images/disabled_up.png
+share/dotclear/admin/images/dotclear_pw.png
+share/dotclear/admin/images/down.png
+share/dotclear/admin/images/dragndrop.svg
+share/dotclear/admin/images/edit-mini.png
+share/dotclear/admin/images/expand.png
+share/dotclear/admin/images/fav-off.png
+share/dotclear/admin/images/fav-on.png
+share/dotclear/admin/images/favicon.ico
+share/dotclear/admin/images/favicon96-login.png
+share/dotclear/admin/images/favicon96-logout.png
+share/dotclear/admin/images/grid-off.png
+share/dotclear/admin/images/grid-on.png
+share/dotclear/admin/images/hidden.png
+share/dotclear/admin/images/hide.png
+share/dotclear/admin/images/junk.png
+share/dotclear/admin/images/list-off.png
+share/dotclear/admin/images/list-on.png
+share/dotclear/admin/images/locker.png
+share/dotclear/admin/images/logout.png
+share/dotclear/admin/images/media/audio.png
+share/dotclear/admin/images/media/blank.png
+share/dotclear/admin/images/media/document.png
+share/dotclear/admin/images/media/executable.png
+share/dotclear/admin/images/media/folder-up.png
+share/dotclear/admin/images/media/folder.png
+share/dotclear/admin/images/media/html.png
+share/dotclear/admin/images/media/image.png
+share/dotclear/admin/images/media/package.png
+share/dotclear/admin/images/media/presentation.png
+share/dotclear/admin/images/media/spreadsheet.png
+share/dotclear/admin/images/media/text.png
+share/dotclear/admin/images/media/video.png
+share/dotclear/admin/images/menu/blog-pref-b.png
+share/dotclear/admin/images/menu/blog-pref.png
+share/dotclear/admin/images/menu/blog-theme-b-update.png
+share/dotclear/admin/images/menu/blog-theme-b.png
+share/dotclear/admin/images/menu/blogs-b.png
+share/dotclear/admin/images/menu/blogs.png
+share/dotclear/admin/images/menu/categories-b.png
+share/dotclear/admin/images/menu/categories.png
+share/dotclear/admin/images/menu/comments-b.png
+share/dotclear/admin/images/menu/comments.png
+share/dotclear/admin/images/menu/edit-b.png
+share/dotclear/admin/images/menu/edit.png
+share/dotclear/admin/images/menu/entries-b.png
+share/dotclear/admin/images/menu/entries.png
+share/dotclear/admin/images/menu/help-b.png
+share/dotclear/admin/images/menu/help.png
+share/dotclear/admin/images/menu/langs-b.png
+share/dotclear/admin/images/menu/langs.png
+share/dotclear/admin/images/menu/media-b.png
+share/dotclear/admin/images/menu/media.png
+share/dotclear/admin/images/menu/plugins-b-update.png
+share/dotclear/admin/images/menu/plugins-b.png
+share/dotclear/admin/images/menu/plugins.png
+share/dotclear/admin/images/menu/search-b.png
+share/dotclear/admin/images/menu/search.png
+share/dotclear/admin/images/menu/themes.png
+share/dotclear/admin/images/menu/update.png
+share/dotclear/admin/images/menu/user-pref-b.png
+share/dotclear/admin/images/menu/user-pref.png
+share/dotclear/admin/images/menu/users-b.png
+share/dotclear/admin/images/menu/users.png
+share/dotclear/admin/images/menu_off.png
+share/dotclear/admin/images/menu_on.png
+share/dotclear/admin/images/minus-theme.png
+share/dotclear/admin/images/module.png
+share/dotclear/admin/images/noscreenshot.png
+share/dotclear/admin/images/outgoing-blue.png
+share/dotclear/admin/images/outgoing-link.svg
+share/dotclear/admin/images/outgoing.png
+share/dotclear/admin/images/page_help.png
+share/dotclear/admin/images/pagination/first.png
+share/dotclear/admin/images/pagination/last.png
+share/dotclear/admin/images/pagination/next.png
+share/dotclear/admin/images/pagination/no-first.png
+share/dotclear/admin/images/pagination/no-last.png
+share/dotclear/admin/images/pagination/no-next.png
+share/dotclear/admin/images/pagination/no-previous.png
+share/dotclear/admin/images/pagination/previous.png
+share/dotclear/admin/images/palette-traviata.png
+share/dotclear/admin/images/picker.png
+share/dotclear/admin/images/plus-theme.png
+share/dotclear/admin/images/plus.png
+share/dotclear/admin/images/scheduled.png
+share/dotclear/admin/images/selected.png
+share/dotclear/admin/images/superadmin.png
+share/dotclear/admin/images/thanks.mp3
+share/dotclear/admin/images/trackbacks.png
+share/dotclear/admin/images/trash.png
+share/dotclear/admin/images/up.png
+share/dotclear/admin/index.php
+share/dotclear/admin/install/check.php
+share/dotclear/admin/install/index.php
+share/dotclear/admin/install/wizard.php
+share/dotclear/admin/js/_auth.js
+share/dotclear/admin/js/_blog_pref.js
+share/dotclear/admin/js/_blog_pref_popup_posts.js
+share/dotclear/admin/js/_blog_theme.js
+share/dotclear/admin/js/_blogs.js
+share/dotclear/admin/js/_blogs_actions.js
+share/dotclear/admin/js/_categories.js
+share/dotclear/admin/js/_category.js
+share/dotclear/admin/js/_charte.js
+share/dotclear/admin/js/_comment.js
+share/dotclear/admin/js/_comments.js
+share/dotclear/admin/js/_comments_actions.js
+share/dotclear/admin/js/_index.js
+share/dotclear/admin/js/_install.js
+share/dotclear/admin/js/_langs.js
+share/dotclear/admin/js/_media.js
+share/dotclear/admin/js/_media_item.js
+share/dotclear/admin/js/_plugins.js
+share/dotclear/admin/js/_popup_link.js
+share/dotclear/admin/js/_popup_posts.js
+share/dotclear/admin/js/_post.js
+share/dotclear/admin/js/_posts_actions.js
+share/dotclear/admin/js/_posts_list.js
+share/dotclear/admin/js/_preferences-dragdrop.js
+share/dotclear/admin/js/_preferences.js
+share/dotclear/admin/js/_trackbacks.js
+share/dotclear/admin/js/_update.js
+share/dotclear/admin/js/_user.js
+share/dotclear/admin/js/_users.js
+share/dotclear/admin/js/_users_actions.js
+share/dotclear/admin/js/codemirror.js
+share/dotclear/admin/js/codemirror/LICENSE
+share/dotclear/admin/js/codemirror/addon/display/fullscreen.css
+share/dotclear/admin/js/codemirror/addon/display/fullscreen.js
+share/dotclear/admin/js/codemirror/addon/edit/closebrackets.js
+share/dotclear/admin/js/codemirror/addon/edit/matchbrackets.js
+share/dotclear/admin/js/codemirror/addon/mode/multiplex.js
+share/dotclear/admin/js/codemirror/lib/codemirror.css
+share/dotclear/admin/js/codemirror/lib/codemirror.js
+share/dotclear/admin/js/codemirror/mode/clike/clike.js
+share/dotclear/admin/js/codemirror/mode/css/css.js
+share/dotclear/admin/js/codemirror/mode/htmlmixed/htmlmixed.js
+share/dotclear/admin/js/codemirror/mode/javascript/javascript.js
+share/dotclear/admin/js/codemirror/mode/php/php.js
+share/dotclear/admin/js/codemirror/mode/xml/xml.js
+share/dotclear/admin/js/codemirror/theme/3024-day.css
+share/dotclear/admin/js/codemirror/theme/3024-night.css
+share/dotclear/admin/js/codemirror/theme/abcdef.css
+share/dotclear/admin/js/codemirror/theme/ambiance-mobile.css
+share/dotclear/admin/js/codemirror/theme/ambiance.css
+share/dotclear/admin/js/codemirror/theme/ayu-dark.css
+share/dotclear/admin/js/codemirror/theme/ayu-mirage.css
+share/dotclear/admin/js/codemirror/theme/base16-dark.css
+share/dotclear/admin/js/codemirror/theme/base16-light.css
+share/dotclear/admin/js/codemirror/theme/bespin.css
+share/dotclear/admin/js/codemirror/theme/blackboard.css
+share/dotclear/admin/js/codemirror/theme/cobalt.css
+share/dotclear/admin/js/codemirror/theme/colorforth.css
+share/dotclear/admin/js/codemirror/theme/darcula.css
+share/dotclear/admin/js/codemirror/theme/dracula.css
+share/dotclear/admin/js/codemirror/theme/duotone-dark.css
+share/dotclear/admin/js/codemirror/theme/duotone-light.css
+share/dotclear/admin/js/codemirror/theme/eclipse.css
+share/dotclear/admin/js/codemirror/theme/elegant.css
Home |
Main Index |
Thread Index |
Old Index