Compare commits

...

5 Commits

203 changed files with 1718 additions and 1432 deletions

View File

@ -3,6 +3,7 @@
Simple script that, as of right now, builds Freon Linux distribution that is shipped with glibc, busybox, and a hand full of other utilities.
Changelog:
* v0.6.0: Additional packages added to repository. Updated OS mirror.txt file for mirror.freonlinux.com. Includes package information files in pkginfo/
* v0.5.0: Removed TCC, and slowly will be making build-extensions obsolete. As for now, dropbear, chttpd, sic, ii, busybox, glibc, libz, and grub are built into the distribution. Working & building on a Debian testing (bullseye) x86_64 install. Kernel update to 5.9.1, busybox update to 1.32.0, and added some IRC related programs.
* v0.4.2: Adding some functionality to thaw (package manager). Using TinyCoreLinux 9.x package repository for some extension to the OS without bloating the disk size.
* v0.4.1: Added a couple of utilities to build-extensions. dropbear SSH2 client, htop, as well as reconfiguring chttpd for web hosting.

File diff suppressed because it is too large Load Diff

View File

@ -7,6 +7,9 @@ workdir=`pwd`
freondir="/freon"
corecount=25
# Common mirror (now self hosted)
mainmirror="https://mirror.freonlinux.com/source"
# Download mirrors
syslinuxmirror="https://www.kernel.org/pub/linux/utils/boot/syslinux"
kernelmirror="https://cdn.kernel.org/pub/linux/kernel/v5.x"
@ -117,37 +120,37 @@ get_files()
echo -e "[$YELLOW Working $NORMAL] Downloading needed files..."
if [ ! -f $kernel ]; then
echo -n "$kernel..."
wget $kernelmirror/$kernel > /dev/null 2>&1
wget $mainmirror/$kernel > /dev/null 2>&1
status
fi
if [ ! -f $busybox ]; then
echo -n "$busybox..."
wget $busyboxmirror/$busybox > /dev/null 2>&1
wget $mainmirror/$busybox > /dev/null 2>&1
status
fi
if [ ! -f $syslinux ]; then
echo -n "$syslinux..."
wget $syslinuxmirror/$syslinux > /dev/null 2>&1
wget $mainmirror/$syslinux > /dev/null 2>&1
status
fi
if [ ! -f $xz ]; then
echo -n "$xz..."
wget $xzmirror/$xz > /dev/null 2>&1
wget $mainmirror/$xz > /dev/null 2>&1
status
fi
if [ ! -f $libc ]; then
echo -n "$libc..."
wget $libcmirror/$libc > /dev/null 2>&1
wget $mainmirror/$libc > /dev/null 2>&1
status
fi
if [ ! -f $grub ]; then
echo -n "$grub..."
wget $grubmirror/$grub > /dev/null 2>&1
wget $mainmirror/$grub > /dev/null 2>&1
status
fi
@ -313,7 +316,7 @@ do_libc()
--build=$MACHTYPE \
--host=x86_64-linux \
--target=x86_64-linux
#--with-headers=../$kerneldir/_hdr/include
--with-headers=_hdr/include
status
else
`pwd`/../$libcdir/configure \
@ -321,7 +324,7 @@ do_libc()
--build=$MACHTYPE \
--host=x86_64-linux \
--target=x86_64-linux > /dev/null 2>&1
#--with-headers=../$kerneldir/_hdr/include > /dev/null 2>&1
--with-headers=_hdr/include > /dev/null 2>&1
status
fi

View File

@ -40,16 +40,15 @@ case $1 in
cp deps/$1.exec $tmpdir/execute.sh
fi
cp -av $freondir $tmpdir/.
cp -a $freondir $tmpdir/.
cd $tmpdir
tar -czf $1.tgz *
cp $1.tgz $pkgdir/$1.tgz
rm -rf $tmpdir
tar -czf $1.tgz *
cp $1.tgz $pkgdir/$1.tgz
cd ..
rm -rf $tmpdir
echo "Done!"
;;
esac

2
deps/gcc.deps vendored
View File

@ -3,3 +3,5 @@ mpfr
mpc
gmp
isl
libgcc
glibc-dev

1
deps/hexchat.deps vendored
View File

@ -2,3 +2,4 @@ gtk2
xlibs
notify
menu-cache
openssl

2
deps/jwm.deps vendored
View File

@ -1,3 +1,5 @@
xlibs
tinyx
xcb
cairo
pcre

3
deps/lostirc.deps vendored
View File

@ -1,3 +0,0 @@
xlibs
gtk2
gtk2mm

3
deps/nmap.deps vendored Normal file
View File

@ -0,0 +1,3 @@
pcre
openssl
libgcc

1
deps/readline.deps vendored Normal file
View File

@ -0,0 +1 @@
ncurses

2
deps/saircd.deps vendored Normal file
View File

@ -0,0 +1,2 @@
sqlite3
pcre

3
deps/socat.deps vendored Normal file
View File

@ -0,0 +1,3 @@
ncurses
readline
openssl

6
deps/x.deps vendored Normal file
View File

@ -0,0 +1,6 @@
tinyx
gtk2
dfm
hexchat
jwm
rxvt

View File

