Re: Update www/tt-rss 1.9

2013-08-20 Thread Atanas Vladimirov
OK. I agree with you. Here is a new patch:

Index: Makefile
===
RCS file: /home/vlado/cvsync/cvsroot/ports/www/tt-rss/Makefile,v
retrieving revision 1.18
diff -u -p -r1.18 Makefile
--- Makefile12 Aug 2013 04:11:22 -  1.18
+++ Makefile18 Aug 2013 11:54:44 -
@@ -2,7 +2,7 @@
 
 COMMENT=   webbased rss reader with standalone look and feel
 
-V= 1.7.9
+V= 1.9
 DISTNAME=  Tiny-Tiny-RSS-$V
 REVISION=  0
 PKGNAME=   tt-rss-$V
Index: distinfo
===
RCS file: /home/vlado/cvsync/cvsroot/ports/www/tt-rss/distinfo,v
retrieving revision 1.6
diff -u -p -r1.6 distinfo
--- distinfo4 Jun 2013 19:59:37 -   1.6
+++ distinfo18 Aug 2013 09:23:50 -
@@ -1,2 +1,2 @@
-SHA256 (Tiny-Tiny-RSS-1.7.9.tar.gz) = 
ly8PihAz8HYJOtb/ZICgwyFmvd7sIXxRdtoZr9Ah4/8=
-SIZE (Tiny-Tiny-RSS-1.7.9.tar.gz) = 2321780
+SHA256 (Tiny-Tiny-RSS-1.9.tar.gz) = 
8ushQbCVELmWu4jxKdGEpFXW8fx/4fMkGBF2CmMj9FU=
+SIZE (Tiny-Tiny-RSS-1.9.tar.gz) = 2410978
Index: patches/patch-config_php-dist
===
RCS file: 
/home/vlado/cvsync/cvsroot/ports/www/tt-rss/patches/patch-config_php-dist,v
retrieving revision 1.2
diff -u -p -r1.2 patch-config_php-dist
--- patches/patch-config_php-dist   4 Jun 2013 19:59:38 -   1.2
+++ patches/patch-config_php-dist   18 Aug 2013 10:46:01 -
@@ -1,12 +1,12 @@
-$OpenBSD: patch-config_php-dist,v 1.2 2013/06/04 19:59:38 landry Exp $
 config.php-dist.orig   Mon May 13 11:34:26 2013
-+++ config.php-distTue Jun  4 21:02:03 2013
+$OpenBSD: patch-config_php-dist,v 1.3 2013/08/18  $
+--- config.php-dist.orig   Sun Jul 21 09:28:48 2013
 config.php-distSun Aug 18 12:27:44 2013
 @@ -49,7 +49,7 @@
// *** Files and directories ***
// *
  
 -  define('PHP_EXECUTABLE', '/usr/bin/php');
 +  define('PHP_EXECUTABLE', '${MODPHP_BIN}');
-   // Path to PHP executable, used for various command-line tt-rss programs
- 
-   define('LOCK_DIRECTORY', 'lock');
+   // Path to PHP *COMMAND LINE* executable, used for various command-line 
tt-rss 
+   // programs and update daemon. Do not try to use CGI binary here, it 
won't work. 
+   // If you see HTTP headers being displayed while running tt-rss 
scripts, 
Index: pkg/DESCR
===
RCS file: /home/vlado/cvsync/cvsroot/ports/www/tt-rss/pkg/DESCR,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 DESCR
--- pkg/DESCR   1 Apr 2009 18:22:49 -   1.1.1.1
+++ pkg/DESCR   18 Aug 2013 09:37:38 -
@@ -12,4 +12,5 @@ real desktop application as possible.
   - Supports keyboard shortcuts
   - Supports interface translations (work in progress)
   - Supports feed enclosures (podcasts)
