diff options
Diffstat (limited to 'strata/core')
34 files changed, 0 insertions, 443 deletions
diff --git a/strata/core/attr.morph b/strata/core/attr.morph deleted file mode 100644 index c7b46d31..00000000 --- a/strata/core/attr.morph +++ /dev/null @@ -1,19 +0,0 @@ -name: attr -kind: chunk -build-system: autotools -pre-configure-commands: -- make configure -configure-commands: -- | - ./configure --prefix="$PREFIX" \ - --exec-prefix="$PREFIX" \ - --sbindir="$PREFIX"/bin \ - --bindir="$PREFIX"/bin \ - --libdir="$PREFIX"/lib \ - --libexecdir="$PREFIX"/lib \ - --enable-lib64=yes \ - --includedir="$PREFIX"/include \ - --mandir="$PREFIX"/share/man \ - --datadir="$PREFIX"/share -install-commands: -- make DESTDIR="$DESTDIR" install-lib install-dev diff --git a/strata/core/autoconf-tarball.morph b/strata/core/autoconf-tarball.morph deleted file mode 100644 index fbdc5768..00000000 --- a/strata/core/autoconf-tarball.morph +++ /dev/null @@ -1,5 +0,0 @@ -name: autoconf-tarball -kind: chunk -build-system: autotools -configure-commands: -- ./configure --prefix="$PREFIX" diff --git a/strata/core/autoconf.morph b/strata/core/autoconf.morph deleted file mode 100644 index 63b95ba8..00000000 --- a/strata/core/autoconf.morph +++ /dev/null @@ -1,5 +0,0 @@ -name: autoconf -kind: chunk -build-system: autotools -pre-configure-commands: -- echo "2.69" > .tarball-version diff --git a/strata/core/automake.morph b/strata/core/automake.morph deleted file mode 100644 index 282535d6..00000000 --- a/strata/core/automake.morph +++ /dev/null @@ -1,8 +0,0 @@ -name: automake -kind: chunk -build-system: autotools -configure-commands: -- ./bootstrap.sh -- ./configure --prefix="$PREFIX" -build-commands: -- unset DESTDIR; make diff --git a/strata/core/bash.morph b/strata/core/bash.morph deleted file mode 100644 index 59c9e8b4..00000000 --- a/strata/core/bash.morph +++ /dev/null @@ -1,36 +0,0 @@ -name: bash -kind: chunk -build-system: autotools -configure-commands: -- | - export CFLAGS="${CFLAGS} -DSYS_BASHRC='\"/etc/bash.bashrc\"'"; - ./configure --prefix="$PREFIX" \ - --without-bash-malloc \ - --with-installed-readline \ - --enable-readline -post-install-commands: -- | - cat <<'EOF' >> bash.bashrc - # - # /etc/bash.bashrc - # - - # If not running interactively, don't do anything - [[ $- != *i* ]] && return - - # Configure prompt for different terminals - case ${TERM} in - xterm*|rxvt*|Eterm|aterm|kterm|gnome*) - PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033]0;%s@%s:%s\007" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/\~}"' - - ;; - screen) - PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033_%s@%s:%s\033\\" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/\~}"' - ;; - esac - - # Enable bash completion if present - [ -r /usr/share/bash-completion/bash_completion ] && . /usr/share/bash-completion/bash_completion - EOF -- mkdir -p "$DESTDIR"/etc -- install -m 644 bash.bashrc "$DESTDIR"/etc/bash.bashrc diff --git a/strata/core/bison.morph b/strata/core/bison.morph deleted file mode 100644 index 7b880cb6..00000000 --- a/strata/core/bison.morph +++ /dev/null @@ -1,6 +0,0 @@ -name: bison -kind: chunk -build-system: autotools -configure-commands: -- sh bootstrap --skip-po --no-git --gnulib-srcdir=gnulib -- ./configure --prefix="$PREFIX" diff --git a/strata/core/bzip2.morph b/strata/core/bzip2.morph deleted file mode 100644 index f4bdb794..00000000 --- a/strata/core/bzip2.morph +++ /dev/null @@ -1,10 +0,0 @@ -name: bzip2 -kind: chunk -configure-commands: -- sed -i -rf bzip2.morph-makefix.sed Makefile -build-commands: -- make -f Makefile-libbz2_so -- make -install-commands: -- make DESTDIR="$DESTDIR" PREFIX="$PREFIX" install -- install libbz2.so* "$DESTDIR$PREFIX/lib" diff --git a/strata/core/ca-certificates.morph b/strata/core/ca-certificates.morph deleted file mode 100644 index 0497b283..00000000 --- a/strata/core/ca-certificates.morph +++ /dev/null @@ -1,26 +0,0 @@ -name: ca-certificates -kind: chunk -build-system: manual -build-commands: -- make -install-commands: -# -# ca-certificates makefile does not properly take responsibility -# for creating the paths it installs to -# -- mkdir -p "$DESTDIR"/usr/share/ca-certificates -- mkdir -p "$DESTDIR"/usr/sbin -- make DESTDIR="$DESTDIR" install -- mkdir "$DESTDIR"/etc -# -# We create the config with all certificates provided -# by the debian package enabled. Some systems may want -# to override the ca-certificates.conf file. -# -- | - cd "$DESTDIR"/usr/share/ca-certificates - find * -type f > "$DESTDIR"/etc/ca-certificates.conf -system-integration: - ca-certificates-misc: - 00-update-ca-certs: - - update-ca-certificates diff --git a/strata/core/cmake.morph b/strata/core/cmake.morph deleted file mode 100644 index 1d310ef4..00000000 --- a/strata/core/cmake.morph +++ /dev/null @@ -1,8 +0,0 @@ -name: cmake -kind: chunk -configure-commands: -- ./bootstrap --prefix="$PREFIX" --docdir=/share/doc/cmake --mandir=/share/man -build-commands: -- make -install-commands: -- make DESTDIR="$DESTDIR" install diff --git a/strata/core/curl.morph b/strata/core/curl.morph deleted file mode 100644 index d445ee00..00000000 --- a/strata/core/curl.morph +++ /dev/null @@ -1,15 +0,0 @@ -name: curl -kind: chunk -configure-commands: -# -# Curl must be configured --with-ca-bundle in order to find the -# correct certificate bundle at runtime, which is later generated -# by update-ca-certificates. Other applications such as git, rely -# on curl knowing the default location of the certs. -# -- ./buildconf -- ./configure --disable-manual --prefix="$PREFIX" --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt -build-commands: -- make -install-commands: -- make DESTDIR="$DESTDIR" install diff --git a/strata/core/e2fsprogs.morph b/strata/core/e2fsprogs.morph deleted file mode 100644 index 6f32ad38..00000000 --- a/strata/core/e2fsprogs.morph +++ /dev/null @@ -1,27 +0,0 @@ -name: e2fsprogs -kind: chunk -build-system: autotools -configure-commands: -# Configure with the usual paths for binaries and config -# but also disable whatever we can that is already provided by util-linux -# Disabling e2fsprofs' libblkid does not work, but we don't have to -# install it. -- | - ./configure --prefix="$PREFIX" --sysconfdir=/etc \ - --disable-libuuid --disable-uuidd --disable-libblkid -build-commands: -# Without this, the static archive libcom_err is generated without -# position independant code; later when samba tries to create a shared -# library linking to this archive, we get errors. -- make CFLAGS="-g -O2 -DHAVE_CONFIG_H -fPIC" -install-commands: -# e2fsprogs also includes tools that are provided by util-linux, so we -# need to selectively exclude them. Removing them directly from DESTDIR -# causes problems, so we need to remove them beforehand. -- | - td="$(mktemp -d)" - make DESTDIR="$td" install - make DESTDIR="$td" install-libs - find "$td" \( -name blkid -o -name findfs -o \) -delete - find "$td" \( -name blkid.8 -o -name findfs.8 \) -delete - mv "$td"/* "$DESTDIR" diff --git a/strata/core/flex.morph b/strata/core/flex.morph deleted file mode 100644 index 615bf79e..00000000 --- a/strata/core/flex.morph +++ /dev/null @@ -1,14 +0,0 @@ -name: flex -kind: chunk -pre-configure-commands: -- autoreconf -ivf -configure-commands: -- ./configure --prefix="$PREFIX" -build-commands: -- make dist_doc_DATA= -install-commands: -- make dist_doc_DATA= DESTDIR="$DESTDIR" install -- ln -s libfl.a "$DESTDIR$PREFIX/lib/libl.a" -- echo "#!$PREFIX/bin/sh" >"$DESTDIR$PREFIX/bin/lex" -- echo 'exec '"$PREFIX"'/bin/flex -l "$@"' >>"$DESTDIR$PREFIX/bin/lex" -- chmod 755 "$DESTDIR$PREFIX/bin/lex" diff --git a/strata/core/gdbm.morph b/strata/core/gdbm.morph deleted file mode 100644 index 6bec33e0..00000000 --- a/strata/core/gdbm.morph +++ /dev/null @@ -1,8 +0,0 @@ -name: gdbm -kind: chunk -configure-commands: -- ./configure --prefix="$PREFIX" --enable-libgdbm-compat --disable-nls -build-commands: -- make MANS= INFO_DEPS= -install-commands: -- make MANS= INFO_DEPS= DESTDIR="$DESTDIR" install diff --git a/strata/core/gettext-tarball.morph b/strata/core/gettext-tarball.morph deleted file mode 100644 index 4983b484..00000000 --- a/strata/core/gettext-tarball.morph +++ /dev/null @@ -1,5 +0,0 @@ -name: gettext-tarball -kind: chunk -build-system: autotools -configure-commands: -- ./configure --prefix="$PREFIX" diff --git a/strata/core/git-minimal.morph b/strata/core/git-minimal.morph deleted file mode 100644 index 8b562ef6..00000000 --- a/strata/core/git-minimal.morph +++ /dev/null @@ -1,7 +0,0 @@ -name: git-minimal -kind: chunk -build-system: autotools -pre-configure-commands: -- make configure -build-commands: -- make all diff --git a/strata/core/gperf.morph b/strata/core/gperf.morph deleted file mode 100644 index ca515880..00000000 --- a/strata/core/gperf.morph +++ /dev/null @@ -1,5 +0,0 @@ -name: gperf -kind: chunk -build-system: autotools -configure-commands: -- ./configure --prefix="$PREFIX" diff --git a/strata/core/gzip.morph b/strata/core/gzip.morph deleted file mode 100644 index 2a9ebbe8..00000000 --- a/strata/core/gzip.morph +++ /dev/null @@ -1,6 +0,0 @@ -name: gzip -kind: chunk -build-system: autotools -pre-configure-commands: -- sed -i -e '/^buildreq="/,/^"/{/rsync/d}' bootstrap.conf -- ./bootstrap --skip-po --no-git --gnulib-srcdir=gnulib diff --git a/strata/core/libcap2.morph b/strata/core/libcap2.morph deleted file mode 100644 index 3e4f205e..00000000 --- a/strata/core/libcap2.morph +++ /dev/null @@ -1,6 +0,0 @@ -name: libcap2 -kind: chunk -build-commands: -- make prefix="$PREFIX" -install-commands: -- make prefix="$PREFIX" DESTDIR="$DESTDIR" RAISE_SETFCAP=no install lib=lib diff --git a/strata/core/libexpat.morph b/strata/core/libexpat.morph deleted file mode 100644 index 05285c0d..00000000 --- a/strata/core/libexpat.morph +++ /dev/null @@ -1,6 +0,0 @@ -name: libexpat -kind: chunk -build-system: autotools -pre-configure-commands: -- ./buildconf.sh -- automake --add-missing --copy || true diff --git a/strata/core/libffi.morph b/strata/core/libffi.morph deleted file mode 100644 index 174477af..00000000 --- a/strata/core/libffi.morph +++ /dev/null @@ -1,8 +0,0 @@ -name: libffi -kind: chunk -build-system: autotools -install-commands: -- make DESTDIR="$DESTDIR"/ install -- mkdir -p "$DESTDIR"/usr/include -- cp "$TARGET"/include/ffi.h "$DESTDIR"/usr/include/ -- cp "$TARGET"/include/ffitarget.h "$DESTDIR"/usr/include/ diff --git a/strata/core/libtool-tarball.morph b/strata/core/libtool-tarball.morph deleted file mode 100644 index 65a3edbc..00000000 --- a/strata/core/libtool-tarball.morph +++ /dev/null @@ -1,5 +0,0 @@ -name: libtool-tarball -kind: chunk -build-system: autotools -configure-commands: -- ./configure --prefix="$PREFIX" diff --git a/strata/core/libtool.morph b/strata/core/libtool.morph deleted file mode 100644 index fc44e6fd..00000000 --- a/strata/core/libtool.morph +++ /dev/null @@ -1,10 +0,0 @@ -name: libtool -kind: chunk -build-system: autotools -configure-commands: -- >- - export NOCONFIGURE=1; export MAKEFLAGS="-j 1"; - ./bootstrap -- ./configure --prefix="$PREFIX" - --sysconfdir=/etc - --localstatedir=/var diff --git a/strata/core/linux-pam.morph b/strata/core/linux-pam.morph deleted file mode 100644 index e65caa63..00000000 --- a/strata/core/linux-pam.morph +++ /dev/null @@ -1,9 +0,0 @@ -name: linux-pam -kind: chunk -build-system: autotools -pre-configure-commands: -- autoreconf -ivf -configure-commands: -# libdir has to be specified or it'll go into lib64. It has to be /usr/lib because -# systemd installs its pam library into /usr/lib/security. -- ./configure --prefix="$PREFIX" --sysconfdir=/etc --libdir="$PREFIX/lib" diff --git a/strata/core/mini-utils.morph b/strata/core/mini-utils.morph deleted file mode 100644 index a3d1109e..00000000 --- a/strata/core/mini-utils.morph +++ /dev/null @@ -1,7 +0,0 @@ -name: mini-utils -kind: chunk -build-system: manual -build-commands: -- make -install-commands: -- make PREFIX="$PREFIX" DESTDIR="$DESTDIR" install diff --git a/strata/core/ncurses.morph b/strata/core/ncurses.morph deleted file mode 100644 index 42acb481..00000000 --- a/strata/core/ncurses.morph +++ /dev/null @@ -1,45 +0,0 @@ -name: ncurses -kind: chunk -configure-commands: -- LDCONFIG=true ./configure --with-shared --without-debug --enable-widec -build-commands: -- make -install-commands: -- make DESTDIR="$DESTDIR" install -post-install-commands: -- | - # lfs recommends some alterations for software that looks for - # libcurses instead of libncurses - # it's more convenient to have this in a separate file than the - # morph as less strings have to be escaped and comments are possible - - # some software expects to find libcurses in /lib - mkdir -p "$DESTDIR/lib" - mv "$DESTDIR"/"$PREFIX"/lib/libncursesw.so.5* "$DESTDIR"/lib - ln -sf ../../lib/libncursesw.so.5 "$DESTDIR"/"$PREFIX"/lib/libncursesw.so - - # some linker tricks for libraries that look for non-wide character - # versions of ncurses - for lib in ncurses form panel menu; do - # remove non-wide shared object - rm -f "$DESTDIR/${PREFIX}/lib/lib${lib}.so" - # use a linker script to find the wide character variant - echo "INPUT(-l${lib}w)" >"$DESTDIR/${PREFIX}/lib/lib${lib}.so" - # symlink the non-shared library - ln -sf "lib${lib}w.a" "$DESTDIR/${PREFIX}/lib/lib${lib}.a" - done - ln -sf libncurses++w.a "$DESTDIR/${PREFIX}/lib/libncurses++.a" - - # redirect software that looks for libcurses - rm -f "$DESTDIR/${PREFIX}/lib/libcursesw.so" - echo "INPUT(-lncursesw)" >"$DESTDIR/${PREFIX}/lib/libcursesw.so" - ln -sf libncurses.so "$DESTDIR/${PREFIX}/lib/libcurses.so" - ln -sf libncursesw.a "$DESTDIR/${PREFIX}/lib/libcursesw.a" - ln -sf libncurses.a "$DESTDIR/${PREFIX}/lib/libcurses.a" - - # install documentation - mkdir -p "$DESTDIR/${PREFIX}/share/doc/ncurses" - cp -R doc/* "$DESTDIR/${PREFIX}/share/doc/ncurses" - - # remove 'clear' and 'reset' executables, busybox provides them - rm -f "$DESTDIR/${PREFIX}/bin/clear" "$DESTDIR/${PREFIX}/bin/reset" diff --git a/strata/core/openssl-new.morph b/strata/core/openssl-new.morph deleted file mode 100644 index 2ed14ff2..00000000 --- a/strata/core/openssl-new.morph +++ /dev/null @@ -1,15 +0,0 @@ -name: openssl-new -kind: chunk -max-jobs: 1 -configure-commands: -- sed -i -e 's,^LIBNAMES=\\(.*\\) padlock \\(.*\\),LIBNAMES=\\1 \\2,g' engines/Makefile -- | - if [ "$(uname -m)" = "ppc64" ]; then - sh ./Configure linux-ppc64 --openssldir=/etc/ssl --prefix="${PREFIX-/usr}" --libdir=lib shared - else - ./config --openssldir=/etc/ssl --prefix="${PREFIX-/usr}" --libdir=lib shared - fi -build-commands: -- make -install-commands: -- make INSTALL_PREFIX="$DESTDIR" install_sw diff --git a/strata/core/patch.morph b/strata/core/patch.morph deleted file mode 100644 index b7f146ef..00000000 --- a/strata/core/patch.morph +++ /dev/null @@ -1,5 +0,0 @@ -name: patch -kind: chunk -build-system: autotools -pre-configure-commands: -- ./bootstrap --skip-po diff --git a/strata/core/perl.morph b/strata/core/perl.morph deleted file mode 100644 index ce086aa7..00000000 --- a/strata/core/perl.morph +++ /dev/null @@ -1,16 +0,0 @@ -name: perl -kind: chunk -max-jobs: 1 -configure-commands: -- sh Configure -des -Dprefix="$PREFIX" -Darchlib="$PREFIX/lib/perl" -Dprivlib="$PREFIX/share/perl" - -Dbin="$PREFIX/bin" -Dscriptdir="$PREFIX/bin" -Dman1dir="$PREFIX/share/man/man1" - -Dman3dir="$PREFIX/share/man/man3" -Dsiteprefix="$PREFIX" -Dsitearch="$PREFIX/lib/perl" - -Dsitelib="$PREFIX/share/perl" -Dsitebin="$PREFIX/bin" -Dsitescript="$PREFIX/bin" - -Dsiteman1dir="$PREFIX/share/man/man1" -Dsiteman3dir="$PREFIX/share/man/man3" -Dvendorprefix="$PREFIX" - -Dvendorarch="$PREFIX/lib/perl" -Dvendorlib="$PREFIX/share/perl" -Dvendorbin="$PREFIX/bin" - -Dvendorscript="$PREFIX/bin" -Dvendorman1dir="$PREFIX/share/man/man1" -Dvendorman3dir="$PREFIX/share/man/man3" - -Dpager="$PREFIX/bin/less -isR" -Duseshrplib -build-commands: -- make -install-commands: -- make DESTDIR="$DESTDIR" install diff --git a/strata/core/pkg-config.morph b/strata/core/pkg-config.morph deleted file mode 100644 index ed35a2ac..00000000 --- a/strata/core/pkg-config.morph +++ /dev/null @@ -1,5 +0,0 @@ -name: pkg-config -kind: chunk -build-system: autotools -configure-commands: -- ./autogen.sh --prefix="$PREFIX" --with-internal-glib diff --git a/strata/core/python3.morph b/strata/core/python3.morph deleted file mode 100644 index 54d2e9e7..00000000 --- a/strata/core/python3.morph +++ /dev/null @@ -1,15 +0,0 @@ -name: python3 -kind: chunk -build-system: autotools -configure-commands: -- | - ./configure --prefix="$PREFIX" \ - --sysconfdir=/etc \ - --enable-shared \ - --with-system-expat \ - --with-system-ffi -post-install-commands: -- test -x "$DESTDIR"/"$PREFIX"/bin/python || ln -s python3.5 "$DESTDIR"/"$PREFIX"/bin/python -- test -x "$DESTDIR"/"$PREFIX"/bin/python3 || ln -s python3.5 "$DESTDIR"/"$PREFIX"/bin/python3 -- test -x "$DESTDIR"/"$PREFIX"/bin/python-config || ln -s python3.5-config "$DESTDIR"/"$PREFIX"/bin/python-config -- test -x "$DESTDIR"/"$PREFIX"/bin/python3-config || ln -s python3.5-config "$DESTDIR"/"$PREFIX"/bin/python3-config diff --git a/strata/core/readline.morph b/strata/core/readline.morph deleted file mode 100644 index 3a63a5c4..00000000 --- a/strata/core/readline.morph +++ /dev/null @@ -1,9 +0,0 @@ -name: readline -kind: chunk -build-system: autotools -configure-commands: -- cp /usr/share/automake*/config.guess support -- cp /usr/share/automake*/config.sub support -- ./configure --prefix="$PREFIX" -build-commands: -- make SHLIB_LIBS=-lncurses diff --git a/strata/core/shadow.morph b/strata/core/shadow.morph deleted file mode 100644 index 5e3244ae..00000000 --- a/strata/core/shadow.morph +++ /dev/null @@ -1,53 +0,0 @@ -name: shadow -kind: chunk -build-system: autotools -pre-configure-commands: -- autoreconf -vfi -configure-commands: -- | - ./configure --with-selinux=no \ - --sysconfdir=/etc \ - --with-libpam=yes \ - --prefix="$PREFIX" -post-install-commands: -# Disable things handled by pam instead -- | - for OPTION in FAIL_DELAY \ - FAILLOG_ENAB \ - LASTLOG_ENAB \ - MAIL_CHECK_ENAB \ - OBSCURE_CHECKS_ENAB \ - PORTTIME_CHECKS_ENAB \ - QUOTAS_ENAB \ - CONSOLE MOTD_FILE \ - FTMP_FILE \ - NOLOGINS_FILE \ - ENV_HZ \ - PASS_MIN_LEN \ - SU_WHEEL_ONLY \ - CRACKLIB_DICTPATH \ - PASS_CHANGE_TRIES \ - PASS_ALWAYS_WARN \ - CHFN_AUTH \ - ENVIRON_FILE - do - sed -i -e "s/^${OPTION}.*/# & #This option is handled by PAM instead./" \ - "$DESTDIR/etc/login.defs" - done -# ENCRYPT_METHOD is handled specially with PAM, it will use the default as -# provided in login.defs, but it may be overridden in the pam.d config. -# We do not currently override this though, and it's better to guard oursleves -# against accidentally reducing password security by forgetting to include the -# algorithm as an argument to the PAM module, so ENCRYPT_METHOD is configured -# here, rather than in PAM. -- | - if grep -q '[\s#]ENCRYPT_METHOD' "$DESTDIR/etc/login.defs"; then - sed -i -e '/^[\s#]*ENCRYPT_METHOD /s/.*/ENCRYPT_METHOD SHA512/g' "$DESTDIR/etc/login.defs" - else - echo 'ENCRYPT_METHOD SHA512' >>"$DESTDIR/etc/login.defs" - fi - -# The default pam.d config files have pam_selinux.so as a requirement, even -# when shadow is configured '--with-selinux=no'. We change this default config -# to make this requirement optional. -- sed -i -e 's/\(.*\)required\(.*pam_selinux.so.*\)/\1optional\2/' "$DESTDIR"/etc/pam.d/* diff --git a/strata/core/texinfo-tarball.morph b/strata/core/texinfo-tarball.morph deleted file mode 100644 index 5f784ba2..00000000 --- a/strata/core/texinfo-tarball.morph +++ /dev/null @@ -1,9 +0,0 @@ -name: texinfo-tarball -kind: chunk -configure-commands: -- ./configure --prefix="$PREFIX" -build-commands: -- make -install-commands: -- make DESTDIR="$DESTDIR" install -- make DESTDIR="$DESTDIR" TEXMF="$PREFIX/share/texmf" install-tex diff --git a/strata/core/util-linux.morph b/strata/core/util-linux.morph deleted file mode 100644 index dca8ad4c..00000000 --- a/strata/core/util-linux.morph +++ /dev/null @@ -1,10 +0,0 @@ -name: util-linux -kind: chunk -build-system: autotools -pre-configure-commands: -- ./autogen.sh -configure-commands: -- | - ./configure --prefix="$PREFIX" \ - --enable-libmount-force-mountinfo \ - --disable-use-tty-group |