diff options
author | Robert Alessi <alessi@robertalessi.net> | 2024-03-21 19:39:38 +0100 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2024-03-21 19:39:38 +0100 |
commit | 4a64475651906e3a3d408960dbfb189e333bc3f3 (patch) | |
tree | 7bdab26467a29ecba78f5a884509ed5dd21baa76 | |
parent | 983e7d9fe51bc4245b0775bb13857ac5a2c46dc2 (diff) | |
download | texlive-openbsd-4a64475651906e3a3d408960dbfb189e333bc3f3.tar.gz |
added mksymlinks
-rw-r--r-- | alessi.asc | 63 | ||||
-rw-r--r-- | makefile | 2 | ||||
-rw-r--r-- | mksymlinks | 53 | ||||
-rwxr-xr-x | tl-build.sh | 8 |
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 | |||
3 | mQINBFOav/8BEAC6RHt1j+cnDde5GbBAE7Uua1HbfizYyiSINX7vEeU0wv35vr/z | ||
4 | Mqv44cEKwoF9i6f615Eg+jwJAk824EOEcKCZX5KjaH0lK3NCKiXUQS9hSCGF/R1T | ||
5 | NjdzHGzrr+S/ZYBsSY8P9Q5grgIyBw31WiOTaGq4CG1bJsPYdKa2+WZ4gQf5dHqz | ||
6 | 5UZJJOyvkEH+lBI+17PekFm7qWXjDeo4kS56w/n9hJRw5IS7ToqF0AvBLixeoKCw | ||
7 | N/dvRAaPF6VosOOCSvZFPJwEfn6KFeybUFLirnBFchziLdtv7xfpN1Y8ouAZZWxh | ||
8 | kMawhNOOYjHx9OrQ4ma90wllma/ElOqaV5sqYxcf9f5yXAAV6+beW97Ybj7XZ5Pi | ||
9 | yfcIxao29P8WzUrZYhPLdF3AxpaIzJfrAMXYux8bmYjplKhASbQUsE7RtYapBx+G | ||
10 | cY5zzDGgHRkuUbkuVp0sXq4n9lL5oNoRdGYjzI+IPqshk/IHW876HNJL7fBI4CJ2 | ||
11 | ikF6KqcY0Hp6Asan0h6wnYLTuv16Mr41BPYsIXcqhKX3RXllRdRl096RS5YnYSv2 | ||
12 | u50L8pm7sCBH4Lc6Z/cwT3kLenI4mfSs6z29QHsWLGRdigc/ArnfuAYQRt0jLEF/ | ||
13 | U4n1iOCE4jLjMRrmcaUCfPQC3ySa7sLe6EepwCinBN+FJM1wVNy3w1ydpwARAQAB | ||
14 | tCdSb2JlcnQgQWxlc3NpIDxhbGVzc2lAcm9iZXJ0YWxlc3NpLm5ldD6JAjcEEwEI | ||
15 | ACECGwMFCwkIBwMFFQoJCAsFFgIDAQACHgECF4AFAlObNvAACgkQF3PpJICFyMcm | ||
16 | shAAmGN1RI/5JwtiOzxS/zgChahf1GXXoqeN3qDS1FRGUwETL5EdQ39jURunIAaG | ||
17 | dx6api72FXd48QEw5ViqNG+b5RtoZ2Crs9u1HBm+NCf9f+dtBslFEcIE4c+GwWPQ | ||
18 | pvr65LMSTFM4M1lWbhBAt44GYusYjT0kPIe3GmK8/JmH72n5I/mw/vUPgCFcpUdI | ||
19 | Eo7DKsER++e9PJZsp67VI95Qyl/YWkX1uhMq2LFFunB51tMetBbxGzKrdyBsSPAZ | ||
20 | pi17JLEwXKzOKPJmLZ6nAXNmakS4LFFym+ryC0sIpnXQp0ODUOTVUv3l823r7fAZ | ||
21 | VoE/TPtZWOOQ1zz72/NU+f7cLNNH2WsfgaQrvXvcUUTRwyUxpFi48tY42boDOE+m | ||
22 | SzaipQGNDkzKvoChk6DxTVE2ARf+skiNGWdnycK7b3RQ9xUSlrgONxAG9RFqybAQ | ||
23 | IAytaER/ni3pEXzp5OJA2tESGOEQzBk36h6fXS2e4GMF/sEtBm5wiGTRBTvJls29 | ||
24 | fuf3S0S8mpgAmdOgwx8BcgKX9ZIwk9sidLMyN7rfbD1Cy/8JOHym0j/V068lwUIZ | ||
25 | PmB7OFbngcVDSt5IGBGp44cN/ukp/EvtLCtrfmFue1PWDXokuy9nrOc+6A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/4ZrfmxWdKQiMZ | ||
56 | hhP2LONlyAm6vcUa43o1hYR74GEbwiXOdYcvFun7uXTa2gpXJbTcDCBMJ+tEvhFw | ||
57 | 4JLkBK9VcIUafY1BUIXflp0ZqKp2gHy+ikMxE8NfpvtJucTdsOQGPf5z7n/qhkeF | ||
58 | JbHje/CVWS/+WfjjTn6ovxmRWfxcQeTqqbGJ4Z2QZamyDK8DtB5IDJLTC06RFngP | ||
59 | Hfu09Zp83UR6otf2i3exdaYwt/PKh5kgDh+0QV5GPrZbM3UIGeCQMAD6EY81k0Mn | ||
60 | jxzMzoNheqXOWlRsp1vR5obm58PpLdOxhkcWyHhmrA5/MkJ2tKeHMAXuWPlKpsbT | ||
61 | IeV9P50= | ||
62 | =5DS3 | ||
63 | -----END PGP PUBLIC KEY BLOCK----- | ||
@@ -3,7 +3,7 @@ PREFIX?=/usr/local/texlive/${TL_YEAR}/bin/custom | |||
3 | BINREPO=https://www.ekdosis.org/texlive | 3 | BINREPO=https://www.ekdosis.org/texlive |
4 | TMPDIR!=mktemp -d | 4 | TMPDIR!=mktemp -d |
5 | OPENBSD_VERSION!=uname -r | sed 's/\.//' | 5 | OPENBSD_VERSION!=uname -r | sed 's/\.//' |
6 | TLBINPATH!!=which latex 2>/dev/null | sed 's/\/latex//' | 6 | TLBINPATH!!=which latex 2>/dev/null | sed 's/\/latex$$//' |
7 | TMPSOURCE?="" | 7 | TMPSOURCE?="" |
8 | UPDATING!=curl -s ${BINREPO}/status.txt | grep updating= | sed 's/.*=//' | 8 | UPDATING!=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 | |||
5 | TLBINDIR=$(dirname $0) | ||
6 | REL=../.. | ||
7 | LSTFILE=$(mktemp) | ||
8 | AMFILE=$(mktemp) | ||
9 | |||
10 | if [[ ! -w ${TLBINDIR} ]]; then | ||
11 | echo "You do not have write permissions to ${TLBINDIR}" | ||
12 | exit 1 | ||
13 | fi | ||
14 | |||
15 | svn --force export svn://tug.org/texlive/trunk/Build/source/texk/texlive/linked_scripts/scripts.lst \ | ||
16 | ${LSTFILE} || exit 1 | ||
17 | |||
18 | svn --force export svn://tug.org/texlive/trunk/Build/source/texk/texlive/linked_scripts/Makefile.am \ | ||
19 | ${AMFILE} || exit 1 | ||
20 | bin_links=$(awk '/bin_links = \\/,/^$/' ${AMFILE} | awk NF | grep -v bin_links | sed 's,\\,,') | ||
21 | |||
22 | cd ${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 | |||
50 | if [[ $1 == "remove" ]] | ||
51 | then | ||
52 | echo "all symlinks have been removed. why did you do this?" | ||
53 | fi | ||
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 | ||
149 | function 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 |
150 | if [[ ${build_tl} == "y" ]]; then | 157 | if [[ ${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 | ||
160 | else | 168 | else |
161 | if [[ ${with_context} == "y" ]]; then | 169 | if [[ ${with_context} == "y" ]]; then |
162 | include_context | 170 | include_context |