@ -5,17 +5,19 @@
<RootMenu onroot="12">
<Program icon="terminal.png" label="Terminal">rxvt</Program>
<Menu icon="folder.png" label="Applications">
<Program icon="folder.png" label="File Manager">dfm</Program>
<Program icon="chat.png" label="Hexchat">hexchat</Program>
<Program icon="www.png" label="Netsurf">netsurf-gtk2</Program>
<Program icon="editor.png" label="Edit">rxvt -e vi</Program>
<Program icon="editor.png" label="XEdit">rxvt -e vi</Program>
</Menu>
<Menu icon="folder.png" label="Utilities">
<Program label="Process Manager">rxvt -e top</Program>
<Program icon="window.png" label="File Manager">
dfm
</Program>
<Program icon="font.png" label="Process Manager">rxvt -e top</Program>
</Menu>
<Separator/>
<Program icon="lock.png" label="Lock">
xlock -mode blank
</Program>
<Separator/>
<Restart label="Restart" icon="restart.png"/>
<Exit label="Exit" confirm="true" icon="quit.png"/>
</RootMenu>
@ -30,7 +32,7 @@
<Option>sticky</Option>
</Group>
<Group>
<Name>rxvt</Name>
<Name>xterm</Name>
<Option>vmax</Option>
</Group>
<Group>
@ -68,16 +70,16 @@
<Opacity>0.5</Opacity>
<Active>
<Foreground>#FFFFFF</Foreground>
<Background>#4477dd</Background>
<Outline>#343434</Outline>
<Background>#0077CC</Background>
<Outline>#000000</Outline>
<Opacity>1.0</Opacity>
</Active>
</WindowStyle>
<TrayStyle group="true" list="all">
<Font>Sans-9</Font>
<Background>#141414</Background>
<Foreground>#DDDDDD</Foreground>
<Outline>#343434</Outline>
<Background>#333333</Background>
<Foreground>#FFFFFF</Foreground>
<Outline>#000000</Outline>
<Opacity>0.75</Opacity>
</TrayStyle>
<TaskListStyle>
@ -95,8 +97,8 @@
<Background>#333333</Background>
<Text>#FFFFFF</Text>
<Active>
<Foreground>#4477CC</Foreground>
<Background>#5599FF</Background>
<Foreground>#0077CC</Foreground>
<Background>#004488</Background>
</Active>
</PagerStyle>
<MenuStyle>
@ -106,7 +108,7 @@
<Outline>#000000</Outline>
<Active>
<Foreground>#FFFFFF</Foreground>
<Background>#4477DD</Background>
<Background>#0077CC</Background>
</Active>
<Opacity>0.85</Opacity>
</MenuStyle>

View File

@ -1 +1 @@
http://www.freonlinux.com/files/packages
http://mirror.freonlinux.com/packages

90
package-html-gen Executable file
View File

@ -0,0 +1,90 @@
#!/bin/bash
# Build freon's package.list
# Version: 0.0.1
# (C) Chris Dorman, 2020 GPLv3+
HTDOCSPATH="/opt/htdocs/freon"
OUTPUTFILE="packages.html"
mirrorurl="https://mirror.freonlinux.com"
### HEADER HTML
HEADERHTML="<!DOCTYPE html>
<html>
<head>
<title>Freon Linux ~ Package list</title>
<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
<link rel=\"stylesheet\" type=\"text/css\" href=\"style.css\">
</head>
<body>
<div id=\"navcontainer\">
<div id=\"navbar\"><!--
--><a href=\"index.html\">Home</a><!--
--><a href=\"https://mirror.freonlinux.com\">Files</a><!--
--><a href=\"https://notabug.org/Pentium44/FreonLinux\">Compile</a><!--
--><a href=\"wiki.html\">Wiki</a><!--
--><a href=\"packages.html\">Repo</a><!--
--></div>
</div>
<div id=\"contentcontainer\">
<div id=\"content\">
<table class=\"sidebar\">
<tr>
<td class=\"contentbody\">
<h2>Freon Linux ~ Packages</h2>
<p>"
### FOOTER HTML
FOOTERHTML="</p>
<h3>Package sources</h3>
<p>All of our sources can be found <a href=\"$mirrorurl/source/packages\">here</a>
or in our <a href=\"https://notabug.org/Pentium44/FreonLinux\">notabug.org repository</a></p>
</tr>
</table>
</div>
<div id=\"footer\">
&copy; Freon Linux, 2018-2021 GPLv3 (Software provided in Freon is subject to their own license agreements)
</div>
</div>
</body>
</html>"
echo "MAKE SURE THE ONLY .tgz FILES ARE PACKAGES IN THE REPO WITHIN THE SAME DIRECTORY OF THIS FILE!"
sleep 1
echo $HEADERHTML > $HTDOCSPATH/$OUTPUTFILE
echo "<ul>" >> $HTDOCSPATH/$OUTPUTFILE
for f in *.tgz
do
filename=${f%.tgz}
pkgdesc=$(cat ../pkginfo/$filename.txt)
echo "<li><a href='$mirrorurl/packages/$filename.tgz'>$filename</a> $pkgdesc" >> $HTDOCSPATH/$OUTPUTFILE
if [ -f ../deps/$filename.deps ]; then
echo "<br /><span style='font-size:12px;'>dependencies:" >> $HTDOCSPATH/$OUTPUTFILE
last_line=$(wc -l < ../deps/$filename.deps)
current_line=0
while IFS= read -r line
do
current_line=$(($current_line + 1))
if [[ $current_line -ne $last_line ]]; then
echo "<a href='$mirrorurl/packages/$line.tgz'>$line</a>, " >> $HTDOCSPATH/$OUTPUTFILE
else
echo "<a href='$mirrorurl/packages/$line.tgz'>$line</a>.</span></li>" >> $HTDOCSPATH/$OUTPUTFILE
fi
done < "../deps/$filename.deps"
else
echo "</li>" >> $HTDOCSPATH/$OUTPUTFILE
fi
done
echo "</ul>" >> $HTDOCSPATH/$OUTPUTFILE
echo $FOOTERHTML >> $HTDOCSPATH/$OUTPUTFILE

22
pkgbuild/0verkill.build Executable file
View File

@ -0,0 +1,22 @@
cd $tmpdir
# Downloading 0verkill source
if [ ! -f "$overkill" ]; then
echo "Downloading 0verkill sources..."
wget $mainmirror/$overkill
tar -xf $overkill
fi
cd $overkillsrcdir
./configure
make -j$corecount
mkdir -p $freondir/bin
mkdir -p $freondir/sbin
cp 0verkill $freondir/bin/.
cp server $freondir/sbin/0verkill-server
cd ..

23
pkgbuild/atk.build Executable file
View File

@ -0,0 +1,23 @@
cd $tmpdir
# Grab sources for libexpat
if [ ! -d $atksrcdir ]; then
wget $atkmirror/$atk
tar -xf $atk
fi
cd $atksrcdir
if [ ! -d "make-atk" ]; then
mkdir make-atk
cd make-atk
else
cd make-atk
fi
meson --prefix=$freondir .. &&
ninja
ninja install
cd $tmpdir

