pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/matcha-sns Import php54-matcha-sns-1.3.6 as www/ma...
details: https://anonhg.NetBSD.org/pkgsrc/rev/bab99e0e7216
branches: trunk
changeset: 649732:bab99e0e7216
user: ryoon <ryoon%pkgsrc.org@localhost>
date: Wed Apr 08 19:11:09 2015 +0000
description:
Import php54-matcha-sns-1.3.6 as www/matcha-sns.
Matcha SNS is Social Networking Service (SNS) software for intranet
and the Internet SNS. This software has Japanese UI only.
It is formerly known as sencha-sns.
diffstat:
www/matcha-sns/DESCR | 3 +
www/matcha-sns/INSTALL | 12 +
www/matcha-sns/MESSAGE | 79 +++
www/matcha-sns/Makefile | 70 ++
www/matcha-sns/PLIST | 1224 +++++++++++++++++++++++++++++++++++++++++++++++
www/matcha-sns/distinfo | 5 +
6 files changed, 1393 insertions(+), 0 deletions(-)
diffs (truncated from 1417 to 300 lines):
diff -r 3f68f623082b -r bab99e0e7216 www/matcha-sns/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/matcha-sns/DESCR Wed Apr 08 19:11:09 2015 +0000
@@ -0,0 +1,3 @@
+Matcha SNS is Social Networking Service (SNS) software for intranet
+and the Internet SNS. This software has Japanese UI only.
+It is formerly known as sencha-sns.
diff -r 3f68f623082b -r bab99e0e7216 www/matcha-sns/INSTALL
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/matcha-sns/INSTALL Wed Apr 08 19:11:09 2015 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: INSTALL,v 1.1 2015/04/08 19:11:09 ryoon Exp $
+
+SENCHADIR="@PREFIX@/@SENCHADIR@"
+WWWOWN="@WWWOWN@"
+WWWGRP="@WWWGRP@"
+
+case ${STAGE} in
+POST-INSTALL)
+ ${CHGRP} -R ${WWWGRP} ${SENCHADIR}
+ ${CHOWN} -R ${WWWOWN} ${SENCHADIR}
+ ;;
+esac
diff -r 3f68f623082b -r bab99e0e7216 www/matcha-sns/MESSAGE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/matcha-sns/MESSAGE Wed Apr 08 19:11:09 2015 +0000
@@ -0,0 +1,79 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2015/04/08 19:11:09 ryoon Exp $
+
+To use Matcha SNS with Apache httpd 2.2, you will need to perform
+the following steps.
+
+1. Install www/apache22 and www/ap-php .
+
+2. Setup PHP. At least, ${PREFIX}/etc/php.ini should have date.timezone line.
+ If your machine are located in Tokyo, Japan, you should get the following.
+
+ # cat ${PREFIX}/etc/php.ini | grep date.timezone
+ date.timezone = "Asia/Tokyo"
+
+3. Install MySQL database server.
+
+ # cd databases/mysql55-server
+ # make install
+
+4. Start MySQL server, and setup MySQL server
+
+ # ${RCD_SCRIPTS_DIR}/mysqld start
+ And see messages.
+
+5. Add MySQL user, matchasns
+
+ $ mysql -u root -p
+ Enter password: YOUR_MYSQL_ROOT_PASSWORD
+ > create user matchasns identified by 'matchasns_user_password';
+ > quit
+
+6. Create database for Sencha SNS
+
+ $ mysql -u root -p
+ Enter password: YOUR_MYSQL_ROOT_PASSWORD
+ > create database matchasns_db;
+ > grant SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, ALTER
+ on matchasns_db.* to matchasns@localhost identified by 'matchasns_password';
+ > quit
+
+7. Be sure to have the following lines in ${PREFIX}/etc/php.ini.
+
+ extension=gd.so
+ extension=mbstring.so
+ extension=mysql.so
+
+8. Be sure to have the following lines in ${PREFIX}/etc/httpd/httpd.conf
+
+ LoadModule rewrite_module lib/httpd/mod_rewrite.so
+ DocumentRoot "${PREFIX}/share/matcha-sns"
+ LoadModule php5_module lib/httpd/mod_php5.so
+ AddType application/x-httpd-php .php
+ <Directory ${PREFIX}/share/matcha-sns>
+ DirectoryIndex index.php
+ Options All
+ Allow from All
+ AllowOverride All
+ Require all granted
+ </Directory>
+
+9. Start Apache httpd 2.2
+
+ # ${RCD_SCRIPTS_DIR}/apache start
+
+10. Set salt and seed in ${PREFIX}/share/matcha-sns/app/config/core.php
+
+ Replace DYhG93b0qyIfIxfs2guVoUubWwvniR2G0FgaC9mi with the output of
+ $ cat /dev/urandom | tr -dc "a-zA-Z0-9" | fold -w 40 | head -n 1
+ and
+ Replace 76859309657198048034862324894 with the output of
+ $ cat /dev/urandom | tr -dc "0-9" | fold -w 30 | head -n 1
+
+11. Access http://localhost/matcha-sns/index.php
+ And setup with the following information.
+
+ database name: matchasns_db
+ user name: matchasns
+ password: matchasns_password
+===========================================================================
diff -r 3f68f623082b -r bab99e0e7216 www/matcha-sns/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/matcha-sns/Makefile Wed Apr 08 19:11:09 2015 +0000
@@ -0,0 +1,70 @@
+# $NetBSD: Makefile,v 1.1 2015/04/08 19:11:09 ryoon Exp $
+#
+
+DISTNAME= matcha-sns-1.3.6
+PKGNAME= ${PHP_PKG_PREFIX}-${DISTNAME}
+CATEGORIES= www
+MASTER_SITES= http://ryo-on.users.sourceforge.net/distrib/
+EXTRACT_SUFX= .zip
+
+MAINTAINER= ryoon%NetBSD.org@localhost
+HOMEPAGE= http://oss.icz.co.jp/sns/
+COMMENT= Social Networking Service software that supports Timeline
+LICENSE= gnu-gpl-v2 AND mit
+
+DEPENDS+= ${PHP_PKG_PREFIX}-gd>=5.2.0:../../graphics/php-gd
+DEPENDS+= ${PHP_PKG_PREFIX}-mysql>=5.2.0:../../databases/php-mysql
+DEPENDS+= ${PHP_PKG_PREFIX}-mbstring>=5.2.0:../../converters/php-mbstring
+
+USE_PKGLOCALEDIR= yes
+USE_LANGUAGES= # none
+NO_BUILD= yes
+
+USE_TOOLS+= pax
+
+BUILD_DEFS+= APACHE_GROUP APACHE_USER
+
+SENCHADIR= share/matcha-sns
+INSTALLATION_DIRS= ${SENCHADIR}
+
+.include "../../mk/bsd.prefs.mk"
+
+APACHE_USER?= www
+APACHE_GROUP?= www
+PKG_GROUPS= ${APACHE_GROUP}
+PKG_USERS= ${APACHE_USER}:${APACHE_GROUP}
+
+PKG_USERS_VARS= APACHE_USER
+PKG_GROUPS_VARS= APACHE_GROUP
+
+FILES_SUBST+= WWWGRP=${APACHE_GROUP} WWWOWN=${APACHE_USER} \
+ SENCHADIR=${SENCHADIR}
+
+REPLACE_SH= cake/console/cake
+
+FIND_PREFIX:= PHPDIR=php
+.include "../../mk/find-prefix.mk"
+
+REPLACE_INTERPRETER+= php
+REPLACE.php.old= /usr/bin/php
+REPLACE.php.new= ${PHPDIR}/bin/php
+REPLACE_FILES.php= cake/console/cake.php
+
+CONF_FILES_PERMS= ${PREFIX}/share/matcha-sns/app/config/core.php-dist \
+ ${PREFIX}/share/matcha-sns/app/config/core.php \
+ ${APACHE_USER} ${APACHE_GROUP} 640
+
+CONF_FILES_PERMS+= ${PREFIX}/share/matcha-sns/cake/console/templates/skel/config/database.php.default \
+ ${PREFIX}/share/matcha-sns/cake/console/templates/skel/config/database.php \
+ ${APACHE_USER} ${APACHE_GROUP} 640
+
+pre-install:
+ cd ${WRKSRC} && \
+ ${MV} app/config/core.php app/config/core.php-dist
+
+do-install:
+ cd ${WRKSRC} && pax -rw -pmp * .htaccess \
+ ${DESTDIR}${PREFIX}/${SENCHADIR}
+
+.include "../../lang/php/phpversion.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 3f68f623082b -r bab99e0e7216 www/matcha-sns/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/matcha-sns/PLIST Wed Apr 08 19:11:09 2015 +0000
@@ -0,0 +1,1224 @@
+@comment $NetBSD: PLIST,v 1.1 2015/04/08 19:11:09 ryoon Exp $
+share/matcha-sns/.htaccess
+share/matcha-sns/LICENSE
+share/matcha-sns/NOTICE
+share/matcha-sns/README
+share/matcha-sns/app/.htaccess
+share/matcha-sns/app/app_controller.php
+share/matcha-sns/app/app_model.php
+share/matcha-sns/app/config/acl.ini.php
+share/matcha-sns/app/config/bootstrap.php
+share/matcha-sns/app/config/constants.php
+share/matcha-sns/app/config/core.php-dist
+share/matcha-sns/app/config/database.php
+share/matcha-sns/app/config/installed.php.default
+share/matcha-sns/app/config/routes.php
+share/matcha-sns/app/config/schema/db_acl.php
+share/matcha-sns/app/config/schema/i18n.php
+share/matcha-sns/app/config/schema/sessions.php
+share/matcha-sns/app/config/sql/init.sql
+share/matcha-sns/app/config/sql/init_data.sql
+share/matcha-sns/app/controllers/administrators_controller.php
+share/matcha-sns/app/controllers/components/common.php
+share/matcha-sns/app/controllers/components/permission.php
+share/matcha-sns/app/controllers/components/qdmail.php
+share/matcha-sns/app/controllers/components/qdsmtp.php
+share/matcha-sns/app/controllers/configurations_controller.php
+share/matcha-sns/app/controllers/errors_controller.php
+share/matcha-sns/app/controllers/friends_controller.php
+share/matcha-sns/app/controllers/groups_controller.php
+share/matcha-sns/app/controllers/homes_controller.php
+share/matcha-sns/app/controllers/messages_controller.php
+share/matcha-sns/app/controllers/plugins_controller.php
+share/matcha-sns/app/controllers/profiles_controller.php
+share/matcha-sns/app/controllers/requests_controller.php
+share/matcha-sns/app/controllers/searches_controller.php
+share/matcha-sns/app/controllers/storages_controller.php
+share/matcha-sns/app/controllers/timelines_controller.php
+share/matcha-sns/app/controllers/users_controller.php
+share/matcha-sns/app/index.php
+share/matcha-sns/app/libs/empty
+share/matcha-sns/app/locale/eng/LC_MESSAGES/empty
+share/matcha-sns/app/models/administrator.php
+share/matcha-sns/app/models/behaviors/empty
+share/matcha-sns/app/models/configuration.php
+share/matcha-sns/app/models/datasources/empty
+share/matcha-sns/app/models/friend.php
+share/matcha-sns/app/models/group.php
+share/matcha-sns/app/models/home.php
+share/matcha-sns/app/models/join.php
+share/matcha-sns/app/models/message.php
+share/matcha-sns/app/models/notice.php
+share/matcha-sns/app/models/plugin.php
+share/matcha-sns/app/models/profile.php
+share/matcha-sns/app/models/read.php
+share/matcha-sns/app/models/request.php
+share/matcha-sns/app/models/search.php
+share/matcha-sns/app/models/storage.php
+share/matcha-sns/app/models/timeline.php
+share/matcha-sns/app/models/user.php
+share/matcha-sns/app/models/watch.php
+share/matcha-sns/app/plugins/cakeplus/models/behaviors/add_validation_rule.php
+share/matcha-sns/app/plugins/install/controllers/install_controller.php
+share/matcha-sns/app/plugins/install/install_app_controller.php
+share/matcha-sns/app/plugins/install/install_app_model.php
+share/matcha-sns/app/plugins/install/models/install.php
+share/matcha-sns/app/plugins/install/views/install/add.ctp
+share/matcha-sns/app/plugins/install/views/install/data.ctp
+share/matcha-sns/app/plugins/install/views/install/database.ctp
+share/matcha-sns/app/plugins/install/views/install/finish.ctp
+share/matcha-sns/app/plugins/install/views/install/index.ctp
+share/matcha-sns/app/plugins/install/views/install/mail.ctp
+share/matcha-sns/app/plugins/install/views/layouts/install.ctp
+share/matcha-sns/app/plugins/install/webroot/css/install.css
+share/matcha-sns/app/plugins/note/controllers/note_controller.php
+share/matcha-sns/app/plugins/note/models/note.php
+share/matcha-sns/app/plugins/note/note_app_controller.php
+share/matcha-sns/app/plugins/note/note_app_model.php
+share/matcha-sns/app/plugins/note/setting/config.xml
+share/matcha-sns/app/plugins/note/setting/sql/init.sql
+share/matcha-sns/app/plugins/note/views/elements/paginate.ctp
+share/matcha-sns/app/plugins/note/views/elements/search_form.ctp
+share/matcha-sns/app/plugins/note/views/elements/tab.ctp
+share/matcha-sns/app/plugins/note/views/note/add.ctp
+share/matcha-sns/app/plugins/note/views/note/content.ctp
+share/matcha-sns/app/plugins/note/views/note/index.ctp
+share/matcha-sns/app/plugins/note/views/note/insert_image.ctp
+share/matcha-sns/app/plugins/note/views/note/upload.ctp
+share/matcha-sns/app/plugins/note/webroot/css/note.css
+share/matcha-sns/app/plugins/note/webroot/img/bt_note.gif
+share/matcha-sns/app/plugins/note/webroot/img/note_delete.jpg
+share/matcha-sns/app/plugins/note/webroot/img/note_delete_on.jpg
+share/matcha-sns/app/plugins/note/webroot/img/note_edit.jpg
+share/matcha-sns/app/plugins/note/webroot/img/note_edit_on.jpg
+share/matcha-sns/app/plugins/note/webroot/js/images/body.png
+share/matcha-sns/app/plugins/note/webroot/js/images/jaysalvat.png
+share/matcha-sns/app/plugins/note/webroot/js/images/markitup.png
+share/matcha-sns/app/plugins/note/webroot/js/images/style.css
+share/matcha-sns/app/plugins/note/webroot/js/jwysiwyg/jquery.wysiwyg.bg.png
+share/matcha-sns/app/plugins/note/webroot/js/jwysiwyg/jquery.wysiwyg.css
+share/matcha-sns/app/plugins/note/webroot/js/jwysiwyg/jquery.wysiwyg.gif
+share/matcha-sns/app/plugins/note/webroot/js/jwysiwyg/jquery.wysiwyg.js
+share/matcha-sns/app/plugins/note/webroot/js/jwysiwyg/jquery.wysiwyg.no-alpha.gif
+share/matcha-sns/app/plugins/note/webroot/js/jwysiwyg/wysiwyg.image.js
+share/matcha-sns/app/plugins/note/webroot/js/markitup/jquery.markitup.js
+share/matcha-sns/app/plugins/note/webroot/js/markitup/sets/default/images/bold.png
+share/matcha-sns/app/plugins/note/webroot/js/markitup/sets/default/images/clean.png
+share/matcha-sns/app/plugins/note/webroot/js/markitup/sets/default/images/image.png
+share/matcha-sns/app/plugins/note/webroot/js/markitup/sets/default/images/italic.png
+share/matcha-sns/app/plugins/note/webroot/js/markitup/sets/default/images/link.png
+share/matcha-sns/app/plugins/note/webroot/js/markitup/sets/default/images/list-bullet.png
+share/matcha-sns/app/plugins/note/webroot/js/markitup/sets/default/images/list-numeric.png
+share/matcha-sns/app/plugins/note/webroot/js/markitup/sets/default/images/picture.png
+share/matcha-sns/app/plugins/note/webroot/js/markitup/sets/default/images/preview.png
+share/matcha-sns/app/plugins/note/webroot/js/markitup/sets/default/images/stroke.png
+share/matcha-sns/app/plugins/note/webroot/js/markitup/sets/default/set.js
+share/matcha-sns/app/plugins/note/webroot/js/markitup/sets/default/style.css
Home |
Main Index |
Thread Index |
Old Index