diff -Nru owncloud-6.0.1+dfsg/debian/changelog owncloud-6.0.1+dfsg/debian/changelog --- owncloud-6.0.1+dfsg/debian/changelog 2014-10-27 15:51:37.000000000 +0000 +++ owncloud-6.0.1+dfsg/debian/changelog 2014-11-13 13:01:00.000000000 +0000 @@ -1,4 +1,4 @@ -owncloud (6.0.1+dfsg-1ubuntu1.1) trusty; urgency=medium +owncloud (6.0.1+dfsg-1ubuntu1.2) trusty; urgency=medium * SRU: remove ownCloud package due to request from upstream this package has security issues which can not easily diff -Nru owncloud-6.0.1+dfsg/debian/postinst owncloud-6.0.1+dfsg/debian/postinst --- owncloud-6.0.1+dfsg/debian/postinst 2014-11-03 15:57:39.000000000 +0000 +++ owncloud-6.0.1+dfsg/debian/postinst 2014-11-13 12:53:40.000000000 +0000 @@ -22,62 +22,6 @@ 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 - apache2_invoke enconf $CONF - 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 - # Fix ownership and permissions of existing configuration. - if [ -f /etc/owncloud/config.php ]; then - chown www-data:www-data /etc/owncloud/config.php - chmod 0640 /etc/owncloud/config.php - fi - if [ -f /etc/owncloud/htaccess ]; then - chown www-data:www-data /etc/owncloud/htaccess - chmod 0640 /etc/owncloud/htaccess - 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 - # Replace directory with symlink [ Can be removed before Jessie ] - subdir="/usr/share/owncloud/3rdparty/" - for dir in ${subdir}css/chosen ${subdir}js/chosen; do - if [ -d $dir ] && [ ! -L $dir ]; then - if rmdir $dir 2>/dev/null; then - ln -sf ../../../javascript/chosen $dir - fi - fi - done - dir="/usr/share/owncloud/3rdparty/fontawesome" - if [ -d $dir ] && [ ! -L $dir ]; then - if rmdir $dir 2>/dev/null; then - ln -sf ../../fonts-font-awesome $dir - fi - fi - dir="/usr/share/owncloud/3rdparty/Jcrop" - if [ -d $dir ] && [ ! -L $dir ]; then - if rmdir $dir 2>/dev/null; then - ln -sf ../../javascript/jcrop $dir - fi - fi db_input high owncloud/removed || true db_go