-  - Supports article scoring 
+  - Supports article scoring
+  - Official Android client
Index: pkg/PLIST
===
RCS file: /home/vlado/cvsync/cvsroot/ports/www/tt-rss/pkg/PLIST,v
retrieving revision 1.6
diff -u -p -r1.6 PLIST
--- pkg/PLIST   4 Jun 2013 19:59:38 -   1.6
+++ pkg/PLIST   21 Aug 2013 06:25:51 -
@@ -1,4 +1,4 @@
-@comment $OpenBSD: PLIST,v 1.6 2013/06/04 19:59:38 landry Exp $
+@comment $OpenBSD$
 tt-rss/
 tt-rss/LICENSE
 tt-rss/README.md
@@ -22,7 +22,6 @@ tt-rss/cache/simplepie/.empty
 tt-rss/cache/upload/
 tt-rss/cache/upload/.empty
 @owner
-tt-rss/cdm.css
 tt-rss/classes/
 tt-rss/classes/.htaccess
 tt-rss/classes/api.php
@@ -74,6 +73,12 @@ tt-rss/classes/rpc.php
 tt-rss/classes/ttrssmailer.php
 tt-rss/config.php-dist
 @sample tt-rss/config.php
+tt-rss/css/
+tt-rss/css/cdm.css
+tt-rss/css/layout.css
+tt-rss/css/prefs.css
+tt-rss/css/tt-rss.css
+tt-rss/css/utility.css
 tt-rss/errors.php
 @owner www
 tt-rss/feed-icons/
@@ -83,35 +88,41 @@ tt-rss/feed-icons/index.html
 tt-rss/image.php
 tt-rss/images/
 tt-rss/images/alert.png
-tt-rss/images/alert.svg
 tt-rss/images/archive.png
 tt-rss/images/blank_icon.gif
-tt-rss/images/close_notify.svg
 tt-rss/images/collapse.png
+tt-rss/images/cross.png
+tt-rss/images/error.png
 tt-rss/images/favicon-72px.png
 tt-rss/images/favicon.png
-tt-rss/images/footer.png
+tt-rss/images/feed.png
+tt-rss/images/filter.png
+tt-rss/images/folder.png
 tt-rss/images/fresh.png
 tt-rss/images/indicator_tiny.gif
 tt-rss/images/indicator_white.gif
+tt-rss/images/information.png
 tt-rss/images/label.png
 tt-rss/images/logo_small.png
 tt-rss/images/logo_wide.png
-tt-rss/images/mark_set.svg
-tt-rss/images/mark_unset.svg
+tt-rss/images/mark_set.png
+tt-rss/images/mark_unset.png
 tt-rss/images/new_version.png
-tt-rss/images/pub_set.svg
-tt-rss/images/pub_unset.svg
-tt-rss/images/recently_read.png
+tt-rss/images/page_white_go.png
+tt-rss/images/plugin.png
+tt-rss/images/plug

Re: Update www/tt-rss 1.9

2013-08-20 Thread Landry Breuil
On Tue, Aug 20, 2013 at 11:20:33PM +0300, Atanas Vladimirov wrote:
> >On Sun, Aug 18, 2013 at 03:05:56PM +0300, Atanas Vladimirov wrote:
> >> Update Tiny Tiny RSS to 1.9 (Jul 21, 2013)
> >> I removed '@sample tt-rss/config.php' from PLIST, because you don't need
> >> it when you install (update) for the first time (from older version).
> >> Is that right? Any comments?  
> >
> >The @sampled file is needed so that you dont modify the reference
> >config.php. So please dont remove it..
> >
> >I'll have a look at it in the coming days.
> >
> >Landry
> 
> After you install for the first time and there is @sampled file and you
> point you browser to http:///tt-rss/ it will give you an error, 
> that it
> can't connect to database, because there is a default config.php in tt-rss 
> root.
> Also http:///tt-rss/install/ will give you an error, that 
> config.php already exists.
> If you don't install config.php and you try to reach http:///tt-rss/
> your browser will redirect you to http:///tt-rss/install/ and will 
> give you chance to
> create your own config.php.
> If you update from older version you don't need config.php, except when some 
> options
> are changed in the future.

I dont follow you. You always need a config.php to point at the correct
database, and the method explained in
/usr/local/share/doc/pkg-readmes/tt-rss-* should be preferred over any
kind of bundled installation. Unless things changed a lot in 1.9
series..

Landry



Re: Update www/tt-rss 1.9

