Skip to content

Commit 1611a24

Browse files
committed
Replace included static bash by dash shell.
git-svn-id: https://secure.a-eskwadraat.nl/svn/domjudge/trunk@2359 caf94f87-7bd6-0310-88dc-dee8202e2269
1 parent 51bbf04 commit 1611a24

File tree

8 files changed

+82
-15
lines changed

8 files changed

+82
-15
lines changed

COPYING.BSD

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
Copyright (c) The Regents of the University of California.
2+
All rights reserved.
3+
4+
Redistribution and use in source and binary forms, with or without
5+
modification, are permitted provided that the following conditions
6+
are met:
7+
1. Redistributions of source code must retain the above copyright
8+
notice, this list of conditions and the following disclaimer.
9+
2. Redistributions in binary form must reproduce the above copyright
10+
notice, this list of conditions and the following disclaimer in the
11+
documentation and/or other materials provided with the distribution.
12+
3. Neither the name of the University nor the names of its contributors
13+
may be used to endorse or promote products derived from this software
14+
without specific prior written permission.
15+
16+
THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
17+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19+
ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
20+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22+
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23+
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24+
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25+
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26+
SUCH DAMAGE.

ChangeLog

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ DOMjudge Programming Contest Judging System
22

33
Version 3.0.0 - SVN
44
-------------------
5+
- Replace included static bash by dash shell.
56
- Revise team manual.
67
- Add missing link to add testcases to a new problem.
78
- Fix bug causing segfaults of submitdaemon. (Closes: #2046031)

README

+5-5
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ are covered by other copyrights. This will be noted in the files
4040
themselves and these copyrights/attributions can also be found in the
4141
administrator manual.
4242

43-
Furthermore, a binary version of the bash shell (statically compiled)
44-
is distributed with DOMjudge. This program is copyright by the Free
45-
Software Foundation and distributed under the GPL version 2 or later.
46-
Sources can be downloaded from:
47-
http://domjudge.sourceforge.net/bash-sources/
43+
Furthermore, a binary version of the dash shell (statically compiled)
44+
is distributed with DOMjudge. This program is copyright by various
45+
people under the BSD licence and a part under the GNU GPL version 2,
46+
see doc/dash.copyright for more details.
47+
Sources can be downloaded from: http://domjudge.sourceforge.net/sources/
4848

4949

5050
Contact

bin/bash-static

-1.14 MB
Binary file not shown.

bin/dash-static

68.6 KB
Binary file not shown.

bin/sh-static

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
bash-static
1+
dash-static

doc/admin/admin-manual.sgml

+10-9
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ to name them here too:
108108

109109
<itemize>
110110
<item> beep.c is made by Johnathan Nightingale.
111-
<item> bash is included from the Debian `bash-static' (i386) package
112-
(copyright Free Software Foundation).
111+
<item> dash is included from the Debian `dash-udeb' (i386) package
112+
(copyright various people, see <tt>doc/dash.copyright</tt>).
113113
<item> mkstemps.h and basename.h are modified versions from the
114114
GNU libiberty library (copyright Free Software Foundation).
115115
<item> lib.database.php by Jeroen van Wolffelaar et al.
@@ -121,11 +121,12 @@ Coroner's Toolkit by Wietse Venema.
121121
Erik van Sebille.
122122
</itemize>
123123

124-
A binary version of the bash shell (statically compiled)
125-
is distributed with DOMjudge. This program is copyright by the Free
126-
Software Foundation and distributed under the GPL version 2 or later.
124+
A binary version of the dash shell (statically compiled)
125+
is distributed with DOMjudge. This program is copyright by various
126+
people under the BSD licence and a part under the GNU GPL version 2,
127+
see doc/dash.copyright for more details.
127128
Sources can be downloaded from:
128-
<url url="http://domjudge.sourceforge.net/bash-sources/">
129+
<url url="http://domjudge.sourceforge.net/sources/">
129130

130131
<sect>Contact
131132
<p>
@@ -320,7 +321,7 @@ The requirements for the deployment of this jury-system are:
320321
<item> A POSIX compliant shell in <tt>/bin/sh</tt> (e.g. bash or ash)
321322

322323
<item> A statically compiled POSIX shell, located in
323-
<tt>SYSTEM_ROOT/bin/sh-static</tt> (bash 3 is included for
324+
<tt>SYSTEM_ROOT/bin/sh-static</tt> (dash is included for
324325
Linux IA32)
325326

326327
<item> glibc &gt;= 2.1
@@ -389,7 +390,7 @@ will have the bulk of these packages installed already.
389390
apt-get install gcc g++ make libcurl3-dev sudo mysql-server ntp \
390391
apache2 php5 php5-cli libapache2-mod-php5 php5-mysql \
391392
hostname coreutils procps grep diff mount sharutils \
392-
openssh-server openssh-client bash-static phpmyadmin xsltproc \
393+
openssh-server openssh-client phpmyadmin xsltproc \
393394
wget linuxdoc-tools unzip tetex-bin tetex-extra transfig
394395
</code>
395396

@@ -404,7 +405,7 @@ the list as appropriate.
404405

405406
<code>
406407
apt-get install make sudo php5-cli php5-mysql ntp xsltproc \
407-
hostname coreutils procps grep diff mount bash-static \
408+
hostname coreutils procps grep diff mount \
408409
gcc g++ gcj sun-java5-jdk ghc fp-compiler
409410
</code>
410411

doc/dash.copyright

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
The dash shell was taken from the Debian package dash-udeb version
2+
0.5.3-7, see http://packages.debian.org/etch/dash-udeb. The sources
3+
can be (re-)obtained from: http://domjudge.sourceforce.net/sources/
4+
5+
Copyright (from the Debian copyright file):
6+
7+
Copyright (c) 1989-1994
8+
The Regents of the University of California. All rights reserved.
9+
Copyright (c) 1997 Christos Zoulas. All rights reserved.
10+
Copyright (c) 1997-2005
11+
Herbert Xu <[email protected]>. All rights reserved.
12+
13+
This code is derived from software contributed to Berkeley by Kenneth Almquist.
14+
15+
Please refer to ../COPYING.BSD for details.
16+
17+
mksignames.c:
18+
19+
This file is not directly linked with dash. However, its output is.
20+
21+
Copyright (C) 1992 Free Software Foundation, Inc.
22+
23+
This file is part of GNU Bash, the Bourne Again SHell.
24+
25+
Bash is free software; you can redistribute it and/or modify it under
26+
the terms of the GNU General Public License as published by the Free
27+
Software Foundation; either version 2, or (at your option) any later
28+
version.
29+
30+
Bash is distributed in the hope that it will be useful, but WITHOUT ANY
31+
WARRANTY; without even the implied warranty of MERCHANTABILITY or
32+
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
33+
for more details.
34+
35+
You should have received a copy of the GNU General Public License with
36+
your Debian GNU/Linux system, in /usr/share/common-licenses/GPL, or with the
37+
Debian GNU/Linux hello source package as the file COPYING. If not,
38+
write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
39+
Boston, MA 02111 USA.

0 commit comments

Comments
 (0)