Added and updated a few security and network libraries

This commit is contained in:
dslm4515
2021-03-20 18:31:14 -05:00
parent 2a7a6f0321
commit 9c6a1e8b4c
16 changed files with 708 additions and 0 deletions

View File

@ -0,0 +1,44 @@
#! /bin/bash
# Bubblewrap
# Source: https://github.com/projectatomic/bubblewrap/releases/download/v0.4.1/bubblewrap-0.4.1.tar.xz
#
# $BUILD = Directory to temporarily install
# $PKGS = Directory to store built packages
#
# DEPS
# Required: NONE
# Recommended: NONE
# Optional: NONE
NOCONFIGURE=1 ./autogen.sh
./configure --prefix=/usr --with-priv-mode=setuid $BUILDTRUPLE &&
read -p "Compile?" && make -j2 &&
sudo -S make DESTDIR=$BUILD install &&
cd $BUILD && sudo -S mkdir -v ${BUILD}/install &&
cat > /tmp/slack-desc << "EOF"
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
bubblewrap: bubblewrap (unprivileged sandboxing tool)
bubblewrap:
bubblewrap: Many container runtimes focus on providing infrastructure for
bubblewrap: system administrators and orchestration tools to run containers.
bubblewrap:
bubblewrap: Bubblewrap provides container runtime for unprivileged users, which
bubblewrap: reduces the surface area for privilege escalation.
bubblewrap:
bubblewrap:
bubblewrap:
bubblewrap:
EOF
sudo -S mv -v /tmp/slack-desc install/ &&
sudo -S makepkg -l y -c n $PKGS/bubblewrap-0.4.1-$(uname -m)-mlfs.txz &&
sudo -S rm -rf ${BUILD}/*

View File

@ -0,0 +1,43 @@
#! /bin/bash
# cryptsetup
# Source: https://www.kernel.org/pub/linux/utils/cryptsetup/v2.3/cryptsetup-2.3.4.tar.xz
#
# $BUILD = Directory to temporarily install
# $PKGS = Directory to store built packages
#
# DEPS
# Required: JSON-C, LVM2, popt
# Recommended: argon2
# Optional: libpwquality, Python2, passwdqc
./configure --prefix=/usr --with-crypto_backend=openssl --enable-libargon2 $BUILDTRUPLE &&
read -p "Compile?" && make -j2 &&
sudo -S make DESTDIR=$BUILD install &&
cd $BUILD && sudo -S mkdir -v ${BUILD}/install &&
cat > /tmp/slack-desc << "EOF"
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
cryptsetup: cryptsetup (utility for setting up encrypted filesystems)
cryptsetup:
cryptsetup: LUKS is a standard for cross-platform hard disk encryption.
cryptsetup: It provides secure management of multiple userpasswords and
cryptsetup: stores setup information in the partition header.
cryptsetup: LUKS for dm-crypt is now implemented in cryptsetup replacing the
cryptsetup: original cryptsetup. It provides all the functionally of the
cryptsetup: original version plus all LUKS features.
cryptsetup:
cryptsetup: cryptsetup home: http://luks.endorphin.org/dm-crypt
cryptsetup:
EOF
sudo -S mv -v /tmp/slack-desc install/ &&
sudo -S makepkg -l y -c n $PKGS/cryptsetup-2.3.4-$(uname -m)-mlfs.txz &&
sudo -S rm -rf ${BUILD}/*

View File

@ -0,0 +1,49 @@
#! /bin/bash
# GeoClue
# Source: https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/2.5.6/geoclue-2.5.6.tar.bz2
#
# $BUILD = Directory to temporarily install
# $PKGS = Directory to store built packages
#
# DEPS
# Required: JSON-glib, libsoup
# Recommended: ModemManager, Vala, Avahi
# Optional: GTK-Doc, libnotify
mkdir build &&
cd build &&
meson --prefix=/usr -Dgtk-doc=false \
-Dnmea-source=true \
-Ddbus-sys-dir=/usr/share/dbus-1/system.d .. &&
read -p "Compile?" && ninja -j2 &&
sudo -S DESTDIR=$BUILD ninja install &&
cd $BUILD && sudo -S mkdir -v ${BUILD}/install &&
cat > /tmp/slack-desc << "EOF"
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
geoclue: geoclue (geoinformation service)
geoclue:
geoclue: Geoclue is a modular geoinformation service built on top of the D-Bus
geoclue: messaging system. The goal of the Geoclue project is to make creating
geoclue: location-aware applications as simple as possible.
geoclue: Geoclue defines a set of geoinformation APIs, but it also includes
geoclue: some providers that implement those APIs.
geoclue:
geoclue: homepage: http://geoclue.freedesktop.org/
geoclue:
geoclue:
EOF
sudo -S mv -v /tmp/slack-desc install/ &&
sudo -S makepkg -l y -c n $PKGS/geoclue-2.5.6-$(uname -m)-mlfs.txz &&
sudo -S rm -rf ${BUILD}/*

View File

@ -0,0 +1,48 @@
#! /bin/bash
# GNOME Keyring
# Source: ftp://ftp.acc.umu.se/pub/gnome/sources/gnome-keyring/3.36/gnome-keyring-3.36.0.tar.xz
#
# $BUILD = Directory to temporarily install
# $PKGS = Directory to store built packages
#
# DEPS
# Required: DBus, Gcr
# Recommended: Linux-Pam, libxslt, OpenSSH
# Optional: Gnupg, Valgrind, libcap-ng, LCOV
sed -i 's:"/desktop:"/org:' schema/*.xml &&
./configure --prefix=/usr \
--sysconfdir=/etc \
--with-pam-dir=/lib/security $BUILDTRUPLE
read -p "Compile?" && make -j2 &&
sudo -S make DESTDIR=$BUILD install &&
cd $BUILD && sudo -S mkdir -v ${BUILD}/install &&
cat > /tmp/slack-desc << "EOF"
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
gnome-keyring: GNOME Keyring (a tool to handle security credentials)
gnome-keyring:
gnome-keyring: GNOME Keyring is a program designed to take care of the user's
gnome-keyring: security credentials, such as user names and passwords, in an
gnome-keyring: easy to access manner. The keyring is implemented as a daemon
gnome-keyring: and uses the process name gnome-keyring-daemon.
gnome-keyring:
gnome-keyring:
gnome-keyring:
gnome-keyring:
gnome-keyring:
EOF
sudo -S mv -v /tmp/slack-desc install/ &&
sudo -S makepkg -l y -c n $PKGS/gnome-keyring-3.36.0-$(uname -m)-mlfs.txz &&
sudo -S rm -rf ${BUILD}/*

42
build-scripts/gpgme.build Normal file
View File

@ -0,0 +1,42 @@
#! /bin/bash
# GPGME
# Source: ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-1.15.1.tar.bz2
#
# $BUILD = Directory to temporarily install
# $PKGS = Directory to store built packages
#
# DEPS
# Required: libassuan
# Recommended: NONE
# Optional: Doxygen, Graphviz, GnuPG, Clisp, Python2, Qt5, SWIG
./configure --prefix=/usr --disable-gpg-test $BUILDTRUPLE &&
read -p "Compile?" && make -j2 &&
sudo -S make DESTDIR=$BUILD install &&
cd $BUILD && sudo -S mkdir -v ${BUILD}/install &&
cat > /tmp/slack-desc << "EOF"
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
gpgme: gpgme - GnuPG Made Easy
gpgme:
gpgme: GPGME (GnuPG Made Easy) is a C language library that allows to add
gpgme: support for cryptography to a program. It is designed to make access
gpgme: to public key crypto engines like GnuPG or GpgSM easier for
gpgme: applications. GPGME provides a high-level crypto API for encryption,
gpgme: decryption, signing, signature verification and key management.
gpgme:
gpgme:
gpgme:
EOF
sudo -S mv -v /tmp/slack-desc install/ &&
sudo -S makepkg -l y -c n $PKGS/gpgme-1.15.0-$(uname -m)-mlfs.txz &&
sudo -S rm -rf ${BUILD}/*

44
build-scripts/libao.build Normal file
View File

@ -0,0 +1,44 @@
#! /bin/bash
# libao
# Source: https://github.com/xiph/libao/archive/1.2.2.tar.gz
#
# $BUILD = Directory to temporarily install
# $PKGS = Directory to store built packages
#
# DEPS
# Required: NONE
# Recommended: NONE
# Optional: ALSA-lib, PulseAudio, X Org System
autoreconf -fvi &&
./configure --prefix=/usr --enable-alsa-mmap $BUILDTRUPLE &&
read -p "Compile?" && make -j2 &&
sudo -S make DESTDIR=$BUILD install &&
cd $BUILD && sudo -S mkdir -v ${BUILD}/install &&
cat > /tmp/slack-desc << "EOF"
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
libao: libao (Audio Output library)
libao:
libao: Libao is a cross-platform audio library, and is required by many
libao: programs and other libraries that use audio (some examples include
libao: ogg123, GAIM, and the Ogg Vorbis libraries). This package provides
libao: plugins for OSS, ESD, aRts, and ALSA. You will need to install the
libao: supporting libraries for any plugins you want to use.
libao:
libao:
libao:
libao:
EOF
sudo -S mv -v /tmp/slack-desc install/ &&
sudo -S makepkg -l y -c n $PKGS/libao-1.2.0-$(uname -m)-mlfs.txz &&
sudo -S rm -rf ${BUILD}/*

View File

@ -0,0 +1,43 @@
#! /bin/bash
# libassuan
# Source: ftp://ftp.gnupg.org/gcrypt/libassuan/libassuan-2.5.4.tar.bz2
#
# $BUILD = Directory to temporarily install
# $PKGS = Directory to store built packages
#
# DEPS
# Required: libgpg-error
# Recommended: NONE
# Optional: NONE
./configure --prefix=/usr $BUILDTRUPLE &&
read -p "Compile?" && make -j2 &&
sudo -S make DESTDIR=$BUILD install &&
cd $BUILD && sudo -S mkdir -v ${BUILD}/install &&
cat > /tmp/slack-desc << "EOF"
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
libassuan: libassuan (Interprocess Communication Library for GPG)
libassuan:
libassuan: This is the IPC library used by GnuPG 2.x, GPGME and a few other
libassuan: packages.
libassuan:
libassuan:
libassuan:
libassuan:
libassuan:
libassuan:
libassuan:
EOF
sudo -S mv -v /tmp/slack-desc install/ &&
sudo -S makepkg -l y -c n $PKGS/libassuan-2.5.4-$(uname -m)-mlfs.txz &&
sudo -S rm -rf ${BUILD}/*

View File

@ -0,0 +1,43 @@
#! /bin/bash
# Libksba
# Source: ftp://ftp.gnupg.org/gcrypt/libksba/libksba-1.4.0.tar.bz2
#
# $BUILD = Directory to temporarily install
# $PKGS = Directory to store built packages
#
# DEPS
# Required: libgpg-error
# Recommended: NONE
# Optional: NONE
./configure --prefix=/usr $BUILDTRUPLE &&
read -p "Compile?" && make -j2 &&
sudo -S make DESTDIR=$BUILD install &&
cd $BUILD && sudo -S mkdir -v ${BUILD}/install &&
cat > /tmp/slack-desc << "EOF"
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
libksba: libksba (X.509 & CMS library for S/MIME and TLS)
libksba:
libksba: KSBA (pronounced Kasbah) is a library to make X.509 certificates as
libksba: well as the CMS easily accessible by other applications.
libksba: Both specifications are building blocks of S/MIME and TLS.
libksba:
libksba:
libksba:
libksba:
libksba:
libksba:
EOF
sudo -S mv -v /tmp/slack-desc install/ &&
sudo -S makepkg -l y -c n $PKGS/libksba-1.4.0-$(uname -m)-mlfs.txz &&
sudo -S rm -rf ${BUILD}/*

View File

@ -0,0 +1,44 @@
#! /bin/bash
# libmbim
# Source: https://www.freedesktop.org/software/libmbim/libmbim-1.24.4.tar.xz
#
# $BUILD = Directory to temporarily install
# $PKGS = Directory to store built packages
#
# DEPS
# Required: libgudev
# Recommended: Gobject-introspection
# Optional: GTK-Doc, help2man
./configure --prefix=/usr --disable-static \
--enable-introspection=yes $BUILDTRUPLE &&
read -p "Compile?" && make -j2 &&
sudo -S make DESTDIR=$BUILD install &&
cd $BUILD && sudo -S mkdir -v ${BUILD}/install &&
cat > /tmp/slack-desc << "EOF"
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
libmbim: libmbim (MBIM library and utils)
libmbim:
libmbim: The Mobile Broadband Interface Model (MBIM) is a new standard to
libmbim: communicate with mobile broadband modem devices developed by the
libmbim: USB Implementors Forum.
libmbim:
libmbim: Homepage: http://www.freedesktop.org/software/libmbim/
libmbim:
libmbim:
libmbim:
libmbim:
EOF
sudo -S mv -v /tmp/slack-desc install/ &&
sudo -S makepkg -l y -c n $PKGS/libmbim-1.24.4-$(uname -m)-mlfs.txz &&
sudo -S rm -rf ${BUILD}/*

View File

@ -0,0 +1,48 @@
#! /bin/bash
# libnl3
# Source: https://github.com/thom311/libnl/releases/download/libnl3_5_0/libnl-3.5.0.tar.gz
#
# $BUILD = Directory to temporarily install
# $PKGS = Directory to store built packages
#
# DEPS
# Required: NONE
# Recommended: NONE
# Optional: NONE
autoreconf -fiv &&
sed -i '/<linux\/if_bridge.h>/i#define _LINUX_IN6_H' lib/route/link/bridge.c &&
./configure --prefix=/usr \
--sysconfdir=/etc \
--disable-static $BUILDTRUPLE &&
read -p "Compile?" && make -j2 &&
sudo -S make DESTDIR=$BUILD install &&
cd $BUILD && sudo -S mkdir -v ${BUILD}/install &&
cat > /tmp/slack-desc << "EOF"
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
libnl3: libnl3 (Netlink Protocol Library Suite version 3)
libnl3:
libnl3: The libnl suite is a collection of libraries providing APIs to
libnl3: netlink protocol based Linux kernel interfaces. Netlink is a IPC
libnl3: mechanism primarily between the kernel and user space processes.
libnl3: It was designed to be a more flexible successor to ioctl to provide
libnl3: mainly networking related kernel configuration and monitoring
libnl3: interfaces.
libnl3:
libnl3: Homepage: https://github.com/thom311/libnl
libnl3:
EOF
sudo -S mv -v /tmp/slack-desc install/ &&
sudo -S makepkg -l y -c n $PKGS/libnl3-3.5.0-$(uname -m)-mlfs.txz &&
sudo -S rm -rf ${BUILD}/*

View File

@ -0,0 +1,47 @@
#! /bin/bash
# libpwquality
# Source: https://github.com/libpwquality/libpwquality/releases/download/libpwquality-1.4.4/libpwquality-1.4.4.tar.bz2
#
# $BUILD = Directory to temporarily install
# $PKGS = Directory to store built packages
#
# DEPS
# Required: Cracklib
# Recommended: linux-PAM
# Optional: Python2
./configure --prefix=/usr \
--disable-static \
--with-securedir=/lib/security \
--with-python-binary=python3 $BUILDTRUPLE &&
read -p "Compile?" && make -j2 &&
sudo -S make DESTDIR=$BUILD install &&
cd $BUILD && sudo -S mkdir -v ${BUILD}/install &&
cat > /tmp/slack-desc << "EOF"
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
libpwquality: libpwquality (library for password quality checking and generation)
libpwquality:
libpwquality: libpwquality's purpose is to provide common functions for password
libpwquality: quality checking and also scoring them based on their apparent
libpwquality: randomness. The library also provides a function for generating
libpwquality: random passwords with good pronounceability.
libpwquality:
libpwquality: Home page: https://github.com/libpwquality/libpwquality/
libpwquality:
libpwquality:
libpwquality:
EOF
sudo -S mv -v /tmp/slack-desc install/ &&
sudo -S makepkg -l y -c n $PKGS/libpwquality-1.4.4-$(uname -m)-mlfs.txz &&
sudo -S rm -rf ${BUILD}/*

View File

@ -0,0 +1,43 @@
#! /bin/bash
# libqmi
# Source: https://www.freedesktop.org/software/libqmi/libqmi-1.26.6.tar.xz
#
# $BUILD = Directory to temporarily install
# $PKGS = Directory to store built packages
#
# DEPS
# Required: Glib
# Recommended: Goject-introspection, libmbim
# Optional: GTK-Doc
./configure --prefix=/usr --disable-static $BUILDTRUPLE &&
read -p "Compile?" && make -j2 &&
sudo -S make DESTDIR=$BUILD install &&
cd $BUILD && sudo -S mkdir -v ${BUILD}/install &&
cat > /tmp/slack-desc << "EOF"
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
libqmi: libqmi (QMI library and utils)
libqmi:
libqmi: libqmi is a glib-based library for talking to WWAN modems and devices
libqmi: which speak the Qualcomm MSM Interface (QMI) protocol.
libqmi:
libqmi: Homepage: http://www.freedesktop.org/software/libqmi/
libqmi:
libqmi:
libqmi:
libqmi:
libqmi:
EOF
sudo -S mv -v /tmp/slack-desc install/ &&
sudo -S makepkg -l y -c n $PKGS/libqmi-1.26.6-$(uname -m)-mlfs.txz &&
sudo -S rm -rf ${BUILD}/*

View File

@ -0,0 +1,47 @@
#! /bin/bash
# libsecret
# Source: ftp://ftp.acc.umu.se/pub/gnome/sources/libsecret/0.20/libsecret-0.20.4.tar.xz
#
# $BUILD = Directory to temporarily install
# $PKGS = Directory to store built packages
#
# DEPS
# Required: GLib
# Recommended: Gobjection-introspection, libgcrypt, vala
# Optional: GTK-Doc, docbook-xml, dockbook-xsl, libxslt, Valgrind
mkdir bld &&
cd bld &&
meson --prefix=/usr -Dgtk_doc=false .. &&
read -p "Compile?" && ninja -j2 &&
sudo -S DESTDIR=$BUILD ninja install &&
cd $BUILD && sudo -S mkdir -v ${BUILD}/install &&
cat > /tmp/slack-desc << "EOF"
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
libsecret: libsecret (library to access the Secret Service API)
libsecret:
libsecret: libsecret is a GObject based library for accessing the Secret Service
libsecret: API.
libsecret:
libsecret:
libsecret:
libsecret:
libsecret:
libsecret:
libsecret:
EOF
sudo -S mv -v /tmp/slack-desc install/ &&
sudo -S makepkg -l y -c n $PKGS/libsecret-0.20.4-$(uname -m)-mlfs.txz &&
sudo -S rm -rf ${BUILD}/*

View File

@ -0,0 +1,40 @@
#! /bin/bash
# polkit-gnome
# Source: https://download.gnome.org/sources/polkit-gnome/0.105/polkit-gnome-0.105.tar.xz
#
# $BUILD = Directory to temporarily install
# $PKGS = Directory to store built packages
#
# DEPS
# Required: GTK+3, polkit, Glib, gobject-introspection
# Recommended: NONE
# Optional: NONE
cp -vf ../files/config.sub-musl config.sub && \
cp -vf ../files/config.guess-musl config.guess && \
./configure --prefix=/usr $BUILDTRUPLE && \
read -p "Compile?" && make -j2 &&
sudo -S make DESTDIR=$BUILD install &&
cd $BUILD && sudo -S mkdir -v ${BUILD}/install &&
cat > /tmp/slack-desc << "EOF"
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
polkit-gnome: polkit-gnome
polkit-gnome:
polkit-gnome: A GTK+3/GNOME authentication Agent for Polkit
polkit-gnome:
EOF
sudo -S mv -v /tmp/slack-desc install/ &&
sudo -S makepkg -l y -c n $PKGS/polkit-gnome-0.105-$(uname -m)-mlfs.txz &&
sudo -S rm -rf ${BUILD}/*

View File

@ -0,0 +1,41 @@
#! /bin/bash
# swaylock
# Source: https://github.com/swaywm/swaylock/releases/download/1.5/swaylock-1.5.tar.gz
#
# $BUILD = Directory to temporarily install
# $PKGS = Directory to store built packages
#
# DEPS
# Required: wayland-protocols , libxkbcommon, cairo, gdk-pixbuf2, git
# Recommended: linux-PAM, scdoc
# Optional: NONE
meson --prefix=/usr OUT && \
ninja -C OUT -j2 && \
sudo -S DESTDIR=$BUILD ninja -C OUT install &&
cd $BUILD && sudo -S mkdir -v ${BUILD}/install &&
cat > /tmp/slack-desc << "EOF"
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
swaylock: swaylock
swaylock:
swaylock: A screen locking utility for Wayland compositors. It is compatible
swaylock: with any Wayland compositor which implements the following Wayland
swaylock: protocols: wlr-layer-shell, wlr-input-inhibitor, xdg-output, and
swaylock: xdg-shell
swaylock:
swaylock: https://github.com/swaywm/swaylock
swaylock:
EOF
sudo -S mv -v /tmp/slack-desc install/ &&
sudo -S makepkg -l y -c n $PKGS/swaylock-1.4-$(uname -m)-mlfs.txz &&
sudo -S rm -rf ${BUILD}/*

View File

@ -0,0 +1,42 @@
#! /bin/bash
# Waylock
# Source: https://github.com/ifreund/waylock/archive/v0.3.3.tar.gz
#
# $BUILD = Directory to temporarily install
# $PKGS = Directory to store built packages
#
# DEPS
# Required: rustc, wlroots
# Recommended: NONE
# Optional: NONE
cargo build --release --locked && \
sudo -S mkdir -pv ${BUILD}/usr/bin ${BUILD}/usr/share/doc/waylock && \
sudo -S install -Dm 755 target/release/waylock -t ${BUILD}/usr/bin/ && \
sudo -S install -Dm 644 README.md -t ${BUILD}/usr/share/doc/waylock/ && \
sudo -S install -Dm 644 waylock.toml -t ${BUILD}/usr/share/doc/waylock/ && \
cd $BUILD && sudo -S mkdir -v ${BUILD}/install &&
cat > /tmp/slack-desc << "EOF"
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
waylock: waylock
waylock:
waylock: A simple screenlocker for wayland compositors. It takes inspiration
waylock: from slock with its minimalistic feature set, but is implemented in
waylock: rust for first class safety and security.
waylock:
waylock: https://github.com/ifreund/waylock
waylock:
EOF
sudo -S mv -v /tmp/slack-desc install/ &&
sudo -S makepkg -l y -c n $PKGS/waylock-0.3.3-$(uname -m)-mlfs.txz &&
sudo -S rm -rf ${BUILD}/*