Compare commits

...

16 Commits

Author SHA1 Message Date
7bff2c7756 Updated readme 2023-11-10 12:13:40 +01:00
7114dd36e3 Merge pull request 'maint: pulled in the last version of nextcloud in the 25.x series (25.0.13)' (#19) from adamhax0rbana/nextcloud-deb:bullseye into bullseye
Reviewed-on: #19
2023-11-10 12:12:12 +01:00
527df10346
maint: pulled in the last version of nextcloud in the 25.x series (25.0.13) 2023-11-07 17:26:16 -06:00
758925a298 updated 2023-09-22 08:12:12 +02:00
42c17494d8 updated style 2023-09-22 08:11:55 +02:00
57c145c5a3 Merge pull request 'Pulled in new version of nextcloud (25.0.12)' (#18) from adamhax0rbana/nextcloud-deb:bullseye into bullseye
Reviewed-on: #18
2023-09-22 08:04:18 +02:00
e59472081a maint: pulled in new version of nextcloud (25.0.12) 2023-09-21 14:24:38 -05:00
f8fbe8ea91 New upstream 25.0.11 2023-09-18 12:06:18 +02:00
4a12e856d8 Merge pull request 'pulled in new version of nextcloud (25.0.11)' (#17) from adamhax0rbana/nextcloud-deb:bullseye into bullseye
Reviewed-on: #17
2023-09-18 10:46:11 +02:00
fb46e149bb maint: pulled in new version of nextcloud (25.0.11) 2023-09-14 17:33:53 -05:00
5fd84d0042 Fixed changelog order 2023-08-22 13:10:33 +02:00
b42da85d98 New upstream 25.0.10 2023-08-22 13:00:46 +02:00
96bd1fc4a2 Merge pull request 'maint: pulled in new version of nextcloud (25.0.10)' (#15) from adamhax0rbana/nextcloud-deb:bullseye into bullseye
Reviewed-on: #15
2023-08-10 19:23:43 +02:00
f040dcf009 maint: pulled in new version of nextcloud (25.0.10) 2023-08-10 11:52:34 -05:00
0f25e704a0 Merge pull request 'maint: pulled in new version of nextcloud (25.0.9)' (#14) from adamhax0rbana/nextcloud-deb:bullseye into bullseye
Reviewed-on: #14
2023-07-21 08:11:14 +02:00
0cde67e161 maint: pulled in new version of nextcloud (25.0.9) 2023-07-20 14:22:14 -05:00
4 changed files with 74 additions and 31 deletions

View File

@ -11,7 +11,7 @@ latest:
- export DEBEMAIL="NOREPLY@`hostname -d`"
- mkdir -p builddir
- uscan --overwrite-download --destdir builddir
- cd ../nextcloud-server-25.0.8
- cd ../nextcloud-server-25.0.13
- dpkg-buildpackage -rfakeroot
- cd - ; cp ../nextcloud-server_*.deb .
artifacts:

View File

@ -17,9 +17,9 @@ git clone https://git.jurisic.org/ijurisic/nextcloud-deb.git
cd nextcloud-deb
git checkout bullseye
uscan --verbose --download-current-version
cd ../nextcloud-server-<current_version>
cd ../nextcloud-server-25.0.13
dch -n
dpkg-buildpackage -rfakeroot -us -uc
cd ..
dpkg -i nextcloud-server_<current_version>_all.deb
dpkg -i nextcloud-server_25.0.13-1~deb11_all.deb
```

42
debian/changelog vendored
View File

@ -1,3 +1,45 @@
nextcloud-server (25.0.13-1~deb11) bullseye; urgency=medium
[ adam ]
* maint: pulled in the last version of nextcloud in the 25.x series (25.0.13)
-- Adam <adam@hax0rbana.org> Thu, 07 Nov 2023 17:23:09 -0600
nextcloud-server (25.0.12-1~deb11) bullseye; urgency=medium
[ adam ]
* maint: pulled in new version of nextcloud (25.0.12)
-- Adam <adam@hax0rbana.org> Thu, 21 Sep 2023 14:02:49 -0500
nextcloud-server (25.0.11-1~deb11) bullseye; urgency=medium
[ adam ]
* maint: pulled in new version of nextcloud (25.0.11)
-- Adam <adam@hax0rbana.org> Thu, 14 Sep 2023 17:32:00 -0500
nextcloud-server (25.0.10-2~deb11) bullseye; urgency=medium
[ ijurisic ]
* updated postinst on sugestion of citronalco (#16)
-- Ivan Jurišić <ivan@jurisic.org> Thu, 22 Aug 2023 12:39:00 +0100
nextcloud-server (25.0.10-1~deb11) bullseye; urgency=medium
[ adam ]
* maint: pulled in new version of nextcloud (25.0.10)
-- Adam <adam@hax0rbana.org> Thu, 10 Aug 2023 11:52:00 -0500
nextcloud-server (25.0.9-1~deb11) bullseye; urgency=medium
[ adam ]
* maint: pulled in new version of nextcloud (25.0.9)
-- Adam <adam@hax0rbana.org> Thu, 20 Jul 2023 14:20:37 -0500
nextcloud-server (25.0.8-1~deb11) bullseye; urgency=medium
[ adam ]

View File

@ -20,42 +20,43 @@ set -e
export APACHE2_MAINTSCRIPT_HELPER_QUIET=1
case "$1" in
configure)
configure)
# Apache conf
if [ "a2query -c nextcloud"=~"No conf matches nextcloud" ]; then
a2enconf nextcloud || true
apache2ctl restart || true
fi
# Apache conf
if [ "a2query -c nextcloud"=~"No conf matches nextcloud" ]; then
a2enconf nextcloud || true
apache2ctl restart || true
fi
# Apache modules
if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then
. /usr/share/apache2/apache2-maintscript-helper
apache2_invoke enmod rewrite || exit $?
apache2_invoke enmod headers || exit $?
apache2_invoke enmod env || exit $?
apache2_invoke enmod dir || exit $?
apache2_invoke enmod mime || exit $?
fi
# Apache modules
if [ -e /usr/share/apache2/apache2-maintscript-helper ]; then
. /usr/share/apache2/apache2-maintscript-helper
apache2_invoke enmod rewrite || exit $?
apache2_invoke enmod headers || exit $?
apache2_invoke enmod env || exit $?
apache2_invoke enmod dir || exit $?
apache2_invoke enmod mime || exit $?
fi
if [ "$(su 'www-data' -s /bin/sh -c 'php /var/www/nextcloud/occ status' | grep 'installed:' | cut -f2 -d ':' | xargs)" = "false" ]; then
echo "Nextcloud is not configured, please use open web browser http://<your_server_ip>/nextcloud"
echo "After configure please run su 'www-data' -s /bin/sh -c 'php /var/www/nextcloud/occ config:system:set --value true upgrade.disable-web'"
elif [ "$(su 'www-data' -s /bin/sh -c 'php /var/www/nextcloud/occ status' | grep 'installed:' | cut -f2 -d ':' | xargs)" = "true" ]; then
su 'www-data' -s /bin/sh -c 'php /var/www/nextcloud/occ upgrade'
su 'www-data' -s /bin/sh -c 'php /var/www/nextcloud/occ config:system:set --value true upgrade.disable-web' > /dev/null || true
else
echo "Got unexpect answer, occ status can't to read satus of nextcloud. Check php installation."
fi
if [ "$(su 'www-data' -s /bin/sh -c 'php /var/www/nextcloud/occ status' | grep 'installed:' | cut -f2 -d ':' | xargs)" = "false" ]; then
echo "Nextcloud is not configured, please use open web browser http://<your_server_ip>/nextcloud"
echo "After configure please run su 'www-data' -s /bin/sh -c 'php /var/www/nextcloud/occ config:system:set --value true upgrade.disable-web'"
elif [ "$(su 'www-data' -s /bin/sh -c 'php /var/www/nextcloud/occ status' | grep 'installed:' | cut -f2 -d ':' | xargs)" = "true" ]; then
su 'www-data' -s /bin/sh -c 'php /var/www/nextcloud/occ upgrade'
su 'www-data' -s /bin/sh -c 'php /var/www/nextcloud/occ db:add-missing-indices'
su 'www-data' -s /bin/sh -c 'php /var/www/nextcloud/occ config:system:set --value true upgrade.disable-web' >/dev/null || true
else
echo "Got unexpect answer, occ status can't to read satus of nextcloud. Check php installation."
fi
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
abort-upgrade | abort-remove | abort-deconfigure) ;;
\
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac