Compare commits
5 Commits
main
...
8c5689b7c0
| Author | SHA1 | Date | |
|---|---|---|---|
| 8c5689b7c0 | |||
| 4bb403a4b8 | |||
| e989e8b7a3 | |||
| 40cd23e4a7 | |||
| a5115b87c5 |
47
README
Normal file
47
README
Normal file
@@ -0,0 +1,47 @@
|
|||||||
|
+--------------------------------+
|
||||||
|
| Everest Linux Package Database |
|
||||||
|
+--------------------------------+
|
||||||
|
|
||||||
|
Welcome to the Everest Linux Package Database. This repository contains
|
||||||
|
packages targeting "x86_64-linux-musl".
|
||||||
|
|
||||||
|
+---------------------+
|
||||||
|
| Using this database |
|
||||||
|
+---------------------+
|
||||||
|
|
||||||
|
On system images using musl as their standard C library, this database will ve
|
||||||
|
used out of the box.
|
||||||
|
|
||||||
|
If you need packages targeting "x86_64-linux-musl" on another system,
|
||||||
|
either append the following to Glacier:
|
||||||
|
|
||||||
|
GREPO="https://git.everestlinux.org/EverestLinux/epkgs-x86-musl/raw/branch/main
|
||||||
|
|
||||||
|
Or use glacier-mkprofile to change the system's profile.
|
||||||
|
|
||||||
|
+------------+
|
||||||
|
| Guidelines |
|
||||||
|
+------------+
|
||||||
|
|
||||||
|
General packaging guidelines:
|
||||||
|
- All packages must be linked statically.
|
||||||
|
- All metadata in a package file must be accurate.
|
||||||
|
- No uneccessary dependencies (ie. systemd, java, etc)
|
||||||
|
|
||||||
|
Musl-specific packaging guidelines:
|
||||||
|
- No packages should depend on Glibc
|
||||||
|
(list gcompat OR instruct users to run inside Glibc chroot)
|
||||||
|
|
||||||
|
+--------------------+
|
||||||
|
| Reporting packages |
|
||||||
|
+--------------------+
|
||||||
|
|
||||||
|
We strive to ensure all packages are safe, however, no system is without fault.
|
||||||
|
To report a package, email the maintainer of the databse.
|
||||||
|
For more urgent matters, email security@everestlinux.org.
|
||||||
|
|
||||||
|
+----------------------+
|
||||||
|
| Database information |
|
||||||
|
+----------------------+
|
||||||
|
|
||||||
|
Maintainer: Liam Waldron (liamwaldron@everestlinux.org)
|
||||||
@@ -16,7 +16,7 @@ SHA256SUMS="8189477777d400de69bec363ec3e405db545941edf319e8e14ce99605dcf620d"
|
|||||||
|
|
||||||
# Dependency information
|
# Dependency information
|
||||||
DEPENDS=("")
|
DEPENDS=("")
|
||||||
CONFLICTS=("")
|
CONFLICTS=("ecrypt-rtc")
|
||||||
|
|
||||||
# Source information
|
# Source information
|
||||||
PACKAGE_SRC="https://git.everestlinux.org/EverestLinux/ecrypt"
|
PACKAGE_SRC="https://git.everestlinux.org/EverestLinux/ecrypt"
|
||||||
67
pm
Normal file
67
pm
Normal file
@@ -0,0 +1,67 @@
|
|||||||
|
#
|
||||||
|
# pm
|
||||||
|
#
|
||||||
|
|
||||||
|
# Package metadata
|
||||||
|
PACKAGE_NAME="pm"
|
||||||
|
PACKAGE_VER="1.0"
|
||||||
|
PACKAGE_DESC="Simple password manager"
|
||||||
|
MAINTAINER="liamwaldron@everestlinux.org"
|
||||||
|
LICENSE="GPL v3"
|
||||||
|
ARCH="x86"
|
||||||
|
INCLUDED_FILES=("/usr/bin/pm" "/etc/pm/entries")
|
||||||
|
|
||||||
|
# Integrity checking
|
||||||
|
SHA256SUMS="8189477777d400de69bec363ec3e405db545941edf319e8e14ce99605dcf620d"
|
||||||
|
|
||||||
|
# Dependency information
|
||||||
|
DEPENDS=("ecrypt")
|
||||||
|
CONFLICTS=("pm-rtc")
|
||||||
|
|
||||||
|
# Source information
|
||||||
|
PACKAGE_SRC="https://git.everestlinux.org/EverestLinux/pm"
|
||||||
|
SOURCES=("pm")
|
||||||
|
|
||||||
|
# Installation
|
||||||
|
getsource() {
|
||||||
|
git clone $PACKAGE_SRC
|
||||||
|
cd ${SOURCES}
|
||||||
|
}
|
||||||
|
|
||||||
|
buildpkg() {
|
||||||
|
make ${MAKEFLAGS} ${CFLAGS} ${CXXFLAGS} # these MUST be set
|
||||||
|
}
|
||||||
|
|
||||||
|
installpkg() {
|
||||||
|
make install
|
||||||
|
# Never install files to /bin, they will get
|
||||||
|
# overwritten when the user pulls a new update
|
||||||
|
}
|
||||||
|
|
||||||
|
installpkg_system() {
|
||||||
|
PREFIX="/" make install
|
||||||
|
}
|
||||||
|
|
||||||
|
removepkg() {
|
||||||
|
rm /usr/bin/pm
|
||||||
|
rm -rf /usr/share/man/man1/pm.1.gz
|
||||||
|
}
|
||||||
|
|
||||||
|
removepkg_system() {
|
||||||
|
rm /bin/pm
|
||||||
|
rm -rf /share/man/man1/pm.1.gz
|
||||||
|
}
|
||||||
|
|
||||||
|
updatepkg() {
|
||||||
|
buildpkg "$@"
|
||||||
|
installpkg "$@"
|
||||||
|
}
|
||||||
|
|
||||||
|
updatepkg_system() {
|
||||||
|
buildpkg "$@"
|
||||||
|
installpkg_system "$@"
|
||||||
|
}
|
||||||
|
|
||||||
|
#
|
||||||
|
# end pm
|
||||||
|
#
|
||||||
72
system/busybox
Normal file
72
system/busybox
Normal file
@@ -0,0 +1,72 @@
|
|||||||
|
#
|
||||||
|
# busybox
|
||||||
|
#
|
||||||
|
|
||||||
|
# Package metadata
|
||||||
|
PACKAGE_NAME="busybox"
|
||||||
|
PACKAGE_VER="1.36.0"
|
||||||
|
PACKAGE_DESC="Busybox embedded UNIX utilities"
|
||||||
|
MAINTAINER="liamwaldron@everestlinux.org"
|
||||||
|
LICENSE="GPL v2"
|
||||||
|
ARCH="x86"
|
||||||
|
INCLUDED_FILES=("/bin/busybox" "/linuxrc")
|
||||||
|
|
||||||
|
# Integrity checking
|
||||||
|
SHA256SUMS="2d60a4df73d14da518c3e8a7d51830c35918b54572029624ea4b86e8298fb528"
|
||||||
|
|
||||||
|
# Dependency information
|
||||||
|
DEPENDS=("")
|
||||||
|
CONFLICTS=("")
|
||||||
|
|
||||||
|
# Source information
|
||||||
|
PACKAGE_SRC="https://busybox.net/downloads/busybox-1.36.0.tar.bz2"
|
||||||
|
SOURCES=("busybox-1.36.0.tar.bz2" "busybox-1.36.0")
|
||||||
|
|
||||||
|
# Installation
|
||||||
|
getsource() {
|
||||||
|
wget $PACKAGE_SRC
|
||||||
|
tar xf ${SOURCES[0]}
|
||||||
|
cd ${SOURCES[1]}
|
||||||
|
}
|
||||||
|
|
||||||
|
buildpkg() {
|
||||||
|
curl https://git.everestlinux.org/EverestLinux/sys-pkg-configs/raw/branch/main/config.busybox-1.36.0 -o .config
|
||||||
|
make ${MAKEFLAGS} ${CFLAGS} ${CXXFLAGS} ARCH="x86_64" CROSS_COMPILE="x86_64-linux-musl-" # these MUST be set
|
||||||
|
}
|
||||||
|
|
||||||
|
installpkg() {
|
||||||
|
make ARCH="x86_64" CROSS_COMPILE="x86_64-linux-musl-" \
|
||||||
|
CONFIG_PREFIX="${BLDR_OUT_DIR}/pkgs/busybox" install
|
||||||
|
cp -v examples/depmod.pl ${TOOLCHAIN_PATH}/bin
|
||||||
|
chmod -v 755 ${TOOLCHAIN_PATH}/bin/depmod.pl
|
||||||
|
# Never install files to /bin, they will get
|
||||||
|
# overwritten when the user pulls a new update
|
||||||
|
}
|
||||||
|
|
||||||
|
installpkg_system() {
|
||||||
|
printf "Not supported for this package.\n"
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
|
removepkg() {
|
||||||
|
rm -rf ${BLDR_OUT_DIR}/pkgs/busybox
|
||||||
|
}
|
||||||
|
|
||||||
|
removepkg_system() {
|
||||||
|
printf "Not supported for this package.\n"
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
|
updatepkg() {
|
||||||
|
buildpkg "$@"
|
||||||
|
installpkg "$@"
|
||||||
|
}
|
||||||
|
|
||||||
|
updatepkg_system() {
|
||||||
|
printf "Not supported for this package.\n"
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
|
#
|
||||||
|
# end nano
|
||||||
|
#
|
||||||
70
system/musl
Normal file
70
system/musl
Normal file
@@ -0,0 +1,70 @@
|
|||||||
|
#
|
||||||
|
# musl
|
||||||
|
#
|
||||||
|
|
||||||
|
# Package metadata
|
||||||
|
PACKAGE_NAME="musl"
|
||||||
|
PACKAGE_VER="1.2.3"
|
||||||
|
PACKAGE_DESC="musl C library"
|
||||||
|
MAINTAINER="liamwaldron@everestlinux.org"
|
||||||
|
LICENSE="MIT"
|
||||||
|
ARCH="x86"
|
||||||
|
INCLUDED_FILES=("")
|
||||||
|
|
||||||
|
# Integrity checking
|
||||||
|
SHA256SUMS="6beb3edefdf9cb77dbf6ee17d89825abb69ce563860ab71e4bc9f2867ba7b5ea"
|
||||||
|
|
||||||
|
# Dependency information
|
||||||
|
DEPENDS=("")
|
||||||
|
CONFLICTS=("")
|
||||||
|
|
||||||
|
# Source information
|
||||||
|
PACKAGE_SRC="https://musl.libc.org/releases/musl-1.2.3.tar.gz"
|
||||||
|
SOURCES=("musl-1.2.3.tar.gz" "musl-1.2.3")
|
||||||
|
|
||||||
|
# Installation
|
||||||
|
getsource() {
|
||||||
|
wget $PACKAGE_SRC
|
||||||
|
tar xf ${SOURCES[0]}
|
||||||
|
cd ${SOURCES[1]}
|
||||||
|
}
|
||||||
|
|
||||||
|
buildpkg() {
|
||||||
|
./configure \
|
||||||
|
--prefix=${BLDR_OUT_DIR}/pkgs/musl \
|
||||||
|
--target="x86_64-linux-musl" \
|
||||||
|
CFLAGS="${CFLAGS}"
|
||||||
|
make ${MAKEFLAGS}
|
||||||
|
}
|
||||||
|
|
||||||
|
installpkg() {
|
||||||
|
make install ${MAKEFLAGS}
|
||||||
|
}
|
||||||
|
|
||||||
|
installpkg_system() {
|
||||||
|
printf "Not supported for this package.\n"
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
|
removepkg() {
|
||||||
|
rm -rf ${BLDR_OUT_DIR}/pkgs/musl
|
||||||
|
}
|
||||||
|
|
||||||
|
removepkg_system() {
|
||||||
|
printf "Not supported for this package.\n"
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
|
updatepkg() {
|
||||||
|
buildpkg "$@"
|
||||||
|
installpkg "$@"
|
||||||
|
}
|
||||||
|
|
||||||
|
updatepkg_system() {
|
||||||
|
printf "Not supported for this package.\n"
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
|
#
|
||||||
|
# end nano
|
||||||
|
#
|
||||||
Reference in New Issue
Block a user