pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/sencha-sns Import sencha-sns-1.0.3 as www/sencha-sns.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a56b6ae5e3b7
branches:  trunk
changeset: 603324:a56b6ae5e3b7
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Fri May 04 09:42:05 2012 +0000

description:
Import sencha-sns-1.0.3 as www/sencha-sns.

Sencha SNS is Social Networking Service (SNS) software for intranet
and the Internet SNS.  This software has Japanese UI only.

diffstat:

 www/sencha-sns/DESCR    |     2 +
 www/sencha-sns/INSTALL  |    16 +
 www/sencha-sns/MESSAGE  |    76 +++
 www/sencha-sns/Makefile |    49 ++
 www/sencha-sns/PLIST    |  1080 +++++++++++++++++++++++++++++++++++++++++++++++
 www/sencha-sns/distinfo |     5 +
 6 files changed, 1228 insertions(+), 0 deletions(-)

diffs (truncated from 1252 to 300 lines):

diff -r e998930fc20a -r a56b6ae5e3b7 www/sencha-sns/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/sencha-sns/DESCR      Fri May 04 09:42:05 2012 +0000
@@ -0,0 +1,2 @@
+Sencha SNS is Social Networking Service (SNS) software for intranet
+and the Internet SNS.  This software has Japanese UI only.
diff -r e998930fc20a -r a56b6ae5e3b7 www/sencha-sns/INSTALL
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/sencha-sns/INSTALL    Fri May 04 09:42:05 2012 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: INSTALL,v 1.1.1.1 2012/05/04 09:42:06 ryoon Exp $
+
+SENCHADIR="@PREFIX@/@SENCHADIR@"
+WWWOWN="@WWWOWN@"
+WWWGRP="@WWWGRP@"
+
+case ${STAGE} in
+POST-INSTALL)
+       ${CHGRP} -R ${WWWGRP}   ${SENCHADIR}/app/tmp \
+                               ${SENCHADIR}/app/config \
+                               ${SENCHADIR}/app/files
+       ${CHOWN} -R ${WWWOWN}   ${SENCHADIR}/app/tmp \
+                               ${SENCHADIR}/app/config \
+                               ${SENCHADIR}/app/files
+       ;;
+esac
diff -r e998930fc20a -r a56b6ae5e3b7 www/sencha-sns/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/sencha-sns/MESSAGE    Fri May 04 09:42:05 2012 +0000
@@ -0,0 +1,76 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2012/05/04 09:42:06 ryoon Exp $
+
+To use Sencha SNS with Apache 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/mysql51-server
+       # make install
+
+4. Start MySQL server, and setup MySQL server
+
+       # ${RCD_SCRIPTS_DIR}/mysqld start
+       And see messages.
+
+5. Add MySQL user, senchasns
+
+       $ mysql -u root -p
+       Enter password: YOUR_MYSQL_ROOT_PASSWORD
+       > create user senchasns identified by 'senchasns_user_password';
+       > quit
+
+6. Create database for Sencha SNS
+
+       $ mysql -u root -p
+       Enter password: YOUR_MYSQL_ROOT_PASSWORD
+       > create database senchasns_db;
+       > grant SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, ALTER
+       on senchasns_db.* to senchasns@localhost identified by 'senchasns_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
+
+       DocumentRoot "${PREFIX}/share/senchasns"
+       LoadModule php5_module lib/httpd/mod_php5.so
+       AddType application/x-httpd-php .php
+       <Directory ${PREFIX}/share/senchasns>
+               DirectoryIndex index.php
+               Options All
+               Allow from All
+               AllowOverride All
+       </Directory>
+
+9. Start Apache httpd 2.2
+
+       # ${RCD_SCRIPTS_DIR}/apache start
+
+10. Set salt and seed
+
+       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/index.php
+   And setup with the following information.
+
+       database name:  senchasns_db
+       user name:      senchasns
+       password:       senchasns_password
+===========================================================================
diff -r e998930fc20a -r a56b6ae5e3b7 www/sencha-sns/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/sencha-sns/Makefile   Fri May 04 09:42:05 2012 +0000
@@ -0,0 +1,49 @@
+# $NetBSD: Makefile,v 1.1.1.1 2012/05/04 09:42:05 ryoon Exp $
+#
+
+DISTNAME=      sencha-sns-1.0.3
+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
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+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/sencha-sns
+INSTALLATION_DIRS=     ${SENCHADIR}
+
+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
+
+do-install:
+       cd ${WRKSRC} && pax -rw -pmp * .htaccess \
+               ${DESTDIR}${PREFIX}/${SENCHADIR}
+
+.include "../../lang/php/phpversion.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r e998930fc20a -r a56b6ae5e3b7 www/sencha-sns/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/sencha-sns/PLIST      Fri May 04 09:42:05 2012 +0000
@@ -0,0 +1,1080 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2012/05/04 09:42:06 ryoon Exp $
+share/sencha-sns/.htaccess
+share/sencha-sns/LICENCE
+share/sencha-sns/NOTICE
+share/sencha-sns/README
+share/sencha-sns/app/.htaccess
+share/sencha-sns/app/app_controller.php
+share/sencha-sns/app/config/acl.ini.php
+share/sencha-sns/app/config/bootstrap.php
+share/sencha-sns/app/config/constants.php
+share/sencha-sns/app/config/core.php
+share/sencha-sns/app/config/database.php
+share/sencha-sns/app/config/installed.php.default
+share/sencha-sns/app/config/routes.php
+share/sencha-sns/app/config/schema/db_acl.php
+share/sencha-sns/app/config/schema/i18n.php
+share/sencha-sns/app/config/schema/sessions.php
+share/sencha-sns/app/config/sql/dump.sql
+share/sencha-sns/app/controllers/administrators_controller.php
+share/sencha-sns/app/controllers/components/common.php
+share/sencha-sns/app/controllers/components/qdmail.php
+share/sencha-sns/app/controllers/configrations_controller.php
+share/sencha-sns/app/controllers/friends_controller.php
+share/sencha-sns/app/controllers/groups_controller.php
+share/sencha-sns/app/controllers/homes_controller.php
+share/sencha-sns/app/controllers/messages_controller.php
+share/sencha-sns/app/controllers/profiles_controller.php
+share/sencha-sns/app/controllers/requests_controller.php
+share/sencha-sns/app/controllers/storages_controller.php
+share/sencha-sns/app/controllers/timelines_controller.php
+share/sencha-sns/app/controllers/users_controller.php
+share/sencha-sns/app/index.php
+share/sencha-sns/app/libs/empty
+share/sencha-sns/app/locale/eng/LC_MESSAGES/empty
+share/sencha-sns/app/models/administrator.php
+share/sencha-sns/app/models/behaviors/empty
+share/sencha-sns/app/models/configration.php
+share/sencha-sns/app/models/datasources/empty
+share/sencha-sns/app/models/friend.php
+share/sencha-sns/app/models/group.php
+share/sencha-sns/app/models/home.php
+share/sencha-sns/app/models/join.php
+share/sencha-sns/app/models/message.php
+share/sencha-sns/app/models/notice.php
+share/sencha-sns/app/models/profile.php
+share/sencha-sns/app/models/read.php
+share/sencha-sns/app/models/request.php
+share/sencha-sns/app/models/storage.php
+share/sencha-sns/app/models/timeline.php
+share/sencha-sns/app/models/user.php
+share/sencha-sns/app/models/watch.php
+share/sencha-sns/app/plugins/cakeplus/models/behaviors/add_validation_rule.php
+share/sencha-sns/app/plugins/empty
+share/sencha-sns/app/plugins/install/controllers/install_controller.php
+share/sencha-sns/app/plugins/install/install_app_controller.php
+share/sencha-sns/app/plugins/install/install_app_model.php
+share/sencha-sns/app/plugins/install/models/install.php
+share/sencha-sns/app/plugins/install/views/install/add.ctp
+share/sencha-sns/app/plugins/install/views/install/data.ctp
+share/sencha-sns/app/plugins/install/views/install/database.ctp
+share/sencha-sns/app/plugins/install/views/install/finish.ctp
+share/sencha-sns/app/plugins/install/views/install/index.ctp
+share/sencha-sns/app/plugins/install/views/install/mail.ctp
+share/sencha-sns/app/plugins/install/views/layouts/install.ctp
+share/sencha-sns/app/plugins/install/webroot/css/install.css
+share/sencha-sns/app/tests/cases/behaviors/empty
+share/sencha-sns/app/tests/cases/components/empty
+share/sencha-sns/app/tests/cases/controllers/empty
+share/sencha-sns/app/tests/cases/helpers/empty
+share/sencha-sns/app/tests/cases/models/empty
+share/sencha-sns/app/tests/fixtures/empty
+share/sencha-sns/app/tests/groups/empty
+share/sencha-sns/app/tmp/cache/models/empty
+share/sencha-sns/app/tmp/cache/persistent/empty
+share/sencha-sns/app/tmp/cache/views/empty
+share/sencha-sns/app/tmp/logs/empty
+share/sencha-sns/app/tmp/sessions/empty
+share/sencha-sns/app/tmp/tests/empty
+share/sencha-sns/app/vendors/shells/tasks/empty
+share/sencha-sns/app/vendors/shells/templates/empty
+share/sencha-sns/app/views/administrator/add.ctp
+share/sencha-sns/app/views/administrator/delete.ctp
+share/sencha-sns/app/views/administrator/edit.ctp
+share/sencha-sns/app/views/administrator/index.ctp
+share/sencha-sns/app/views/administrator/valid.ctp
+share/sencha-sns/app/views/configration/edit.ctp
+share/sencha-sns/app/views/configration/index.ctp
+share/sencha-sns/app/views/elements/calender.ctp
+share/sencha-sns/app/views/elements/email/html/empty
+share/sencha-sns/app/views/elements/email/text/empty
+share/sencha-sns/app/views/elements/empty
+share/sencha-sns/app/views/elements/file.ctp
+share/sencha-sns/app/views/elements/follower.ctp
+share/sencha-sns/app/views/elements/following.ctp
+share/sencha-sns/app/views/elements/group_pop.ctp
+share/sencha-sns/app/views/elements/image.ctp
+share/sencha-sns/app/views/elements/join_group.ctp
+share/sencha-sns/app/views/elements/right_menu.ctp
+share/sencha-sns/app/views/elements/right_menu_timeline.ctp
+share/sencha-sns/app/views/elements/timeline/comment.ctp
+share/sencha-sns/app/views/elements/timeline/file.ctp
+share/sencha-sns/app/views/elements/timeline/followuser.ctp
+share/sencha-sns/app/views/elements/timeline/form.ctp
+share/sencha-sns/app/views/elements/timeline/new_line.ctp
+share/sencha-sns/app/views/elements/timeline/one_timeline.ctp
+share/sencha-sns/app/views/elements/timeline/post_form.ctp
+share/sencha-sns/app/views/elements/timeline/read.ctp
+share/sencha-sns/app/views/elements/timeline/readuser.ctp
+share/sencha-sns/app/views/elements/timeline/search_timeline.ctp
+share/sencha-sns/app/views/elements/timeline/timeline.ctp
+share/sencha-sns/app/views/elements/timeline/watch.ctp
+share/sencha-sns/app/views/errors/empty
+share/sencha-sns/app/views/friend/friendship.ctp
+share/sencha-sns/app/views/friend/index.ctp
+share/sencha-sns/app/views/group/create.ctp
+share/sencha-sns/app/views/group/edit.ctp
+share/sencha-sns/app/views/group/index.ctp
+share/sencha-sns/app/views/group/invite.ctp
+share/sencha-sns/app/views/group/invite_user.ctp
+share/sencha-sns/app/views/group/join.ctp
+share/sencha-sns/app/views/group/join_user.ctp
+share/sencha-sns/app/views/group/join_users.ctp
+share/sencha-sns/app/views/group/main.ctp
+share/sencha-sns/app/views/group/profile.ctp
+share/sencha-sns/app/views/group/profile_edit.ctp
+share/sencha-sns/app/views/helpers/custom_ajax.php
+share/sencha-sns/app/views/helpers/custom_html.php
+share/sencha-sns/app/views/helpers/custom_js.php
+share/sencha-sns/app/views/helpers/empty
+share/sencha-sns/app/views/home/index.ctp
+share/sencha-sns/app/views/home/notice.ctp
+share/sencha-sns/app/views/home/one.ctp
+share/sencha-sns/app/views/home/search.ctp
+share/sencha-sns/app/views/layouts/default.ctp
+share/sencha-sns/app/views/layouts/email/html/empty
+share/sencha-sns/app/views/layouts/email/text/empty
+share/sencha-sns/app/views/layouts/js/empty



Home | Main Index | Thread Index | Old Index