17
pkgbuild/bash.build Executable file
View File

@ -0,0 +1,17 @@
cd $tmpdir
# Downloading TCC source
if [ ! -f "$bash" ]; then
echo "Downloading bash sources..."
wget $bashmirror/$bash
tar -xf $bash
fi
cd $bashsrcdir
./configure --prefix=$freondir --without-bash-malloc
make -j$corecount
make install
cd ..

25
pkgbuild/binutils.build Executable file
View File

@ -0,0 +1,25 @@
cd $tmpdir
# Downloading binutils sources
if [ ! -f "$binutils" ]; then
echo "Downloading binutils sources..."
wget $binutilsmirror/$binutils
tar -xf $binutils
fi
# Configure Binutils
if [ ! -d "${binutilssrcdir}-build" ]; then
mkdir ${binutilssrcdir}-build
fi
cd ${binutilssrcdir}-build
../$binutilssrcdir/configure --prefix=$freondir --enable-shared
make tooldir=$freondir -j$corecount
make tooldir=$freondir install
cp -v ../$binutilssrcdir/include/libiberty.h $freondir/include
cd $tmpdir

26
pkgbuild/bz2.build Executable file
View File

@ -0,0 +1,26 @@
cd $tmpdir
# Grab latest sources bzip2
if [ ! -d $bz2srcdir ]; then
wget $bz2mirror/$bz2
tar -xf $bz2
fi
cd $bz2srcdir
make -f Makefile-libbz2_so
make clean
make -j$corecount
make PREFIX=$freondir install
cp bzip2-shared $freondir/bin/bzip2
cp -a libbz2.so* $freondir/lib
cd $freondir/lib
ln -s libbz2.so.* libbz2.so
cd $tmpdir

17
pkgbuild/cairo.build Executable file
View File

@ -0,0 +1,17 @@
cd $tmpdir
# Grab sources for cairo
if [ ! -d $cairosrcdir ]; then
wget $cairomirror/$cairo
tar -xf $cairo
fi
cd $cairosrcdir
./configure --prefix=$freondir --disable-static
make -j$corecount
make install
cd $tmpdir

7
pkgbuild/dfm.build Executable file
View File

@ -0,0 +1,7 @@
cd $systemdir/dfm
make
make install
cd $tmpdir

7
pkgbuild/dvtm.build Executable file
View File

@ -0,0 +1,7 @@
cd $systemdir/dvtm
make -j$corecount
make install
cd $tmpdir

15
pkgbuild/elfutils.build Executable file
View File

@ -0,0 +1,15 @@
cd $tmpdir
if [ ! -d "elfutils" ]; then
git clone $elfutilsmirror
fi
cd elfutils
./configure --prefix=$freondir --disable-static --enable-shared
make
make install
cd $tmpdir

17
pkgbuild/expat.build Executable file
View File

@ -0,0 +1,17 @@
cd $tmpdir
# Grab sources for libexpat
if [ ! -d $expatsrcdir ]; then
wget $expatmirror/$expat
tar -xf $expat
fi
cd $expatsrcdir
./configure --prefix=$freondir
make -j$corecount
make install
cd $tmpdir

17
pkgbuild/ffi.build Executable file
View File

@ -0,0 +1,17 @@
cd $tmpdir
# Grab sources for libffi
if [ ! -d $ffisrcdir ]; then
wget $ffimirror/$ffi
tar -xf $ffi
fi
cd $ffisrcdir
./configure --prefix=$freondir --disable-static
make -j$corecount
make install
cd $tmpdir

7
pkgbuild/fixedfonts.build Executable file
View File

@ -0,0 +1,7 @@
cd $systemdir/fonts
mkdir -p $freondir/lib/X11/fonts
cp -a * $freondir/lib/X11/fonts
cd ..

24
pkgbuild/fontconfig.build Executable file
View File

@ -0,0 +1,24 @@
cd $tmpdir
# Grab latest sources font config
if [ ! -d $fontconfigsrcdir ]; then
wget $fontconfigmirror/$fontconfig
tar -xf $fontconfig
fi
cd $fontconfigsrcdir
./configure --prefix=$freondir \
--sysconfdir=$freondir/etc \
--localstatedir=$freondir/var \
--disable-docs
make -j$corecount
make install
cd $freondir/etc/fonts
cp $tmpdir/../files/etc/fonts/fonts.conf .
cd $tmpdir

19
pkgbuild/fox.build Executable file
View File

@ -0,0 +1,19 @@
cd $tmpdir
# Grab sources for libfox
if [ ! -d $foxsrcdir ]; then
wget $foxmirror/$fox
tar -xf $fox
fi
cd $foxsrcdir
./configure --prefix=$freondir \
--with-opengl=no \
--disable-jpeg \
--disable-tiff
make -j$corecount
make install
cd $tmpdir

17
pkgbuild/freetype.build Executable file
View File

@ -0,0 +1,17 @@
cd $tmpdir
# Grab latest sources for freetype
if [ ! -d $freetypesrcdir ]; then
wget $freetypemirror/$freetype
tar -xf $freetype
fi
cd $freetypesrcdir
./configure --prefix=$freondir --disable-static
make -j$corecount
make install
cd $tmpdir

17
pkgbuild/fribidi.build Executable file
View File

@ -0,0 +1,17 @@
cd $tmpdir
# Grab latest sources for libfribidi
if [ ! -d $fribidisrcdir ]; then
wget $fribidimirror/$fribidi
tar -xf $fribidi
fi
cd $fribidisrcdir
./configure --prefix=$freondir
make -j$corecount
make install
cd $tmpdir

29
pkgbuild/gcc.build Executable file
View File

@ -0,0 +1,29 @@
cd $tmpdir
# Downloading GCC source
if [ ! -f "$gcc" ]; then
echo "Downloading GCC sources..."
wget $gccmirror/$gcc
tar -xf $gcc
fi
cd $gccsrcdir
mkdir -v build
cd build
SED=sed
../configure --prefix=$freondir \
--enable-languages=c,c++ \
--disable-multilib \
--disable-bootstrap \
--with-system-zlib
# Compile
make -j$corecount
make install
cd $softwaredir
cd $tmpdir

17
pkgbuild/gdk-pixbuf.build Executable file
View File

@ -0,0 +1,17 @@
cd $tmpdir
# Grab sources for libexpat
if [ ! -d $gdkpixbufsrcdir ]; then
wget $gdkpixbufmirror/$gdkpixbuf
tar -xf $gdkpixbuf
fi
cd $gdkpixbufsrcdir
./configure --prefix=$freondir --with-x11
make -j$corecount
make install
cd $tmpdir

32
pkgbuild/glib2.build Executable file
View File

@ -0,0 +1,32 @@
cd $tmpdir
# Grab sources for libglib2
if [ ! -d $glib2srcdir ]; then
wget $glib2mirror/$glib2
tar -xf $glib2
fi
cd $glib2srcdir
if [ ! -d "make-glib" ]; then
mkdir make-glib
cd make-glib
else
cd make-glib
fi
meson --prefix=$freondir -Dwith-pcre=no -Dwith-docs=no .. &&
ninja
ninja install
cd $freondir/lib/x86_64-linux-gnu
mv * ../
cd ../
rm -r x86_64-linux-gnu
cd $tmpdir

20
pkgbuild/gmp.build Executable file
View File

@ -0,0 +1,20 @@
cd $tmpdir
# Download sources
if [ ! -f "$gmp" ]; then
echo "Downloading GNU gmp sources..."
wget $gmpmirror/$gmp
tar -xf $gmp
fi
# Configure and compile
cd $gmpsrcdir
./configure --prefix=$freondir --disable-static --enable-cxx
make -j$corecount
make install
cd ..

17
pkgbuild/gtk2.build Executable file
View File

@ -0,0 +1,17 @@
cd $tmpdir
# Grab latest sources for gtk2
if [ ! -d $gtk2srcdir ]; then
wget $gtk2mirror/$gtk2
tar -xf $gtk2
fi
cd $gtk2srcdir
./configure --prefix=$freondir --sysconfdir=$freondir/etc
make -j$corecount
make install
cd $tmpdir

23
pkgbuild/harfbuzz.build Executable file
View File

@ -0,0 +1,23 @@
cd $tmpdir
if [ ! -d $harfbuzzsrcdir ]; then
wget $harfbuzzmirror/$harfbuzz
tar -xf $harfbuzz
fi
mv harfbuzz-2.3.1 $harfbuzzsrcdir
cd $harfbuzzsrcdir
#./autogen.sh
./configure --prefix=$freondir \
--disable-static \
--enable-shared \
--without-graphite2
make -j20
make install
cd $tmpdir

19
pkgbuild/hexchat.build Executable file
View File

@ -0,0 +1,19 @@
cd $tmpdir
# Grab sources for hexchat
if [ ! -d $hexchatsrcdir ]; then
wget $hexchatmirror/$hexchat
tar -xf $hexchat
fi
cd $hexchatsrcdir
./autogen.sh
./configure --prefix=$freondir --disable-python --disable-lua --disable-perl
make
make install
cd $tmpdir

20
pkgbuild/htop.build Executable file
View File

@ -0,0 +1,20 @@
cd $tmpdir
# Downloading source
if [ ! -f "$htop" ]; then
echo "Downloading htop sources..."
wget $htopmirror/2.2.0.tar.gz
mv 2.2.0.tar.gz $htop
tar -xf $htop
fi
# Configure
cd $htopsrcdir
./autogen.sh
./configure --prefix=$freondir
# Compile
make -j20
make install
cd ..

17
pkgbuild/idn.build Executable file
View File

@ -0,0 +1,17 @@
cd $tmpdir
# Grab sources for libidn
if [ ! -d $idnsrcdir ]; then
wget $idnmirror/$idn
tar -xf $idn
fi
cd $idnsrcdir
./configure --prefix=$freondir
make -j$corecount
make install
cd $tmpdir

16
pkgbuild/ircii.build Executable file
View File

@ -0,0 +1,16 @@
cd $tmpdir
# Grab latest sources ircII
if [ ! -d $irciisrcdir ]; then
wget $irciimirror/$ircii
tar -xf $ircii
fi
cd $irciisrcdir
# Configure and build + install
./configure --prefix=$freondir
make -j20
make install
cd $tmpdir

20
pkgbuild/isl.build Executable file
View File

@ -0,0 +1,20 @@
cd $tmpdir
# Download sources
if [ ! -f "$isl" ]; then
echo "Downloading ISL sources..."
wget $islmirror/$isl
tar -xf $isl
fi
# Configure and compile
cd $islsrcdir
./configure --prefix=$freondir
make -j$corecount
make install
cd ..

17
pkgbuild/jobject-intro.build Executable file
View File

@ -0,0 +1,17 @@
cd $tmpdir
# Grab sources for gobject introspect
if [ ! -d $gobjectintrosrcdir ]; then
wget $gobjectintromirror/$gobjectintro
tar -xf $gobjectintro
fi
cd $gobjectintrosrcdir
./configure --prefix=$freondir --disable-static --with-python=python3
make -j$corecount
make install
cd $tmpdir

16
pkgbuild/jwm.build Executable file
View File

@ -0,0 +1,16 @@
cd $systemdir/jwm
./configure --prefix=$freondir \
--disable-rsvg \
--disable-jpeg \
--disable-shape \
make -j$corecount
make install
cd $freondir/etc
cp $tmpdir/../files/etc/system.jwmrc .
cd $tmpdir

17
pkgbuild/libbsd.build Executable file
View File

@ -0,0 +1,17 @@
cd $tmpdir
# Grab latest sources for freetype
if [ ! -d $libbsdsrcdir ]; then
wget $libbsdmirror/$libbsd
tar -xf $libbsd
fi
cd $libbsdsrcdir
./configure --prefix=$freondir --disable-static
make -j$corecount
make install
cd $tmpdir

19
pkgbuild/libfm.build Executable file
View File

