From dd607f224d351d183418668bc090a53800484002 Mon Sep 17 00:00:00 2001 From: Bruno Cesar Ribas Date: Wed, 22 Aug 2018 00:35:17 -0300 Subject: Creating multiple packages for boca Until now we had only one package for boca that contains all files. This approach is not correct since we may have multiple machines for some specific part of boca, eg, database and autojudge. This commit starts this new approach by updating Makefile, d/rules, d/*conffiles d/*postinst Signed-off-by: Bruno Cesar Ribas --- debian/control | 59 ++++++++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 47 insertions(+), 12 deletions(-) (limited to 'debian/control') diff --git a/debian/control b/debian/control index fbac1f3..f3fdd17 100644 --- a/debian/control +++ b/debian/control @@ -2,24 +2,59 @@ Source: boca Section: misc Priority: optional Maintainer: BOCA Development Team +Uploaders: Cassio Polpo de Campos , Bruno Cesar Ribas Build-Depends: debhelper, build-essential -Package: maratona-boca -Architecture: all -Depends: boca -Description: Virtual package that depends on BOCA - Package: boca -Architecture: amd64 -Depends: php-zip, debootstrap, schroot, quotatool, makepasswd, apache2, libapache2-mod-php, sharutils, wget, coreutils, php, php-cli, php-mcrypt, php-pgsql, php-gd, postgresql, postgresql-client, libany-uri-escape-perl, php-xml +Architecture: all +Depends: boca-common, boca-web, boca-db, boca-autojudge +Provides: maratona-boca Description: BOCA is a software created to control a contest with the ACM ICPC rules. BOCA is a software created to control a contest with the ACM International Collegiate Programming Contest rules. It has been developed in PHP and the interaction between judges and the system is done through a web browser. + . + This package install all boca related packages to run everything in one + single machine. + +Package: boca-db +Architecture: all +Pre-depends: postgresql +Depends: boca-common +Description: BOCA - database + BOCA is a software created to control a contest with the ACM International + Collegiate Programming Contest rules. It has been developed in PHP and the + interaction between judges and the system is done through a web browser. + . + This package provides a full database to run a contest on. + +Package: boca-web +Architecture: all +Depends: boca-common, apache2, php, php-fpm +Description: BOCA - WEB files + BOCA is a software created to control a contest with the ACM International + Collegiate Programming Contest rules. It has been developed in PHP and the + interaction between judges and the system is done through a web browser. + . + This package provides only web contents. -Package: boca-submission-tools +Package: boca-common +Architecture: all +Depends: php-zip, makepasswd, sharutils, wget, coreutils, php-cli, php-mcrypt, php-pgsql, php-gd, postgresql-client +Description: BOCA - Common files + BOCA is a software created to control a contest with the ACM International + Collegiate Programming Contest rules. It has been developed in PHP and the + interaction between judges and the system is done through a web browser. + . + This package contains shared files with all BOCA packages. + +Package: boca-autojudge Architecture: amd64 -Depends: sharutils, wget, coreutils, libany-uri-escape-perl, openssl, openssh-server -Description: BOCA submission tools. - This package provides tools to submit codes to a running boca server - without using the web interface. +Depends: boca-common, debootstrap, schroot, quotatool, makepasswd +Description: BOCA - AutoJudge + BOCA is a software created to control a contest with the ACM International + Collegiate Programming Contest rules. It has been developed in PHP and the + interaction between judges and the system is done through a web browser. + . + This package contains files to generate and run the autojudge system for + BOCA. -- cgit v1.2.3 From 46f35d10395eb6f4c3132379ea397448f8a6533c Mon Sep 17 00:00:00 2001 From: Bruno Cesar Ribas Date: Wed, 22 Aug 2018 10:49:13 -0300 Subject: d/control: Remove php-mcrypt dependency php-mcrypt is deprecated and another cryptographic library should be used. Signed-off-by: Bruno Cesar Ribas --- debian/control | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debian/control') diff --git a/debian/control b/debian/control index f3fdd17..9235bdf 100644 --- a/debian/control +++ b/debian/control @@ -40,7 +40,7 @@ Description: BOCA - WEB files Package: boca-common Architecture: all -Depends: php-zip, makepasswd, sharutils, wget, coreutils, php-cli, php-mcrypt, php-pgsql, php-gd, postgresql-client +Depends: php-zip, makepasswd, sharutils, wget, coreutils, php-cli, php-pgsql, php-gd, postgresql-client Description: BOCA - Common files BOCA is a software created to control a contest with the ACM International Collegiate Programming Contest rules. It has been developed in PHP and the -- cgit v1.2.3 From 97b57f14dee0a6ffb8b5f3c3e3397c86858c50c5 Mon Sep 17 00:00:00 2001 From: Bruno Cesar Ribas Date: Wed, 22 Aug 2018 15:56:08 -0300 Subject: d/control: Swap php and php-fpm dependency order This is done in order to avoid installation of libapache2-mod-php7.2. Signed-off-by: Bruno Cesar Ribas --- debian/control | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debian/control') diff --git a/debian/control b/debian/control index 9235bdf..a795ea3 100644 --- a/debian/control +++ b/debian/control @@ -30,7 +30,7 @@ Description: BOCA - database Package: boca-web Architecture: all -Depends: boca-common, apache2, php, php-fpm +Depends: boca-common, apache2, php-fpm, php Description: BOCA - WEB files BOCA is a software created to control a contest with the ACM International Collegiate Programming Contest rules. It has been developed in PHP and the -- cgit v1.2.3 From 8e4d19dcd0b6d99e0e0f52f8b0a9bcd28a9de62a Mon Sep 17 00:00:00 2001 From: Bruno Cesar Ribas Date: Thu, 23 Aug 2018 11:07:38 -0300 Subject: debconf, makepasswd, coreutils, sharutils are now pre-depends of boca-common Signed-off-by: Bruno Cesar Ribas --- debian/control | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'debian/control') diff --git a/debian/control b/debian/control index a795ea3..d0e61ff 100644 --- a/debian/control +++ b/debian/control @@ -40,7 +40,8 @@ Description: BOCA - WEB files Package: boca-common Architecture: all -Depends: php-zip, makepasswd, sharutils, wget, coreutils, php-cli, php-pgsql, php-gd, postgresql-client +Pre-Depends: debconf, makepasswd, coreutils, sharutils +Depends: php-zip, wget, php-cli, php-pgsql, php-gd, postgresql-client Description: BOCA - Common files BOCA is a software created to control a contest with the ACM International Collegiate Programming Contest rules. It has been developed in PHP and the -- cgit v1.2.3 From 009899084bd9beb7f9a9f94925b60f194e0889a2 Mon Sep 17 00:00:00 2001 From: Bruno Cesar Ribas Date: Thu, 23 Aug 2018 11:30:54 -0300 Subject: d/control: Adds boca-submission-tools package Signed-off-by: Bruno Cesar Ribas --- debian/control | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'debian/control') diff --git a/debian/control b/debian/control index d0e61ff..3a5671b 100644 --- a/debian/control +++ b/debian/control @@ -59,3 +59,11 @@ Description: BOCA - AutoJudge . This package contains files to generate and run the autojudge system for BOCA. + +Package: boca-submission-tools +Architecture: amd64 +Depends: sharutils, wget, coreutils, libany-uri-escape-perl, openssl, openssh-server +Description: BOCA submission tools. + This package provides tools to submit codes to a running boca server + without using the web interface. + -- cgit v1.2.3