Skip to content
Snippets Groups Projects
Commit 90a50acc authored by Eric Vidal's avatar Eric Vidal :speech_balloon:
Browse files

prepare tag 0.7.0.0-beta

parent 21a3cf76
No related branches found
No related tags found
No related merge requests found
Pipeline #11667 failed
......@@ -3,41 +3,18 @@
*.a.*
*.so.*
.deps/
/66-all
/66-boot
/66-shutdown
/66-shutdownd
/66-hpr
/66-dbctl
/66-disable
/66-enable
/66-info
/66-init
/66-inresolve
/66-inservice
/66-instate
/66-intree
/66-scandir
/66-scanctl
/66-start
/66-stop
/66-svctl
/66-tree
/66-env
/66-gnwenv
/66-parser
/66-which
/66-writenv
/66-getenv
/66-rebuild
/execl-envfile
/execl-subuidgid
/config.mak
/execl-cmdline
/66-envfile
/66
/66-echo
/66-umountall
/66-fdholder-filler
/66-hpr
/66-nuke
/src/include/66/config.h
/66-oneshot
/66-shutdown
/66-shutdownd
/66-umountall
/execl-envfile
/lib66.a.xyzzy
src/include/66/config.h
/doc/*/
TODO
......@@ -26,4 +26,5 @@ build:
only:
refs:
- master
- dev
......@@ -5,11 +5,10 @@ Build Instructions
- A POSIX-compliant C development environment
- GNU make version 3.81 or later
- skalibs version 2.11.0.0: http://skarnet.org/software/skalibs/
- execline version 2.8.1.0: http://skarnet.org/software/execline/
- s6 version 2.11.0.0: http://skarnet.org/software/s6/
- s6-rc version 0.5.2.3: http://skarnet.org/software/s6-rc/
- oblibs version 0.1.4.0: https://framagit.org/Obarun/oblibs/
- skalibs version 2.14.0.1: http://skarnet.org/software/skalibs/
- execline version 2.9.4.0: http://skarnet.org/software/execline/
- s6 version 2.12.0.2: http://skarnet.org/software/s6/
- oblibs version 0.2.0.0: https://framagit.org/Obarun/oblibs/
- lowdown version 0.6.4 or later for man and html pages: https://kristaps.bsd.lv/lowdown/
- linux-api-headers 5.8 or later: https://www.gnu.org/software/libc (only for linux system)
......@@ -32,7 +31,6 @@ Note: the man and html documentation pages will always be generated if *lowdown*
You can customize the installation process via flags given to configure. See `./configure --help` for a list of all available configure options.
## Environment variables
Controlling a build process via environment variables is a big and dangerous hammer. You should try and pass flags to configure instead; nevertheless, a few standard environment variables are recognized.
......@@ -41,7 +39,6 @@ If the CC environment variable is set, its value will override compiler detectio
The values of *CFLAGS*, *CPPFLAGS* and *LDFLAGS* will be appended to the default flags set by configure. To override those defaults instead of appending to them, use the *CPPFLAGS*, *CFLAGS* and *LDFLAGS* *make variables* instead of environment variables.
## Make variables
You can invoke make with a few variables for more configuration.
......@@ -51,11 +48,13 @@ You can invoke make with a few variables for more configuration.
*DESTDIR* can be given on the `make install` command line in order to install to a staging directory.
## Static binaries
By default, binaries are linked against static versions of all the libraries they depend on, except for the libc. You can enforce linking against the static libc with *--enable-static-libc*.
(If you are using a GNU/Linux system, be aware that the GNU libc behaves badly with static linking and produces huge executables, which is why it is not the default. Other libcs are better suited to static linking, for instance [musl](http://musl-libc.org/)
## Cross-compilation
skarnet.org packages centralize all the difficulty of cross-compilation in one place: skalibs. Once you have
cross-compiled skalibs, the rest is easy.
......
Copyright (c) 2018-2021 Eric Vidal <eric@obarun.org>
Copyright (c) 2018-2023 Eric Vidal <eric@obarun.org>
All rights reserved.
Permission to use, copy, modify, and/or distribute this software for any
......
......@@ -6,10 +6,10 @@ if [ "$1" == "commit" ]; then
tag=0
fi
skalibs_tag="v2.13.1.1"
execline_tag="v2.9.3.0"
s6_tag="v2.11.3.2"
oblibs_tag="v0.1.4.0"
skalibs_tag="v2.14.0.1"
execline_tag="v2.9.4.00"
s6_tag="v2.12.0.2"
oblibs_tag="0.2.0.0"
check_tag(){
......@@ -67,21 +67,6 @@ build_s6() {
cd ..
}
## s6-rc
build_s6_rc() {
git clone https://github.com/skarnet/s6-rc
cd s6-rc
check_tag "${s6_rc_tag}"
./configure \
--prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/bin \
--enable-shared
make install || return 1
cd ..
}
## oblibs
build_oblibs() {
......@@ -107,5 +92,4 @@ _run() {
_run build_skalibs
_run build_execline
_run build_s6
_run build_s6_rc
_run build_oblibs
......@@ -57,7 +57,7 @@ Fine tuning of the installation directories:
--with-user-seed=DIR user trees default configuration [.66/seed]
Do not set an absolute path but a \$HOME relative path for --with-user-dir,
--with-user-log, --with-user-service, --with-user-service-conf, --with-user-script
--with-user-log, --with-user-service, --with-user-service-conf, --with-user-script
and --with-user-seed.
The \$HOME prefix will be appened at the pathname automatically in function of the user.
For example , by default the final path for --with-user-dir will be \$HOME/.66.
......@@ -629,7 +629,7 @@ echo "Creating src/include/${package}/config.h..."
mkdir -p -m 0755 src/include/${package}
exec 3>&1 1> src/include/${package}/config.h
cat <<EOF
/* Copyright (c) 2018-2021 Eric Vidal <eric@obarun.org>
/* Copyright (c) 2018-2023 Eric Vidal <eric@obarun.org>
All rights reserved.*/
/* ISC license. */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment