From 99f354891fc804329ffe7429ac3b113434a02052 Mon Sep 17 00:00:00 2001 From: rpe Date: Sun, 14 Apr 2013 20:28:09 +0000 Subject: [PATCH] update tt-rss to 1.7.8 with feedback and ok landry@ sthen@ --- www/tt-rss/Makefile | 20 +- www/tt-rss/distinfo | 4 +- www/tt-rss/patches/patch-update_php | 21 +- www/tt-rss/pkg/PLIST | 1542 +++++++++++++++++---------- www/tt-rss/pkg/tt_rss_update.rc | 4 +- 5 files changed, 983 insertions(+), 608 deletions(-) diff --git a/www/tt-rss/Makefile b/www/tt-rss/Makefile index 5ac315e43c5..14fb94d49a3 100755 --- a/www/tt-rss/Makefile +++ b/www/tt-rss/Makefile @@ -1,17 +1,18 @@ -# $OpenBSD: Makefile,v 1.14 2013/03/11 11:44:50 espie Exp $ +# $OpenBSD: Makefile,v 1.15 2013/04/14 20:28:09 rpe Exp $ COMMENT= webbased rss reader with standalone look and feel -DISTNAME= tt-rss-1.5.11 +V= 1.7.8 +DISTNAME= Tiny-Tiny-RSS-$V +PKGNAME= tt-rss-$V CATEGORIES= www -REVISION = 1 HOMEPAGE= http://tt-rss.org/ # GPLv2 PERMIT_PACKAGE_CDROM= Yes -MASTER_SITES= ${HOMEPAGE}/download/ +MASTER_SITES= https://github.com/gothfox/Tiny-Tiny-RSS/archive/${V}.tar.gz?dummy=/ NO_BUILD= Yes NO_TEST= Yes @@ -21,12 +22,15 @@ PREFIX= /var/www INSTDIR= ${PREFIX}/tt-rss SUBST_VARS= INSTDIR MODPHP_BIN -MODULES= lang/php -RUN_DEPENDS= lang/php/${MODPHP_VERSION},-pgsql \ - lang/php/${MODPHP_VERSION},-curl \ - lang/php/${MODPHP_VERSION},-xmlrpc +MODULES= lang/php +RUN_DEPENDS= lang/php/${MODPHP_VERSION},-pgsql \ + lang/php/${MODPHP_VERSION},-curl \ + lang/php/${MODPHP_VERSION},-xmlrpc + +WRKDIST= ${WRKDIR}/Tiny-Tiny-RSS-$V do-install: + find ${WRKDIST}/lib/ -name '*.js.uncompressed.js' -exec rm {} + cp -Rp ${WRKDIST} ${INSTDIR} ${SUBST_CMD} ${INSTDIR}/{update.php,config.php-dist} rm -Rf ${INSTDIR}/{*.{beforesubst,orig},.*,debian} diff --git a/www/tt-rss/distinfo b/www/tt-rss/distinfo index 010b9f7f444..9f2c9f70591 100755 --- a/www/tt-rss/distinfo +++ b/www/tt-rss/distinfo @@ -1,2 +1,2 @@ -SHA256 (tt-rss-1.5.11.tar.gz) = Oj7b/lmwjqV9Mive6wa+GXAibIVGkVQnU9wS8Pyeh24= -SIZE (tt-rss-1.5.11.tar.gz) = 2755392 +SHA256 (Tiny-Tiny-RSS-1.7.8.tar.gz) = XlptgqES60glm3MyB8GKcYwzgDjDPsj/yHiV1X4F88s= +SIZE (Tiny-Tiny-RSS-1.7.8.tar.gz) = 2391937 diff --git a/www/tt-rss/patches/patch-update_php b/www/tt-rss/patches/patch-update_php index 60853ce341d..00dfa78c59c 100644 --- a/www/tt-rss/patches/patch-update_php +++ b/www/tt-rss/patches/patch-update_php @@ -1,9 +1,18 @@ -$OpenBSD: patch-update_php,v 1.1 2012/03/15 09:50:23 landry Exp $ ---- update.php.orig Wed Mar 14 19:01:19 2012 -+++ update.php Wed Mar 14 19:01:36 2012 +$OpenBSD: patch-update_php,v 1.2 2013/04/14 20:28:09 rpe Exp $ +--- update.php.orig Sat Mar 23 07:56:48 2013 ++++ update.php Tue Apr 2 00:47:41 2013 @@ -1,4 +1,4 @@ --#!/usr/bin/php +-#!/usr/bin/env php +#!${MODPHP_BIN}