sylware / nyanlinux (public) (License: AFFERO GPLv3) (since 2019-09-09) (hash sha1)
scripts for a lean, from scratch, amd hardware, linux distro
List of commits:
Subject Hash Author Date (UTC)
openssh fixed 64 truncation and new nyan 8dc61ff35842cab7a6b835dc2ec46201e0d533d2 Sylvain BERTRAND 2021-06-24 12:21:19
sync linux config with current ncurses 018c21a2c1b298a7afde1e69aeece48e00d5291e Sylvain BERTRAND 2021-06-24 00:25:19
vim: new nyan 1d8ebb3757d0b421b9433c68b3e099020d39aba9 Sylvain BERTRAND 2021-06-23 19:35:27
towards the new nyan 34554e0757e39f9b8363b30148fc5ee6b4b429a2 Sylvain BERTRAND 2021-06-23 18:37:41
gfx stack update afaaadfdad869098a1a4eba62bca68afb9536b79 Sylvain BERTRAND 2021-06-23 01:04:53
drm: move to new nyan 1a416b7c38ea65998df66c171a2202e981bc1444 Sylvain BERTRAND 2021-06-22 15:47:05
quality of life for dealing with AMD devel linux 8ffca64c4d652517553a0495da1219dac5af4274 Sylvain BERTRAND 2021-06-21 19:02:41
nyangpt:fix install path bc3f973810e90a262b4031e3e68907debb6a8f5e Sylvain BERTRAND 2021-06-19 15:17:12
meh 49c47476a2dc7adb305ac1476435025da2a85231 Sylvain BERTRAND 2021-06-19 14:56:21
binutils/tinycc toolchain 33a1aacaa3f4a4408522a4f0d20ef4d1cca6f1a3 Sylvain BERTRAND 2021-06-19 14:55:45
muinit: fix slot 44da131be771b150b241871860bfdb1cdd57274f Sylvain BERTRAND 2021-06-19 12:38:18
mudev: fix slot c00f05864ad26357a37f5fa0b25eb193412dfdc7 Sylvain BERTRAND 2021-06-19 12:36:44
re-boostrape: in the end, create the symbolic link b17f1e845f2b99014990b2b3a1bf9c1c1b15797e Sylvain BERTRAND 2021-06-19 12:28:22
noglib pkgconf, nyanmp update, ffmpeg to new nyan 824e0580ae1ad17b78b8cbfcfa08e790c4175eee Sylvain BERTRAND 2021-06-18 15:08:11
boostrap zlib, fix slot 95ed795361575c9117a2b8fe98a6c8ecb838bb74 Sylvain BERTRAND 2021-06-18 13:30:28
sync with busybox full modprobe support (old nyan) 7687c6b41a612bf8e9184844383e8b915e12fa88 Sylvain BERTRAND 2021-06-16 16:50:09
fully re-bootstrap-able new nyan (tested), started refurbishment of all packages a5960b2ca3d704285c561f48c7f5dfc71f9f1402 Sylvain BERTRAND 2021-06-16 16:39:34
gfx stack updates (vulkan glitch is being dealed by the vuklan WG itself...) 49e502b9cd9f13315d327d820884aeb589ccfb86 Sylvain BERTRAND 2021-06-16 16:20:43
gfx stack updates (vulkan still glitched, upstream told) c8ee508c966784975f41f248cc4fe9a3429a7b09 Sylvain BERTRAND 2021-06-06 15:51:37
libxkbcommon: update pulling the massive libxml2... 34ca0d7ee2e7883d5f7db6388e1bddd16f106f7c Sylvain BERTRAND 2021-06-02 17:20:31
Commit 8dc61ff35842cab7a6b835dc2ec46201e0d533d2 - openssh fixed 64 truncation and new nyan
Author: Sylvain BERTRAND
Author date (UTC): 2021-06-24 12:21
Committer name: Sylvain BERTRAND
Committer date (UTC): 2021-06-24 12:21
Parent(s): 018c21a2c1b298a7afde1e69aeece48e00d5291e
Signer:
Signing key:
Signing status: N
Tree: ebabfbfe462c14ebad2405c5973e31ee0a2d95e6
File Lines added Lines deleted
builders/openssh-8.6p1/builder.sh 20 8
builders/openssh-8.6p1/missing-protos.h 0 0
File builders/openssh-8.6p1/builder.sh copied from file builders/libressl-3.3.3/builder.sh (similarity 57%) (mode: 100644) (index d7f28a1..72444e3)
1 src_name=libressl
1 src_name=openssh
2 2 version=${pkg_name##*-} version=${pkg_name##*-}
3 3 slot=$version slot=$version
4 4 archive_name=$src_name-$version.tar.gz archive_name=$src_name-$version.tar.gz
5 url0=https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/$archive_name
5 url0=https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/$archive_name
6 6
7 7 pkg_dir=$pkgs_dir_root/$src_name-$version pkg_dir=$pkgs_dir_root/$src_name-$version
8 8 rm -Rf $pkg_dir rm -Rf $pkg_dir
 
... ... cp -f $src_dir_root/$archive_name $pkgs_dir_root
11 11 cd $pkgs_dir_root cd $pkgs_dir_root
12 12 tar xf $archive_name tar xf $archive_name
13 13
14 #-------------------------------------------------------------------------------
15 # fix missing prototypes of compat openbsd funcs which are in static libressl
16 # libs... without that 64 bits values are truncated to 32 bits values...
17 cd $pkg_dir
18 cp $nyan_root/builders/$pkg_name/missing-protos.h ./
19 sed -i -e '$ d' ./includes.h
20 printf '#include "missing-protos.h"\n#endif /* INCLUDES_H */' >>./includes.h
21 #-------------------------------------------------------------------------------
22
14 23 build_dir=$builds_dir_root/$src_name-$version build_dir=$builds_dir_root/$src_name-$version
15 24 rm -Rf $build_dir rm -Rf $build_dir
16 25 mkdir -p $build_dir mkdir -p $build_dir
 
... ... PATH_SAVED=$PATH
20 29 export PATH="\ export PATH="\
21 30 /nyan/toolchains/binutils-2.36.1-gcc-4.7.4/current/bin:\ /nyan/toolchains/binutils-2.36.1-gcc-4.7.4/current/bin:\
22 31 /nyan/make/current/bin:\ /nyan/make/current/bin:\
32 /nyan/pkgconf/current/bin:\
23 33 $PATH\ $PATH\
24 34 " "
25 35 target_gnu_triple=$(basename "$(ls -d /nyan/toolchains/binutils-2.36.1-gcc-4.7.4/current/bin/*-gcc)") target_gnu_triple=$(basename "$(ls -d /nyan/toolchains/binutils-2.36.1-gcc-4.7.4/current/bin/*-gcc)")
26 36 target_gnu_triple=${target_gnu_triple%-gcc} target_gnu_triple=${target_gnu_triple%-gcc}
27 37
38 export "PKG_CONFIG_LIBDIR=/nyan/libressl/current/lib/pkgconfig"
28 39 export 'CFLAGS=-O2 -pipe -fPIC' export 'CFLAGS=-O2 -pipe -fPIC'
29 40 export "CC=$target_gnu_triple-gcc \ export "CC=$target_gnu_triple-gcc \
30 41 -isystem /nyan/glibc/current/include \ -isystem /nyan/glibc/current/include \
 
... ... export "CC=$target_gnu_triple-gcc \
35 46 -Wl,-s \ -Wl,-s \
36 47 -static-libgcc" -static-libgcc"
37 48 export AR=$target_gnu_triple-ar export AR=$target_gnu_triple-ar
38 export NM=$target_gnu_tripel-nm
39 49 $pkg_dir/configure \ $pkg_dir/configure \
40 50 --prefix=/nyan/$src_name/$slot \ --prefix=/nyan/$src_name/$slot \
41 --disable-shared \
42 --enable-nc
51 --without-stackprotect \
52 --without-hardening \
53 --disable-strip \
54 --with-zlib=/nyan/zlib/current \
55 --with-ssl-dir=/nyan/libressl/current \
56 "--with-libs=$(pkgconf --static --libs libcrypto)"
57 unset PKG_CONFIG_LIBDIR
43 58 unset CFLAGS unset CFLAGS
44 59 unset CC unset CC
45 60 unset AR unset AR
46 unset NM
47 61
48 62 make -j $threads_n make -j $threads_n
49 63 make install make install
50 64
51 # cleanup and tidying
52 65 rm -Rf /nyan/$src_name/$slot/share rm -Rf /nyan/$src_name/$slot/share
53 rm -f /nyan/$src_name/$slot/lib/*.la
54 66
55 67 export PATH=$PATH_SAVED export PATH=$PATH_SAVED
56 68 unset PATH_SAVED unset PATH_SAVED
File builders/openssh-8.6p1/missing-protos.h copied from file builders/openssh-0/missing-protos.h (similarity 100%)
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/sylware/nyanlinux

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/sylware/nyanlinux

Clone this repository using git:
git clone git://git.rocketgit.com/user/sylware/nyanlinux

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main