@ -0,0 +1,19 @@
cd $tmpdir
# Grab sources for libfm
if [ ! -d $fmsrcdir ]; then
wget $fmmirror/$fm
tar -xf $fm
fi
cd $fmsrcdir
./configure --prefix=$freondir \
--sysconfdir=$freondir/etc \
--disable-static
make -j$corecount
make install
cd $tmpdir

40
pkgbuild/libgcc.build Executable file
View File

@ -0,0 +1,40 @@
cd $tmpdir
# Downloading GCC source
if [ ! -f "$gcc" ]; then
echo "Downloading GCC sources..."
wget $gccmirror/$gcc
tar -xf $gcc
fi
cd $gccsrcdir
mkdir -v build
cd build
SED=sed
../configure --prefix=$freondir \
--enable-languages=c,c++ \
--disable-multilib \
--disable-bootstrap \
--with-system-zlib
# Compile
make -j$corecount
make install
cd $softwaredir
if [ ! -d "freon-ext" ]; then
mkdir freon-ext
fi
cd freon-ext
cp -a $freondir/. .
rm lib/*.a
rm lib64/*.a
cd $tmpdir

9
pkgbuild/lostirc.build Executable file
View File

@ -0,0 +1,9 @@
cd $systemdir/lostirc
./configure --prefix=$freondir
make -j$corecount
make install
cd $tmpdir

17
pkgbuild/lynx.build Executable file
View File

@ -0,0 +1,17 @@
cd $tmpdir
# Grab sources for Lynx
if [ ! -d $lynxsrcdir ]; then
wget $lynxmirror/$lynx
tar -xf $lynx
fi
cd $lynxsrcdir
./configure --prefix=$freondir
make -j$corecount
make install
cd $tmpdir

17
pkgbuild/menu-cache.build Executable file
View File

@ -0,0 +1,17 @@
cd $tmpdir
# Grab sources for libmenu-cache
if [ ! -d $menucachesrcdir ]; then
wget $menucachemirror/$menucache
tar -xf $menucache
fi
cd $menucachesrcdir
./configure --prefix=$freondir --disable-static
make -j$corecount
make install
cd $tmpdir

16
pkgbuild/minftpd.build Executable file
View File

@ -0,0 +1,16 @@
cd $tmpdir
if [ ! -d "minFTPD" ]; then
git clone $ftpmirror
fi
cd minFTPD
make -j20
mkdir -p $freondir/sbin
mkdir -p $freondir/etc
cp minFTPD $freondir/sbin/.
cp miniFTPD.conf $freondir/etc/.
cd $tmpdir

18
pkgbuild/mpc.build Executable file
View File

@ -0,0 +1,18 @@
cd $tmpdir
# Download sources
if [ ! -f "$mpc" ]; then
echo "Downloading GNU mpc sources..."
wget $mpcmirror/$mpc
tar -xf $mpc
fi
cd $mpcsrcdir
./configure --prefix=$freondir --disable-static
make -j$corecount
make install
cd $tmpdir

20
pkgbuild/mpfr.build Executable file
View File

@ -0,0 +1,20 @@
cd $tmpdir
# Download sources
if [ ! -f "$mpfr" ]; then
echo "Downloading GNU mpfr sources..."
wget $mpfrmirror/$mpfr
tar -xf $mpfr
fi
# Configure and compile
cd $mpfrsrcdir
./configure --prefix=$freondir --disable-static --enable-thread-safe
make -j$corecount
make install
cd ..

17
pkgbuild/nano.build Executable file
View File

@ -0,0 +1,17 @@
cd $tmpdir
# Downloading nano source
if [ ! -f "$nano" ]; then
echo "Downloading nano editor sources..."
wget $nanomirror/$nano
tar -xf $nano
fi
# Configure
cd $nanosrcdir
./configure --prefix=$freondir
# Compile
make -j20
make install
cd ..

13
pkgbuild/nanoircd.build Executable file
View File

@ -0,0 +1,13 @@
cd $systemdir/nanoircd
# Compile
make
mkdir -p /freon/sbin
mkdir -p /freon/etc/init.d
make install
chmod +x /freon/etc/init.d/nanoircd
cd $tmpdir

44
pkgbuild/ncurses.build Executable file
View File

@ -0,0 +1,44 @@
cd $tmpdir
# Downloading nano source
if [ ! -f "$ncurses" ]; then
echo "Downloading ncurses sources..."
wget $ncursesmirror/$ncurses
tar -xf $ncurses
fi
# Configure
cd $ncursessrcdir
./configure --prefix=$freondir \
--with-shared \
--without-debug \
--without-normal \
--enable-widec
# Compile
make -j$corecount
make install
make distclean
./configure --prefix=$freondir \
--with-shared \
--without-normal \
--without-debug \
--without-cxx-binding \
--with-abi-version=5 \
--with-versioned-syms
make sources libs
cp -av lib/lib*.so.5* $freondir/lib
cd $freondir/lib
ln -s libncursesw.so.6 libtinfo.so.6
ln -s libtinfo.so.6 libtinfo.so
ln -s libncurses.so.5 libtinfo.so.5
ln -s libtinfo.so.5 libtinfo.so
ln -s libncursesw.so.6 libncursesw.so.5
cd $tmpdir

17
pkgbuild/netcat.build Executable file
View File

@ -0,0 +1,17 @@
cd $tmpdir
# Downloading nc source
if [ ! -f "$netcat" ]; then
echo "Downloading netcat sources..."
wget $mainmirror/$netcat
tar -xf $netcat
fi
cd $netcatsrcdir
./configure --prefix=$freondir
make -j$corecount
make install
cd ..

24
pkgbuild/netsurf.build Executable file
View File

@ -0,0 +1,24 @@
cd $tmpdir
# Grab latest sources for freetype
if [ ! -d $netsurfsrcdir ]; then
wget $netsurfmirror/$netsurf
tar -xf $netsurf
fi
cd $netsurfsrcdir
cat > env.sh <<'EOF'
#!/bin/sh
export PKG_CONFIG_PATH=/freon/lib/pkgconfig::
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/freon/lib
export PREFIX=/freon
EOF
chmod +x env.sh
./env.sh
make PREFIX=$freondir -j$corecount install
cd $tmpdir

17
pkgbuild/nmap.build Executable file
View File

@ -0,0 +1,17 @@
cd $tmpdir
# Downloading nmap source
if [ ! -f "$nmap" ]; then
echo "Downloading nmap sources..."
wget $mainmirror/$nmap
tar -xf $nmap
fi
cd $nmapsrcdir
./configure --prefix=$freondir
make -j$corecount
make install
cd ..

22
pkgbuild/notify.build Executable file
View File

@ -0,0 +1,22 @@
cd $tmpdir
# Grab sources for libnotify
if [ ! -d $notifysrcdir ]; then
wget $notifymirror/$notify
tar -xf $notify
fi
cd $notifysrcdir
sed -e 's/2.90/2.24/' -e 's/gtk+-3.0/gtk+-2.0/' -i configure.ac
autoreconf -fi
./configure --prefix=$freondir \
--disable-static
make -j$corecount
make install
cd $tmp

21
pkgbuild/openssl.build Executable file
View File

@ -0,0 +1,21 @@
cd $tmpdir
# Grab latest sources ircII
if [ ! -d $opensslsrcdir ]; then
wget $opensslmirror/$openssl
tar -xf $openssl
fi
cd $opensslsrcdir
./config --prefix=$freondir \
--openssldir=$freondir/etc/ssl \
--libdir=lib \
shared \
zlib-dynamic
make -j$corecount
make install
cd $tmpdir

18
pkgbuild/pacmanfm.build Executable file
View File

@ -0,0 +1,18 @@
cd $tmpdir
# Grab sources for PCManFM
if [ ! -d $pcmanfmsrcdir ]; then
wget $pcmanfmmirror/$pcmanfm
tar -xf $pcmanfm
fi
cd $pcmanfmsrcdir
./configure --prefix=$freondir \
--sysconfdir=$freondir/etc
make -j$corecount
make install
cd $tmp

17
pkgbuild/pango.build Executable file
View File

@ -0,0 +1,17 @@
cd $tmpdir
# Grab latest sources for libpango
if [ ! -d $pangosrcdir ]; then
wget $pangomirror/$pango
tar -xf $pango
fi
cd $pangosrcdir
./configure --prefix=$freondir
make -j$corecount
make install
cd $tmpdir

28
pkgbuild/pcre.build Executable file
View File

@ -0,0 +1,28 @@
cd $tmpdir
# Grab sources for pcre
if [ ! -d $pcresrcdir ]; then
wget $pcremirror/$pcre
tar -xf $pcre
fi
cd $pcresrcdir
./configure --prefix=$freondir \
--docdir=$freondir/share/doc/pcre-8.41 \
--enable-unicode-properties \
--enable-pcre16 \
--enable-pcre32 \
--enable-pcregrep-libz \
--enable-pcregrep-libbz2 \
--disable-static
make -j$corecount
make install
cd $freondir/lib
ln -s libpcre.so.1 libpcre.so.3 # For some programs within the package repo
cd $tmpdir

32
pkgbuild/php7.build Executable file
View File

@ -0,0 +1,32 @@
cd $tmpdir
# Downloading php7 source
if [ ! -f "$php7" ]; then
echo "Downloading php7 sources..."
wget $php7mirror/$php7
tar -xf $php7
fi
# Confingure
cd $php7srcdir
./configure --prefix=$freondir \
--sysconfdir=/freon/etc \
--localstatedir=/freon/var \
--datadir=/freon/share/php \
--mandir=/freon/share/man \
--with-config-file-path=/etc &&
# Compile
make -j20
make install
install -v -m644 php.ini-production /etc/php.ini &&
install -v -m755 -d /freon/share/doc/php-7.2.9 &&
install -v -m644 CODING_STANDARDS EXTENSIONS INSTALL NEWS README* UPGRADING* php.gif \
/freon/share/doc/php-7.2.9 &&
ln -v -sfn /freon/lib/php/doc/Archive_Tar/docs/Archive_Tar.txt \
/freon/share/doc/php-7.2.9 &&
ln -v -sfn /freon/lib/php/doc/Structures_Graph/docs \
/freon/share/doc/php-7.2.9
cd ..

17
pkgbuild/pixman.build Executable file
View File

@ -0,0 +1,17 @@
cd $tmpdir
# Grab sources for pixman
if [ ! -d $pixmansrcdir ]; then
wget $cairomirror/$pixman
tar -xf $pixman
fi
cd $pixmansrcdir
./configure --prefix=$freondir --disable-static
make -j$corecount
make install
cd $tmpdir

17
pkgbuild/png16.build Executable file
View File

@ -0,0 +1,17 @@
cd $tmpdir
# Grab latest sources for freetype
if [ ! -d $png16srcdir ]; then
wget $png16mirror/$png16
tar -xf $png16
fi
cd $png16srcdir
./configure --prefix=$freondir --disable-static
make -j$corecount
make install
cd $tmpdir

23
pkgbuild/readline.build Executable file
View File

@ -0,0 +1,23 @@
cd $tmpdir
# Downloading readline source
if [ ! -f "$readline" ]; then
echo "Downloading readline sources..."
wget $mainmirror/$readline
tar -xf $readline
fi
cd $readlinesrcdir
sed -i '/MV.*old/d' Makefile.in
sed -i '/{OLDSUFF}/c:' support/shlib-install
./configure --prefix=$freondir --disable-static --docdir=$freondir/share/doc/readline-8.1
make SHLIB_LIBS="-L/tools/lib -lncursesw" -j$corecount
make SHLIB_LIBS="-L/tools/lib -lncursesw" install
chmod -v u+w /freon/lib/lib{readline,history}.so.*
cd ..

9
pkgbuild/rxvt.build Executable file
View File

@ -0,0 +1,9 @@
cd $systemdir/rxvt
./configure --prefix=$freondir
make -j$corecount
make install
cd $tmpdir

19
pkgbuild/saircd.build Executable file
View File

@ -0,0 +1,19 @@
cd $tmpdir
git clone $saircdmirror
cd saircd
# Compile
make
mkdir -p $freondir/sbin
mkdir -p $freondir/etc/init.d
cp saircd $freondir/sbin
cp extra/default-saircd.conf $freondir/etc/saircd.conf
cp extra/rc.saircd $freondir/etc/init.d/saircd
chmod +x $freondir/etc/init.d/saircd
cd $tmpdir

15
pkgbuild/selinux.build Executable file
View File

@ -0,0 +1,15 @@
cd $tmpdir
# Grab sources for libidn
if [ ! -d libselinux-2.8 ]; then
wget $selinuxmirror/$selinux
tar -xf $selinux
fi
cd libselinux-2.8
make PREFIX=$freondir -j$corecount
make PREFIX=$freondir install
cd $tmpdir

17
pkgbuild/socat.build Executable file
View File

@ -0,0 +1,17 @@
cd $tmpdir
# Downloading socat source
if [ ! -f "$socat" ]; then
echo "Downloading socat sources..."
wget $mainmirror/$socat
tar -xf $socat
fi
cd $socatsrcdir
./configure --prefix=$freondir
make -j$corecount
make install
cd ..

28
pkgbuild/sqlite3.build Executable file
View File

@ -0,0 +1,28 @@
cd $tmpdir
# Downloading php7 source
if [ ! -f "$sqlite" ]; then
echo "Downloading sqlite sources..."
wget $sqlitemirror/$sqlite
tar -xf $sqlite
fi
cd $sqlitesrcdir
# Compile
./configure --prefix=$freondir \
--disable-static \
CFLAGS="-g -O2 \
-DSQLITE_ENABLE_FTS3=1 \
-DSQLITE_ENABLE_FTS4=1 \
-DSQLITE_ENABLE_COLUMN_METADATA=1 \
-DSQLITE_ENABLE_UNLOCK_NOTIFY=1 \
-DSQLITE_ENABLE_DBSTAT_VTAB=1 \
-DSQLITE_SECURE_DELETE=1 \
-DSQLITE_ENABLE_FTS3_TOKENIZER=1" &&
make
make install
cd $tmpdir

17
pkgbuild/strace.build Executable file
View File

@ -0,0 +1,17 @@
cd $tmpdir
if [ ! -d "strace" ]; then
git clone $stracemirror
fi
cd strace
./build_static_example.sh
./configure --prefix=$freondir
make -j$corecount
make install
cd $tmpdir

7
pkgbuild/tazweb.build Executable file
View File

@ -0,0 +1,7 @@
cd $systemdir/tazweb
make -j$corecount
make install
cd $tmpdir

17
pkgbuild/termcap.build Executable file
View File

@ -0,0 +1,17 @@
cd $tmpdir
# Downloading termcap source
if [ ! -f "$termcap" ]; then
echo "Downloading termcap sources..."
wget $termcapmirror/$termcap
tar -xf $termcap
fi
# Configure TCC
cd $termcapsrcdir
./configure --prefix=$freondir --with-shared --without-normal
# Compile
make -j20
make install
cd ..

14
pkgbuild/tinyx.build Executable file
View File

@ -0,0 +1,14 @@
cd $systemdir/tinyx
./autogen.sh
./configure --prefix=$freondir --disable-static --enable-shared
# Here we will have to disable build for Xvesa, only Xfbdev
cp ../../files/kdrive.config include/kdrive-config.h
make -j$corecount
make install
$tmpdir

21
pkgbuild/util-linux.build Executable file
View File

@ -0,0 +1,21 @@
cd $tmpdir
# Grab sources for util-linux
if [ ! -d $utillinuxsrcdir ]; then
wget $utillinuxmirror/$utillinux
tar -xf $utillinux
fi
cd $utillinuxsrcdir
./configure --prefix=$freondir \
--without-python \
--disable-makeinstall-chown \
--without-systemdsystemunitdir \
--without-ncurses
make -j$corecount
make install
cd $tmpdir

7
pkgbuild/x.build Executable file
View File

@ -0,0 +1,7 @@
cd $systemdir/x-scripts
mkdir -p /freon/bin
cp * /freon/bin/.
cd $tmpdir

47
pkgbuild/xcb.build Executable file
View File

@ -0,0 +1,47 @@
cd $tmpdir
# Grab latest sources for freetype
if [ ! -d $xcbsrcdir ]; then
wget $xcbmirror/$xcb
tar -xf $xcb
fi
cd $xcbsrcdir
./configure --prefix=$freondir --disable-static
make -j$corecount
make install
cd $tmpdir
# Grab latest sources for freetype
if [ ! -d $xcbutilsrcdir ]; then
wget $xcbmirror/$xcbutil
tar -xf $xcbutil
fi
cd $xcbutilsrcdir
./configure --prefix=$freondir --disable-static
make -j$corecount
make install
cd $tmpdir
# Grab latest sources for freetype
if [ ! -d $xcbprotosrcdir ]; then
wget $xcbmirror/$xcbproto
tar -xf $xcbproto
fi
cd $xcbprotosrcdir
./configure --prefix=$freondir --disable-static
make -j$corecount
make install

85
pkgbuild/xlibs.build Executable file
View File

@ -0,0 +1,85 @@
cd $tmpdir
cat > xlibs.md5 << "EOF"
ce2fb8100c6647ee81451ebe388b17ad xtrans-1.4.0.tar.bz2
f46572566e2cec801609d25f735285b7 libX11-1.7.0.tar.bz2
f5b48bb76ba327cd2a8dc7a383532a95 libXext-1.3.4.tar.bz2
4e1196275aa743d6ebd3d3d5ec1dff9c libFS-1.0.8.tar.bz2
76d77499ee7120a56566891ca2c0dbcf libICE-1.0.10.tar.bz2
87c7fad1c1813517979184c8ccd76628 libSM-1.2.3.tar.bz2
eeea9d5af3e6c143d0ea1721d27a5e49 libXScrnSaver-1.2.3.tar.bz2
a9019421d3ee8b4937b6afd9025f018a libXt-1.2.0.tar.bz2
ac774cff8b493f566088a255dbf91201 libXmu-1.1.3.tar.bz2
c5f16288f2da9f071b29111d68797480 libXau-1.0.9.tar.bz2
6f0ecf8d103d528cfc803aa475137afa libXpm-3.5.13.tar.bz2
e5e06eb14a608b58746bdd1c0bd7b8e3 libXaw-1.0.13.tar.bz2
07e01e046a0215574f36a3aacb148be0 libXfixes-5.0.3.tar.bz2
3fa0841ea89024719b20cd702a9b54e0 libXcomposite-0.4.5.tar.bz2
802179a76bded0b658f4e9ec5e1830a4 libXrender-0.9.10.tar.bz2
9b9be0e289130fb820aedf67705fc549 libXcursor-1.2.0.tar.bz2
e3f554267a7a04b042dc1f6352bd6d99 libXdamage-1.1.5.tar.bz2
6447db6a689fb530c218f0f8328c3abc libfontenc-1.1.4.tar.bz2
115c5c12ecce0e749cd91d999a5fd160 libXdmcp-1.1.3.tar.bz2
16eaf156edd79b68038b6a7c44aa9e9b libXfont-1.5.4.tar.bz2
4a433c24627b4ff60a4dd403a0990796 libXft-2.3.3.tar.bz2
62c4af0839072024b4b1c8cbe84216c7 libXi-1.7.10.tar.bz2
0d5f826a197dae74da67af4a9ef35885 libXinerama-1.1.4.tar.bz2
18f3b20d522f45e4dadd34afb5bea048 libXrandr-1.5.2.tar.bz2
5d6d443d1abc8e1f6fc1c57fb27729bb libXres-1.2.0.tar.bz2
ef8c2c1d16a00bd95b9fdcef63b8a2ca libXtst-1.2.3.tar.bz2
210b6ef30dda2256d54763136faa37b9 libXv-1.0.11.tar.bz2
3569ff7f3e26864d986d6a21147eaa58 libXvMC-1.0.12.tar.bz2
0ddeafc13b33086357cfa96fae41ee8e libXxf86dga-1.1.5.tar.bz2
298b8fff82df17304dfdb5fe4066fe3a libXxf86vm-1.1.4.tar.bz2
d2f1f0ec68ac3932dd7f1d9aa0a7a11c libdmx-1.1.4.tar.bz2
b34e2cbdd6aa8f9cc3fa613fd401a6d6 libpciaccess-0.16.tar.bz2
dd7e1e946def674e78c0efbc5c7d5b3b libxkbfile-1.1.0.tar.bz2
42dda8016943dc12aff2c03a036e0937 libxshmfence-1.3.tar.bz2
EOF
if [ ! -d xlibs ]; then
mkdir xlibs
fi
cd xlibs
grep -v '^#' ../xlibs.md5 | awk '{print $2}' | wget -i- -c \
-B $xlibmirror/ &&
md5sum -c ../xlibs.md5
for package in $(grep -v '^#' ../xlibs.md5 | awk '{print $2}')
do
packagedir=${package%.tar.bz2}
tar -xf $package
config_var="--prefix=$freondir --enable-shared"
cd $packagedir
case $packagedir in
libICE* )
./configure $config_var ICE_LIBS=-lpthread
make -j$corecount
make install
;;
libXfont2-[0-9]* )
./configure $config_var --disable-devel-docs
make -j$corecount
make install
;;
libXt-[0-9]* )
./configure $config_var \
--with-appdefaultdir=$freondir/etc/X11/app-defaults
make -j$corecount
make install
;;
* )
./configure $config_var
make -j$corecount
make install
;;
esac
cd ..
done

1
pkginfo/0verkill.txt Normal file
View File

@ -0,0 +1 @@
is a CLI multiplayer console game that's too good to leave out!

1
pkginfo/atk.txt Normal file
View File

@ -0,0 +1 @@
provides the set of accessibility interfaces that are implemented by other toolkits and applications.

1
pkginfo/bash.txt Normal file
View File

@ -0,0 +1 @@
also known as Bourne Again SHell, is GNU's implementation of the unix shell.

1
pkginfo/binutils.txt Normal file
View File

@ -0,0 +1 @@
provides a collection of GNU binary tools.

1
pkginfo/bz2.txt Normal file
View File

@ -0,0 +1 @@
also known as BZip2, is a compression tool / library.

1
pkginfo/cairo.txt Normal file
View File

@ -0,0 +1 @@
also known as libcairo, is a 2D graphics library for various applications.

1
pkginfo/dfm.txt Normal file
View File

@ -0,0 +1 @@
is an extremely simple X11 based file manager that uses key-combinations.

1
pkginfo/dvtm.txt Normal file
View File

@ -0,0 +1 @@
is a tool used for command line multi-tasking.

1
pkginfo/elfutils.txt Normal file
View File

@ -0,0 +1 @@
is a collection of utilities and libraries to read, create and modify ELF binary files.

1
pkginfo/expat.txt Normal file
View File

@ -0,0 +1 @@
also known as libexpat, this is a fast XML parsing library.

1
pkginfo/ffi.txt Normal file
View File

@ -0,0 +1 @@
is a foreign function interface library.

1
pkginfo/fixedfonts.txt Normal file
View File

@ -0,0 +1 @@
includes a set of standard fonts for the GNU/Linux systems.

1
pkginfo/fltk.txt Normal file
View File

@ -0,0 +1 @@
is a very lightweight GUI toolkit / library.

1
pkginfo/fontconfig.txt Normal file
View File

@ -0,0 +1 @@
is a standard system library for directing font locations to specific programs.

1
pkginfo/fox.txt Normal file
View File

@ -0,0 +1 @@
is yet another C++ GUI toolkit, which is lightweight.

1
pkginfo/freetype.txt Normal file
View File

@ -0,0 +1 @@
is a library used to handle FreeType fonts.

1
pkginfo/fribidi.txt Normal file
View File

@ -0,0 +1 @@
also known as libfribidi is an is a foreign function interface library.

Some files were not shown because too many files have changed in this diff Show More