Skip to content

Commit

Permalink
adding old nextcloud versions for owncloud migration
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Vef committed Apr 19, 2019
1 parent 0504ba4 commit 247e031
Show file tree
Hide file tree
Showing 5 changed files with 123 additions and 0 deletions.
6 changes: 6 additions & 0 deletions www-apps/nextcloud/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
AUX nextcloud-12.0.4-destroy_modal_when_closed.patch 786 BLAKE2B 24222dde0d9ed5f3c5fa31b7cd1b837f765837543475db235056dccff9fa17cce83a37b0ed64a1999a6b61dedd5857866debb1950686acf062e42d80bccb3813 SHA512 93297f991312c5fd2504267bb16a8c38797970fdf8d109d4c4b4416a5e72c8677141ebc9a13a2dadc40845348e07f264937dd852384f88d65be4f3cc4f0cb462
DIST nextcloud-12.0.12.tar.bz2 45164894 BLAKE2B b316a5e831148787569ac80b55c411a8ed59eae312c48badd0aeeadec9dd0c048194b8feeea720b1ad4f19eae906fd1e114299756351b4831af744a918bb7210 SHA512 fd47157dc8437718e2765ed3b0644fa1ecd76707ed8aab06648524fe42cbe8e1c66244d85cd6e48bc5babf4a4a4f684b2da7a29ad60fde7755988a474fdf55f4
DIST nextcloud-13.0.12.tar.bz2 45382327 BLAKE2B 624996f2c76924d61991f733198f5e2bb67bdf8607b2a7f26361c7080db005c4436a837f77c0463333638389ff10e5b4c7c4fc614573db488aeb03eeb9006997 SHA512 c01e31812775883b4e9bf31d4a1c9b1b76eeebe8c6409e504e79c4846708a35069e2265148469c6a7bc0e8b1031d1517b5c0c221e622e531a045a47d7bb785e1
EBUILD nextcloud-12.0.12.ebuild 1033 BLAKE2B e0d1fd02c8e6be0937378d98d72dd0e2ad42111a5fd7234b0767d29e1273c8442adb7bfb71125ea0992e9418ca0f898680e290ce023dbcab9d0aea5dc9676657 SHA512 d7d046780d5a02555f5c804eca9d3de0c96ae21d66f52022ecd0460516f9614f72626e6a3b1ad1535ebbfc234d57844669b55bec0144b14d2477551149888a7f
EBUILD nextcloud-13.0.12.ebuild 960 BLAKE2B 3547350ff45ce7149df5459a0c511d6e45c5e05ebdebf3935f6353cafa1f7700b890d03ab8cd4fb63a391234859f83a30cff10378787463f9d8a4d5de15e4351 SHA512 008d81f8dd97a2c0509aae80cb7a77ab1f6656b6e6d1b3c54db1ddc1fc5c8d7d3c1b71ffffe5eb2bd3a9a061bc25a1aa023c0e531d707138cdd29d762ac68ac9
MISC metadata.xml 229 BLAKE2B 3f52d84899bb11b5f4b095009527acc206fab75b728d4c14eb0e4e12a3d92ee1915684cea2aeff7bd2f5883ea68aed6cbc021d9440a888cb9ed3b331bc217d34 SHA512 200700f7efa2af2e57c1d3517398f2c68af25984472926ca53d04bd56e1c16146b4481e8ea138ca599e2f783ee7d1a84bf01ec01c8ca3cd2a1e80ce19ac536ad
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
From 75bc40f7a08e11fc115e4986bb45fc314d49632a Mon Sep 17 00:00:00 2001
From: Thomas Bille <[email protected]>
Date: Mon, 10 Jul 2017 14:33:41 +0200
Subject: [PATCH] Destroy modal when closed

Signed-off-by: Thomas Bille <[email protected]>
---
core/js/jquery.ocdialog.js | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/core/js/jquery.ocdialog.js b/core/js/jquery.ocdialog.js
index 555b35e59ff..f3a54119e78 100644
--- a/core/js/jquery.ocdialog.js
+++ b/core/js/jquery.ocdialog.js
@@ -212,8 +212,10 @@
// Ugly hack to catch remaining keyup events.
setTimeout(function() {
self._trigger('close', self);
- self.$dialog.hide();
}, 200);
+
+ self.$dialog.remove();
+ this.destroy();
},
destroy: function() {
if(this.$title) {
9 changes: 9 additions & 0 deletions www-apps/nextcloud/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<longdescription lang="en">
migrator for owncloud
</longdescription>
<use>
</use>
</pkgmetadata>
42 changes: 42 additions & 0 deletions www-apps/nextcloud/nextcloud-12.0.12.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit eutils webapp

DESCRIPTION="Personal cloud that runs on your own server"
HOMEPAGE="http://nextcloud.com"
SRC_URI="http://download.nextcloud.com/server/releases/${P}.tar.bz2"
LICENSE="AGPL-3"

KEYWORDS="~amd64 ~arm ~x86"
IUSE="+curl mysql postgres +sqlite"
REQUIRED_USE="|| ( mysql postgres sqlite )"

DEPEND=""
RDEPEND="<dev-lang/php-7.2[curl?,filter,gd,hash,json,mysql?,pdo,posix,postgres?,session,simplexml,sqlite?,xmlreader,xmlwriter,zip]
<virtual/httpd-php-7.2"

PATCHES=( "${FILESDIR}"/${PN}-12.0.4-destroy_modal_when_closed.patch )

S=${WORKDIR}/${PN}

pkg_setup() {
webapp_pkg_setup
}

src_install() {
webapp_src_preinst

insinto "${MY_HTDOCSDIR}"
doins -r .
dodir "${MY_HTDOCSDIR}"/data

webapp_serverowned -R "${MY_HTDOCSDIR}"/apps
webapp_serverowned -R "${MY_HTDOCSDIR}"/data
webapp_serverowned -R "${MY_HTDOCSDIR}"/config
webapp_configfile "${MY_HTDOCSDIR}"/.htaccess

webapp_src_install
}
40 changes: 40 additions & 0 deletions www-apps/nextcloud/nextcloud-13.0.12.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit eutils webapp

DESCRIPTION="Personal cloud that runs on your own server"
HOMEPAGE="http://nextcloud.com"
SRC_URI="http://download.nextcloud.com/server/releases/${P}.tar.bz2"
LICENSE="AGPL-3"

KEYWORDS="~amd64 ~arm ~x86"
IUSE="+curl mysql postgres +sqlite"
REQUIRED_USE="|| ( mysql postgres sqlite )"

DEPEND=""
RDEPEND="dev-lang/php[curl?,filter,gd,hash,json,mysql?,pdo,posix,postgres?,session,simplexml,sqlite?,truetype,xmlreader,xmlwriter,zip]
virtual/httpd-php"

S=${WORKDIR}/${PN}

pkg_setup() {
webapp_pkg_setup
}

src_install() {
webapp_src_preinst

insinto "${MY_HTDOCSDIR}"
doins -r .
dodir "${MY_HTDOCSDIR}"/data

webapp_serverowned -R "${MY_HTDOCSDIR}"/apps
webapp_serverowned -R "${MY_HTDOCSDIR}"/data
webapp_serverowned -R "${MY_HTDOCSDIR}"/config
webapp_configfile "${MY_HTDOCSDIR}"/.htaccess

webapp_src_install
}

0 comments on commit 247e031

Please sign in to comment.