aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--alessi.asc63
-rw-r--r--makefile2
-rw-r--r--mksymlinks53
-rwxr-xr-xtl-build.sh8
4 files changed, 125 insertions, 1 deletions
diff --git a/alessi.asc b/alessi.asc
new file mode 100644
index 0000000..c701ebf
--- /dev/null
+++ b/alessi.asc
@@ -0,0 +1,63 @@
1-----BEGIN PGP PUBLIC KEY BLOCK-----
2
3mQINBFOav/8BEAC6RHt1j+cnDde5GbBAE7Uua1HbfizYyiSINX7vEeU0wv35vr/z
4Mqv44cEKwoF9i6f615Eg+jwJAk824EOEcKCZX5KjaH0lK3NCKiXUQS9hSCGF/R1T
5NjdzHGzrr+S/ZYBsSY8P9Q5grgIyBw31WiOTaGq4CG1bJsPYdKa2+WZ4gQf5dHqz
65UZJJOyvkEH+lBI+17PekFm7qWXjDeo4kS56w/n9hJRw5IS7ToqF0AvBLixeoKCw
7N/dvRAaPF6VosOOCSvZFPJwEfn6KFeybUFLirnBFchziLdtv7xfpN1Y8ouAZZWxh
8kMawhNOOYjHx9OrQ4ma90wllma/ElOqaV5sqYxcf9f5yXAAV6+beW97Ybj7XZ5Pi
9yfcIxao29P8WzUrZYhPLdF3AxpaIzJfrAMXYux8bmYjplKhASbQUsE7RtYapBx+G
10cY5zzDGgHRkuUbkuVp0sXq4n9lL5oNoRdGYjzI+IPqshk/IHW876HNJL7fBI4CJ2
11ikF6KqcY0Hp6Asan0h6wnYLTuv16Mr41BPYsIXcqhKX3RXllRdRl096RS5YnYSv2
12u50L8pm7sCBH4Lc6Z/cwT3kLenI4mfSs6z29QHsWLGRdigc/ArnfuAYQRt0jLEF/
13U4n1iOCE4jLjMRrmcaUCfPQC3ySa7sLe6EepwCinBN+FJM1wVNy3w1ydpwARAQAB
14tCdSb2JlcnQgQWxlc3NpIDxhbGVzc2lAcm9iZXJ0YWxlc3NpLm5ldD6JAjcEEwEI
15ACECGwMFCwkIBwMFFQoJCAsFFgIDAQACHgECF4AFAlObN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mKhnaQ7slqBjgaP3SQkqiE8zapAAuhW8fsgTnRB
49UXOFBStHvy9qLJWQVZ4XoRFwbs4e6wj9loHVz1QtABEBAAGJAh8EGAEIAAkCGwwF
50AlfneaIACgkQF3PpJICFyMe2Xg/+MlYjQWt8z8QIFuZI5Ptpdgf6rd7mwA2ApIAN
51SKjHlw7vUAEEe19vijURo+v/NPJIPn3/RdRbqmzBQhpEwf68VijRKc99/Kn6Um9D
52aNiiJ1aQSl9oqZO7N7mAXI7mAwZdJI235kDVZLVJ+Xkuf5MkATX19NfxnWUw3ChP
53n7sMLzUPWo4s4bHXGH85hEjeitAmyykNHw1dA+ieBDJA2lGYq+i0AIUn/MbyIXBa
54LluGwBF4qHrNywtOvsYfKYhI7PG/gOU4Kauj7y4fwd+r3kYOVZ6AE9GzXIAXSu+z
55XyXRpWr8OThB0ZgRwp9ALabsslYLIwYP/AZSV0ogwRCBJP8onZ/4ZrfmxWdKQiMZ
56hhP2LONlyAm6vcUa43o1hYR74GEbwiXOdYcvFun7uXTa2gpXJbTcDCBMJ+tEvhFw
574JLkBK9VcIUafY1BUIXflp0ZqKp2gHy+ikMxE8NfpvtJucTdsOQGPf5z7n/qhkeF
58JbHje/CVWS/+WfjjTn6ovxmRWfxcQeTqqbGJ4Z2QZamyDK8DtB5IDJLTC06RFngP
59Hfu09Zp83UR6otf2i3exdaYwt/PKh5kgDh+0QV5GPrZbM3UIGeCQMAD6EY81k0Mn
60jxzMzoNheqXOWlRsp1vR5obm58PpLdOxhkcWyHhmrA5/MkJ2tKeHMAXuWPlKpsbT
61IeV9P50=
62=5DS3
63-----END PGP PUBLIC KEY BLOCK-----
diff --git a/makefile b/makefile
index c2513ec..e275888 100644
--- a/makefile
+++ b/makefile
@@ -3,7 +3,7 @@ PREFIX?=/usr/local/texlive/${TL_YEAR}/bin/custom
3BINREPO=https://www.ekdosis.org/texlive 3BINREPO=https://www.ekdosis.org/texlive
4TMPDIR!=mktemp -d 4TMPDIR!=mktemp -d
5OPENBSD_VERSION!=uname -r | sed 's/\.//' 5OPENBSD_VERSION!=uname -r | sed 's/\.//'
6TLBINPATH!!=which latex 2>/dev/null | sed 's/\/latex//' 6TLBINPATH!!=which latex 2>/dev/null | sed 's/\/latex$$//'
7TMPSOURCE?="" 7TMPSOURCE?=""
8UPDATING!=curl -s ${BINREPO}/status.txt | grep updating= | sed 's/.*=//' 8UPDATING!=curl -s ${BINREPO}/status.txt | grep updating= | sed 's/.*=//'
9 9
diff --git a/mksymlinks b/mksymlinks
new file mode 100644
index 0000000..6817fbd
--- /dev/null
+++ b/mksymlinks
@@ -0,0 +1,53 @@
1#!/bin/sh
2#
3# $TeX Live for OpenBSD, 2024/03/21 $
4
5TLBINDIR=$(dirname $0)
6REL=../..
7LSTFILE=$(mktemp)
8AMFILE=$(mktemp)
9
10if [[ ! -w ${TLBINDIR} ]]; then
11 echo "You do not have write permissions to ${TLBINDIR}"
12 exit 1
13fi
14
15svn --force export svn://tug.org/texlive/trunk/Build/source/texk/texlive/linked_scripts/scripts.lst \
16 ${LSTFILE} || exit 1
17
18svn --force export svn://tug.org/texlive/trunk/Build/source/texk/texlive/linked_scripts/Makefile.am \
19 ${AMFILE} || exit 1
20bin_links=$(awk '/bin_links = \\/,/^$/' ${AMFILE} | awk NF | grep -v bin_links | sed 's,\\,,')
21
22cd ${TLBINDIR} && \
23 for s in $(cat ${LSTFILE} | grep -v \')
24 do
25 target=`basename $s | tr '[A-Z]' '[a-z]'`
26 echo "$s" | grep 'memoize-.*\.' >/dev/null \
27 || echo "$s" | grep 'listings-ext.sh' >/dev/null \
28 || target=`echo $target | sed 's,\.[^/]*$,,'`; \
29 if [[ $1 == "remove" ]];then
30 rm -f $target
31 else
32 rm -f $target
33 echo "creating link '$target' -> '$REL/texmf-dist/scripts/$s'"
34 ln -s $REL/texmf-dist/scripts/$s $target || exit 1
35 fi
36 done && \
37 for s in ${bin_links}
38 do
39 link=`echo $s | sed 's,.*:,,'`
40 file=`echo $s | sed 's,:.*,,'`
41 if [[ $1 == "remove" ]];then
42 rm -f $link
43 else
44 rm -f $link
45 echo "creating link '$link' -> '$file'"
46 ln -s $file $link || exit 1
47 fi
48 done
49
50if [[ $1 == "remove" ]]
51then
52 echo "all symlinks have been removed. why did you do this?"
53fi
diff --git a/tl-build.sh b/tl-build.sh
index eda6bea..d81e41f 100755
--- a/tl-build.sh
+++ b/tl-build.sh
@@ -146,6 +146,13 @@ function include_asymptote {
146 fi 146 fi
147} 147}
148 148
149function include_extras {
150 if [[ -d ${tl_sourcedir}/inst/bin ]];then
151 tl_bindir=${tl_sourcedir}/inst/bin/`ls ${tl_sourcedir}/inst/bin`
152 install -m 0755 ${this_dir}/mksymlinks ${tl_bindir}/mktexobsdsymlinks
153 fi
154}
155
149# Now build TL 156# Now build TL
150if [[ ${build_tl} == "y" ]]; then 157if [[ ${build_tl} == "y" ]]; then
151 cd ${tl_sourcedir} 158 cd ${tl_sourcedir}
@@ -157,6 +164,7 @@ if [[ ${build_tl} == "y" ]]; then
157 if [[ ${with_asymptote} == "y" ]];then 164 if [[ ${with_asymptote} == "y" ]];then
158 include_asymptote 165 include_asymptote
159 fi 166 fi
167 include_extras
160else 168else
161 if [[ ${with_context} == "y" ]]; then 169 if [[ ${with_context} == "y" ]]; then
162 include_context 170 include_context