--- owncloud-8.1.12.orig/debian/owncloud-config-apache.lintian-overrides
+++ owncloud-8.1.12/debian/owncloud-config-apache.lintian-overrides
@@ -0,0 +1,4 @@
+owncloud-config-apache: dir-or-file-in-var-www
+# Usually, this is because debhelper (dh_installdeb, compat level 3 or higher)
+# will add any files in your package located in /etc automatically 
+owncloud-config-apache: duplicate-conffile
--- owncloud-8.1.12.orig/debian/owncloud-config-apache.conffiles
+++ owncloud-8.1.12/debian/owncloud-config-apache.conffiles
@@ -0,0 +1,1 @@
+/etc/apache2/conf-available/owncloud.conf
--- owncloud-8.1.12.orig/debian/rules
+++ owncloud-8.1.12/debian/rules
@@ -0,0 +1,83 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# (C) 2015 jw@owncloud.com
+
+# Uncomment this to turn on verbose mode.
+export DH_VERBOSE=1
+
+export DROOT=$(CURDIR)/debian/owncloud
+export SRCDIR=/usr/src/packages/SOURCES
+
+export SPEC_owncloud=owncloud
+
+export SPEC_apache_serverroot=/var/www
+export SPEC_apache_confdir=/etc/apache2/conf.d
+export SPEC_apache_confdir_a=/etc/apache2/conf-available
+export SPEC_apache_user=www-data
+export SPEC_apache_group=www-data
+
+## only for backwards compatibility with our 7.0 package layout.
+export SPEC_oc_apache_web_dir=$(SPEC_apache_serverroot)/$(SPEC_owncloud)
+#
+
+# CAUTION: keep in sync with owncloud.spec
+export SPEC_oc_dir=$(SPEC_oc_apache_web_dir)
+export SPEC_oc_doc_dir=/usr/share/doc/$(SPEC_owncloud)
+export SPEC_oc_config_dir=$(SPEC_oc_apache_web_dir)/config
+export SPEC_oc_data_dir=$(SPEC_oc_apache_web_dir)/data
+export SPEC_oc_data_pdir=$(SPEC_oc_apache_web_dir)
+
+SHELL=/bin/bash
+
+%:	
+	dh $@
+
+override_dh_install:
+	sed < $(SRCDIR)/apache_secure_data -e"s|@@OC_DIR@@|$(SPEC_oc_dir)|g" > owncloud.conf
+	mkdir nginx
+	sed < $(SRCDIR)/nginx_owncloud.conf -e"s|@@OC_DIR@@|$(SPEC_oc_dir)|g" > nginx/owncloud.conf
+
+	cp $(SRCDIR)/README $(SRCDIR)/README.packaging .
+
+	ls -la $(DROOT)-config-apache/$(SPEC_apache_confdir) || true
+	ls -la $(DROOT)-config-apache/$(SPEC_apache_confdir_a) || true
+
+	dh_install -Xdebian
+
+	ls -la $(DROOT)-config-apache/$(SPEC_apache_confdir) || true
+	ls -la $(DROOT)-config-apache/$(SPEC_apache_confdir_a) || true
+
+	mkdir -p  $(DROOT)-server/$(SPEC_oc_data_dir)
+	chmod 770 $(DROOT)-server/$(SPEC_oc_data_dir)
+	# mkdir -p  $(DROOT)-config-apache/$(SPEC_apache_confdir)
+	# mkdir -p  $(DROOT)-config-apache/$(SPEC_apache_confdir_a)
+
+	## FIXME: all these files end up nowhere.
+	## whatever we can move up before dh_install will be picked up by the *.install files.
+	mkdir -p 				  $(DROOT)-server/$(SPEC_oc_dir)/apps
+	# https://github.com/owncloud/enterprise/issues/570
+	mkdir -p 				  $(DROOT)-server/$(SPEC_oc_dir)/assets
+	chmod 770 				  $(DROOT)-server/$(SPEC_oc_dir)/assets		# ineffective, unless dh_fixperms has -X for us.
+	mkdir -p 				  $(DROOT)/$(SPEC_oc_doc_dir)
+	install -m 644 $(CURDIR)/AUTHORS      	  $(DROOT)/$(SPEC_oc_doc_dir)/AUTHORS
+	install -m 644 $(CURDIR)/COPYING-AGPL 	  $(DROOT)/$(SPEC_oc_doc_dir)/COPYING-AGPL
+	# install -m 644 $(SRCDIR)/robots.txt   	  $(DROOT)-server/$(SPEC_oc_dir)/.htaccess
+	# install -m 644 $(SRCDIR)/robots.txt   	  $(DROOT)-server/$(SPEC_oc_dir)/robots.txt
+
+	## only for backwards compatibility with our 7.0 package layout.
+	mkdir -p             $(DROOT)-config-apache/$(SPEC_apache_serverroot)
+
+override_dh_fixperms:
+	dh_fixperms -X var/www/owncloud/data -X var/www/owncloud/config -X var/www/owncloud/assets
+	chmod a+x $(DROOT)-server/$(SPEC_oc_dir)/occ	# https://github.com/owncloud/core/issues/18508
+	# chown at the end to ensure everything is chown'ed
+	# We must chown all apps folders, in each app, to be independant of installation order.
+	chown www-data:www-data    $(DROOT)*/$(SPEC_oc_dir)/apps
+	chown www-data:www-data    $(DROOT)-server/$(SPEC_oc_dir)/assets
+	chown www-data:www-data    $(DROOT)-server/$(SPEC_oc_dir)/apps
+	chown -R www-data:www-data $(DROOT)-server/$(SPEC_oc_dir)/themes
+	chown -R www-data:www-data $(DROOT)-server/$(SPEC_oc_config_dir)
+	# https://github.com/owncloud/core/issues/18222
+	chmod -R ug+rwx            $(DROOT)-server/$(SPEC_oc_config_dir)
+	chown -R www-data:www-data $(DROOT)-server/$(SPEC_oc_data_dir)
+
--- owncloud-8.1.12.orig/debian/compat
+++ owncloud-8.1.12/debian/compat
@@ -0,0 +1,1 @@
+7
--- owncloud-8.1.12.orig/debian/source.lintian-overrides
+++ owncloud-8.1.12/debian/source.lintian-overrides
@@ -0,0 +1,5 @@
+# needed for Debian 8.0 to finsh a build in obs.
+# FIXME: all that should be warnings in obs, as they are in s2 and local builds.
+owncloud source: source-is-missing
+owncloud source: license-problem-json-evil
+owncloud source: version-substvar-for-external-package
--- owncloud-8.1.12.orig/debian/owncloud-app-files.postinst
+++ owncloud-8.1.12/debian/owncloud-app-files.postinst
@@ -0,0 +1,50 @@
+#!/bin/sh -e
+# postinst script for owncloud-app-files
+
+# FROM http://anonscm.debian.org/cgit/pkg-owncloud/owncloud.git/plain/debian/postinst
+# https://github.com/owncloud/core/issues/12037
+# https://github.com/owncloud/core/issues/12125
+# https://github.com/owncloud/core/issues/18043
+
+## CAUTION: keep in sync with debian.rules
+export SPEC_apache_serverroot=/var/www
+export SPEC_apache_confdir=/etc/apache2/conf.d
+export SPEC_apache_confdir_a=/etc/apache2/conf-available
+
+export SPEC_oc_apache_web_dir=$SPEC_apache_serverroot/$SPEC_owncloud
+
+export SPEC_oc_user=www-data
+export SPEC_oc_group=www-data
+export SPEC_oc_dir=$SPEC_oc_apache_web_dir
+export SPEC_oc_doc_dir=/usr/share/doc/$SPEC_owncloud
+export SPEC_oc_config_dir=$SPEC_oc_apache_web_dir/config
+export SPEC_oc_data_dir=$SPEC_oc_apache_web_dir/data
+export SPEC_oc_data_pdir=$SPEC_oc_apache_web_dir
+
+set -e
+
+#DEBHELPER#
+
+case "$1" in
+    configure)
+        # https://github.com/owncloud/core/issues/18043
+	# see also owncloud.spec:%post app-files
+	if [ -e $SPEC_oc_config_dir/config.php ] ; then
+	    su $SPEC_oc_user -s /bin/sh -c "cd $SPEC_oc_dir; php ./occ maintenance:mode --off" || true
+	    echo "owncloud-server: occ upgrade"
+	    su $SPEC_oc_user -s /bin/sh -c "cd $SPEC_oc_dir; php ./occ upgrade" || true
+	    su $SPEC_oc_user -s /bin/sh -c "cd $SPEC_oc_dir; php ./occ maintenance:mode --off" || true
+	fi
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+exit 0
+
--- owncloud-8.1.12.orig/debian/owncloud-config-apache.install
+++ owncloud-8.1.12/debian/owncloud-config-apache.install
@@ -0,0 +1,2 @@
+owncloud.conf /etc/apache2/conf-available/
+
--- owncloud-8.1.12.orig/debian/owncloud-config-apache.postrm
+++ owncloud-8.1.12/debian/owncloud-config-apache.postrm
@@ -0,0 +1,17 @@
+#!/bin/sh -e
+# postrm script for owncloud-config-apache
+
+# FROM http://anonscm.debian.org/cgit/pkg-owncloud/owncloud.git/plain/debian/postinst
+# https://github.com/owncloud/core/issues/15038
+
+set -e
+
+#DEBHELPER#
+
+if type a2disconf >/dev/null 2>/dev/null; then
+  # FIXME: configure case below pulls symlinks from conf-available manually.
+  a2disconf owncloud || true
+  service apache2 reload || true
+fi
+
+exit 0
--- owncloud-8.1.12.orig/debian/control
+++ owncloud-8.1.12/debian/control
@@ -0,0 +1,229 @@
+Source: owncloud
+Section: devel
+Priority: optional
+Maintainer: Jürgen Weigert <jw@owncloud.com>
+Build-Depends: debhelper (>= 4)
+Standards-Version: 3.9.3
+
+Package: owncloud
+Architecture: all
+Depends: ${misc:Depends}, owncloud-server (= ${binary:Version})
+## downgraded owncloud-config-apache from Depends: to Recommends: due to https://github.com/owncloud/core/issues/19050
+Recommends: mysql-server | mariadb-server, curl, exim4 | mail-transport-agent, owncloud-config-apache (= ${binary:Version})
+Suggests: clamav | clamav-daemon, smbclient, libreoffice-writer
+Provides: owncloud
+Description: The ownCloud Server - Private file sync and share server
+ ownCloud Server provides you a private file sync and share
+ cloud. Host this server to easily sync business or private documents
+ across all your devices, and share those documents with other users of
+ your ownCloud server on their devices.
+ .
+ ownCloud - Your Cloud, Your Data, Your Way!  www.owncloud.org
+
+Package: owncloud-server
+Architecture: all
+Depends: ${misc:Depends}, php5 (>= 5.4.0), php5-mysqlnd | php5-mysql, php5-sqlite, php5-pgsql, 
+	php5-common, php5-gd, php-xml-parser, php5-intl, php5-mcrypt, php5-curl, php5-json, php5-ldap, php5-cli
+## Merged back all the apps into owncloud-server, due to https://github.com/owncloud/core/issues/18043
+## According to https://www.debian.org/doc/debian-policy/ch-relationships.html replacing is done with three lists: Provides, Conflicts, Replaces.
+## Did not work.
+## According to https://lists.debian.org/debian-mentors/2015/09/msg00394.html transitional packages help when Provides does not.
+## Add all with Depends: owncloud-server (>= ${source:Version}).
+## Add to "Package: owncloud-server" Breaks and Replaces for each owncloud-app-... (<< 8.1.3-6.1~)
+Replaces: owncloud (<< 7.9.9),
+	owncloud-app-updater           (<< ${binary:Version}~),
+	owncloud-app-files-encryption  (<< ${binary:Version}~),
+	owncloud-3rdparty              (<< ${binary:Version}~),
+	owncloud-app-activity          (<< ${binary:Version}~),
+	owncloud-app-files             (<< ${binary:Version}~),
+	owncloud-app-files-pdfviewer   (<< ${binary:Version}~),
+	owncloud-app-files-trashbin    (<< ${binary:Version}~),
+	owncloud-app-files-external    (<< ${binary:Version}~),
+	owncloud-app-files-sharing     (<< ${binary:Version}~),
+	owncloud-app-files-versions    (<< ${binary:Version}~),
+	owncloud-app-files-locking     (<< ${binary:Version}~),
+	owncloud-app-files-texteditor  (<< ${binary:Version}~),
+	owncloud-app-provisioning-api  (<< ${binary:Version}~),
+	owncloud-app-firstrunwizard    (<< ${binary:Version}~),
+	owncloud-app-templateeditor    (<< ${binary:Version}~),
+	owncloud-app-user-ldap         (<< ${binary:Version}~),
+	owncloud-app-external          (<< ${binary:Version}~),
+	owncloud-app-files-videoviewer (<< ${binary:Version}~),
+	owncloud-app-gallery           (<< ${binary:Version}~),
+	owncloud-app-user-webdavauth   (<< ${binary:Version}~),
+	owncloud-app-user-external     (<< ${binary:Version}~),
+	owncloud-app-encryption	       (<< ${binary:Version}~)
+Breaks: owncloud (<< 7.9.9),
+	owncloud-app-updater           (<< ${binary:Version}~),
+	owncloud-app-files-encryption  (<< ${binary:Version}~),
+	owncloud-3rdparty              (<< ${binary:Version}~),
+	owncloud-app-activity          (<< ${binary:Version}~),
+	owncloud-app-files             (<< ${binary:Version}~),
+	owncloud-app-files-pdfviewer   (<< ${binary:Version}~),
+	owncloud-app-files-trashbin    (<< ${binary:Version}~),
+	owncloud-app-files-external    (<< ${binary:Version}~),
+	owncloud-app-files-sharing     (<< ${binary:Version}~),
+	owncloud-app-files-versions    (<< ${binary:Version}~),
+	owncloud-app-files-locking     (<< ${binary:Version}~),
+	owncloud-app-files-texteditor  (<< ${binary:Version}~),
+	owncloud-app-provisioning-api  (<< ${binary:Version}~),
+	owncloud-app-firstrunwizard    (<< ${binary:Version}~),
+	owncloud-app-templateeditor    (<< ${binary:Version}~),
+	owncloud-app-user-ldap         (<< ${binary:Version}~),
+	owncloud-app-external          (<< ${binary:Version}~),
+	owncloud-app-files-videoviewer (<< ${binary:Version}~),
+	owncloud-app-gallery           (<< ${binary:Version}~),
+	owncloud-app-user-webdavauth   (<< ${binary:Version}~),
+	owncloud-app-user-external     (<< ${binary:Version}~),
+	owncloud-app-encryption	       (<< ${binary:Version}~)
+# Don't recommend php5-apcu for Ubuntu-14.04 https://github.com/owncloud/core/issues/14188
+# Don't use apcu before 4.0.6 https://github.com/owncloud/core/issues/14175
+Suggests: php5-apcu (>= 4.0.6) | php-apc
+Description: The owncloud-server package
+ .
+ Server internals. For a complete system install package owncloud.
+
+Package: owncloud-config-apache
+Architecture: all
+Depends: owncloud-server (= ${binary:Version}), apache2 | httpd
+# According to https://www.debian.org/doc/debian-policy/ch-relationships.html saying
+# Replaces here, should allow us to overwrite a file. It does not work for owncloud.conf
+# which is inherited by owncloud 8.x from owncloud 7.x without apparent reason.
+Replaces: owncloud (<< 7.9.9)
+Breaks: owncloud (<< 7.9.9)
+Description: The ownCloud configuration for the apache web server
+ .
+ This subpackage helps to run ownCloud with an apache web server.
+
+
+Package: owncloud-3rdparty
+Architecture: all
+Depends: owncloud-server (>= ${source:Version})
+Description: This is a transitional package and can be safely removed.
+
+
+Package: owncloud-app-updater
+Architecture: all
+Depends: owncloud-server (>= ${source:Version})
+Description: This is a transitional package and can be safely removed.
+
+
+Package: owncloud-app-files-encryption
+Architecture: all
+Depends: owncloud-server (>= ${source:Version})
+Description: This is a transitional package and can be safely removed.
+
+
+Package: owncloud-app-activity
+Architecture: all
+Depends: owncloud-server (>= ${source:Version})
+Description: This is a transitional package and can be safely removed.
+
+
+Package: owncloud-app-files
+Architecture: all
+Depends: owncloud-server (>= ${source:Version})
+Description: This is a transitional package and can be safely removed.
+
+
+Package: owncloud-app-files-pdfviewer
+Architecture: all
+Depends: owncloud-server (>= ${source:Version})
+Description: This is a transitional package and can be safely removed.
+
+
+Package: owncloud-app-files-trashbin
+Architecture: all
+Depends: owncloud-server (>= ${source:Version})
+Description: This is a transitional package and can be safely removed.
+
+
+Package: owncloud-app-files-external
+Architecture: all
+Depends: owncloud-server (>= ${source:Version})
+Description: This is a transitional package and can be safely removed.
+
+
+Package: owncloud-app-files-sharing
+Architecture: all
+Depends: owncloud-server (>= ${source:Version})
+Description: This is a transitional package and can be safely removed.
+
+
+Package: owncloud-app-files-versions
+Architecture: all
+Depends: owncloud-server (>= ${source:Version})
+Description: This is a transitional package and can be safely removed.
+
+
+Package: owncloud-app-files-locking
+Architecture: all
+Depends: owncloud-server (>= ${source:Version})
+Description: This is a transitional package and can be safely removed.
+
+
+Package: owncloud-app-files-texteditor
+Architecture: all
+Depends: owncloud-server (>= ${source:Version})
+Description: This is a transitional package and can be safely removed.
+
+
+Package: owncloud-app-provisioning-api
+Architecture: all
+Depends: owncloud-server (>= ${source:Version})
+Description: This is a transitional package and can be safely removed.
+
+
+Package: owncloud-app-firstrunwizard
+Architecture: all
+Depends: owncloud-server (>= ${source:Version})
+Description: This is a transitional package and can be safely removed.
+
+
+Package: owncloud-app-templateeditor
+Architecture: all
+Depends: owncloud-server (>= ${source:Version})
+Description: This is a transitional package and can be safely removed.
+
+
+Package: owncloud-app-user-ldap
+Architecture: all
+Depends: owncloud-server (>= ${source:Version})
+Description: This is a transitional package and can be safely removed.
+
+
+Package: owncloud-app-external
+Architecture: all
+Depends: owncloud-server (>= ${source:Version})
+Description: This is a transitional package and can be safely removed.
+
+
+Package: owncloud-app-files-videoviewer
+Architecture: all
+Depends: owncloud-server (>= ${source:Version})
+Description: This is a transitional package and can be safely removed.
+
+
+Package: owncloud-app-gallery
+Architecture: all
+Depends: owncloud-server (>= ${source:Version})
+Description: This is a transitional package and can be safely removed.
+
+
+Package: owncloud-app-user-webdavauth
+Architecture: all
+Depends: owncloud-server (>= ${source:Version})
+Description: This is a transitional package and can be safely removed.
+
+
+Package: owncloud-app-user-external
+Architecture: all
+Depends: owncloud-server (>= ${source:Version})
+Description: This is a transitional package and can be safely removed.
+
+
+Package: owncloud-app-encryption
+Architecture: all
+Depends: owncloud-server (>= ${source:Version})
+Description: This is a transitional package and can be safely removed.
+
--- owncloud-8.1.12.orig/debian/owncloud-server.preinst
+++ owncloud-8.1.12/debian/owncloud-server.preinst
@@ -0,0 +1,48 @@
+#!/bin/sh -e
+# preinst script for owncloud-config-apache
+# https://github.com/owncloud/core/issues/12125
+
+
+## CAUTION: keep in sync with debian.rules
+export SPEC_owncloud=owncloud
+export SPEC_apache_serverroot=/var/www
+export SPEC_apache_confdir=/etc/apache2/conf.d
+export SPEC_apache_confdir_a=/etc/apache2/conf-available
+
+export SPEC_oc_apache_web_dir=$SPEC_apache_serverroot/$SPEC_owncloud
+
+export SPEC_oc_user=www-data
+export SPEC_oc_group=www-data
+export SPEC_oc_dir=$SPEC_oc_apache_web_dir
+export SPEC_oc_doc_dir=/usr/share/doc/$SPEC_owncloud
+export SPEC_oc_config_dir=$SPEC_oc_apache_web_dir/config
+export SPEC_oc_data_dir=$SPEC_oc_apache_web_dir/data
+export SPEC_oc_data_pdir=$SPEC_oc_apache_web_dir
+
+set -e
+
+#DEBHELPER#
+
+case "$1" in
+    install|upgrade)
+	# Update the database on upgrade
+	# Don’t let it fail, since it exits with 3 if no upgrade is necessary
+	if [ -e $SPEC_oc_config_dir/config.php ] ; then
+		# https://github.com/owncloud/core/issues/16723
+		echo "owncloud-server: occ maintenance:mode --on"
+                su $SPEC_oc_user -s /bin/sh -c "cd $SPEC_oc_dir; php ./occ maintenance:mode --on" || true
+                echo yes > /run/occ_maintenance_mode_during_owncloud_install
+	fi
+    ;;
+
+    abort-upgrade)
+    ;;
+
+    *)
+        echo "preinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+exit 0
+
--- owncloud-8.1.12.orig/debian/changelog
+++ owncloud-8.1.12/debian/changelog
@@ -0,0 +1,678 @@
+owncloud (8.1.12-1.1) stable; urgency=low
+
+  * version number update by debtransform
+
+ -- debtransform <build@opensuse.org>  Thu, 02 Feb 2017 16:23:48 +0000
+
+owncloud (8.1.12-1) stable; urgency=low
+
+  * Update to version 8.1.12
+
+ -- Cristian Rodríguez <crrodriguez@opensuse.org>  Thu, 02 Feb 2017 13:16:05 -0300
+
+owncloud (8.1.12~rc2-1) stable; urgency=low
+
+  * Update to version 8.1.12~rc2
+
+ -- Cristian Rodríguez <crrodriguez@opensuse.org>  Thu, 26 Jan 2017 17:48:33 +0000
+
+owncloud (8.1.11-1) stable; urgency=low
+
+  * Update to version 8.1.11
+
+ -- Cristian Rodríguez <crrodriguez@opensuse.org>  Tue, 08 Nov 2016 11:03:15 -0300
+
+owncloud (8.1.11~rc2-1) stable; urgency=low
+
+  * Update to version 8.1.11~rc2
+
+ -- Cristian Rodríguez <crrodriguez@opensuse.org>  Mon, 07 Nov 2016 14:16:54 -0300
+
+owncloud (8.1.11~rc1-1) stable; urgency=low
+
+  * Update to version 8.1.11~rc1
+
+ -- Cristian Rodríguez <crrodriguez@opensuse.org>  Fri, 21 Oct 2016 00:49:55 +0000
+
+owncloud (8.1.10-1) stable; urgency=low
+
+  * Update to version 8.1.10
+
+ -- Juergen Weigert <jnweiger@gmail.com>  Mon, 19 Sep 2016 19:52:00 +0200
+
+owncloud (8.1.10~rc1-1) stable; urgency=low
+
+  * Update to version 8.1.10~rc1
+
+ -- Cristian Rodríguez <crrodriguez@opensuse.org>  Wed, 31 Aug 2016 01:47:44 -0300
+
+owncloud (8.1.9-1) stable; urgency=low
+
+  * Update to version 8.1.9
+
+ -- Juergen Weigert <jnweiger@gmail.com>  Tue, 19 Jul 2016 15:38:21 +0200
+
+owncloud (8.1.9~rc2-1) stable; urgency=low
+
+  * Update to version 8.1.9~rc2
+
+ -- Juergen Weigert <jnweiger@gmail.com>  Thu, 14 Jul 2016 13:41:17 +0200
+
+owncloud (8.1.9~rc1-1) stable; urgency=low
+
+  * Update to version 8.1.9~rc1
+
+ -- Juergen Weigert <jnweiger@gmail.com>  Tue, 05 Jul 2016 17:03:42 +0200
+
+owncloud (8.1.8-1) stable; urgency=low
+
+  * Update to version 8.1.8
+  * updated files_videoviewer
+
+ -- Juergen Weigert <jnweiger@gmail.com>  Fri, 13 May 2016 01:55:20 +0200
+
+owncloud (8.1.8~rc1-1) stable; urgency=low
+
+  * Update to version 8.1.8~rc1
+
+ -- Juergen Weigert <jnweiger@gmail.com>  Tue, 10 May 2016 12:10:22 +0200
+
+owncloud (8.1.7-1) stable; urgency=low
+
+  * Update to version 8.1.7
+
+ -- Juergen Weigert <jnweiger@gmail.com>  Tue, 03 May 2016 16:28:41 +0200
+
+owncloud (8.1.7~rc2-1) stable; urgency=low
+
+  * Update to version 8.1.7~rc2
+
+ -- Juergen Weigert <jw@owncloud.com>  Mon, 02 May 2016 15:47:54 +0200
+
+owncloud (8.1.7~rc1-1) stable; urgency=low
+
+  * Update to version 8.1.7~rc1
+
+ -- Jürgen Weigert <jw@owncloud.com>  Wed, 27 Apr 2016 12:36:44 +0200
+
+owncloud (8.1.6-1) stable; urgency=low
+
+  * Update to version 8.1.6
+
+ -- Jürgen Weigert <jw@owncloud.com>  Tue, 08 Mar 2016 15:47:17 +0100
+
+owncloud (8.1.6~RC2-1) stable; urgency=low
+
+  * Update to version 8.1.6~RC2
+
+ -- Jürgen Weigert <jw@owncloud.com>  Sat, 05 Mar 2016 04:33:09 +0100
+
+owncloud (8.1.6~RC1-2) stable; urgency=low
+
+ * owncloud(8.1.6-0) stable; urgency=low
+ * User management: Password change error display behavior - #21239
+ * Files: show 405 Method Not Allowed - #20713
+ * Object of class OC\\Connector\\Sabre\\Directory could not be converted to string - #21230
+ * Initialize l10n instance earlier to fix an undefined var warning followed by a PHP error - #21263
+ * Prevent 0 byte downloads when storage returns false - #21296
+ * Skip unavailable storages in scanner - #21314
+ * SMB not working in "official" Click&Go VM - #19479
+ * Keep scroll position in user's page when sorting - #21694
+ * Handle return code of streamCopy in WebDAV put - #21748
+ * Sync certificates with upstream - #21864
+ * Shares moving back to default "landing" dir - #12385
+ * Share autocomplete produces warning in log - #20095
+ * Files app can't show thumbnails for BMP pictures - #16461
+ * Google Drive external storage has some missing files in its root folder - #16267
+ * Fix on shared groups assignment - #22558
+ * Removing files from trash: Undefined index: permissions at /var/www/owncloud/lib/private/fileifo.php#177 - #21378
+ * LDAP configuration, groups filter cannot be changed - #22278
+ * Get rid of 'unserialize' in LDAP caching - #16498
+ * It is not possible to unshare or deleted an accepted federated folder - #22483
+ * Sharing with LDAP users not working on subsequent attempts when cache is enabled - #21896
+ * backgroundScan must ignore root storage #22501
+ * Heal unencrypted file sizes at download time - #22627
+ * Keep files and folders of sharepoint in sync on iOS - enterprise/#1096
+ * Cap the number of entries we cache in SMB's statcache - #21648
+ * isReadable new implementation - windows_network_drive/#302
+ * Files Drop app produces PHP errors in the log file - files_drop/#83
+
+ -- Jürgen Weigert <jw@owncloud.com>  Fri, 04 Mar 2016 19:03:51 +0100
+
+owncloud (8.1.6~RC1-1) stable; urgency=low
+
+  * Update to version 8.1.6~RC1
+
+ -- Jürgen Weigert <jw@owncloud.com>  Wed, 02 Mar 2016 12:17:34 +0100
+
+owncloud (8.1.5-2) stable; urgency=low
+
+  * added ocs-proivder folder https://github.com/owncloud/core/issues/21327
+
+ -- ownCloud Builder <jenkins@owncloud.com>  Tue, 22 Dec 2015 19:22:26 +0100
+
+owncloud (8.1.5-1) stable; urgency=low
+
+  * Update to version 8.1.5
+
+ -- ownCloud Builder <jenkins@owncloud.com>  Mon, 21 Dec 2015 16:14:32 +0000
+
+owncloud (8.1.5~RC1-1) stable; urgency=low
+
+  * Update to version 8.1.5~RC1
+
+ -- ownCloud Builder <jenkins@owncloud.com>  Wed, 16 Dec 2015 14:33:31 +0000
+
+owncloud (8.1.4-1) stable; urgency=low
+
+  * Update to version 8.1.4
+
+ -- Juergen Weigert <jw@owncloud.com>  Fri, 30 Oct 2015 21:47:29 +0100
+
+owncloud (8.1.4~RC2-1) stable; urgency=low
+
+  * Update to version 8.1.4~RC2
+
+ -- Juergen Weigert <jw@owncloud.com>  Wed, 28 Oct 2015 17:47:45 +0100
+
+owncloud (8.1.4~RC1-3) stable; urgency=low
+
+  * Implemented latest decision from
+    https://github.com/owncloud/core/pull/19661
+    No more NO_AUTOMATIC_UPGRADE switch. We never upgrade automatically now.
+
+ -- Juergen Weigert <jw@owncloud.com>  Wed, 28 Oct 2015 15:45:23 +0100
+
+owncloud (8.1.4~RC1-2) stable; urgency=low
+
+  * Added test for %{oc_dir}/config/NO_AUTOMATIC_UPGRADE 
+    to help with https://github.com/owncloud/core/pull/19508
+    This feature only has effect if the file is present. Thus 
+    considered a harmless addition if unused.
+
+ -- Juergen Weigert <jw@owncloud.com>  Mon, 26 Oct 2015 17:35:01 +0100
+
+owncloud (8.1.4~RC1-1) stable; urgency=low
+
+  * Update to version 8.1.4~RC1
+
+ -- ownCloud Builder <jenkins@owncloud.com>  Thu, 22 Oct 2015 01:19:34 +0000
+
+owncloud (8.1.3-4) stable; urgency=low
+
+  * According to https://lists.debian.org/debian-mentors/2015/09/msg00394.html transitional packages help when Provides does not.
+    Try that.
+  
+ -- Jürgen Weigert <jw@owncloud.com>  Mon, 21 Sep 2015 18:52:25 +0200
+
+owncloud (8.1.3-3) stable; urgency=low
+
+  * According to https://www.debian.org/doc/debian-policy/ch-relationships.html replacing is done with three lists: Provides, Conflicts, Replaces.
+
+ -- Jürgen Weigert <jw@owncloud.com>  Thu, 17 Sep 2015 15:49:14 +0200
+
+owncloud (8.1.3-2) stable; urgency=low
+
+  * downgraded owncloud-config-apache from Depends: to Recommends: due to https://github.com/owncloud/core/issues/19050
+
+ -- Jürgen Weigert <jw@owncloud.com>  Wed, 16 Sep 2015 19:43:31 +0200
+
+owncloud (8.1.3-1) stable; urgency=low
+
+  * Update to version 8.1.3
+
+ -- Juergen Weigert <jw@owncloud.com>  Fri, 11 Sep 2015 11:48:14 +0200
+
+owncloud (8.1.2-1) stable; urgency=low
+
+  * Update to version 8.1.2
+
+ -- Juergen Weigert <jw@owncloud.com>  Wed, 02 Sep 2015 12:39:29 +0200
+
+owncloud (8.1.2~RC1-1) stable; urgency=low
+
+  * Update to version 8.1.2~RC1
+
+ -- Juergen Weigert <jw@owncloud.com>  Sun, 30 Aug 2015 15:20:03 +0200
+
+owncloud (8.1.1-3) stable; urgency=low
+
+  * Possible fix for https://github.com/owncloud/core/issues/18222
+
+ -- Juergen Weigert <jw@owncloud.com>  Tue, 25 Aug 2015 17:42:12 +0200
+
+owncloud (8.1.1-2) stable; urgency=low
+
+  * Make occ executable. https://github.com/owncloud/core/issues/18508
+  * Using DEBTRANSFORM-RELEASE to automate incrementing build release number.
+  * Fix owncloud-server: php-script-but-no-phpX-cli-dep var/www/owncloud/occ
+
+ -- Juergen Weigert <jw@owncloud.com>  Tue, 25 Aug 2015 14:25:48 +0200
+
+owncloud (8.1.1-1) stable; urgency=low
+
+  * Update to version 8.1.1
+
+ -- Juergen Weigert <jw@owncloud.com>  Sat, 08 Aug 2015 14:37:55 +0200
+
+owncloud (8.1.1~RC1-6) stable; urgency=low
+
+  * DEB: Merged all *-apps-* packages into owncloud-server
+    Other attempts to resolve https://github.com/owncloud/core/issues/18043 for RPM fail in OBS.
+    Not an issue with DEB. But merge here too, for consistency and simplicity.
+  * Cleanup debian.rules: No more references to optional FHS.
+  * debian.owncloud-server.*inst: Calling occ from its directory according to https://github.com/owncloud/core/issues/17583
+
+ -- Juergen Weigert <jw@owncloud.com>  Sat, 08 Aug 2015 14:37:54 +0200
+
+owncloud (8.1.1~RC1-5) stable; urgency=low
+
+  * Fixed SPEC_owncloud variable in debian.owncloud-server.{pre,post}inst
+    This prevented occ upgrade to trigger on DEB.
+
+ -- Jürgen Weigert <jw@owncloud.com>  Sat, 08 Aug 2015 01:12:01 +0200
+
+owncloud (8.1.1~RC1-4) stable; urgency=low
+
+  *  debian lintian adds to our file count: one lintian-overrides file 
+     per sub package, as we cannot move out of the www tree.
+
+ -- Jürgen Weigert <jw@owncloud.com>  Fri, 07 Aug 2015 23:51:38 +0200
+
+owncloud (8.1.1~RC1-3) stable; urgency=low
+
+  * Fixed https://github.com/owncloud/core/issues/18043
+    with extra calls to occ upgrade during owncloud-app-files post install.
+
+ -- Jürgen Weigert <jw@owncloud.com>  Fri, 07 Aug 2015 17:54:31 +0200
+
+owncloud (8.1.1~RC1-2) stable; urgency=low
+
+  * Cleanup debian.rules: No more references to optional FHS.
+  * debian.owncloud-server.*inst: Calling occ from its directory according to https://github.com/owncloud/core/issues/17583
+  * Convince debian lintian to allow files in /var/www. That is where we live.
+
+ -- Jürgen Weigert <jw@owncloud.com>  Fri, 07 Aug 2015 16:59:35 +0200
+
+owncloud (8.1.1~RC1-1) stable; urgency=low
+
+  * Update to version 8.1.1~RC1
+
+ -- Juergen Weigert <jw@owncloud.com>  Mon, 03 Aug 2015 18:00:18 +0200
+
+owncloud (8.1.1~beta1-1) stable; urgency=low
+
+  * Update to version 8.1.1~beta1
+
+ -- Juergen Weigert <jw@owncloud.com>  Fri, 24 Jul 2015 16:51:23 +0200
+
+owncloud (8.1.0-3) stable; urgency=low
+
+  * fix https://github.com/owncloud/core/issues/16949
+
+ -- Jürgen Weigert <testy@linux-w510-jw.own.cloud>  Wed, 15 Jul 2015 19:57:01 +0200
+
+owncloud (8.1.0-2) stable; urgency=low
+
+  * fix https://github.com/owncloud/core/issues/17469
+
+ -- Jürgen Weigert <testy@linux-w510-jw.own.cloud>  Wed, 08 Jul 2015 17:34:17 +0200
+
+owncloud (8.1.0-1) stable; urgency=low
+
+  * Update to version 8.1.0
+
+ -- Juergen Weigert <jnweiger@gmail.com>  Fri, 03 Jul 2015 11:17:46 +0200
+
+owncloud (8.1.0~RC2-1) stable; urgency=low
+
+  * Version number patched back to 3 digits.
+
+ -- Jürgen Weigert <jw@owncloud.com>  Wed, 01 Jul 2015 18:47:13 +0200
+
+owncloud (8.1~RC2-1) stable; urgency=low
+
+  * Update to version 8.1~RC2
+
+ -- Juergen Weigert <jw@ownCloud.com>  Wed, 01 Jul 2015 02:37:05 +0200
+
+owncloud (8.1.0~RC1-3) stable; urgency=low
+
+  * RPM: moving .htaccess from config-apache to server*
+    Fix https://github.com/owncloud/core/issues/17032
+
+ -- Jürgen Weigert <jw@owncloud.com>  Fri, 19 Jun 2015 12:30:16 +0200
+
+owncloud (8.1.0~RC1-2) stable; urgency=low
+
+  * Explicitly Require php-fileinfo for SUSE.
+  * Breaks/Replaces owncloud-app-files_encryption
+
+ -- Jürgen Weigert <jw@owncloud.com>  Fri, 19 Jun 2015 00:21:09 +0200
+
+owncloud (8.1.0~RC1-1) stable; urgency=low
+
+  * update to 8.1.0~RC1
+
+ -- Jürgen Weigert <jw@owncloud.com>  Thu, 18 Jun 2015 13:00:19 +0200
+
+owncloud (8.1.0~Beta2-8) stable; urgency=low
+
+  * running occ with php is safer.
+
+ -- Jürgen Weigert <jw@owncloud.com>  Tue, 16 Jun 2015 23:04:15 +0200
+
+owncloud (8.1.0~Beta2-7) stable; urgency=low
+
+  * Fixed https://github.com/owncloud/core/issues/16723
+    maintenance:mode --off for DEB too. RPM already had that.
+
+ -- Jürgen Weigert <jw@owncloud.com>  Tue, 16 Jun 2015 15:40:52 +0200
+
+owncloud (8.1.0~Beta2-5) stable; urgency=low
+
+  * Fixed https://github.com/owncloud/core/issues/16788 .
+    Updated obs_check_deb_spec.sh
+
+ -- Jürgen Weigert <jw@owncloud.com>  Mon, 08 Jun 2015 11:05:50 +0200
+
+owncloud (8.1.0~Beta2-4) stable; urgency=low
+
+  * fix https://github.com/owncloud/core/issues/16132
+
+ -- Jürgen Weigert <jw@owncloud.com>  Tue, 02 Jun 2015 17:41:10 +0200
+
+owncloud (8.1.0~Beta2-3) stable; urgency=low
+
+  * https://github.com/owncloud/core/issues/16275
+    Our debian.owncloud-config-apache.preinst still misbehaves. Removed dpkg-divert 
+    as there is no explanation why it should be there.
+  * A simple backup copy works fine for the update scenario from 8.0.3 to 8.1
+
+ -- Jürgen Weigert <jw@owncloud.com>  Thu, 28 May 2015 12:23:24 +0200
+
+owncloud (8.1.0~Beta2-1) stable; urgency=low
+
+  * update to 8.1.0~Beta2
+
+ -- Jürgen Weigert <jw@owncloud.com>  Tue, 19 May 2015 15:41:14 +0200
+
+owncloud (8.1.0~Beta1-5) stable; urgency=low
+
+  * fix https://github.com/owncloud/core/issues/16275 again
+
+ -- Jürgen Weigert <jw@owncloud.com>  Fri, 15 May 2015 16:43:37 +0200
+
+owncloud (8.1.0~Beta1-4) stable; urgency=low
+
+  * fix https://github.com/owncloud/updater/issues/122
+
+ -- Jürgen Weigert <jw@owncloud.com>  Wed, 13 May 2015 17:48:53 +0200
+
+owncloud (8.1.0~Beta1-3) stable; urgency=low
+
+  * fix https://github.com/owncloud/core/issues/16275
+
+ -- Jürgen Weigert <jw@owncloud.com>  Wed, 13 May 2015 11:39:57 +0200
+
+owncloud (8.1.0~Beta1-2) stable; urgency=low
+
+  * Missing dependency added. 
+    obs_check_deb_spec.sh flagged critical for all, deb and rpm. Was only rpm before.
+    https://github.com/owncloud/core/issues/16275
+  * apply sugested fix for https://github.com/owncloud/core/issues/16189
+
+ -- Jürgen Weigert <jw@owncloud.com>  Mon, 11 May 2015 19:36:09 +0200
+
+owncloud (8.1.0~Beta1-1) stable; urgency=low
+
+  * update to 8.1.0~Beta1
+    Removed apps: encryption_dummy
+
+ -- Jürgen Weigert <jw@owncloud.com>  Fri, 08 May 2015 17:35:15 +0200
+
+owncloud (8.1.0~Alpha2-1) stable; urgency=low
+
+  * update to 8.1.0~Alpha2
+    Removed apps: files_encryption
+
+ -- Jürgen Weigert <jw@owncloud.com>  Thu, 23 Apr 2015 11:45:17 +0200
+
+owncloud (8.1.0~Alpha1-1) stable; urgency=low
+
+  * update to 8.1.0~Alpha1
+    Added apps: encryption encryption_dummy
+
+ -- Jürgen Weigert <jw@owncloud.com>  Thu, 16 Apr 2015 20:56:18 +0200
+
+owncloud (8.0.3~RC2-1) stable; urgency=low
+
+  * update to 8.0.3~RC2
+
+ -- Jürgen Weigert <jw@owncloud.com>  Thu, 16 Apr 2015 17:34:27 +0200
+
+owncloud (8.0.3~RC1-3) stable; urgency=low
+
+  * main .htaccess moved into owncloud-server, RPM already has it there.
+    Prevent regression of https://github.com/owncloud/core/issues/15421
+  * Suggest at least apcu version 4.0.6
+    https://github.com/owncloud/core/issues/14175#issuecomment-89613256
+
+ -- Jürgen Weigert <jw@owncloud.com>  Tue, 07 Apr 2015 14:45:56 +0200
+
+owncloud (8.0.3~RC1-2) stable; urgency=low
+
+  * Made versioned dependencies for DEB as strict as for RPM.
+
+ -- Jürgen Weigert <jw@owncloud.com>  Mon, 30 Mar 2015 22:48:57 +0200
+
+owncloud (8.0.3~RC1-1) stable; urgency=low
+
+  * Release  "8.0.3" April 6. 2015
+
+  - Fix several Constrain Violation Exceptions
+  - Fix misleading Maintenance mode message
+  - Timezone fixes for countries with .05 and 0.75 offsets
+  - Fix usage of default share folder location
+  - Improved MSSQL compatibility
+  - Reenable trashbin after failed rename
+  - Fix disabling of APCu
+  - Do not show update notification on mobile
+  - Fix "Only variables should be passed by reference" error log spam
+  - Add timeout to curl
+  - Makes repair errors and warnings visible for the user when
+  - Upgrading on the command line or in the web UI
+  - Cron shall not operate in case we are in maintenance mode
+  - Disable the cache updater when doing the encryption migration
+  - Fix "Error while updating app" error
+  - Internal Server Error after attempting to do "occ files:scan" 
+
+ -- Jürgen Weigert <jw@owncloud.com>  Sat, 28 Mar 2015 03:49:47 +0100
+
+owncloud (8.0.2-7) stable; urgency=low
+
+  * fixed https://github.com/owncloud/core/issues/14610
+    preinst handling of dangling symlinks improved.
+
+ -- Jürgen Weigert <jw@owncloud.com>  Wed, 25 Mar 2015 21:42:02 +0100
+
+owncloud (8.0.2-6) stable; urgency=low
+
+  * added postrm to fix https://github.com/owncloud/core/issues/15038
+    remove dangling symlink.
+
+ -- Jürgen Weigert <jw@owncloud.com>  Tue, 24 Mar 2015 21:34:22 +0100
+
+owncloud (8.0.2-5) stable; urgency=low
+
+  * main .htaccess no longer in debian.*apache*.conffiles 
+    Fixes https://github.com/owncloud/core/issues/15039
+
+ -- Jürgen Weigert <jw@owncloud.com>  Tue, 24 Mar 2015 20:41:36 +0100
+
+owncloud (8.0.2-4) stable; urgency=low
+
+  * do not do Depends: owncloud-app-updater
+
+ -- Jürgen Weigert <jw@owncloud.com>  Tue, 17 Mar 2015 18:54:47 +0100
+
+owncloud (8.0.2-3) stable; urgency=low
+
+  * added debian.compat level 7, to silence warnings.
+  * fixed trailing whitespace in *.conffiles.
+
+ -- Jürgen Weigert <jw@owncloud.com>  Tue, 17 Mar 2015 00:57:39 +0100
+
+owncloud (8.0.2-2) stable; urgency=low
+
+  * fixed https://github.com/owncloud/core/issues/14855
+
+ -- Jürgen Weigert <jw@owncloud.com>  Fri, 13 Mar 2015 12:26:01 +0100
+
+owncloud (8.0.2-1) stable; urgency=low
+
+  * updated to 8.0.2
+    debian.owncloud-config-apache.conffiles added.
+
+ -- Jürgen Weigert <jw@owncloud.com>  Mon, 09 Mar 2015 19:37:46 +0100
+
+owncloud (8.0.1~RC201503052140-1) stable; urgency=low
+
+  * update to 8.0.1 Mar 5, 21:40h
+
+ -- Jürgen Weigert <jw@owncloud.com>  Fri, 06 Mar 2015 20:26:14 +0100
+
+owncloud (8.0.1-2) stable; urgency=low
+
+  * updated to 8.0.1 Mar 4, 22:35h
+
+ -- Jürgen Weigert <jw@owncloud.com>  Thu, 05 Mar 2015 12:25:45 +0100
+
+owncloud (8.0.1-1) stable; urgency=low
+
+  * updated to 8.0.1
+
+ -- Jürgen Weigert <jw@owncloud.com>  Wed, 04 Mar 2015 20:48:31 +0100
+
+owncloud (8.0.0-9) stable; urgency=low
+
+  * added Suggests for php5-ldap to ldap app
+
+ -- Jürgen Weigert <jw@owncloud.com>  Tue, 03 Mar 2015 12:44:53 +0100
+
+owncloud (8.0.0-8) stable; urgency=low
+
+  * Added chown of apps folder to all sub-packages, to be indedpenant of installation order.
+  * Added explicit Provides: owncloud to help owncloud-enterprise find the server.
+
+ -- Jürgen Weigert <jw@owncloud.com>  Mon, 02 Mar 2015 17:36:34 +0100
+
+owncloud (8.0.0-7) stable; urgency=low
+
+  * Factored out dependencies of owncloud into owncloud-server* to make
+    owncloud-server-scl-php54 usable on CentOS-6
+  * No code changes.
+
+ -- Jürgen Weigert <jw@owncloud.com>  Mon, 23 Feb 2015 20:40:47 +0100
+
+owncloud (8.0.0-6) stable; urgency=low
+
+  * added _service file to assert increment of build release number.
+  * changed dependencies of owncloud-config-apache to make it build on ubuntu-14.04 again.
+
+ -- Jürgen Weigert <jw@owncloud.com>  Sun, 22 Feb 2015 22:05:07 +0100
+
+owncloud (8.0.0-5) stable; urgency=low
+
+  * ignore errors in debian.owncloud-config-apache.preinst when not updating
+
+ -- Jürgen Weigert <jw@owncloud.com>  Mon, 09 Feb 2015 23:53:04 +0100
+
+owncloud (8.0.0-4) stable; urgency=low
+
+  * debian.owncloud-config-apache.preinst added
+    possible fix for https://github.com/owncloud/core/issues/13992
+
+ -- Jürgen Weigert <jw@owncloud.com>  Mon, 09 Feb 2015 22:02:33 +0100
+
+owncloud (8.0.0-3) stable; urgency=low
+
+  * Architecture: any is actually amd64+i686, switching to 
+    Architecture: all
+
+ -- Jürgen Weigert <jw@owncloud.com>  Mon, 09 Feb 2015 20:04:58 +0100
+
+owncloud (8.0.0-2) stable; urgency=low
+
+  * subpackage owncloud-app-files was missing for debian/ubuntu
+    fixed https://github.com/owncloud/core/issues/13991
+
+ -- Jürgen Weigert <juewei@linux-z0ae.fritz.box>  Mon, 09 Feb 2015 17:35:36 +0100
+
+owncloud (8.0.0-1) stable; urgency=low
+
+  * update to 8.0.0 final.
+    https://github.com/owncloud/core/wiki/ownCloud-8.0-Features
+
+ -- Jürgen Weigert <juewei@linux-z0ae.fritz.box>  Sat, 07 Feb 2015 15:52:47 +0100
+
+owncloud (8.0.0~RC2-2) stable; urgency=low
+
+  * most parts of debian.control had no effect. Reason stil unclear.
+    moving owncloud.conf before dh_install should fix 
+    https://github.com/owncloud/core/issues/13914
+
+ -- Jürgen Weigert <jw@owncloud.com>  Fri, 06 Feb 2015 21:23:44 +0100
+
+owncloud (8.0.0~RC2-1) stable; urgency=low
+
+  * update to RC2
+    https://github.com/owncloud/core/wiki/ownCloud-8.0-Features
+
+ -- Jürgen Weigert <jw@owncloud.com>  Thu, 05 Feb 2015 16:08:05 +0100
+
+owncloud (8.0.0~RC1-5) stable; urgency=low
+
+  * With ownCloud 8.0 we use PHP 5.4 language features that 5.3 does not support
+  * Depends: php5 (>= 5.4.0)
+
+ -- Jürgen Weigert <jw@owncloud.com>  Thu, 05 Feb 2015 13:06:02 +0100
+
+owncloud (8.0.0~RC1-4) stable; urgency=low
+
+  * fixed https://github.com/owncloud/core/issues/13902
+    .htacces in the right place.
+
+ -- Jürgen Weigert <jw@owncloud.com>  Thu, 05 Feb 2015 10:26:16 +0100
+
+owncloud (8.0.0~RC1-3) stable; urgency=low
+
+  * pull owncloud-3rdparty
+
+ -- Jürgen Weigert <jw@owncloud.com>  Wed, 04 Feb 2015 17:56:46 +0100
+
+owncloud (8.0.0~RC1-2) stable; urgency=low
+
+  * try fix https://github.com/owncloud/core/issues/13835
+    Replaces: + Breaks:
+
+ -- Jürgen Weigert <jw@owncloud.com>  Tue, 03 Feb 2015 15:19:00 +0100
+
+owncloud (8.0.0~RC1-1) stable; urgency=low
+
+  * update to RC1
+    https://github.com/owncloud/core/wiki/ownCloud-8-Features
+
+ -- Jürgen Weigert <jw@owncloud.com>  Mon, 02 Feb 2015 11:59:21 +0100
+
+owncloud (8.0.0~beta2-2) stable; urgency=low
+
+  * reverted the FHS compliance. See the experimental owncloud-fhs* packages for this.
+
+ -- Jürgen Weigert <jw@owncloud.com>  Wed, 28 Jan 2015 14:54:13 +0100
+
+owncloud (8.0.0~alpha2) stable; urgency=low
+
+  * Initial release. 
+
+ -- Jürgen Weigert <jw@owncloud.com>  Thu, 15 Jan 2015 23:12:07 +0100
--- owncloud-8.1.12.orig/debian/owncloud.lintian-overrides
+++ owncloud-8.1.12/debian/owncloud.lintian-overrides
@@ -0,0 +1,7 @@
+# needed for Debian 8.0 to finsh a build in obs.
+# FIXME: all that should be warnings in obs, as they are in s2 and local builds.
+
+# https://lintian.debian.org/tags/dir-or-file-in-var-www.html
+# Debian packages should not install files under /var/www. We have to.
+# do we really need to enumerate all here?
+owncloud: dir-or-file-in-var-www
--- owncloud-8.1.12.orig/debian/owncloud.install
+++ owncloud-8.1.12/debian/owncloud.install
@@ -0,0 +1,2 @@
+README* /usr/share/doc/owncloud/
+
--- owncloud-8.1.12.orig/debian/owncloud-server.install
+++ owncloud-8.1.12/debian/owncloud-server.install
@@ -0,0 +1,26 @@
+AUTHORS		/var/www/owncloud/
+apps		/var/www/owncloud/
+3rdparty	/var/www/owncloud/
+config		/var/www/owncloud/
+console.php	/var/www/owncloud/
+COPYING-AGPL	/var/www/owncloud/
+core		/var/www/owncloud/
+cron.php	/var/www/owncloud/
+db_structure.xml /var/www/owncloud/
+index.html	/var/www/owncloud/
+index.php	/var/www/owncloud/
+indie.json	/var/www/owncloud/
+l10n		/var/www/owncloud/
+lib		/var/www/owncloud/
+occ		/var/www/owncloud/
+ocs		/var/www/owncloud/
+ocs-provider	/var/www/owncloud/
+public.php	/var/www/owncloud/
+remote.php	/var/www/owncloud/
+robots.txt	/var/www/owncloud/
+settings	/var/www/owncloud/
+status.php	/var/www/owncloud/
+themes		/var/www/owncloud/
+version.php	/var/www/owncloud/
+.htaccess 	/var/www/owncloud/
+
--- owncloud-8.1.12.orig/debian/copyright
+++ owncloud-8.1.12/debian/copyright
@@ -0,0 +1,4 @@
+Files: *
+Copyright: 2012-2015 ownCloud, Inc.
+License: GPL-2 or GPL-3
+  See /usr/share/common-licenses/GPL-2
--- owncloud-8.1.12.orig/debian/owncloud-config-apache.postinst
+++ owncloud-8.1.12/debian/owncloud-config-apache.postinst
@@ -0,0 +1,87 @@
+#!/bin/sh -e
+# postinst script for owncloud-config-apache
+
+# FROM http://anonscm.debian.org/cgit/pkg-owncloud/owncloud.git/plain/debian/postinst
+# https://github.com/owncloud/core/issues/12037
+# https://github.com/owncloud/core/issues/12125
+
+## CAUTION: keep in sync with debian.rules
+export SPEC_apache_serverroot=/var/www
+export SPEC_apache_confdir=/etc/apache2/conf.d
+export SPEC_apache_confdir_a=/etc/apache2/conf-available
+
+export SPEC_oc_apache_web_dir=$SPEC_apache_serverroot/$SPEC_owncloud
+
+export SPEC_oc_user=www-data
+export SPEC_oc_group=www-data
+export SPEC_oc_dir=$SPEC_oc_apache_web_dir
+export SPEC_oc_doc_dir=/usr/share/doc/$SPEC_owncloud
+export SPEC_oc_config_dir=$SPEC_oc_apache_web_dir/config
+export SPEC_oc_data_dir=$SPEC_oc_apache_web_dir/data
+export SPEC_oc_data_pdir=$SPEC_oc_apache_web_dir
+
+set -e
+
+#DEBHELPER#
+
+if type a2enconf >/dev/null 2>/dev/null; then
+  # FIXME: configure case below pulls symlinks from conf-available manually.
+  a2enconf owncloud || true
+  service apache2 reload || true
+fi
+
+reload_apache()
+{
+    if apache2ctl configtest 2>/dev/null; then
+	if [ -x /usr/sbin/invoke-rc.d ]; then
+            invoke-rc.d apache2 $1 3>/dev/null || true
+	else
+            /etc/init.d/apache2 $1 3>/dev/null || true
+	fi
+    else
+        echo "Your Apache 2 configuration is broken, so we're not restarting it for you."
+    fi
+}
+
+case "$1" in
+    configure)
+	CONF="owncloud"
+	COMMON_STATE=$(dpkg-query -f '${Status}' -W 'apache2.2-common' 2>/dev/null | awk '{print $3}' || true)
+	if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then
+		. /usr/share/apache2/apache2-maintscript-helper
+		apache2_invoke enmod rewrite
+		if [ -e /etc/apache2/conf-available/$CONF.conf ] ; then
+			apache2_invoke enconf $CONF || exit $?
+		fi
+	elif [ "$COMMON_STATE" = "installed" ] || [ "$COMMON_STATE" = "unpacked" ] ; then
+		if [ -d /etc/apache2/conf.d/ ] && [ ! -L /etc/apache2/conf.d/$CONF.conf ] ; then
+			ln -s ../conf-available/$CONF.conf /etc/apache2/conf.d/$CONF.conf
+		fi
+		# Test whether a2enmod is available (and thus also apache2ctl).
+		if [ -x /usr/sbin/a2enmod ]; then
+			# Enable the Apache2 rewrite module if not already enabled
+			a2enmod rewrite > /dev/null || true
+			# Restart Apache to really enable the module and load
+			# /etc/apache2/conf.d/owncloud.conf.
+			reload_apache restart
+		fi
+	fi
+	# Create empty logfile if needed
+	file=/var/log/owncloud.log
+	if [ ! -f $file ]; then
+		touch $file
+		chown www-data:adm $file
+		chmod 0640 $file
+	fi
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+exit 0
--- owncloud-8.1.12.orig/debian/owncloud-server.postinst
+++ owncloud-8.1.12/debian/owncloud-server.postinst
@@ -0,0 +1,54 @@
+#!/bin/sh -e
+# postinst script for owncloud-server
+
+# FROM http://anonscm.debian.org/cgit/pkg-owncloud/owncloud.git/plain/debian/postinst
+# https://github.com/owncloud/core/issues/12037
+# https://github.com/owncloud/core/issues/12125
+
+## CAUTION: keep in sync with debian.rules
+export SPEC_owncloud=owncloud
+export SPEC_apache_serverroot=/var/www
+export SPEC_apache_confdir=/etc/apache2/conf.d
+export SPEC_apache_confdir_a=/etc/apache2/conf-available
+
+export SPEC_oc_apache_web_dir=$SPEC_apache_serverroot/$SPEC_owncloud
+
+export SPEC_oc_user=www-data
+export SPEC_oc_group=www-data
+export SPEC_oc_dir=$SPEC_oc_apache_web_dir
+export SPEC_oc_doc_dir=/usr/share/doc/$SPEC_owncloud
+export SPEC_oc_config_dir=$SPEC_oc_apache_web_dir/config
+export SPEC_oc_data_dir=$SPEC_oc_apache_web_dir/data
+export SPEC_oc_data_pdir=$SPEC_oc_apache_web_dir
+
+set -e
+
+#DEBHELPER#
+
+
+case "$1" in
+    configure)
+        # Update the database on upgrade
+        # Don’t let it fail, since it exits with 3 if no upgrade is necessary
+        if [ -s /run/occ_maintenance_mode_during_owncloud_install ]; then
+            # https://github.com/owncloud/core/pull/19508
+            # https://github.com/owncloud/core/pull/19661
+            echo  "Leaving server in maintenance mode. Please run occ upgrade manually."
+            echo  ""
+            echo  "See https://doc.owncloud.org/server/8.1/admin_manual/maintenance/upgrade.html"
+            echo  ""
+        fi
+        rm -f /run/occ_maintenance_mode_during_owncloud_install
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+exit 0
+
--- owncloud-8.1.12.orig/debian/owncloud-config-apache.preinst
+++ owncloud-8.1.12/debian/owncloud-config-apache.preinst
@@ -0,0 +1,34 @@
+#!/bin/sh -e
+# preinst script for owncloud-config-apache
+# https://github.com/owncloud/core/issues/13392
+# https://github.com/owncloud/core/issues/14610
+# https://github.com/owncloud/core/issues/16189
+# https://github.com/owncloud/core/issues/16949
+
+## CAUTION: keep in sync with debian.rules
+export SPEC_owncloud=owncloud
+export SPEC_apache_serverroot=/var/www
+export SPEC_apache_confdir=/etc/apache2/conf.d
+export SPEC_apache_confdir_a=/etc/apache2/conf-available
+
+export SPEC_oc_apache_web_dir=$SPEC_apache_serverroot/$SPEC_owncloud
+
+export SPEC_oc_user=www-data
+export SPEC_oc_group=www-data
+export SPEC_oc_dir=$SPEC_oc_apache_web_dir
+export SPEC_oc_doc_dir=/usr/share/doc/$SPEC_owncloud
+export SPEC_oc_config_dir=$SPEC_oc_apache_web_dir/config
+export SPEC_oc_data_dir=$SPEC_oc_apache_web_dir/data
+export SPEC_oc_data_pdir=$SPEC_oc_apache_web_dir
+
+set -e
+
+#DEBHELPER#
+
+if dpkg-maintscript-helper supports rm_conffile 2>/dev/null; then
+    dpkg-maintscript-helper rm_conffile $SPEC_oc_dir/.htaccess 8.0.3-0 -- "$@"
+fi
+
+f=/etc/apache2/conf-available/owncloud.conf; test -f $f && cp $f $f.old   || true
+
+exit 0
--- owncloud-8.1.12.orig/debian/owncloud-server.lintian-overrides
+++ owncloud-8.1.12/debian/owncloud-server.lintian-overrides
@@ -0,0 +1,7 @@
+# needed for Debian 8.0 to finsh a build in obs.
+# FIXME: all that should be warnings in obs, as they are in s2 and local builds.
+#
+# https://lintian.debian.org/tags/dir-or-file-in-var-www.html
+# Debian packages should not install files under /var/www. We have to.
+# do we really need to enumerate all here?
+owncloud-server: dir-or-file-in-var-www
