• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#objective-cqt誰得cocoawindowspythonphprubygameguibathyscaphec翻訳omegat計画中(planning stage)frameworktwittertestdombtronvb.netdirectxarduinopreviewerゲームエンジン

Commit MetaInfo

Revisãoa11c91a134645dfe3a4c5aea260ea80b8d986d0a (tree)
Hora2022-06-10 20:24:11
Autormatsuand <30614168+matsuand@user...>
Commitermatsuand

Mensagem de Log

[BLFS] Add.

Mudança Sumário

Diff

--- /dev/null
+++ b/BLFS/bind.sh
@@ -0,0 +1,54 @@
1+#!/bin/sh
2+
3+. ./_blfsset.sh
4+
5+APPNAME=bind
6+VER=9.16.24
7+TARGET=$APPNAME-$VER
8+TARGETBALL=$DLD/$TARGET.tar.xz
9+TARGETDIR=$TARGET
10+
11+echo $TARGET
12+
13+. $WRK/_checkRequired.sh \
14+ libuv
15+. $WRK/_checkOptions.sh \
16+ json-c \
17+ curl libidn2 libxml2 lmdb
18+. $WRK/_checkTarball.sh
19+. $WRK/_checkExit.sh "$1" || exit $?
20+
21+cd $SRC
22+RemoveSrcDir
23+Extract
24+
25+pip3 install ply
26+
27+TimeStart
28+
29+cd $TARGETDIR
30+
31+Configuring
32+./configure --prefix=/usr \
33+ --sysconfdir=/etc \
34+ --localstatedir=/var \
35+ --mandir=/usr/share/man \
36+ --with-libtool \
37+ --disable-static \
38+ 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1
39+
40+Making
41+make \
42+ 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1
43+
44+Installing
45+porg -lp $TARGET -E$PWD "\
46+make install" \
47+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
48+
49+TimeEnd
50+
51+cd ..
52+RemoveSrcDir
53+PorgingDone
54+
--- /dev/null
+++ b/BLFS/cryptsetup.sh
@@ -0,0 +1,45 @@
1+#!/bin/sh
2+
3+. ./_blfsset.sh
4+
5+APPNAME=cryptsetup
6+VER=2.3.6
7+TARGET=$APPNAME-$VER
8+TARGETBALL=$DLD/$TARGET.tar.xz
9+TARGETDIR=$TARGET
10+
11+echo $TARGET
12+
13+. $WRK/_checkRequired.sh \
14+ json-c lvm2 popt
15+. $WRK/_checkOptions.sh \
16+ libpwquality argon2 passwdgc
17+. $WRK/_checkTarball.sh
18+. $WRK/_checkExit.sh "$1" || exit $?
19+
20+cd $SRC
21+RemoveSrcDir
22+Extract
23+
24+TimeStart
25+
26+cd $TARGETDIR
27+
28+Configuring
29+./configure --prefix=/usr \
30+ 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1
31+
32+Making
33+make \
34+ 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1
35+
36+Installing
37+porg -lp $TARGET "make install" \
38+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
39+
40+TimeEnd
41+
42+cd ..
43+RemoveSrcDir
44+PorgingDone
45+
--- /dev/null
+++ b/BLFS/dblatex.sh
@@ -0,0 +1,37 @@
1+#!/bin/sh
2+
3+. ./_blfsset.sh
4+
5+APPNAME=dblatex3
6+VER=0.3.12
7+TARGET=$APPNAME-$VER
8+TARGETBALL=$DLD/$TARGET.tar.bz2
9+TARGETDIR=$TARGET
10+
11+echo $TARGET
12+
13+. $WRK/_checkRequired.sh \
14+ texlive
15+. $WRK/_checkOptions.sh ""
16+. $WRK/_checkTarball.sh
17+. $WRK/_checkExit.sh "$1" || exit $?
18+
19+cd $SRC
20+RemoveSrcDir
21+Extract
22+
23+TimeStart
24+
25+cd $TARGETDIR
26+
27+PWD=`pwd`
28+Installing
29+porg -lp $TARGET -E$PWD "python3 ./setup.py install" \
30+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
31+
32+TimeEnd
33+
34+cd ..
35+RemoveSrcDir
36+PorgingDone
37+
--- /dev/null
+++ b/BLFS/dnspython.sh
@@ -0,0 +1,37 @@
1+#!/bin/sh
2+
3+. ./_blfsset.sh
4+
5+APPNAME=dnspython
6+VER=2.1.0
7+TARGET=$APPNAME-$VER
8+TARGETBALL=$DLD/$TARGET.zip
9+TARGETDIR=$TARGET
10+
11+echo $TARGET
12+
13+. $WRK/_checkRequired.sh \
14+ python
15+. $WRK/_checkOptions.sh ""
16+. $WRK/_checkTarball.sh
17+. $WRK/_checkExit.sh "$1" || exit $?
18+
19+cd $SRC
20+RemoveSrcDir
21+ExtractZip
22+
23+TimeStart
24+
25+cd $TARGETDIR
26+
27+PWD=`pwd`
28+Installing
29+porg -lp $TARGET -E$PWD "python3 ./setup.py install" \
30+ 1> $LOG/$TARGET.1_install.log 2>&1 || exit 1
31+
32+TimeEnd
33+
34+cd ..
35+RemoveSrcDir
36+PorgingDone
37+
--- /dev/null
+++ b/BLFS/docbook-3.1-dtd.sh
@@ -0,0 +1,70 @@
1+#!/bin/sh
2+
3+. ./_blfsset.sh
4+
5+VER=3.1
6+APPNAME=docbook-$VER-dtd
7+TARGET=$APPNAME
8+TARGETBALL=$DLD/docbk31.zip
9+TARGETDIR=$TARGET
10+
11+echo $TARGET
12+
13+. $WRK/_checkRequired.sh \
14+ sgml-common unzip
15+. $WRK/_checkOptions.sh ""
16+. $WRK/_checkTarball.sh
17+. $WRK/_checkExit.sh "$1" || exit $?
18+
19+cd $SRC
20+RemoveSrcDir
21+
22+mkdir -p $TARGETDIR
23+cd $TARGETDIR
24+
25+. $WRK/_extractZip.sh $TARGETBALL
26+
27+TimeStart
28+
29+sed -i -e '/ISO 8879/d' \
30+ -e 's|DTDDECL "-//OASIS//DTD DocBook V3.1//EN"|SGMLDECL|g' \
31+ docbook.cat
32+
33+install -v -d -m755 /usr/share/sgml/docbook/sgml-dtd-$VER
34+chown -R root:root .
35+
36+porg -lp $TARGET "\
37+install -v docbook.cat /usr/share/sgml/docbook/sgml-dtd-3.1/catalog" \
38+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
39+
40+porg -lp+ $TARGET "\
41+cp -v -af *.dtd *.mod *.dcl /usr/share/sgml/docbook/sgml-dtd-3.1" \
42+ 1>> $LOG/$TARGET.3_install.log 2>&1 || exit 1
43+
44+porg -lp+ $TARGET "\
45+install-catalog --add /etc/sgml/sgml-docbook-dtd-3.1.cat \
46+ /usr/share/sgml/docbook/sgml-dtd-3.1/catalog" \
47+ 1>> $LOG/$TARGET.3_install.log 2>&1 || exit 1
48+
49+porg -lp+ $TARGET "\
50+install-catalog --add /etc/sgml/sgml-docbook-dtd-3.1.cat \
51+ /etc/sgml/sgml-docbook.cat" \
52+ 1>> $LOG/$TARGET.3_install.log 2>&1 || exit 1
53+
54+cat >> /usr/share/sgml/docbook/sgml-dtd-3.1/catalog << "EOF"
55+ -- Begin Single Major Version catalog changes --
56+
57+PUBLIC "-//Davenport//DTD DocBook V3.0//EN" "docbook.dtd"
58+
59+ -- End Single Major Version catalog changes --
60+EOF
61+porg -lp+ $TARGET "\
62+touch /usr/share/sgml/docbook/sgml-dtd-3.1/catalog" \
63+ 1>> $LOG/$TARGET.3_install.log 2>&1 || exit 1
64+
65+TimeEnd
66+
67+cd ..
68+RemoveSrcDir
69+PorgingDone
70+
--- /dev/null
+++ b/BLFS/docbook-4.5-dtd.sh
@@ -0,0 +1,73 @@
1+#!/bin/sh
2+
3+. ./_blfsset.sh
4+
5+VER=4.5
6+APPNAME=docbook-$VER-dtd
7+TARGET=$APPNAME
8+TARGETBALL=$DLD/docbook-$VER.zip
9+TARGETDIR=$TARGET
10+
11+echo $TARGET
12+
13+. $WRK/_checkRequired.sh \
14+ sgml-common unzip
15+. $WRK/_checkOptions.sh ""
16+. $WRK/_checkTarball.sh
17+. $WRK/_checkExit.sh "$1" || exit $?
18+
19+cd $SRC
20+RemoveSrcDir
21+
22+mkdir -p $TARGETDIR
23+cd $TARGETDIR
24+
25+. $WRK/_extractZip.sh $TARGETBALL
26+
27+TimeStart
28+
29+sed -i -e '/ISO 8879/d' \
30+ -e '/gml/d' docbook.cat
31+
32+install -v -d /usr/share/sgml/docbook/sgml-dtd-$VER
33+chown -R root:root .
34+
35+porg -lp $TARGET "\
36+install -v docbook.cat /usr/share/sgml/docbook/sgml-dtd-4.5/catalog" \
37+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
38+
39+porg -lp+ $TARGET "\
40+cp -v -af *.dtd *.mod *.dcl /usr/share/sgml/docbook/sgml-dtd-4.5" \
41+ 1>> $LOG/$TARGET.3_install.log 2>&1 || exit 1
42+
43+porg -lp+ $TARGET "\
44+install-catalog --add /etc/sgml/sgml-docbook-dtd-4.5.cat \
45+ /usr/share/sgml/docbook/sgml-dtd-4.5/catalog" \
46+ 1>> $LOG/$TARGET.3_install.log 2>&1 || exit 1
47+
48+porg -lp+ $TARGET "\
49+install-catalog --add /etc/sgml/sgml-docbook-dtd-4.5.cat \
50+ /etc/sgml/sgml-docbook.cat" \
51+ 1>> $LOG/$TARGET.3_install.log 2>&1 || exit 1
52+
53+cat >> /usr/share/sgml/docbook/sgml-dtd-4.5/catalog << "EOF"
54+ -- Begin Single Major Version catalog changes --
55+
56+PUBLIC "-//OASIS//DTD DocBook V4.4//EN" "docbook.dtd"
57+PUBLIC "-//OASIS//DTD DocBook V4.3//EN" "docbook.dtd"
58+PUBLIC "-//OASIS//DTD DocBook V4.2//EN" "docbook.dtd"
59+PUBLIC "-//OASIS//DTD DocBook V4.1//EN" "docbook.dtd"
60+PUBLIC "-//OASIS//DTD DocBook V4.0//EN" "docbook.dtd"
61+
62+ -- End Single Major Version catalog changes --
63+EOF
64+porg -lp+ $TARGET "\
65+touch /usr/share/sgml/docbook/sgml-dtd-4.5/catalog" \
66+ 1>> $LOG/$TARGET.3_install.log 2>&1 || exit 1
67+
68+TimeEnd
69+
70+cd ..
71+RemoveSrcDir
72+PorgingDone
73+
--- /dev/null
+++ b/BLFS/doxygen.sh
@@ -0,0 +1,57 @@
1+#!/bin/sh
2+
3+. ./_blfsset.sh
4+
5+APPNAME=doxygen
6+VER=1.9.3
7+TARGET=$APPNAME-$VER
8+TARGETBALL=$DLD/$TARGET.src.tar.gz
9+TARGETDIR=$TARGET
10+
11+echo $TARGET
12+
13+. $WRK/_checkRequired.sh \
14+ cmake git
15+. $WRK/_checkOptions.sh \
16+ graphviz ghostscript libxml2 \
17+ llvm python-2 qt-5 texlive \
18+ xapian javacc
19+. $WRK/_checkTarball.sh
20+. $WRK/_checkExit.sh "$1" || exit $?
21+
22+cd $SRC
23+RemoveSrcDir
24+Extract
25+
26+TimeStart
27+
28+cd $TARGETDIR
29+
30+mkdir build
31+cd build
32+
33+Configuring
34+cmake -G "Unix Makefiles" \
35+ -DCMAKE_BUILD_TYPE=Release \
36+ -DCMAKE_INSTALL_PREFIX=/usr \
37+ -Wno-dev .. \
38+ 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1
39+
40+Making
41+make \
42+ 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1
43+
44+Installing
45+porg -lp $TARGET -E$PWD "\
46+make install" \
47+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
48+porg -lp+ $TARGET "\
49+install -vm644 ../doc/*.1 /usr/share/man/man1" \
50+ 1>> $LOG/$TARGET.3_install.log 2>&1 || exit 1
51+
52+TimeEnd
53+
54+cd ../..
55+RemoveSrcDir
56+PorgingDone
57+
--- /dev/null
+++ b/BLFS/efibootmgr.sh
@@ -0,0 +1,43 @@
1+#!/bin/sh
2+
3+. ./_blfsset.sh
4+
5+APPNAME=efibootmgr
6+VER=17
7+TARGET=$APPNAME-$VER
8+TARGETBALL=$DLD/$TARGET.tar.gz
9+TARGETDIR=$TARGET
10+
11+echo $TARGET
12+
13+. $WRK/_checkRequired.sh \
14+ efivar popt
15+. $WRK/_checkOptions.sh ""
16+. $WRK/_checkTarball.sh
17+. $WRK/_checkExit.sh "$1" || exit $?
18+
19+cd $SRC
20+RemoveSrcDir
21+Extract
22+
23+TimeStart
24+
25+cd $TARGETDIR
26+
27+sed -e '/extern int efi_set_verbose/d' -i src/efibootmgr.c
28+
29+Making
30+make EFIDIR=LFS EFI_LOADER=grubx64.efi \
31+ 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1
32+
33+Installing
34+porg -lp $TARGET "\
35+make install EFIDIR=LFS" \
36+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
37+
38+TimeEnd
39+
40+cd ..
41+RemoveSrcDir
42+PorgingDone
43+
--- /dev/null
+++ b/BLFS/efivar.sh
@@ -0,0 +1,43 @@
1+#!/bin/sh
2+
3+. ./_blfsset.sh
4+
5+APPNAME=efivar
6+VER=37
7+TARGET=$APPNAME-$VER
8+TARGETBALL=$DLD/$TARGET.tar.bz2
9+TARGETDIR=$TARGET
10+
11+echo $TARGET
12+
13+. $WRK/_checkRequired.sh ""
14+. $WRK/_checkOptions.sh ""
15+. $WRK/_checkTarball.sh
16+. $WRK/_checkExit.sh "$1" || exit $?
17+
18+cd $SRC
19+RemoveSrcDir
20+Extract
21+
22+TimeStart
23+
24+cd $TARGETDIR
25+
26+Patching
27+patch -Np1 -i $DLD/efivar-$VER-gcc_9-1.patch
28+
29+Making
30+make CFLAGS="-O2 -Wno-stringop-truncation" \
31+ 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1
32+
33+Installing
34+porg -lp $TARGET "\
35+make install LIBDIR=/usr/lib" \
36+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
37+
38+TimeEnd
39+
40+cd ..
41+RemoveSrcDir
42+PorgingDone
43+
--- /dev/null
+++ b/BLFS/fuse2.sh
@@ -0,0 +1,73 @@
1+#!/bin/sh
2+
3+. ./_blfsset.sh
4+
5+APPNAME=fuse
6+VER=2.6.5
7+TARGET=$APPNAME-$VER
8+TARGETBALL=$DLD/${APPNAME}_2_6_5.tar.gz
9+TARGETDIR=libfuse-${APPNAME}_2_6_5
10+
11+echo $TARGET
12+
13+. $WRK/_checkRequired.sh ""
14+. $WRK/_checkOptions.sh \
15+ doxygen
16+. $WRK/_checkTarball.sh
17+. $WRK/_checkExit.sh "$1" || exit $?
18+
19+cd $SRC
20+RemoveSrcDir
21+Extract
22+
23+TimeStart
24+
25+cd $TARGETDIR
26+
27+echo Autoconfing...
28+sh makeconf.sh \
29+ 1> $LOG/$TARGET.0_auto.log 2>&1
30+
31+Configuring
32+./configure --prefix=/usr \
33+ --disable-static \
34+ --exec-prefix=/ \
35+ --disable-kernel-module \
36+ 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1
37+
38+Making
39+make -j1 \
40+ 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1
41+
42+PWD=`pwd`
43+Installing
44+porg -lp $TARGET -E$PWD "\
45+make DESTDIR=$PWD/Dest install" \
46+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
47+
48+install -vm755 Dest/lib/libfuse.so.$VER /lib
49+install -vm755 Dest/lib/libulockmgr.so.1.0.1 /lib
50+ln -sfv ../../lib/libfuse.so.$VER /usr/lib/libfuse.so
51+ln -sfv ../../lib/libulockmgr.so.1.0.1 /usr/lib/libulockmgr.so
52+
53+install -vm644 Dest/lib/pkgconfig/fuse.pc /usr/lib/pkgconfig
54+
55+install -vm4755 Dest/bin/fusermount /usr/bin
56+install -vm755 Dest/bin/ulockmgr_server /usr/bin
57+
58+install -vm755 Dest/sbin/mount.fuse /sbin
59+
60+install -vdm755 /usr/include/fuse
61+
62+#install -vm644 Dest/usr/include/*.h /usr/include
63+install -vm644 Dest/usr/include/fuse/*.h /usr/include/fuse/
64+
65+install -vm644 Dest/usr/share/man/man1/* /usr/share/man/man1
66+/sbin/ldconfig -v
67+
68+TimeEnd
69+
70+cd ..
71+RemoveSrcDir
72+PorgingDone
73+
--- /dev/null
+++ b/BLFS/gi-docgen.sh
@@ -0,0 +1,36 @@
1+#!/bin/sh
2+
3+. ./_blfsset.sh
4+
5+APPNAME=gi-docgen
6+VER=2021.8
7+TARGET=$APPNAME-$VER
8+TARGETBALL=$DLD/$TARGET.tar.bz2
9+TARGETDIR=$TARGET
10+
11+echo $TARGET
12+
13+. $WRK/_checkRequired.sh ""
14+. $WRK/_checkOptions.sh ""
15+. $WRK/_checkTarball.sh
16+. $WRK/_checkExit.sh "$1" || exit $?
17+
18+cd $SRC
19+RemoveSrcDir
20+Extract
21+
22+TimeStart
23+
24+cd $TARGETDIR
25+
26+Installing
27+porg -lp $TARGET -E$PWD "\
28+python3 ./setup.py install" \
29+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
30+
31+TimeEnd
32+
33+cd ..
34+RemoveSrcDir
35+PorgingDone
36+
--- /dev/null
+++ b/BLFS/graphviz.sh
@@ -0,0 +1,50 @@
1+#!/bin/sh
2+
3+. ./_blfsset.sh
4+
5+APPNAME=graphviz
6+VER=2.50.0
7+TARGET=$APPNAME-$VER
8+TARGETBALL=$DLD/$TARGET.tar.bz2
9+TARGETDIR=$TARGET
10+
11+echo $TARGET
12+
13+. $WRK/_checkRequired.sh ""
14+. $WRK/_checkOptions.sh ""
15+. $WRK/_checkTarball.sh
16+. $WRK/_checkExit.sh "$1" || exit $?
17+
18+cd $SRC
19+RemoveSrcDir
20+Extract
21+
22+TimeStart
23+
24+cd $TARGETDIR
25+
26+sed -i '/LIBPOSTFIX="64"/s/64//' configure.ac
27+
28+echo Autogening...
29+./autogen.sh \
30+ 1> $LOG/$TARGET.0_auto.log 2>&1 || exit 1
31+
32+Configuring
33+./configure --prefix=/usr --disable-php \
34+ 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1
35+
36+Making
37+make \
38+ 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1
39+
40+Installing
41+porg -lp $TARGET -E$PWD "\
42+make install" \
43+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
44+
45+TimeEnd
46+
47+cd ..
48+RemoveSrcDir
49+PorgingDone
50+
--- /dev/null
+++ b/BLFS/guile227.sh
@@ -0,0 +1,51 @@
1+#!/bin/sh
2+
3+. ./_blfsset.sh
4+
5+APPNAME=guile
6+VER=2.2.7
7+TARGET=$APPNAME-$VER
8+TARGETBALL=$DLD/$TARGET.tar.xz
9+TARGETDIR=$TARGET
10+
11+echo $TARGET
12+
13+. $WRK/_checkRequired.sh \
14+ gc libunistring
15+. $WRK/_checkOptions.sh \
16+ emacs gdb
17+. $WRK/_checkTarball.sh
18+. $WRK/_checkExit.sh "$1" || exit $?
19+
20+cd $SRC
21+RemoveSrcDir
22+Extract
23+
24+TimeStart
25+
26+cd $TARGETDIR
27+
28+Configuring
29+./configure --prefix=/usr \
30+ --disable-static \
31+ --docdir=/usr/share/doc/guile-$VER \
32+ 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1
33+
34+Making
35+make \
36+ 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1
37+
38+Installing
39+porg -lp $TARGET -E`pwd` "make install" \
40+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
41+mkdir -p /usr/share/gdb/auto-load/usr/lib
42+porg -lp+ $TARGET "\
43+mv /usr/lib/libguile-*-gdb.scm /usr/share/gdb/auto-load/usr/lib" \
44+ 1>> $LOG/$TARGET.3_install.log 2>&1 || exit 1
45+
46+TimeEnd
47+
48+cd ..
49+RemoveSrcDir
50+PorgingDone
51+
--- /dev/null
+++ b/BLFS/gutenprint.sh
@@ -0,0 +1,47 @@
1+#!/bin/sh
2+
3+. ./_blfsset.sh
4+
5+APPNAME=gutenprint
6+VER=5.3.4
7+TARGET=$APPNAME-$VER
8+TARGETBALL=$DLD/$TARGET.tar.xz
9+TARGETDIR=$TARGET
10+
11+echo $TARGET
12+
13+. $WRK/_checkRequired.sh \
14+ cups
15+. $WRK/_checkOptions.sh ""
16+. $WRK/_checkTarball.sh
17+. $WRK/_checkExit.sh "$1" || exit $?
18+
19+cd $SRC
20+RemoveSrcDir
21+Extract
22+
23+TimeStart
24+
25+cd $TARGETDIR
26+
27+sed -i 's|$(PACKAGE)/doc|doc/$(PACKAGE)-$(VERSION)|' \
28+ {,doc/,doc/developer/}Makefile.in
29+
30+Configuring
31+./configure --prefix=/usr --disable-static \
32+ 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1
33+
34+Making
35+make \
36+ 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1
37+
38+Installing
39+porg -lp $TARGET "make install" \
40+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
41+
42+TimeEnd
43+
44+cd ..
45+RemoveSrcDir
46+PorgingDone
47+
--- /dev/null
+++ b/BLFS/install-ntpd.sh
@@ -0,0 +1,33 @@
1+#!/bin/sh
2+
3+. ./_blfsset.sh
4+
5+TARGET=blfs-systemd-units-$BOOTSCRIPTDATE
6+TARGETBALL=$DLD/$TARGET.tar.xz
7+TARGETDIR=$TARGET
8+SCRIPT=install-ntpd
9+
10+echo $SCRIPT
11+
12+. $WRK/_checkRequired.sh ntp
13+. $WRK/_checkTarball.sh
14+. $WRK/_checkExit.sh "$1" || exit $?
15+
16+cd $SRC
17+RemoveSrcDir
18+Extract
19+
20+TimeStart
21+
22+cd $TARGETDIR
23+
24+Installing
25+porg -lp $SCRIPT "make $SCRIPT" \
26+ 1> $LOG/$SCRIPT.1_install.log 2>&1 || exit 1
27+
28+TimeEnd
29+
30+cd ..
31+RemoveSrcDir
32+PorgingDone $SCRIPT
33+
--- /dev/null
+++ b/BLFS/install-php-fpm.sh
@@ -0,0 +1,33 @@
1+#!/bin/sh
2+
3+. ./_blfsset.sh
4+
5+TARGET=blfs-systemd-units-$BOOTSCRIPTDATE
6+SCRIPT=install-php-fpm
7+TARGETBALL=$DLD/$TARGET.tar.xz
8+TARGETDIR=$TARGET
9+
10+echo $SCRIPT
11+
12+. $WRK/_checkRequired.sh php
13+. $WRK/_checkTarball.sh
14+. $WRK/_checkExit.sh "$1" || exit $?
15+
16+cd $SRC
17+RemoveSrcDir
18+Extract
19+
20+TimeStart
21+
22+cd $TARGETDIR
23+
24+Installing
25+porg -lp "install-php-fpm" "make install-php-fpm" \
26+ 1> $LOG/${SCRIPT}_1.install.log 2>&1 || (echo Error occured && exit 1)
27+
28+TimeEnd
29+
30+cd ..
31+RemoveSrcDir
32+PorgingDone $SCRIPT
33+
--- /dev/null
+++ b/BLFS/install-sendmail.sh
@@ -0,0 +1,33 @@
1+#!/bin/sh
2+
3+. ./_blfsset.sh
4+
5+TARGET=blfs-systemd-units-$BOOTSCRIPTDATE
6+TARGETBALL=$DLD/$TARGET.tar.xz
7+TARGETDIR=$TARGET
8+SCRIPT=install-sendmail
9+
10+echo $SCRIPT
11+
12+. $WRK/_checkRequired.sh sendmail
13+. $WRK/_checkTarball.sh
14+. $WRK/_checkExit.sh "$1" || exit $?
15+
16+cd $SRC
17+RemoveSrcDir
18+Extract
19+
20+TimeStart
21+
22+cd $TARGETDIR
23+
24+Installing
25+porg -lp $SCRIPT "make $SCRIPT" \
26+ 1> $LOG/$SCRIPT.1_install.log 2>&1 || exit 1
27+
28+TimeEnd
29+
30+cd ..
31+RemoveSrcDir
32+PorgingDone $SCRIPT
33+
--- /dev/null
+++ b/BLFS/jinja2.sh
@@ -0,0 +1,38 @@
1+#!/bin/sh
2+
3+. ./_blfsset.sh
4+
5+APPNAME=Jinja2
6+VER=3.0.1
7+TARGET=$APPNAME-$VER
8+TARGETBALL=$DLD/$TARGET.tar.gz
9+TARGETDIR=$TARGET
10+
11+echo $TARGET
12+
13+. $WRK/_checkRequired.sh \
14+ markupsafe
15+. $WRK/_checkOptions.sh ""
16+. $WRK/_checkTarball.sh
17+. $WRK/_checkExit.sh "$1" || exit $?
18+
19+cd $SRC
20+RemoveSrcDir
21+Extract
22+
23+TimeStart
24+
25+cd $TARGETDIR
26+
27+PWD=`pwd`
28+Installing
29+porg -lp $TARGET -E$PWD "\
30+python3 setup.py install --optimize=1" \
31+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
32+
33+TimeEnd
34+
35+cd ..
36+RemoveSrcDir
37+PorgingDone
38+
--- /dev/null
+++ b/BLFS/libgvc.sh
@@ -0,0 +1,43 @@
1+#!/bin/sh
2+
3+. ./_blfsset.sh
4+
5+APPNAME=which
6+VER=2.21
7+TARGET=$APPNAME-$VER
8+TARGETBALL=$DLD/$TARGET.tar.gz
9+TARGETDIR=$TARGET
10+
11+echo $TARGET
12+
13+. $WRK/_checkRequired.sh ""
14+. $WRK/_checkOptions.sh ""
15+. $WRK/_checkTarball.sh
16+. $WRK/_checkExit.sh "$1" || exit $?
17+
18+cd $SRC
19+RemoveSrcDir
20+Extract
21+
22+TimeStart
23+
24+cd $TARGETDIR
25+
26+Configuring
27+./configure --prefix=/usr \
28+ 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1
29+
30+Making
31+make \
32+ 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1
33+
34+Installing
35+porg -lp $TARGET "make install" \
36+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
37+
38+TimeEnd
39+
40+cd ..
41+RemoveSrcDir
42+PorgingDone
43+
--- /dev/null
+++ b/BLFS/libmicrohttpd.sh
@@ -0,0 +1,43 @@
1+#!/bin/sh
2+
3+. ./_blfsset.sh
4+
5+APPNAME=libmicrohttpd
6+VER=0.9.73
7+TARGET=$APPNAME-$VER
8+TARGETBALL=$DLD/$TARGET.tar.gz
9+TARGETDIR=$TARGET
10+
11+echo $TARGET
12+
13+. $WRK/_checkRequired.sh ""
14+. $WRK/_checkOptions.sh ""
15+. $WRK/_checkTarball.sh
16+. $WRK/_checkExit.sh "$1" || exit $?
17+
18+cd $SRC
19+RemoveSrcDir
20+Extract
21+
22+TimeStart
23+
24+cd $TARGETDIR
25+
26+Configuring
27+./configure --prefix=/usr \
28+ 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1
29+
30+Making
31+make \
32+ 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1
33+
34+Installing
35+porg -lp $TARGET "make install" \
36+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
37+
38+TimeEnd
39+
40+cd ..
41+RemoveSrcDir
42+PorgingDone
43+
--- /dev/null
+++ b/BLFS/libnftnl.sh
@@ -0,0 +1,43 @@
1+#!/bin/sh
2+
3+. ./_blfsset.sh
4+
5+APPNAME=libnftnl
6+VER=1.2.0
7+TARGET=$APPNAME-$VER
8+TARGETBALL=$DLD/$TARGET.tar.bz2
9+TARGETDIR=$TARGET
10+
11+echo $TARGET
12+
13+. $WRK/_checkRequired.sh ""
14+. $WRK/_checkOptions.sh ""
15+. $WRK/_checkTarball.sh
16+. $WRK/_checkExit.sh "$1" || exit $?
17+
18+cd $SRC
19+RemoveSrcDir
20+Extract
21+
22+TimeStart
23+
24+cd $TARGETDIR
25+
26+Configuring
27+./configure --prefix=/usr \
28+ 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1
29+
30+Making
31+make \
32+ 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1
33+
34+Installing
35+porg -lp $TARGET "make install" \
36+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
37+
38+TimeEnd
39+
40+cd ..
41+RemoveSrcDir
42+PorgingDone
43+
--- /dev/null
+++ b/BLFS/liburcu.sh
@@ -0,0 +1,46 @@
1+#!/bin/sh
2+
3+. ./_blfsset.sh
4+
5+APPNAME=liburcu
6+VER=0.13.0
7+TARGET=$APPNAME-$VER
8+TARGETBALL=$DLD/userspace-rcu-$VER.tar.bz2
9+TARGETDIR=userspace-rcu-$VER
10+
11+echo $TARGET
12+
13+. $WRK/_checkRequired.sh ""
14+. $WRK/_checkOptions.sh ""
15+. $WRK/_checkTarball.sh
16+. $WRK/_checkExit.sh "$1" || exit $?
17+
18+cd $SRC
19+RemoveSrcDir
20+Extract
21+
22+TimeStart
23+
24+cd $TARGETDIR
25+
26+Configuring
27+./configure --prefix=/usr \
28+ --disable-static \
29+ --docdir=/usr/share/doc/liburcu-$VER \
30+ 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1
31+
32+Making
33+make \
34+ 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1
35+
36+PWD=`pwd`
37+Installing
38+porg -lp $TARGET -E$PWD "make install" \
39+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
40+
41+TimeEnd
42+
43+cd ..
44+RemoveSrcDir
45+PorgingDone
46+
--- /dev/null
+++ b/BLFS/libwpe.sh
@@ -0,0 +1,48 @@
1+#!/bin/sh
2+
3+. ./_blfsset.sh
4+
5+APPNAME=libwpe
6+VER=1.12.0
7+TARGET=$APPNAME-$VER
8+TARGETBALL=$DLD/$TARGET.tar.xz
9+TARGETDIR=$TARGET
10+
11+echo $TARGET
12+
13+. $WRK/_checkRequired.sh \
14+ libxkbcommon mesa
15+. $WRK/_checkOptions.sh ""
16+. $WRK/_checkTarball.sh
17+. $WRK/_checkExit.sh "$1" || exit $?
18+
19+cd $SRC
20+RemoveSrcDir
21+Extract
22+
23+TimeStart
24+
25+cd $TARGETDIR
26+
27+mkdir build
28+cd build
29+
30+Configuring
31+meson --prefix=/usr --buildtype=release .. \
32+ 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1
33+
34+Making
35+ninja \
36+ 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1
37+
38+Installing
39+porg -lp $TARGET -E$PWD "\
40+ninja install" \
41+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
42+
43+TimeEnd
44+
45+cd ../..
46+RemoveSrcDir
47+PorgingDone
48+
--- /dev/null
+++ b/BLFS/lua524.sh
@@ -0,0 +1,99 @@
1+#!/bin/sh
2+
3+. ./_blfsset.sh
4+
5+APPNAME=lua
6+VER=5.2.4
7+TARGET=$APPNAME-$VER
8+TARGETBALL=$DLD/$TARGET.tar.gz
9+TARGETDIR=$TARGET
10+
11+echo $TARGET
12+
13+. $WRK/_checkRequired.sh ""
14+. $WRK/_checkOptions.sh ""
15+. $WRK/_checkTarball.sh
16+. $WRK/_checkExit.sh "$1" || exit $?
17+
18+unset MAKEFLAGS
19+
20+cd $SRC
21+RemoveSrcDir
22+Extract
23+
24+TimeStart
25+
26+cd $TARGETDIR
27+
28+cat > lua.pc << "EOF"
29+V=5.2
30+R=5.2.4
31+
32+prefix=/usr
33+INSTALL_BIN=${prefix}/bin
34+INSTALL_INC=${prefix}/include/lua5.2
35+INSTALL_LIB=${prefix}/lib
36+INSTALL_MAN=${prefix}/share/man/man1
37+INSTALL_LMOD=${prefix}/share/lua/${V}
38+INSTALL_CMOD=${prefix}/lib/lua/${V}
39+exec_prefix=${prefix}
40+libdir=${exec_prefix}/lib
41+includedir=${prefix}/include/lua5.2
42+
43+Name: Lua
44+Description: An Extensible Extension Language
45+Version: ${R}
46+Requires:
47+Libs: -L${libdir} -llua5.2 -lm -ldl
48+Cflags: -I${includedir}
49+EOF
50+
51+Patching
52+patch -Np1 -i $DLD/lua-$VER-shared_library-1.patch \
53+ 1> $LOG/$TARGET.0_patch.log 2>&1 || exit 1
54+
55+sed -i '/#define LUA_ROOT/s:/usr/local/:/usr/:' src/luaconf.h
56+
57+sed -r -e '/^LUA_(SO|A|T)=/ s/lua/lua5.2/' \
58+ -e '/^LUAC_T=/ s/luac/luac5.2/' \
59+ -i src/Makefile
60+
61+Making
62+make MYCFLAGS="-fPIC" linux \
63+ 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1
64+
65+Installing
66+make TO_BIN='lua5.2 luac5.2' \
67+ TO_LIB="liblua5.2.so liblua5.2.so.5.2 liblua5.2.so.5.2.4" \
68+ INSTALL_DATA="cp -d" \
69+ INSTALL_TOP=$PWD/install/usr \
70+ INSTALL_INC=$PWD/install/usr/include/lua5.2 \
71+ INSTALL_MAN=$PWD/install/usr/share/man/man1 \
72+ install \
73+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
74+
75+porg -lp+ $TARGET "\
76+install -m644 -D lua.pc /usr/lib/pkgconfig/lua52.pc" \
77+ 1>> $LOG/$TARGET.3_install.log 2>&1 || exit 1
78+
79+porg -lp+ $TARGET "\
80+ln -s liblua5.2.so install/usr/lib/liblua.so.5.2 &&
81+ln -s liblua5.2.so install/usr/lib/liblua.so.5.2.4" \
82+ 1>> $LOG/$TARGET.3_install.log 2>&1 || exit 1
83+
84+porg -lp+ $TARGET "\
85+mv install/usr/share/man/man1/{lua.1,lua5.2.1} &&
86+mv install/usr/share/man/man1/{luac.1,luac5.2.1}" \
87+ 1>> $LOG/$TARGET.3_install.log 2>&1 || exit 1
88+
89+chown -R root:root install
90+porg -lp+ $TARGET "\
91+cp -a install/* /" \
92+ 1>> $LOG/$TARGET.3_install.log 2>&1 || exit 1
93+
94+TimeEnd
95+
96+cd ..
97+RemoveSrcDir
98+PorgingDone
99+
--- /dev/null
+++ b/BLFS/man2html.sh
@@ -0,0 +1,45 @@
1+#!/bin/sh
2+
3+. ./_blfsset.sh
4+
5+APPNAME=man2html
6+VER=1.6g
7+TARGET=$APPNAME-$VER
8+TARGETBALL=$DLD/man-$VER.tar.gz
9+TARGETDIR=man-$VER
10+
11+echo $TARGET
12+
13+. $WRK/_checkRequired.sh ""
14+. $WRK/_checkOptions.sh ""
15+. $WRK/_checkTarball.sh
16+. $WRK/_checkExit.sh "$1" || exit $?
17+
18+cd $SRC
19+RemoveSrcDir
20+Extract
21+
22+TimeStart
23+
24+cd $TARGETDIR
25+
26+Configuring
27+./configure --prefix=/usr \
28+ 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1
29+
30+Making
31+make \
32+ 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1
33+
34+Installing
35+porg -lp $TARGET "\
36+cp man2html/man2html /usr/bin &&
37+cp man2html/man2html.1 /usr/share/man/man1" \
38+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
39+
40+TimeEnd
41+
42+cd ..
43+RemoveSrcDir
44+PorgingDone
45+
--- /dev/null
+++ b/BLFS/mandoc.sh
@@ -0,0 +1,47 @@
1+#!/bin/sh
2+
3+. ./_blfsset.sh
4+
5+APPNAME=mandoc
6+VER=1.14.6
7+TARGET=$APPNAME-$VER
8+TARGETBALL=$DLD/$TARGET.tar.gz
9+TARGETDIR=$TARGET
10+
11+echo $TARGET
12+
13+. $WRK/_checkRequired.sh ""
14+. $WRK/_checkOptions.sh ""
15+. $WRK/_checkTarball.sh
16+. $WRK/_checkExit.sh "$1" || exit $?
17+
18+cd $SRC
19+RemoveSrcDir
20+Extract
21+
22+TimeStart
23+
24+cd $TARGETDIR
25+
26+Configuring
27+./configure --prefix=/usr/local \
28+ 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1
29+
30+Making
31+make \
32+ 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1
33+
34+Installing
35+porg -lp $TARGET "\
36+install -vm755 mandoc /usr/bin" \
37+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
38+porg -lp+ $TARGET "\
39+install -vm644 mandoc.1 /usr/share/man/man1" \
40+ 1>> $LOG/$TARGET.3_install.log 2>&1 || exit 1
41+
42+TimeEnd
43+
44+cd ..
45+RemoveSrcDir
46+PorgingDone
47+
--- /dev/null
+++ b/BLFS/mod_fcgid.sh
@@ -0,0 +1,45 @@
1+#!/bin/sh
2+
3+. ./_blfsset.sh
4+
5+APPNAME=mod_fcgid
6+VER=2.3.9
7+TARGET=$APPNAME-$VER
8+TARGETBALL=$DLD/$TARGET.tar.gz
9+TARGETDIR=$TARGET
10+
11+echo $TARGET
12+
13+. $WRK/_checkRequired.sh \
14+ httpd
15+. $WRK/_checkOptions.sh ""
16+. $WRK/_checkTarball.sh
17+. $WRK/_checkExit.sh "$1" || exit $?
18+
19+cd $SRC
20+RemoveSrcDir
21+Extract
22+
23+TimeStart
24+
25+cd $TARGETDIR
26+
27+Configuring
28+./configure.apxs --prefix=/usr \
29+ --with-python=/usr/bin/python3 \
30+ 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1
31+
32+Making
33+make \
34+ 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1
35+
36+Installing
37+porg -lp $TARGET "make install" \
38+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
39+
40+TimeEnd
41+
42+cd ..
43+RemoveSrcDir
44+PorgingDone
45+
--- /dev/null
+++ b/BLFS/nfs-utils.sh
@@ -0,0 +1,57 @@
1+#!/bin/sh
2+
3+. ./_blfsset.sh
4+
5+APPNAME=nfs-utils
6+VER=2.5.4
7+TARGET=$APPNAME-$VER
8+TARGETBALL=$DLD/$TARGET.tar.xz
9+TARGETDIR=$TARGET
10+
11+echo $TARGET
12+
13+. $WRK/_checkRequired.sh \
14+ libtirpc rpcsvc-proto
15+. $WRK/_checkOptions.sh \
16+ cyrus_sasl lvm2 libnsl openldap \
17+ sqlite \
18+ rpcbind
19+. $WRK/_checkTarball.sh
20+. $WRK/_checkExit.sh "$1" || exit $?
21+
22+cd $SRC
23+RemoveSrcDir
24+Extract
25+
26+TimeStart
27+
28+groupadd -g 99 nogroup
29+useradd -c "Unprivileged Nobody" -d /dev/null -g nogroup \
30+ -s /bin/false -u 99 nobody
31+
32+cd $TARGETDIR
33+
34+Configuring
35+./configure --prefix=/usr \
36+ --sysconfdir=/etc \
37+ --sbindir=/usr/sbin \
38+ --disable-nfsv4 \
39+ --disable-gss \
40+ 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1
41+
42+Making
43+make \
44+ 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1
45+
46+Installing
47+porg -lp $TARGET -E$PWD "make install" \
48+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
49+chmod u+w,go+r /usr/sbin/mount.nfs
50+chown nobody.nogroup /var/lib/nfs
51+
52+TimeEnd
53+
54+cd ..
55+RemoveSrcDir
56+PorgingDone
57+
--- /dev/null
+++ b/BLFS/omegat.sh
@@ -0,0 +1,53 @@
1+#!/bin/sh
2+
3+. ./_blfsset.sh
4+
5+APPNAME=OmegaT
6+VER=5.5.0
7+TARGET=$APPNAME-$VER
8+TARGETBALL=$DLD/${APPNAME}_${VER}_Beta_Linux_64.tar.bz2
9+TARGETDIR=${APPNAME}_${VER}_Beta_Linux_64
10+
11+echo $TARGET
12+
13+. $WRK/_checkRequired.sh ""
14+. $WRK/_checkOptions.sh ""
15+. $WRK/_checkTarball.sh
16+. $WRK/_checkExit.sh "$1" || exit $?
17+
18+cd $SRC
19+RemoveSrcDir
20+Extract
21+
22+TimeStart
23+
24+cd $TARGETDIR
25+
26+install -vdm755 /opt/OmegaT_5.5.0_Beta_Linux_64 &&
27+porg -lp $TARGET "\
28+mv -v * /opt/OmegaT_5.5.0_Beta_Linux_64" \
29+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
30+
31+chown -R root:root /opt/OmegaT_5.5.0_Beta_Linux_64
32+ln -sfn OmegaT_5.5.0_Beta_Linux_64 /opt/OmegaT
33+
34+TimeEnd
35+
36+cat > /etc/profile.d/omegat.sh <<"EOF"
37+# Begin /etc/profile.d/omegat.sh
38+
39+# Set OMEGAT_HOME
40+OMEGAT_HOME=/opt/OmegaT
41+
42+# Adjust PATH
43+pathappend $OMEGAT_HOME
44+
45+export OMEGAT_HOME
46+
47+# End /etc/profile.d/omegat.sh
48+EOF
49+
50+cd ..
51+RemoveSrcDir
52+PorgingDone
53+
--- /dev/null
+++ b/BLFS/pandoc.sh
@@ -0,0 +1,41 @@
1+#!/bin/sh
2+
3+. ./_blfsset.sh
4+
5+APPNAME=pandoc
6+VER=2.18
7+TARGET=$APPNAME-$VER
8+TARGETBALL=$DLD/$TARGET-linux-amd64.tar.gz
9+TARGETDIR=$TARGET
10+
11+echo $TARGET
12+
13+. $WRK/_checkRequired.sh ""
14+. $WRK/_checkOptions.sh ""
15+. $WRK/_checkTarball.sh
16+. $WRK/_checkExit.sh "$1" || exit $?
17+
18+cd $SRC
19+RemoveSrcDir
20+Extract
21+
22+TimeStart
23+
24+cd $TARGETDIR
25+
26+gunzip share/man/man1/pandoc.1.gz
27+
28+Installing
29+porg -lp $TARGET "\
30+cp -v bin/pandoc /usr/bin" \
31+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
32+porg -lp+ $TARGET "\
33+cp -v share/man/man1/pandoc.1 /usr/share/man/man1" \
34+ 1>> $LOG/$TARGET.3_install.log 2>&1 || exit 1
35+
36+TimeEnd
37+
38+cd ..
39+RemoveSrcDir
40+PorgingDone
41+
--- /dev/null
+++ b/BLFS/patch/nkf-2.1.5.patch
@@ -0,0 +1,33 @@
1+diff -aurN nkf-2.1.4.orig/Makefile nkf-2.1.4/Makefile
2+--- nkf-2.1.4.orig/Makefile 2015-12-12 22:51:41.000000000 +0900
3++++ nkf-2.1.4/Makefile 2018-09-28 21:22:49.715953515 +0900
4+@@ -7,7 +7,7 @@
5+ RM = rm -rf
6+ VERSION = 2.1.4
7+ MKDIR = mkdir
8+-prefix = /usr/local
9++prefix = /usr
10+ PYTHON2 = python
11+ PYTHON3 = python
12+
13+@@ -50,14 +50,14 @@
14+ cp -f nkf $(prefix)/bin/
15+
16+ install-man:
17+- -$(MKDIR) $(prefix)/man
18+- -$(MKDIR) $(prefix)/man/man1
19+- cp -f nkf.1 $(prefix)/man/man1/
20++ -$(MKDIR) $(prefix)/share/man
21++ -$(MKDIR) $(prefix)/share/man/man1
22++ cp -f nkf.1 $(prefix)/share/man/man1/
23+
24+ install-man-ja:
25+- -$(MKDIR) $(prefix)/man/ja
26+- -$(MKDIR) $(prefix)/man/ja/man1
27+- cp -f nkf.1j $(prefix)/man/ja/man1/nkf.1
28++ -$(MKDIR) $(prefix)/share/man/ja
29++ -$(MKDIR) $(prefix)/share/man/ja/man1
30++ ./nkf -w nkf.1j > $(prefix)/share/man/ja/man1/nkf.1
31+
32+ shar:
33+ -mkdir nkf-$(VERSION)
--- /dev/null
+++ b/BLFS/pipewire.sh
@@ -0,0 +1,49 @@
1+#!/bin/sh
2+
3+. ./_blfsset.sh
4+
5+APPNAME=pipewire
6+VER=0.3.50
7+TARGET=$APPNAME-$VER
8+TARGETBALL=$DLD/$TARGET.tar.gz
9+TARGETDIR=$TARGET
10+
11+echo $TARGET
12+
13+. $WRK/_checkRequired.sh ""
14+. $WRK/_checkOptions.sh \
15+ bluez ffmpeg gstreamer gst-plugins-base \
16+ libva pulseaudio sbc sdl2 v4l-utils
17+. $WRK/_checkTarball.sh
18+. $WRK/_checkExit.sh "$1" || exit $?
19+
20+cd $SRC
21+RemoveSrcDir
22+Extract
23+
24+TimeStart
25+
26+cd $TARGETDIR
27+
28+mkdir build
29+cd build
30+
31+Configuring
32+meson --prefix=/usr --buildtype=release -Dsession-managers= .. \
33+ 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1
34+
35+Making
36+ninja \
37+ 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1
38+
39+Installing
40+porg -lp $TARGET "\
41+ninja install" \
42+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
43+
44+TimeEnd
45+
46+cd ../..
47+RemoveSrcDir
48+PorgingDone
49+
--- /dev/null
+++ b/BLFS/ply.sh
@@ -0,0 +1,36 @@
1+#!/bin/sh
2+
3+. ./_blfsset.sh
4+
5+APPNAME=ply
6+VER=3.11
7+TARGET=$APPNAME-$VER
8+TARGETBALL=$DLD/$TARGET.tar.gz
9+TARGETDIR=$TARGET
10+
11+echo $TARGET
12+
13+. $WRK/_checkRequired.sh ""
14+. $WRK/_checkOptions.sh ""
15+. $WRK/_checkTarball.sh
16+. $WRK/_checkExit.sh "$1" || exit $?
17+
18+cd $SRC
19+RemoveSrcDir
20+Extract
21+
22+TimeStart
23+
24+cd $TARGETDIR
25+
26+PWD=`pwd`
27+Installing
28+porg -lp $TARGET -E$PWD "\
29+python3 setup.py install --optimize=1" \
30+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
31+
32+TimeEnd
33+
34+cd ..
35+RemoveSrcDir
36+PorgingDone
--- /dev/null
+++ b/BLFS/po4a-git.sh
@@ -0,0 +1,46 @@
1+#!/bin/sh
2+
3+. ./_blfsset.sh
4+
5+APPNAME=po4a
6+VER=git
7+TARGET=$APPNAME-$VER
8+TARGETBALL=$DLD/$TARGET.tar.gz
9+TARGETDIR=$TARGET
10+
11+echo $TARGET
12+
13+. $WRK/_checkRequired.sh \
14+ Module-Build docbook-xml docbook-xsl-nons \
15+ Pod-Parser
16+. $WRK/_checkOptions.sh \
17+ YAML-Tiny
18+. $WRK/_checkTarball.sh
19+. $WRK/_checkExit.sh "$1" || exit $?
20+
21+cd $SRC
22+RemoveSrcDir
23+Extract
24+
25+TimeStart
26+
27+cd $TARGETDIR
28+
29+echo Executing perl Build.PL...
30+perl Build.PL \
31+ 1> $LOG/$TARGET.1_Build.PL.log 2>&1 || exit 1
32+
33+echo Building...
34+./Build \
35+ 1> $LOG/$TARGET.2_build.log 2>&1 || exit 1
36+
37+Installing
38+porg -lp $TARGET "./Build install" \
39+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
40+
41+TimeEnd
42+
43+cd ..
44+RemoveSrcDir
45+PorgingDone
46+
--- /dev/null
+++ b/BLFS/qt5.sh
@@ -0,0 +1,186 @@
1+#!/bin/sh
2+
3+. ./_blfsset.sh
4+. ./Xorg/_xorgset.sh
5+
6+APPNAME=qt
7+APPVER=5
8+VER=5.15.2
9+TARGET=$APPNAME-$VER
10+TARGETBALL=$DLD/qt-everywhere-src-$VER.tar.xz
11+TARGETDIR=qt-everywhere-src-$VER
12+
13+echo $TARGET
14+
15+. $WRK/_checkRequired.sh \
16+ Xorg-lib-libX11
17+. $WRK/_checkOptions.sh \
18+ dbus libjpeg-turbo libmng tiff libpng \
19+ pkg-config \
20+ gst-plugins-base-0 pulseaudio glib-2 gtk+-2 openssl \
21+ cups mysql postgresql unixODBC sqlite
22+. $WRK/_checkTarball.sh
23+. $WRK/_checkExit.sh "$1" || exit $?
24+
25+cd $SRC
26+RemoveSrcDir
27+Extract
28+
29+TimeStart
30+
31+cd $TARGETDIR
32+
33+export QT5PREFIX=/opt/qt5
34+
35+Patching
36+patch -Np1 -i $DLD/qt-everywhere-src-5.15.2-kf5.15-2.patch \
37+ 1> $LOG/$TARGET.0_patch.log 2>&1 || exit 1
38+
39+Configuring
40+./configure -prefix $QT5PREFIX \
41+ -sysconfdir /etc/xdg \
42+ -confirm-license \
43+ -opensource \
44+ -dbus-linked \
45+ -openssl-linked \
46+ -system-harfbuzz \
47+ -system-sqlite \
48+ -nomake examples \
49+ -no-rpath \
50+ -journald \
51+ -skip qtwebengine \
52+ 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1
53+
54+Making
55+make \
56+ 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1
57+
58+Installing
59+porg -lp $TARGET -E$PWD "make install" \
60+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
61+
62+find $QT5PREFIX/ -name \*.prl \
63+ -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
64+
65+QT5BINDIR=$QT5PREFIX/bin
66+
67+install -v -dm755 /usr/share/pixmaps/
68+
69+porg -lp+ $TARGET "\
70+install -v -Dm644 qttools/src/assistant/assistant/images/assistant-128.png \
71+ /usr/share/pixmaps/assistant-qt5.png" \
72+ 1>> $LOG/$TARGET.3_install.log 2>&1 || exit 1
73+
74+porg -lp+ $TARGET "\
75+install -v -Dm644 qttools/src/designer/src/designer/images/designer.png \
76+ /usr/share/pixmaps/designer-qt5.png" \
77+ 1>> $LOG/$TARGET.3_install.log 2>&1 || exit 1
78+
79+porg -lp+ $TARGET "\
80+install -v -Dm644 qttools/src/linguist/linguist/images/icons/linguist-128-32.png \
81+ /usr/share/pixmaps/linguist-qt5.png" \
82+ 1>> $LOG/$TARGET.3_install.log 2>&1 || exit 1
83+
84+porg -lp+ $TARGET "\
85+install -v -Dm644 qttools/src/qdbus/qdbusviewer/images/qdbusviewer-128.png \
86+ /usr/share/pixmaps/qdbusviewer-qt5.png" \
87+ 1>> $LOG/$TARGET.3_install.log 2>&1 || exit 1
88+
89+install -dm755 /usr/share/applications
90+
91+cat > /usr/share/applications/assistant-qt5.desktop << EOF
92+[Desktop Entry]
93+Name=Qt5 Assistant
94+Comment=Shows Qt5 documentation and examples
95+Exec=$QT5BINDIR/assistant
96+Icon=assistant-qt5.png
97+Terminal=false
98+Encoding=UTF-8
99+Type=Application
100+Categories=Qt;Development;Documentation;
101+EOF
102+porg -lp+ $TARGET "\
103+touch /usr/share/applications/assistant-qt5.desktop"
104+
105+cat > /usr/share/applications/designer-qt5.desktop << EOF
106+[Desktop Entry]
107+Name=Qt5 Designer
108+GenericName=Interface Designer
109+Comment=Design GUIs for Qt5 applications
110+Exec=$QT5BINDIR/designer
111+Icon=designer-qt5.png
112+MimeType=application/x-designer;
113+Terminal=false
114+Encoding=UTF-8
115+Type=Application
116+Categories=Qt;Development;
117+EOF
118+porg -lp+ $TARGET "\
119+touch /usr/share/applications/designer-qt5.desktop"
120+
121+cat > /usr/share/applications/linguist-qt5.desktop << EOF
122+[Desktop Entry]
123+Name=Qt5 Linguist
124+Comment=Add translations to Qt5 applications
125+Exec=$QT5BINDIR/linguist
126+Icon=linguist-qt5.png
127+MimeType=text/vnd.trolltech.linguist;application/x-linguist;
128+Terminal=false
129+Encoding=UTF-8
130+Type=Application
131+Categories=Qt;Development;
132+EOF
133+porg -lp+ $TARGET "\
134+touch /usr/share/applications/linguist-qt5.desktop"
135+
136+cat > /usr/share/applications/qdbusviewer-qt5.desktop << EOF
137+[Desktop Entry]
138+Name=Qt5 QDbusViewer
139+GenericName=D-Bus Debugger
140+Comment=Debug D-Bus applications
141+Exec=$QT5BINDIR/qdbusviewer
142+Icon=qdbusviewer-qt5.png
143+Terminal=false
144+Encoding=UTF-8
145+Type=Application
146+Categories=Qt;Development;Debugger;
147+EOF
148+porg -lp+ $TARGET "\
149+touch /usr/share/applications/qdbusviewer-qt5.desktop"
150+
151+for file in moc uic rcc qmake lconvert lrelease lupdate; do
152+ porg -lp+ $TARGET "\
153+ ln -sfrvn $QT5BINDIR/$file /usr/bin/$file-qt5" \
154+ 1>> $LOG/$TARGET.3_install.log 2>&1 || exit 1
155+done
156+
157+cat > /etc/profile.d/qt5.sh << "EOF"
158+# Begin /etc/profile.d/qt5.sh
159+
160+QT5DIR=/opt/qt5
161+
162+pathappend $QT5DIR/bin PATH
163+pathappend $QT5DIR/lib/pkgconfig PKG_CONFIG_PATH
164+
165+export QT5DIR
166+
167+# End /etc/profile.d/qt5.sh
168+EOF
169+porg -lp+ $TARGET "\
170+touch /etc/profile.d/qt5.sh"
171+
172+cat >> /etc/ld.so.conf << "EOF"
173+# Begin Qt addition
174+
175+/opt/qt5/lib
176+
177+# End Qt addition
178+EOF
179+ldconfig
180+
181+TimeEnd
182+
183+cd ..
184+RemoveSrcDir
185+PorgingDone
186+
--- /dev/null
+++ b/BLFS/texlive-20200406-source-minimal.patch
@@ -0,0 +1,246 @@
1+diff -aurN texlive-20200406-source.orig/texk/texlive/linked_scripts/Makefile.am texlive-20200406-source/texk/texlive/linked_scripts/Makefile.am
2+--- texlive-20200406-source.orig/texk/texlive/linked_scripts/Makefile.am 2020-03-15 10:37:49.000000000 +0900
3++++ texlive-20200406-source/texk/texlive/linked_scripts/Makefile.am 2021-02-09 13:26:00.343181643 +0900
4+@@ -55,158 +55,23 @@
5+ ##
6+ texmf_scriptsdir = $(datarootdir)/texmf-dist/scripts
7+ texmf_shell_scripts = \
8+- adhocfilelist/adhocfilelist.sh \
9+- bibexport/bibexport.sh \
10+- checklistings/checklistings.sh \
11+- ctanbib/ctanbib \
12+- dtxgen/dtxgen \
13+ installfont/installfont-tl \
14+- latexfileversion/latexfileversion \
15+- listbib/listbib \
16+- listings-ext/listings-ext.sh \
17+- ltxfileinfo/ltxfileinfo \
18+- pdfbook2/pdfbook2 \
19+- pdfjam/pdfjam \
20+- pdftex-quiet/pdftex-quiet \
21+- pdfxup/pdfxup \
22+- pst-pdf/ps4pdf \
23+- simpdftex/simpdftex \
24+ texlive-extra/allcm.sh \
25+ texlive-extra/allneeded.sh \
26+- texlive-extra/dvi2fax.sh \
27+- texlive-extra/dvired.sh \
28+ texlive-extra/fontinst.sh \
29+ texlive-extra/kpsetool.sh \
30+ texlive-extra/kpsewhere.sh \
31+- texlive-extra/ps2frag.sh \
32+- texlive-extra/pslatex.sh \
33+- texlive-extra/rubibtex.sh \
34+- texlive-extra/rumakeindex.sh \
35+ texlive-extra/texconfig-dialog.sh \
36+ texlive-extra/texconfig-sys.sh \
37+ texlive-extra/texconfig.sh \
38+- texlive-extra/texlinks.sh \
39+- texosquery/texosquery.sh \
40+- texosquery/texosquery-jre5.sh \
41+- texosquery/texosquery-jre8.sh \
42+- typeoutfileinfo/typeoutfileinfo.sh \
43+- wordcount/wordcount.sh
44++ texlive-extra/texlinks.sh
45+
46+ texmf_other_scripts = \
47+- a2ping/a2ping.pl \
48+- accfonts/mkt1font \
49+- accfonts/vpl2ovp \
50+- accfonts/vpl2vpl \
51+- arara/arara.sh \
52+- attachfile2/pdfatfi.pl \
53+- authorindex/authorindex \
54+- bib2gls/bib2gls.sh \
55+- bib2gls/convertgls2bib.sh \
56+- bundledoc/arlatex \
57+- bundledoc/bundledoc \
58+- cachepic/cachepic.tlu \
59+- checkcites/checkcites.lua \
60+- chklref/chklref.pl \
61+- cjk-gs-integrate/cjk-gs-integrate.pl \
62+- clojure-pamphlet/pamphletangler \
63+- cluttex/cluttex.lua \
64+- context/perl/mptopdf.pl \
65+- convbkmk/convbkmk.rb \
66+- crossrefware/bbl2bib.pl \
67+- crossrefware/bibdoiadd.pl \
68+- crossrefware/bibmradd.pl \
69+- crossrefware/biburl2doi.pl \
70+- crossrefware/bibzbladd.pl \
71+- crossrefware/ltx2crossrefxml.pl \
72+- ctan-o-mat/ctan-o-mat.pl \
73+- ctanify/ctanify \
74+- ctanupload/ctanupload.pl \
75+- de-macro/de-macro \
76+- diadia/diadia.lua \
77+- dosepsbin/dosepsbin.pl \
78+- dviasm/dviasm.py \
79+- dviinfox/dviinfox.pl \
80+- ebong/ebong.py \
81+- epspdf/epspdf.tlu \
82+- epspdf/epspdftk.tcl \
83+- epstopdf/epstopdf.pl \
84+- exceltex/exceltex \
85+- fig4latex/fig4latex \
86+- findhyph/findhyph \
87+- fontools/afm2afm \
88+- fontools/autoinst \
89+- fontools/ot2kpx \
90+- fragmaster/fragmaster.pl \
91+- getmap/getmapdl.lua \
92+- glossaries/makeglossaries \
93+- glossaries/makeglossaries-lite.lua \
94+ jfmutil/jfmutil.pl \
95+- ketcindy/ketcindy.pl \
96+- kotex-utils/jamo-normalize.pl \
97+- kotex-utils/komkindex.pl \
98+- kotex-utils/ttf2kotexfont.pl \
99+- l3build/l3build.lua \
100+- latex-git-log/latex-git-log \
101+- latex-papersize/latex-papersize.py \
102+- latex2man/latex2man \
103+- latex2nemeth/latex2nemeth \
104+- latexdiff/latexdiff-vc.pl \
105+- latexdiff/latexdiff.pl \
106+- latexdiff/latexrevise.pl \
107+- latexindent/latexindent.pl \
108+- latexmk/latexmk.pl \
109+- latexpand/latexpand \
110+- lilyglyphs/lily-glyph-commands.py \
111+- lilyglyphs/lily-image-commands.py \
112+- lilyglyphs/lily-rebuild-pdfs.py \
113+- ltximg/ltximg.pl \
114+- luaotfload/luaotfload-tool.lua \
115+- lwarp/lwarpmk.lua \
116+- m-tx/m-tx.lua \
117+- makedtx/makedtx.pl \
118+- make4ht/make4ht \
119+- match_parens/match_parens \
120+- mathspic/mathspic.pl \
121+- mf2pt1/mf2pt1.pl \
122+- mkgrkindex/mkgrkindex \
123+- mkjobtexmf/mkjobtexmf.pl \
124+- mkpic/mkpic \
125+- multibibliography/multibibliography.pl \
126+- musixtex/musixflx.lua \
127+- musixtex/musixtex.lua \
128+- pax/pdfannotextractor.pl \
129+- pdfcrop/pdfcrop.pl \
130+- pdflatexpicscale/pdflatexpicscale.pl \
131+- pedigree-perl/pedigree.pl \
132+- perltex/perltex.pl \
133+- petri-nets/pn2pdf \
134+- pfarrei/a5toa4.tlu \
135+- pfarrei/pfarrei.tlu \
136+- pkfix-helper/pkfix-helper \
137+- pkfix/pkfix.pl \
138+- pmxchords/pmxchords.lua \
139+- pst2pdf/pst2pdf.pl \
140+ ptex-fontmaps/kanji-config-updmap-sys.sh \
141+ ptex-fontmaps/kanji-config-updmap-user.sh \
142+ ptex-fontmaps/kanji-config-updmap.pl \
143+ ptex-fontmaps/kanji-fontmap-creator.pl \
144+- ptex2pdf/ptex2pdf.lua \
145+- purifyeps/purifyeps \
146+- pygmentex/pygmentex.py \
147+- pythontex/depythontex.py \
148+- pythontex/pythontex.py \
149+- rubik/rubikrotation.pl \
150+- splitindex/splitindex.pl \
151+- srcredact/srcredact.pl \
152+- sty2dtx/sty2dtx.pl \
153+- svn-multi/svn-multi.pl \
154+- tex4ebook/tex4ebook \
155+- texcount/texcount.pl \
156+- texdef/texdef.pl \
157+- texdiff/texdiff \
158+- texdirflatten/texdirflatten \
159+- texdoc/texdoc.tlu \
160+- texfot/texfot.pl \
161+ texlive/fmtutil-sys.sh \
162+ texlive/fmtutil-user.sh \
163+ texlive/fmtutil.pl \
164+@@ -214,33 +79,9 @@
165+ texlive/mktexmf \
166+ texlive/mktexpk \
167+ texlive/mktextfm \
168+- texlive/rungs.tlu \
169+- texlive/tlmgr.pl \
170+ texlive/updmap-sys.sh \
171+ texlive/updmap-user.sh \
172+- texlive/updmap.pl \
173+- texlive-extra/e2pall.pl \
174+- texliveonfly/texliveonfly.py \
175+- texloganalyser/texloganalyser \
176+- texplate/texplate.sh \
177+- thumbpdf/thumbpdf.pl \
178+- tlcockpit/tlcockpit.sh \
179+- tlshell/tlshell.tcl \
180+- ulqda/ulqda.pl \
181+- urlbst/urlbst \
182+- vpe/vpe.pl \
183+- webquiz/webquiz.py \
184+- xindex/xindex.lua \
185+- yplan/yplan
186+-
187+-texmf_context_scripts = \
188+- context/stubs/unix/context \
189+- context/stubs/unix/contextjit \
190+- context/stubs/unix/luatools \
191+- context/stubs/unix/mtxrun \
192+- context/stubs/unix/mtxrunjit \
193+- context/stubs/unix/texexec \
194+- context/stubs/unix/texmfstart
195++ texlive/updmap.pl
196+
197+ EXTRA_DIST += \
198+ context/stubs/unix/ctxtools \
199+@@ -248,21 +89,15 @@
200+
201+ nobase_dist_texmf_scripts_SCRIPTS = \
202+ $(texmf_shell_scripts) \
203+- $(texmf_other_scripts) \
204+- $(texmf_context_scripts)
205++ $(texmf_other_scripts)
206+
207+ ## Symlinks within $(bindir): FILE:LINK here means "ln -s FILE LINK" is done.
208+ bin_links = \
209+ allcm:allec \
210+- cluttex:clxelatex \
211+- cluttex:cllualatex \
212+- epstopdf:repstopdf \
213+ fmtutil:mktexfmt \
214+ kpsetool:kpsexpand \
215+ kpsetool:kpsepath \
216+- mktexlsr:texhash \
217+- pdfcrop:rpdfcrop \
218+- texdef:latexdef
219++ mktexlsr:texhash
220+
221+ #
222+ # The idea is to install the scripts themselves in texmf*/scripts, and
223+diff -aurN texlive-20200406-source.orig/texk/texlive/tl_support/Makefile.am texlive-20200406-source/texk/texlive/tl_support/Makefile.am
224+--- texlive-20200406-source.orig/texk/texlive/tl_support/Makefile.am 2020-02-01 03:59:27.000000000 +0900
225++++ texlive-20200406-source/texk/texlive/tl_support/Makefile.am 2021-02-09 13:17:37.627770411 +0900
226+@@ -11,9 +11,6 @@
227+ allcm.1 \
228+ allec.1 \
229+ allneeded.1 \
230+- dvi2fax.1 \
231+- dvired.1 \
232+- e2pall.1 \
233+ fmtutil.1 \
234+ fmtutil.cnf.5 \
235+ fontinst.1 \
236+@@ -23,10 +20,6 @@
237+ mktexmf.1 \
238+ mktexpk.1 \
239+ mktextfm.1 \
240+- ps2frag.1 \
241+- pslatex.1 \
242+- rubibtex.1 \
243+- rumakeindex.1 \
244+ texconfig.1 \
245+ texlinks.1 \
246+ updmap.1 \
--- /dev/null
+++ b/BLFS/texlive-minimal.sh
@@ -0,0 +1,159 @@
1+#!/bin/sh
2+
3+. ./_blfsset.sh
4+
5+INSTALL_PREFIX=/opt/texlive-minimal
6+mkdir -p $INSTALL_PREFIX
7+
8+APPNAME=texlive
9+APPNAME2=texlive-minimal
10+VER=20200406
11+TARGET=$APPNAME-$VER
12+TARGET2=$APPNAME2-$VER
13+TARGETBALL=$DLD/$APPNAME-$VER-source.tar.xz
14+TARGETDIR=$TARGET-source
15+TARGETDIR2=$TARGET2
16+
17+echo $TARGET
18+
19+. $WRK/_checkRequired.sh ""
20+. $WRK/_checkOptions.sh ""
21+. $WRK/_checkTarball.sh
22+. $WRK/_checkExit.sh "$1" || exit $?
23+
24+cd $SRC
25+rm -fr $TARGETDIR2
26+mkdir -p $TARGETDIR2
27+tar xf $TARGETBALL --strip-components 1 -C $TARGETDIR2 \
28+ $TARGETDIR/{am,build-aux,m4,texk/{kpathsea,ptexenc,tests/TeXLive,texlive,web2c},version.ac}
29+
30+TimeStart
31+
32+cd $TARGETDIR2
33+
34+function do_kpathsea() {
35+pushd texk/kpathsea >/dev/null
36+echo Kpathsea: Configuring...
37+./configure --prefix=$INSTALL_PREFIX \
38+ --datarootdir=$INSTALL_PREFIX \
39+ --disable-static \
40+ 1> $LOG/$TARGET2-kpathsea.1_conf.log 2>&1 || exit 1
41+echo Kpathsea: Making...
42+make \
43+ 1> $LOG/$TARGET2-kpathsea.2_make.log 2>&1 || exit 1
44+echo Kpathsea: Installing...
45+porg -lp $TARGET2 "\
46+make install" \
47+ 1> $LOG/$TARGET2-kpathsea.3_install.log 2>&1 || exit 1
48+
49+sed -i.orig -e "/^TEXMFROOT/s|\$SELFAUTOPARENT|$INSTALL_PREFIX|" \
50+ $INSTALL_PREFIX/texmf-dist/web2c/texmf.cnf
51+
52+popd >/dev/null
53+}
54+
55+function do_ptexenc() {
56+pushd texk/ptexenc >/dev/null
57+echo Ptexenc: Configuring...
58+./configure --prefix=$INSTALL_PREFIX \
59+ --datarootdir=$INSTALL_PREFIX \
60+ --disable-static \
61+ 1> $LOG/$TARGET2-ptexenc.1_conf.log 2>&1 || exit 1
62+echo Ptexenc: Making...
63+make \
64+ 1> $LOG/$TARGET2-ptexenc.2_make.log 2>&1 || exit 1
65+echo Ptexenc: Installing...
66+porg -lp+ $TARGET2 -E`pwd` "\
67+make install" \
68+ 1> $LOG/$TARGET2-ptexenc.3_install.log 2>&1 || exit 1
69+popd >/dev/null
70+}
71+
72+function do_web2c() {
73+pushd texk/web2c >/dev/null
74+echo Web2c: Configuring...
75+./configure --prefix=$INSTALL_PREFIX \
76+ --datarootdir=$INSTALL_PREFIX \
77+ --enable-shared \
78+ --disable-static \
79+ --without-x \
80+ --with-system-zlib \
81+ --disable-native-texlive-build \
82+ --with-banner-add=" - minimal" \
83+ 1> $LOG/$TARGET2-web2c.1_conf.log 2>&1 || exit 1
84+echo Web2c: Making...
85+make -j1 ctangle ctie cweave tex ptex \
86+ 1> $LOG/$TARGET2-web2c.2_make.log 2>&1 || exit 1
87+echo Web2c: Installing...
88+porg -lp+ $TARGET2 "\
89+cp ctangle ctie cweave tex ptex $INSTALL_PREFIX/bin" \
90+ 1> $LOG/$TARGET2-web2c.3_install.log 2>&1 || exit 1
91+popd >/dev/null
92+}
93+
94+function do_texlive() {
95+echo Texlive: Patching...
96+patch -Np1 -i $WRK/texlive-20200406-source-minimal.patch \
97+ 1> $LOG/$TARGET2-texlive.0_patch.log 2>&1 || exit 1
98+pushd texk/texlive >/dev/null
99+echo Texlive: Autoreconfing...
100+autoreconf \
101+ 1> $LOG/$TARGET2-texlive.0_reconf.log 2>&1 || exit 1
102+echo Texlive: Configuring...
103+./configure --prefix=$INSTALL_PREFIX \
104+ --datarootdir=$INSTALL_PREFIX \
105+ 1> $LOG/$TARGET2-texlive.1_conf.log 2>&1 || exit 1
106+echo Texlive: Making...
107+make \
108+ 1> $LOG/$TARGET2-texlive.2_make.log 2>&1 || exit 1
109+echo Texlive: Installing...
110+porg -lp+ $TARGET2 "\
111+make install" \
112+ 1> $LOG/$TARGET2-texlive.3_install.log 2>&1 || exit 1
113+popd >/dev/null
114+}
115+
116+function do_tlpkg() {
117+mkdir -p $INSTALL_PREFIX/tlpkg/TeXLive
118+pushd texk/tests/TeXLive >/dev/null
119+echo Tlpkg: Installing...
120+porg -lp+ $TARGET2 "\
121+cp -pv * $INSTALL_PREFIX/tlpkg/TeXLive" \
122+ 1> $LOG/$TARGET2-tlpkg.3_install.log 2>&1 || exit 1
123+popd >/dev/null
124+}
125+
126+do_kpathsea
127+do_ptexenc
128+do_web2c
129+do_texlive
130+do_tlpkg
131+
132+TimeEnd
133+
134+cd ..
135+#rm -fr $TARGETDIR2
136+PorgingDone
137+
138+echo
139+echo Add the following in the /etc/profile.d/extrapaths.sh:
140+echo ------------------------------------------------------------
141+echo \# Begin texlive addition
142+echo
143+echo pathappend $INSTALL_PREFIX/texmf-dist/doc/man MANPATH
144+echo pathappend $INSTALL_PREFIX/texmf-dist/doc/info INFOPATH
145+echo pathappend $INSTALL_PREFIX/bin
146+echo
147+echo \# End texlive addition
148+echo ------------------------------------------------------------
149+
150+echo
151+echo And also add the following in the /etc/ld.so.conf:
152+echo ------------------------------------------------------------
153+echo \# Begin texlive 2020 addition
154+echo
155+echo $INSTALL_PREFIX/lib
156+echo
157+echo \# End texlive 2020 addition
158+echo ------------------------------------------------------------
159+
--- /dev/null
+++ b/BLFS/texmfset-full.sh
@@ -0,0 +1,12 @@
1+#!/bin/sh
2+
3+TARGET2=texmf-full
4+
5+TGTTOPDIR=/opt/texlive-full
6+mkdir -p $TGTTOPDIR
7+
8+TARBALL=/mnt/lfs/download/BLFS/texlive-20210325-texmf.tar.xz
9+
10+porg -lp $TARGET2 "\
11+tar -xf $TARBALL -C $TGTTOPDIR --strip-components=1 \
12+"
--- /dev/null
+++ b/BLFS/texmfset-minimal.sh
@@ -0,0 +1,24 @@
1+#!/bin/sh
2+
3+TARGET2=texmf-minimal
4+
5+TGTTOPDIR=/opt/texlive-minimal
6+mkdir -p $TGTTOPDIR
7+
8+TOPDIR=texlive-20200406-texmf
9+TARBALL=/mnt/lfs/download/BLFS/$TOPDIR.tar.xz
10+
11+TARFILES="\
12+ $TOPDIR/texmf-dist/fonts/tfm/public/{cm,knuth-lib} \
13+ $TOPDIR/texmf-dist/scripts/texlive/mktexlsr.pl \
14+ $TOPDIR/texmf-dist/tex/generic/hyphen \
15+ $TOPDIR/texmf-dist/tex/plain/base \
16+ $TOPDIR/texmf-dist/tex/plain/config/tex.ini \
17+"
18+TARFILES+="\
19+ $TOPDIR/texmf-dist/fonts/tfm/ptex-fonts \
20+ $TOPDIR/texmf-dist/tex/ptex \
21+"
22+porg -lp $TARGET2 "\
23+tar -xf $TARBALL -C $TGTTOPDIR --strip-components=1 $TARFILES"
24+
--- /dev/null
+++ b/BLFS/triehash.sh
@@ -0,0 +1,36 @@
1+#!/bin/sh
2+
3+. ./_blfsset.sh
4+
5+APPNAME=triehash
6+VER=0.3
7+TARGET=$APPNAME-$VER
8+TARGETBALL=$DLD/${APPNAME}_$VER.orig.tar.gz
9+TARGETDIR=$TARGET
10+
11+echo $TARGET
12+
13+. $WRK/_checkRequired.sh ""
14+. $WRK/_checkOptions.sh ""
15+. $WRK/_checkTarball.sh
16+. $WRK/_checkExit.sh "$1" || exit $?
17+
18+cd $SRC
19+RemoveSrcDir
20+Extract
21+
22+TimeStart
23+
24+cd $TARGETDIR
25+
26+Installing
27+porg -lp $TARGET "\
28+cp triehash.pl /usr/bin/triehash" \
29+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
30+
31+TimeEnd
32+
33+cd ..
34+RemoveSrcDir
35+PorgingDone
36+
--- /dev/null
+++ b/BLFS/wireshark.sh
@@ -0,0 +1,68 @@
1+#!/bin/sh
2+
3+. ./_blfsset.sh
4+
5+APPNAME=wireshark
6+VER=3.6.2
7+TARGET=$APPNAME-$VER
8+TARGETBALL=$DLD/$TARGET.tar.xz
9+TARGETDIR=$TARGET
10+
11+echo $TARGET
12+
13+. $WRK/_checkRequired.sh \
14+ cmake glib libgcrypt qt-5 \
15+ libpcap
16+. $WRK/_checkOptions.sh ""
17+. $WRK/_checkTarball.sh
18+. $WRK/_checkExit.sh "$1" || exit $?
19+
20+cd $SRC
21+RemoveSrcDir
22+Extract
23+
24+TimeStart
25+
26+cd $TARGETDIR
27+
28+groupadd -g 62 wireshark
29+
30+mkdir build
31+cd build
32+
33+echo CMaking...
34+cmake -DCMAKE_INSTALL_PREFIX=/usr \
35+ -DCMAKE_BUILD_TYPE=Release \
36+ -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/wireshark-$VER \
37+ -G Ninja \
38+ .. \
39+ 1> $LOG/$TARGET.1_cmake.log 2>&1 || exit 1
40+
41+Making
42+ninja \
43+ 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1
44+
45+Installing
46+porg -lp $TARGET "ninja install" \
47+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
48+
49+install -v -m755 -d /usr/share/doc/wireshark-$VER
50+porg -lp+ $TARGET "\
51+install -v -m644 \
52+ ../README.linux ../doc/README.* ../doc/{*.pod,randpkt.txt} \
53+ /usr/share/doc/wireshark-$VER" \
54+ 1>> $LOG/$TARGET.3_install.log 2>&1 || exit 1
55+
56+pushd /usr/share/doc/wireshark-$VER &&
57+ for FILENAME in ../../wireshark/*.html; do
58+ ln -s -v -f $FILENAME .
59+ done &&
60+popd
61+unset FILENAME
62+
63+TimeEnd
64+
65+cd ..
66+RemoveSrcDir
67+PorgingDone
68+
--- /dev/null
+++ b/BLFS/wpebackend-fdo.sh
@@ -0,0 +1,48 @@
1+#!/bin/sh
2+
3+. ./_blfsset.sh
4+
5+APPNAME=wpebackend-fdo
6+VER=1.12.0
7+TARGET=$APPNAME-$VER
8+TARGETBALL=$DLD/$TARGET.tar.xz
9+TARGETDIR=$TARGET
10+
11+echo $TARGET
12+
13+. $WRK/_checkRequired.sh \
14+ libepoxy libwpe wayland-protocols
15+. $WRK/_checkOptions.sh ""
16+. $WRK/_checkTarball.sh
17+. $WRK/_checkExit.sh "$1" || exit $?
18+
19+cd $SRC
20+RemoveSrcDir
21+Extract
22+
23+TimeStart
24+
25+cd $TARGETDIR
26+
27+mkdir build
28+cd build
29+
30+Configuring
31+meson --prefix=/usr --buildtype=release .. \
32+ 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1
33+
34+Making
35+ninja \
36+ 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1
37+
38+Installing
39+porg -lp $TARGET -E$PWD "\
40+ninja install" \
41+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
42+
43+TimeEnd
44+
45+cd ../..
46+RemoveSrcDir
47+PorgingDone
48+
--- /dev/null
+++ b/BLFS/x265.sh
@@ -0,0 +1,50 @@
1+#!/bin/sh
2+
3+. ./_blfsset.sh
4+
5+APPNAME=x265
6+VER=20220219
7+TARGET=$APPNAME-$VER
8+TARGETBALL=$DLD/$TARGET.tar.xz
9+TARGETDIR=$TARGET
10+
11+echo $TARGET
12+
13+. $WRK/_checkRequired.sh \
14+ cmake
15+. $WRK/_checkOptions.sh \
16+ yasm
17+. $WRK/_checkTarball.sh
18+. $WRK/_checkExit.sh "$1" || exit $?
19+
20+cd $SRC
21+RemoveSrcDir
22+Extract
23+
24+TimeStart
25+
26+cd $TARGETDIR
27+
28+Configuring
29+mkdir bld && cd bld
30+cmake -DCMAKE_INSTALL_PREFIX=/usr ../source \
31+ 1> $LOG/$TARGET.1_conf.log 2>&1 || exit 1
32+
33+Making
34+make \
35+ 1> $LOG/$TARGET.2_make.log 2>&1 || exit 1
36+
37+Installing
38+porg -lp $TARGET "\
39+make install" \
40+ 1> $LOG/$TARGET.3_install.log 2>&1 || exit 1
41+porg -lp+ $TARGET "\
42+rm -vf /usr/lib/libx265.a" \
43+ 1>> $LOG/$TARGET.3_install.log 2>&1 || exit 1
44+
45+TimeEnd
46+
47+cd ..
48+RemoveSrcDir
49+PorgingDone
50+