<feed xmlns='http://www.w3.org/2005/Atom'>
<title>boca.git/debian/boca-web.postinst, branch master</title>
<subtitle>This is an administration system to held programming contests</subtitle>
<link rel='alternate' type='text/html' href='https://git.devlucas.me/boca.git/'/>
<entry>
<title>fix: patch jail creation for Ubuntu Noble</title>
<updated>2025-09-05T00:40:47+00:00</updated>
<author>
<name>Davi Antônio da Silva Santos</name>
<email>antoniossdavi@gmail.com</email>
</author>
<published>2025-09-05T00:40:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.devlucas.me/boca.git/commit/?id=253fcbf02fe2efe6a1f3ff012346615d7e314734'/>
<id>253fcbf02fe2efe6a1f3ff012346615d7e314734</id>
<content type='text'>
- Update php dependencies to PHP 8.3
- Update the source code to inform version 1.5.23
- Update boca-web maintainer script for PHP 8.3
- Adds Ubuntu mirror to the standard jail
- Patch standard jail fixing debootstrap problems with Ubuntu noble
- Purge the unecessary packages in the jail
- Perform a dist-upgrade after updating the jail
- Quote shell variables o prevent suprise splitting
- Replace obsolete backticks with `$( )`
- Modernise test commands, replacing `[ ]` with `[[ ]]`
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Update php dependencies to PHP 8.3
- Update the source code to inform version 1.5.23
- Update boca-web maintainer script for PHP 8.3
- Adds Ubuntu mirror to the standard jail
- Patch standard jail fixing debootstrap problems with Ubuntu noble
- Purge the unecessary packages in the jail
- Perform a dist-upgrade after updating the jail
- Quote shell variables o prevent suprise splitting
- Replace obsolete backticks with `$( )`
- Modernise test commands, replacing `[ ]` with `[[ ]]`
</pre>
</div>
</content>
</entry>
<entry>
<title>Enable boca's virtual host on HTTP (web interface)</title>
<updated>2023-03-04T03:35:18+00:00</updated>
<author>
<name>Davi Antônio da Silva Santos</name>
<email>antoniossdavi@gmail.com</email>
</author>
<published>2023-03-04T03:35:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.devlucas.me/boca.git/commit/?id=d8e874c3b1d980c9f8407bbc25d84730fbc24240'/>
<id>d8e874c3b1d980c9f8407bbc25d84730fbc24240</id>
<content type='text'>
This fixes the access to the boca's web interface
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes the access to the boca's web interface
</pre>
</div>
</content>
</entry>
<entry>
<title>Conflict with mod_php instead of disabling it</title>
<updated>2023-03-04T01:24:15+00:00</updated>
<author>
<name>Davi Antônio da Silva Santos</name>
<email>antoniossdavi@gmail.com</email>
</author>
<published>2023-03-03T14:36:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.devlucas.me/boca.git/commit/?id=55dbd0e43d4744aa5e1eb4f4f7c8a9cbc68df581'/>
<id>55dbd0e43d4744aa5e1eb4f4f7c8a9cbc68df581</id>
<content type='text'>
The boca-web package will not try to disable Apache's php8.1 module
(mod_php for PHP 8.1) anymore. It will conflict with the package that
provides the offending module for the distribution's current PHP
version, libapache2-mod-php.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The boca-web package will not try to disable Apache's php8.1 module
(mod_php for PHP 8.1) anymore. It will conflict with the package that
provides the offending module for the distribution's current PHP
version, libapache2-mod-php.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove Apache HTTPD commands from Makefile</title>
<updated>2023-03-04T01:24:15+00:00</updated>
<author>
<name>Davi Antônio da Silva Santos</name>
<email>antoniossdavi@gmail.com</email>
</author>
<published>2023-03-02T19:23:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.devlucas.me/boca.git/commit/?id=f17e3be93d425f5554a806c0e847c34504a68873'/>
<id>f17e3be93d425f5554a806c0e847c34504a68873</id>
<content type='text'>
The package Makefile contained Apache HTTPD commands, and some of them
were repeated in the boca-web post installation maintainer script. The
commands were removed from the Makefile, as this requires having a valid
apache2 installation as a build dependency.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The package Makefile contained Apache HTTPD commands, and some of them
were repeated in the boca-web post installation maintainer script. The
commands were removed from the Makefile, as this requires having a valid
apache2 installation as a build dependency.
</pre>
</div>
</content>
</entry>
<entry>
<title>Migrate dependencies and maintainer scripts to PHP 8.1</title>
<updated>2023-03-04T01:24:15+00:00</updated>
<author>
<name>Davi Antônio da Silva Santos</name>
<email>antoniossdavi@gmail.com</email>
</author>
<published>2023-03-02T18:42:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.devlucas.me/boca.git/commit/?id=edee1c1af975e885903d2207f657c36275c2e220'/>
<id>edee1c1af975e885903d2207f657c36275c2e220</id>
<content type='text'>
The dependencies on PHP packages have been explicitly set to use PHP
version 8.1.

The boca-web post installation maintainer script has been updated with
extra descriptions and a the required steps to migrate from PHP 7.4.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The dependencies on PHP packages have been explicitly set to use PHP
version 8.1.

The boca-web post installation maintainer script has been updated with
extra descriptions and a the required steps to migrate from PHP 7.4.
</pre>
</div>
</content>
</entry>
<entry>
<title>Enable debhelper automatic generation of shell code</title>
<updated>2023-03-04T01:24:15+00:00</updated>
<author>
<name>Davi Antônio da Silva Santos</name>
<email>antoniossdavi@gmail.com</email>
</author>
<published>2023-03-02T03:02:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.devlucas.me/boca.git/commit/?id=6695d2384069b7016398b2a55fc6962b1d8e6985'/>
<id>6695d2384069b7016398b2a55fc6962b1d8e6985</id>
<content type='text'>
The maintainer scripts have been modified with the addition of
`#DEBHELPER#`. This enables dh_installdeb to automatically generate
shell code on maintainer scripts.

The following Lintian warnings have been addressed:
* boca source: maintainer-script-lacks-debhelper-token
  [debian/boca-autojudge.postinst]
* boca source: maintainer-script-lacks-debhelper-token
  [debian/boca-common.postinst]
* boca source: maintainer-script-lacks-debhelper-token
  [debian/boca-db.postinst]
* boca source: maintainer-script-lacks-debhelper-token
  [debian/boca-submission-tools.postinst]
* boca source: maintainer-script-lacks-debhelper-token
  [debian/boca-web.postinst]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The maintainer scripts have been modified with the addition of
`#DEBHELPER#`. This enables dh_installdeb to automatically generate
shell code on maintainer scripts.

The following Lintian warnings have been addressed:
* boca source: maintainer-script-lacks-debhelper-token
  [debian/boca-autojudge.postinst]
* boca source: maintainer-script-lacks-debhelper-token
  [debian/boca-common.postinst]
* boca source: maintainer-script-lacks-debhelper-token
  [debian/boca-db.postinst]
* boca source: maintainer-script-lacks-debhelper-token
  [debian/boca-submission-tools.postinst]
* boca source: maintainer-script-lacks-debhelper-token
  [debian/boca-web.postinst]
</pre>
</div>
</content>
</entry>
<entry>
<title>Abort maintainer scripts on failure</title>
<updated>2023-03-04T01:24:15+00:00</updated>
<author>
<name>Davi Antônio da Silva Santos</name>
<email>antoniossdavi@gmail.com</email>
</author>
<published>2023-03-02T02:55:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.devlucas.me/boca.git/commit/?id=b08843cae0ae8aa428a2a654fc48fbd15c65c714'/>
<id>b08843cae0ae8aa428a2a654fc48fbd15c65c714</id>
<content type='text'>
The `set -e` flag has been enabled in the maintainer scripts. This fixes
the Lintian warnings:
* boca-autojudge: maintainer-script-ignores-errors [postinst]
* boca-submission-tools: maintainer-script-ignores-errors [postinst]
* boca-web: maintainer-script-ignores-errors [postinst]

The packages boca-common and boca-db were altered to set the flag as
early as possible in their maintainer scripts.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The `set -e` flag has been enabled in the maintainer scripts. This fixes
the Lintian warnings:
* boca-autojudge: maintainer-script-ignores-errors [postinst]
* boca-submission-tools: maintainer-script-ignores-errors [postinst]
* boca-web: maintainer-script-ignores-errors [postinst]

The packages boca-common and boca-db were altered to set the flag as
early as possible in their maintainer scripts.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix chown usage in maintainer scripts</title>
<updated>2023-03-04T01:24:15+00:00</updated>
<author>
<name>Davi Antônio da Silva Santos</name>
<email>antoniossdavi@gmail.com</email>
</author>
<published>2023-03-02T02:47:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.devlucas.me/boca.git/commit/?id=89d0e395460fe5c0501d95c1223a866a53bdff6b'/>
<id>89d0e395460fe5c0501d95c1223a866a53bdff6b</id>
<content type='text'>
The maintainer scripts used by boca-common and boca-web used points to
separate the user from its group, which is discouraged. The point has
been replaced with a colon as recommended by chown's manpage.

This fixes the Lintian warnings:
* boca-common: maintainer-script-calls-chown-improperly "chown
  www-data.www-data" [postinst:51]
* boca-web: maintainer-script-calls-chown-improperly "chown -R
  www-data.www-data" [postinst:5]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The maintainer scripts used by boca-common and boca-web used points to
separate the user from its group, which is discouraged. The point has
been replaced with a colon as recommended by chown's manpage.

This fixes the Lintian warnings:
* boca-common: maintainer-script-calls-chown-improperly "chown
  www-data.www-data" [postinst:51]
* boca-web: maintainer-script-calls-chown-improperly "chown -R
  www-data.www-data" [postinst:5]
</pre>
</div>
</content>
</entry>
<entry>
<title>d/boca-web.postinst does not enable SSL</title>
<updated>2020-11-05T14:05:37+00:00</updated>
<author>
<name>Bruno Ribas</name>
<email>brunoribas@gmail.com</email>
</author>
<published>2020-11-05T14:05:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.devlucas.me/boca.git/commit/?id=937acf87ef00d257f73faaf5c0844b6bf7074a70'/>
<id>937acf87ef00d257f73faaf5c0844b6bf7074a70</id>
<content type='text'>
Although is important to user SSL connections with BOCA we will not enable
default sites because it needs more configuration to make it work properly

Signed-off-by: Bruno Ribas &lt;brunoribas@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Although is important to user SSL connections with BOCA we will not enable
default sites because it needs more configuration to make it work properly

Signed-off-by: Bruno Ribas &lt;brunoribas@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>d/boca-web.postinst: Update PHP version</title>
<updated>2020-11-05T14:03:41+00:00</updated>
<author>
<name>Bruno Ribas</name>
<email>brunoribas@gmail.com</email>
</author>
<published>2020-11-05T14:03:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.devlucas.me/boca.git/commit/?id=34101682a7f1959da53617d460f6ac7a10571479'/>
<id>34101682a7f1959da53617d460f6ac7a10571479</id>
<content type='text'>
This is important to comply with the new Ubuntu 20.04LTS

Signed-off-by: Bruno Ribas &lt;brunoribas@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is important to comply with the new Ubuntu 20.04LTS

Signed-off-by: Bruno Ribas &lt;brunoribas@gmail.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
