diff options
| author | Bruno Ribas <brunoribas@gmail.com> | 2016-11-04 20:35:47 +0000 |
|---|---|---|
| committer | Bruno Ribas <brunoribas@gmail.com> | 2016-11-04 20:35:47 +0000 |
| commit | c4bad38caa59159a254133d4c01de4e59f4a0680 (patch) | |
| tree | af26b03f785de237bad9e15ad1125e2ee15b08d5 | |
| parent | a9e53b859c09f5ce3a05656ef999838087479f1e (diff) | |
| download | boca-c4bad38caa59159a254133d4c01de4e59f4a0680.tar.gz boca-c4bad38caa59159a254133d4c01de4e59f4a0680.zip | |
Separeted BOCA in two packages: BOCA and BOCA-SUBMISSION-TOOLS
boca will continue to provide all boca server utilities
boca-submission-tools provides submission tools to users
Signed-off-by: Bruno Ribas <brunoribas@gmail.com>
| -rw-r--r-- | debian/boca.conffiles (renamed from debian/conffiles) | 0 | ||||
| -rw-r--r-- | debian/control | 7 | ||||
| -rw-r--r-- | debian/maratona-submission-tools.postinst | 5 | ||||
| -rwxr-xr-x | debian/rules | 6 |
4 files changed, 18 insertions, 0 deletions
diff --git a/debian/conffiles b/debian/boca.conffiles index b004c7a..b004c7a 100644 --- a/debian/conffiles +++ b/debian/boca.conffiles diff --git a/debian/control b/debian/control index 60c055c..904082f 100644 --- a/debian/control +++ b/debian/control @@ -11,3 +11,10 @@ Description: BOCA is a software created to control a contest with the ACM ICPC r 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. + +Package: boca-submission-tools +Architecture: amd64 +Depends: sharutils, wget, coreutils +Description: BOCA submission tools. + This package provides tools to submit codes to a running boca server + without using the web interface. diff --git a/debian/maratona-submission-tools.postinst b/debian/maratona-submission-tools.postinst new file mode 100644 index 0000000..99505c8 --- /dev/null +++ b/debian/maratona-submission-tools.postinst @@ -0,0 +1,5 @@ +#!/bin/bash + +#Make sure wrapper is suid +chmod 4555 /usr/bin/boca-submit-run-root-wrapper + diff --git a/debian/rules b/debian/rules index a5e0d78..6c52a63 100755 --- a/debian/rules +++ b/debian/rules @@ -1,4 +1,10 @@ #! /usr/bin/make -f +override_dh_auto_install: + mkdir -p debian/boca-submission-tools + make -j1 install-submission-tools DESTDIR=debian/boca-submission-tools + mkdir -p debian/boca + make -j1 install DESTDIR=debian/boca + %: dh $@ |