aboutsummaryrefslogtreecommitdiff

MuSlack

MuSlack is an unoffical attempt at porting some Slackware current packages to statically built musl based ones.

Pre-Release

  • Build system must be extremely reliable and secure.
  • System must be able to update self
  • System must be useful, with openssh, ftp server
  • System must be buildable from standard Slackware
  • System must be able to build self
  • System may include HTTP and hopefully SAMBA
  • Revamp README

Auditing Changes

An easy way to audit the build scripts is to compare them to Slackware's official one. To do this, copy the '.git' folder from this project into the root of Slackware-current and run 'git diff'.

Requirements

Building these Packages

To build the packages in this project, a locally installed MuSlack system is used under /opt/muslack.

export PATH=/bin:/sbin:$PATH:$(realpath ./cmd)
sudo mkdir /opt/muslack
sudo chown $USER /opt/muslack

# Pull supporting package contents from Slackware
sync-files.sh

# Create _very_ minimal base system
init-env.sh

# Enter build environment
build-env.sh

# install kernel headers
(
  cd /tmp
  wget ftp://ftp.slackware.com/pub/slackware/slackware64-current/slackware64/d/kernel-headers-4.4.14-x86-1.txz
  wget ftp://ftp.slackware.com/pub/slackware/slackware64-current/slackware64/d/kernel-headers-4.4.14-x86-1.txz.asc
  gpg2 --verify-files *.asc
  installpkg kernel-headers*.txz
)

# Try building + installing everything
build-all.sh