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)
mutt to new nyan d497b7f9acee77342c6dca432fcc1bd0696715a3 Sylvain BERTRAND 2021-06-25 00:40:13
miniupnpc to new nyan dd4cf201c1b072384430cb6ea3c8f609c8cfc21a Sylvain BERTRAND 2021-06-24 21:14:38
libtool to new nyan 98cdc4c623b6de00ef0f60aa6d3f2a42a8d33a5e Sylvain BERTRAND 2021-06-24 19:48:02
automake to new nyan 7402408b2621a1ed85665f26841073575ad7d944 Sylvain BERTRAND 2021-06-24 19:33:09
autoconf to new nyan 52e700d38cb6ecfc6c1e37d920e5b089f652be66 Sylvain BERTRAND 2021-06-24 19:25:39
libffi/perl5/python3 to new nyan bf95e3edba98e9b33e63e7c7e11f54f1a7919a0a Sylvain BERTRAND 2021-06-24 16:13:25
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
Commit d497b7f9acee77342c6dca432fcc1bd0696715a3 - mutt to new nyan
Author: Sylvain BERTRAND
Author date (UTC): 2021-06-25 00:40
Committer name: Sylvain BERTRAND
Committer date (UTC): 2021-06-25 00:40
Parent(s): dd4cf201c1b072384430cb6ea3c8f609c8cfc21a
Signer:
Signing key:
Signing status: N
Tree: 3371986be51999aa5664eff144e97856c2506b19
File Lines added Lines deleted
builders/mutt-2.1.0/builder.sh 45 25
File builders/mutt-2.1.0/builder.sh copied from file builders/openssh-8.6p1/builder.sh (similarity 51%) (mode: 100644) (index 72444e3..792bd0b)
1 src_name=openssh
1 src_name=mutt
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/OpenSSH/portable/$archive_name
5 url0=ftp://ftp.mutt.org/pub/$src_name/$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
23 14 build_dir=$builds_dir_root/$src_name-$version build_dir=$builds_dir_root/$src_name-$version
24 15 rm -Rf $build_dir rm -Rf $build_dir
25 16 mkdir -p $build_dir mkdir -p $build_dir
 
... ... PATH_SAVED=$PATH
29 20 export PATH="\ export PATH="\
30 21 /nyan/toolchains/binutils-2.36.1-gcc-4.7.4/current/bin:\ /nyan/toolchains/binutils-2.36.1-gcc-4.7.4/current/bin:\
31 22 /nyan/make/current/bin:\ /nyan/make/current/bin:\
32 /nyan/pkgconf/current/bin:\
33 23 $PATH\ $PATH\
34 24 " "
35 25 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)")
36 26 target_gnu_triple=${target_gnu_triple%-gcc} target_gnu_triple=${target_gnu_triple%-gcc}
37 27
38 export "PKG_CONFIG_LIBDIR=/nyan/libressl/current/lib/pkgconfig"
39 export 'CFLAGS=-O2 -pipe -fPIC'
40 export "CC=$target_gnu_triple-gcc \
28 export "CPPFLAGS=\
41 29 -isystem /nyan/glibc/current/include \ -isystem /nyan/glibc/current/include \
42 30 -isystem /nyan/linux-headers/current/include \ -isystem /nyan/linux-headers/current/include \
31 -I/nyan/ncurses/current/include/ncurses"
32 export 'CFLAGS=-O2 -pipe -fPIC -static-libgcc'
33 export LDFLAGS="\
34 -L/nyan/ncurses/current/lib \
43 35 -B/nyan/glibc/current/lib \ -B/nyan/glibc/current/lib \
44 36 -L/nyan/glibc/current/lib \ -L/nyan/glibc/current/lib \
45 37 -Wl,-rpath-link,/nyan/glibc/current/lib \ -Wl,-rpath-link,/nyan/glibc/current/lib \
46 38 -Wl,-s \ -Wl,-s \
47 39 -static-libgcc" -static-libgcc"
48 export AR=$target_gnu_triple-ar
40 export CC=$target_gnu_triple-gcc
41 export 'LIBS=-ltinfo -lpthread'
42 # need to force "working iconv" with nyanglibc 2.33
49 43 $pkg_dir/configure \ $pkg_dir/configure \
50 44 --prefix=/nyan/$src_name/$slot \ --prefix=/nyan/$src_name/$slot \
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
45 --disable-gpgme \
46 --disable-pgp \
47 --disable-smime \
48 --disable-external-dotlock \
49 --disable-pop \
50 --disable-imap \
51 --disable-smtp \
52 --disable-debug \
53 --disable-nfs-fix \
54 --disable-mailtool \
55 --disable-locales-fix \
56 --enable-exact-address \
57 --disable-hcache \
58 --enable-iconv \
59 --disable-nls \
60 --disable-doc \
61 --disable-full-doc \
62 --with-curses=/nyan/ncurses/current \
63 --with-bundled-regex \
64 --with-mailpath=/var/mail \
65 --without-qdbm \
66 --without-gdbm \
67 --without-bdb \
68 --with-wc-funcs \
69 am_cv_func_iconv_works=yes
70 unset CPPFLAGS
58 71 unset CFLAGS unset CFLAGS
72 unset LDFLAGS
59 73 unset CC unset CC
60 unset AR
74 unset LIBS
75
76 # doc is forced, again...
77 sed -i ./Makefile -e '536 c\
78 SUBDIRS = m4 po contrib'
61 79
62 80 make -j $threads_n make -j $threads_n
63 make install
81 make install
82
83 mkdir -p /var/mail
64 84
65 85 rm -Rf /nyan/$src_name/$slot/share rm -Rf /nyan/$src_name/$slot/share
66 86
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