2013-08-20 Thread Atanas Vladimirov
>On Sun, Aug 18, 2013 at 03:05:56PM +0300, Atanas Vladimirov wrote:
>> Update Tiny Tiny RSS to 1.9 (Jul 21, 2013)
>> I removed '@sample tt-rss/config.php' from PLIST, because you don't need
>> it when you install (update) for the first time (from older version).
>> Is that right? Any comments?  
>
>The @sampled file is needed so that you dont modify the reference
>config.php. So please dont remove it..
>
>I'll have a look at it in the coming days.
>
>Landry

After you install for the first time and there is @sampled file and you
point you browser to http:///tt-rss/ it will give you an error, that 
it
can't connect to database, because there is a default config.php in tt-rss root.
Also http:///tt-rss/install/ will give you an error, that config.php 
already exists.
If you don't install config.php and you try to reach http:///tt-rss/
your browser will redirect you to http:///tt-rss/install/ and will 
give you chance to
create your own config.php.
If you update from older version you don't need config.php, except when some 
options
are changed in the future.



Re: Update www/tt-rss 1.9

2013-08-19 Thread Landry Breuil
On Sun, Aug 18, 2013 at 03:05:56PM +0300, Atanas Vladimirov wrote:
> Update Tiny Tiny RSS to 1.9 (Jul 21, 2013)
> I removed '@sample tt-rss/config.php' from PLIST, because you don't need
> it when you install (update) for the first time (from older version).
> Is that right? Any comments?  

The @sampled file is needed so that you dont modify the reference
config.php. So please dont remove it..

I'll have a look at it in the coming days.

Landry



Update www/tt-rss 1.9

2013-08-18 Thread Atanas Vladimirov
Update Tiny Tiny RSS to 1.9 (Jul 21, 2013)
I removed '@sample tt-rss/config.php' from PLIST, because you don't need
it when you install (update) for the first time (from older version).
Is that right? Any comments?  

Index: Makefile
===
RCS file: /home/vlado/cvsync/cvsroot/ports/www/tt-rss/Makefile,v
retrieving revision 1.18
diff -u -p -r1.18 Makefile
--- Makefile12 Aug 2013 04:11:22 -  1.18
+++ Makefile18 Aug 2013 11:54:44 -
@@ -2,7 +2,7 @@
 
 COMMENT=   webbased rss reader with standalone look and feel
 
-V= 1.7.9
+V= 1.9
 DISTNAME=  Tiny-Tiny-RSS-$V
 REVISION=  0
 PKGNAME=   tt-rss-$V
Index: distinfo
===
RCS file: /home/vlado/cvsync/cvsroot/ports/www/tt-rss/distinfo,v
retrieving revision 1.6
diff -u -p -r1.6 distinfo
--- distinfo4 Jun 2013 19:59:37 -   1.6
+++ distinfo18 Aug 2013 09:23:50 -
@@ -1,2 +1,2 @@
-SHA256 (Tiny-Tiny-RSS-1.7.9.tar.gz) = 
ly8PihAz8HYJOtb/ZICgwyFmvd7sIXxRdtoZr9Ah4/8=
-SIZE (Tiny-Tiny-RSS-1.7.9.tar.gz) = 2321780
+SHA256 (Tiny-Tiny-RSS-1.9.tar.gz) = 
8ushQbCVELmWu4jxKdGEpFXW8fx/4fMkGBF2CmMj9FU=
+SIZE (Tiny-Tiny-RSS-1.9.tar.gz) = 2410978
Index: patches/patch-config_php-dist
===
RCS file: 
/home/vlado/cvsync/cvsroot/ports/www/tt-rss/patches/patch-config_php-dist,v
retrieving revision 1.2
diff -u -p -r1.2 patch-config_php-dist
--- patches/patch-config_php-dist   4 Jun 2013 19:59:38 -   1.2
+++ patches/patch-config_php-dist   18 Aug 2013 10:46:01 -
@@ -1,12 +1,12 @@
-$OpenBSD: patch-config_php-dist,v 1.2 2013/06/04 19:59:38 landry Exp $
 config.php-dist.orig   Mon May 13 11:34:26 2013
-+++ config.php-distTue Jun  4 21:02:03 2013
+$OpenBSD: patch-config_php-dist,v 1.3 2013/08/18  $
+--- config.php-dist.orig   Sun Jul 21 09:28:48 2013
 config.php-distSun Aug 18 12:27:44 2013
 @@ -49,7 +49,7 @@
// *** Files and directories ***
// *
  
 -  define('PHP_EXECUTABLE', '/usr/bin/php');
 +  define('PHP_EXECUTABLE', '${MODPHP_BIN}');
-   // Path to PHP executable, used for various command-line tt-rss programs
- 
-   define('LOCK_DIRECTORY', 'lock');
+   // Path to PHP *COMMAND LINE* executable, used for various command-line 
tt-rss 
+   // programs and update daemon. Do not try to use CGI binary here, it 
won't work. 
+   // If you see HTTP headers being displayed while running tt-rss 
scripts, 
Index: pkg/DESCR
===
RCS file: /home/vlado/cvsync/cvsroot/ports/www/tt-rss/pkg/DESCR,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 DESCR
--- pkg/DESCR   1 Apr 2009 18:22:49 -   1.1.1.1
+++ pkg/DESCR   18 Aug 2013 09:37:38 -
@@ -12,4 +12,5 @@ real desktop application as possible.
   - Supports keyboard shortcuts
   - Supports interface translations (work in progress)
   - Supports feed enclosures (podcasts)
-  - Supports article scoring 
+  - Supports article scoring
+  - Official Android client
Index: pkg/PLIST
===
RCS file: /home/vlado/cvsync/cvsroot/ports/www/tt-rss/pkg/PLIST,v
retrieving revision 1.6
diff -u -p -r1.6 PLIST
--- pkg/PLIST   4 Jun 2013 19:59:38 -   1.6
+++ pkg/PLIST   18 Aug 2013 11:42:14 -
@@ -1,4 +1,4 @@
-@comment $OpenBSD: PLIST,v 1.6 2013/06/04 19:59:38 landry Exp $
+@comment $OpenBSD$
 tt-rss/
 tt-rss/LICENSE
 tt-rss/README.md
@@ -22,7 +22,6 @@ tt-rss/cache/simplepie/.empty
 tt-rss/cache/upload/
 tt-rss/cache/upload/.empty
 @owner
-tt-rss/cdm.css
 tt-rss/classes/
 tt-rss/classes/.htaccess
 tt-rss/classes/api.php
@@ -73,7 +72,12 @@ tt-rss/classes/pref/users.php
 tt-rss/classes/rpc.php
 tt-rss/classes/ttrssmailer.php
 tt-rss/config.php-dist
-@sample tt-rss/config.php
+tt-rss/css/
+tt-rss/css/cdm.css
+tt-rss/css/layout.css
+tt-rss/css/prefs.css
+tt-rss/css/tt-rss.css
+tt-rss/css/utility.css
 tt-rss/errors.php
 @owner www
 tt-rss/feed-icons/
@@ -83,35 +87,41 @@ tt-rss/feed-icons/index.html
 tt-rss/image.php
 tt-rss/images/
 tt-rss/images/alert.png
-tt-rss/images/alert.svg
 tt-rss/images/archive.png
 tt-rss/images/blank_icon.gif
-tt-rss/images/close_notify.svg
 tt-rss/images/collapse.png
+tt-rss/images/cross.png
+tt-rss/images/error.png
 tt-rss/images/favicon-72px.png
 tt-rss/images/favicon.png
-tt-rss/images/footer.png
+tt-rss/images/feed.png
+tt-rss/images/filter.png
+tt-rss/images/folder.png
 tt-rss/images/fresh.png
 tt-rss/images/indicator_tiny.gif
 tt-rss/images/indicator_white.gif
+tt-rss/images/information.png
 tt-rss/images/label.png
 tt-rss/images/logo_small.png
 tt-rss/images/logo_wide.png
-tt-rss/images/mark_set.svg
-tt-rss/images/mark_unset.svg
+tt-rss/images/mark_set.png
+tt-rss/images/mark_uns