diff options
author | wiz <wiz> | 2013-03-19 08:51:43 +0000 |
---|---|---|
committer | wiz <wiz> | 2013-03-19 08:51:43 +0000 |
commit | 6d7851ae6179368f32faf728024a2fc48aa93371 (patch) | |
tree | ac94f7cc17ad1618c40983b72f48f41b2efbb2b1 /www | |
parent | 8e139574984dff86aa060f0190e293916fe86b27 (diff) | |
download | pkgsrc-6d7851ae6179368f32faf728024a2fc48aa93371.tar.gz |
Add missing dependencies. Bump PKGREVISION.
Assume root user for message instead of sudo'ing everything.
Fix typo.
Diffstat (limited to 'www')
-rw-r--r-- | www/php-tt-rss/MESSAGE | 15 | ||||
-rw-r--r-- | www/php-tt-rss/Makefile | 7 |
2 files changed, 14 insertions, 8 deletions
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 |