Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 603988 - app-text/refbase-0.9.6 Version bump request
Summary: app-text/refbase-0.9.6 Version bump request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: EAPI2Removal PHP-7-compat
  Show dependency tree
 
Reported: 2016-12-29 02:38 UTC by Brian Evans (RETIRED)
Modified: 2019-02-21 18:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
refbase-0.9.6-mysqli.patch (refbase-0.9.6-mysqli.patch,96.77 KB, patch)
2016-12-29 02:40 UTC, Brian Evans (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Evans (RETIRED) gentoo-dev 2016-12-29 02:38:14 UTC
Refbase 0.9.6 has been released for a while.

Due to its use of mysql_* functions, it must be tied to PHP 5.6 or lower since those functions are removed in 7.0.

Ebuild differences:

--- refbase-0.9.5.ebuild	2015-12-08 20:35:51.000000000 -0500
+++ refbase-0.9.6.ebuild	2016-12-26 19:37:23.000000000 -0500
@@ -1,23 +1,19 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI="2"
-inherit depend.apache webapp
+EAPI="6"
+inherit webapp
 
 DESCRIPTION="Web-based solution for managing scientific literature, references and citations"
 HOMEPAGE="http://www.refbase.net/"
 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
 LICENSE="GPL-2"
-KEYWORDS="~x86 ~amd64"
+KEYWORDS="~amd64 ~x86"
 IUSE=""
-DEPEND="|| ( <dev-lang/php-5.3[pcre] >=dev-lang/php-5.3 )
-	dev-lang/php[mysql,session]
-	app-admin/webapp-config
+RDEPEND="<virtual/httpd-php-7.0:*
+	<dev-lang/php-7.0:*[mysql,session]
 	app-text/bibutils"
-RDEPEND="${DEPEND}"
-
-need_apache
 
 pkg_setup() {
 	webapp_pkg_setup
@@ -27,7 +23,7 @@
 	webapp_src_preinst
 
 	DOCS="AUTHORS BUGS ChangeLog NEWS README TODO UPDATE"
-	dodoc ${DOCS}
+	einstalldocs
 	# Don't install docs to webroot
 	rm -f ${DOCS} COPYING INSTALL
Comment 1 Brian Evans (RETIRED) gentoo-dev 2016-12-29 02:40:18 UTC
Created attachment 457686 [details, diff]
refbase-0.9.6-mysqli.patch

Optional patch to allow use of mysqli functions.  This would allow for use under both PHP 5.x and 7.x
Comment 2 Brian Evans (RETIRED) gentoo-dev 2018-07-16 15:21:11 UTC
The current trunk at https://sourceforge.net/p/refbase/code/HEAD/tree/trunk/ supposedly has PHP 7 compatibility.

Please update to a snapshot of this 0.9.7 pre-release or drop this leaf package
Comment 3 Larry the Git Cow gentoo-dev 2019-02-21 18:00:20 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b28e9b2a0cb5522f6ea3db46b1ab25cc509d600

commit 1b28e9b2a0cb5522f6ea3db46b1ab25cc509d600
Author:     Brian Evans <grknight@gentoo.org>
AuthorDate: 2019-02-21 17:58:39 +0000
Commit:     Brian Evans <grknight@gentoo.org>
CommitDate: 2019-02-21 18:00:05 +0000

    app-text/refbase: Add new snapshot with PHP 7 compatibility
    
    Non-maintainer commit
    
    Closes: https://bugs.gentoo.org/603988
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Brian Evans <grknight@gentoo.org>

 app-text/refbase/Manifest                       |  1 +
 app-text/refbase/refbase-0.9.6_p20180223.ebuild | 35 +++++++++++++++++++++++++
 2 files changed, 36 insertions(+)