Skip to content

Commit 5a373f9

Browse files
committed
Refresh patches for 8.1
1 parent f341586 commit 5a373f9

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

debian/patches/010_debianise_dj_make_chroot.patch

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ Author: Thijs Kinkhorst <[email protected]>
22
Description: Update config and scripts to replace choices with Debian values.
33
Forwarded: not-needed
44

5-
--- a/misc-tools/dj_make_chroot.in
6-
+++ b/misc-tools/dj_make_chroot.in
5+
--- a/misc-tools/dj_make_chroot.in 2022-06-01 16:58:10.000000000 +0000
6+
+++ b/misc-tools/dj_make_chroot.in 2022-06-09 19:19:24.954518891 +0000
77
@@ -24,7 +24,7 @@
88
trap cleanup EXIT
99

@@ -13,15 +13,15 @@ Forwarded: not-needed
1313

1414
# Fallback Debian and release (codename) to bootstrap (note: overridden right below):
1515
DISTRO="Debian"
16-
@@ -205,6 +205,7 @@
17-
rm -rf "$CHROOTDIR"
16+
@@ -240,6 +240,7 @@
17+
rm -rf "$CHROOTDIR"
1818
fi
1919

2020
+rm -rf "$CHROOTDIR"
2121
mkdir -p "$CHROOTDIR"
2222
cd "$CHROOTDIR"
2323
CHROOTDIR="$PWD"
24-
@@ -383,5 +384,10 @@
24+
@@ -415,5 +416,10 @@
2525
umount "$CHROOTDIR/sys"
2626
umount "$CHROOTDIR/proc"
2727

@@ -32,3 +32,4 @@ Forwarded: not-needed
3232
+
3333
echo "Done building chroot in $CHROOTDIR"
3434
exit 0
35+
Only in domjudge-8.1.0/misc-tools: dj_make_chroot.in.orig

debian/patches/disable_fix_permissions

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ Author: Thijs Kinkhorst <[email protected]>
44
Forwarded: not-needed
55
Last-Update: 2020-04-28
66

7-
--- domjudge-7.3.0.orig/Makefile
8-
+++ domjudge-7.3.0/Makefile
9-
@@ -124,7 +124,7 @@ install-domserver-l:
7+
--- domjudge-8.1.0.orig/Makefile 2022-06-01 16:58:10.000000000 +0000
8+
+++ domjudge-8.1.0/Makefile 2022-06-09 19:24:54.089879892 +0000
9+
@@ -113,7 +113,7 @@
1010
$(INSTALL_WEBSITE) -m 0775 -d $(DESTDIR)$(domserver_webappdir)/var/$$d ; \
1111
done
1212
# Make sure that domjudge user and webserver group can write to var/{cache,log}:
13-
- DESTDIR=$(DESTDIR) $(domserver_bindir)/fix_permissions
14-
+# DESTDIR=$(DESTDIR) $(domserver_bindir)/fix_permissions
13+
- -DESTDIR=$(DESTDIR) $(DESTDIR)$(domserver_bindir)/fix_permissions
14+
+# -DESTDIR=$(DESTDIR) $(DESTDIR)$(domserver_bindir)/fix_permissions
1515
# Special case create tmpdir here, only when FHS not enabled:
1616
ifneq "$(FHS_ENABLED)" "yes"
1717
-$(INSTALL_WEBSITE) -m 0770 -d $(DESTDIR)$(domserver_tmpdir)

0 commit comments

Comments
 (0)