aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/conffiles1
-rw-r--r--debian/control13
-rw-r--r--debian/copyright34
-rw-r--r--debian/postinst6
-rwxr-xr-xdebian/rules4
7 files changed, 64 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..d0c4a14
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+boca (1.5.10-1) xenial; urgency=medium
+
+ * Initial package release
+
+ -- Bruno Ribas <brunoribas@utfpr.edu.br> Thu, 16 Sep 2016 15:02:11 -0300
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/conffiles b/debian/conffiles
new file mode 100644
index 0000000..b004c7a
--- /dev/null
+++ b/debian/conffiles
@@ -0,0 +1 @@
+/var/www/boca/src/private/conf.php
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..60c055c
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,13 @@
+Source: boca
+Section: misc
+Priority: optional
+Maintainer: BOCA Development Team <bocasystem@gmail.com>
+Build-Depends: debhelper, build-essential
+
+Package: boca
+Architecture: all
+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
+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.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..a51c332
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,34 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: maratona-background
+Source: <url://example.com>
+
+Files: *
+Copyright: <years> <put author's name and email here>
+ <years> <likewise for another author>
+License: GPL-2.0+
+
+Files: debian/*
+Copyright: 2016 Bruno Ribas <brunoribas@utfpr.edu.br>
+License: GPL-2.0+
+
+License: GPL-2.0+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
+
+# Please also look if there are files or directories which have a
+# different copyright/license attached and list them here.
+# Please avoid picking licenses with terms that are more restrictive than the
+# packaged work, as it may make Debian's contributions unacceptable upstream.
diff --git a/debian/postinst b/debian/postinst
new file mode 100644
index 0000000..65e238f
--- /dev/null
+++ b/debian/postinst
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+chown -R www-data.www-data /var/www/boca
+chmod 4555 /usr/bin/safeexec
+
+service apache2 restart || true
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..a5e0d78
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,4 @@
+#! /usr/bin/make -f
+
+%:
+ dh $@