From 6d7851ae6179368f32faf728024a2fc48aa93371 Mon Sep 17 00:00:00 2001 From: wiz Date: Tue, 19 Mar 2013 08:51:43 +0000 Subject: Add missing dependencies. Bump PKGREVISION. Assume root user for message instead of sudo'ing everything. Fix typo. --- www/php-tt-rss/MESSAGE | 15 ++++++++------- www/php-tt-rss/Makefile | 7 ++++++- 2 files changed, 14 insertions(+), 8 deletions(-) (limited to 'www/php-tt-rss') diff --git a/www/php-tt-rss/MESSAGE b/www/php-tt-rss/MESSAGE index 9cc2da71d70..104d7453600 100644 --- a/www/php-tt-rss/MESSAGE +++ b/www/php-tt-rss/MESSAGE @@ -1,7 +1,7 @@ =========================================================================== -$NetBSD: MESSAGE,v 1.1 2013/01/03 13:59:44 ryoon Exp $ +$NetBSD: MESSAGE,v 1.2 2013/03/19 08:51:43 wiz Exp $ -To use itt-rss with Apache 2.4 and php 5.4, you will need to perform +To use php-tt-rss with Apache 2.4 and php 5.4, you will need to perform the following steps. 1. Install www/apache24 and www/ap-php @@ -17,14 +17,14 @@ the following steps. 4. Add PostgreSQL user, ttrss - $ sudo -u pgsql createuser ttrss + $ createuser -U pgsql ttrss Shall the new role be a superuser? (y/n) n Shall the new role be allowed to create databases? (y/n) y Shall the new role be allowed to create more new roles? (y/n) n 5. Set password for ttrss user - $ sudo -u pgsql psql template1 + $ psql -U pgsql template1 psql (9.1.7) Type "help" for help. @@ -34,11 +34,11 @@ the following steps. 6. Create database for ttrss, ttrss_db - $ sudo -u pgsql createdb ttrss_db -O ttrss -U ttrss + $ createdb ttrss_db -O ttrss -U ttrss 7. Check created database - $ sudo -u pgsql psql -l + $ psql -l List of databases Name | Owner | Encoding | Collate | Ctype | Access privileges -----------+-------+-----------+---------+-------+------------------- @@ -47,7 +47,7 @@ the following steps. 8. Initialize database - $ sudo -u pgsql psql -U ttrss -d ttrss_db -p 5432 -f \ + $ psql -U ttrss -d ttrss_db -p 5432 -f \ ${PREFIX}/share/tt-rss/schema/ttrss_schema_pgsql.sql 9. Be sure to have the following lines in ${PREFIX}/etc/php.ini. @@ -86,4 +86,5 @@ the following steps. 11. Access http://localhost/ , and login with login/password = "admin"/"password". + =========================================================================== diff --git a/www/php-tt-rss/Makefile b/www/php-tt-rss/Makefile index 7ff979ace04..72f7fb97f12 100644 --- a/www/php-tt-rss/Makefile +++ b/www/php-tt-rss/Makefile @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.1 2013/01/03 13:59:44 ryoon Exp $ +# $NetBSD: Makefile,v 1.2 2013/03/19 08:51:43 wiz Exp $ # DISTNAME= tt-rss-1.6.2 PKGNAME= ${PHP_PKG_PREFIX}-${DISTNAME} +PKGREVISION= 1 CATEGORIES= www MASTER_SITES= http://tt-rss.org/download/ @@ -11,6 +12,10 @@ HOMEPAGE= http://tt-rss.org/ COMMENT= Tiny Tiny RSS is an open source web-based RSS feed reader LICENSE= gnu-gpl-v2 +DEPENDS+= ${PHP_PKG_PREFIX}-mbstring-[0-9]*:../../converters/php-mbstring +DEPENDS+= ${PHP_PKG_PREFIX}-json-[0-9]*:../../textproc/php-json +DEPENDS+= ${PHP_PKG_PREFIX}-dom-[0-9]*:../../textproc/php-dom + .include "options.mk" USE_PKGLOCALEDIR= yes -- cgit v1.2.3