Compare commits
141 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| bfd9b79568 | |||
| 0677801a0d | |||
|
68540a3778
|
|||
| 1b960b9d3a | |||
|
f9a9f83e02
|
|||
| 2a299c7f3a | |||
|
8d5df9d066
|
|||
| 86f83f6e3a | |||
| b923993cdf | |||
|
31980a5721
|
|||
| 7cf44860b6 | |||
| 2930180079 | |||
| f60f251445 | |||
| 15741f31db | |||
| 9f39572f6a | |||
| dd5d6b9996 | |||
| 20f189d139 | |||
| cb702daad7 | |||
| c353cc01a5 | |||
| f011456326 | |||
| 18f1e54d81 | |||
| 8d324dba12 | |||
| 395f614576 | |||
| 2c5bc54415 | |||
| d06139c7f5 | |||
|
17beeb7622
|
|||
| fe880c0e97 | |||
|
017ea3eda4
|
|||
| 35213a9b78 | |||
| 521737f5b4 | |||
| ef4ea473d8 | |||
| 3a3900d131 | |||
| 97ee896415 | |||
| 78f170bb29 | |||
| 85925f49dc | |||
| 1d654a52fb | |||
| b9bfd3b007 | |||
|
c6259289ef
|
|||
| d9406be455 | |||
| 6f631a1457 | |||
| 189f9a43c9 | |||
|
0168a4f9e9
|
|||
| db91628cbf | |||
| 9a44abfa2f | |||
| a52220097f | |||
|
e700fd5b4f
|
|||
| 37425ed67a | |||
| 0fd626d1d7 | |||
| c2eb1ca2e9 | |||
| cfbaf1cbcb | |||
| 1008936f71 | |||
| 5f643625b6 | |||
| 22fd7026a3 | |||
|
6d18da6f8e
|
|||
| 8a6f7b48a1 | |||
| 957fbd2009 | |||
| fc1a5ec3ff | |||
| 2a9c200060 | |||
| 5db743e0cb | |||
| 9daad29e9f | |||
| 92da8def32 | |||
| f5efc9868a | |||
| 878d3628d7 | |||
| dd71f170b1 | |||
| 9b080f58a1 | |||
| 2d3663548d | |||
| 7804d063b0 | |||
| e41a594c8b | |||
|
ccc488757e
|
|||
| 22dc09904e | |||
|
d45b8a97aa
|
|||
| c0d6ce0c12 | |||
| 07a7a1a017 | |||
| 3afe97c069 | |||
|
d8ea56a0e9
|
|||
| e2e663f6ac | |||
|
820445a7fd
|
|||
| bdd94c2002 | |||
|
0ee3a93cfe
|
|||
| 446ce8038f | |||
| 8a2cc18623 | |||
| 01b64c79ea | |||
| e3ba5402d1 | |||
| daf018bbe1 | |||
| 73ab4a55a8 | |||
| b5a561eb1a | |||
| 3b80258281 | |||
| 2646349640 | |||
| c3588d4faf | |||
|
3eba7de91c
|
|||
| e25b724342 | |||
|
a2c6e7661f
|
|||
| fa32a2e637 | |||
|
19094503a7
|
|||
| 9dce721680 | |||
|
8626ef30a4
|
|||
| a18fe9c324 | |||
| 2776fe64d9 | |||
|
dd487cfe44
|
|||
| 0db03d553a | |||
|
0b05e475c9
|
|||
| 398a5669ae | |||
|
d07b3212a1
|
|||
| e03e6eec70 | |||
|
72dbf85780
|
|||
| 1704f9cd21 | |||
| fda8fdc354 | |||
| 91054f944b | |||
| c69ad40b70 | |||
| ec0a5881b8 | |||
| 3e0aaa6a59 | |||
| a2da1b0872 | |||
| df32b0d3c3 | |||
| cf3c1d4e93 | |||
| d94829c6da | |||
|
3392fda648
|
|||
|
cb21b4496b
|
|||
| 34bfebff9e | |||
|
d2c7f69115
|
|||
| 98e51f1caa | |||
| 6e1afcda88 | |||
| bcfdd34372 | |||
| e33f0b1008 | |||
| 18f932e5fa | |||
| a4704f829f | |||
|
a8d834948a
|
|||
| d74dcea179 | |||
|
892c350b2d
|
|||
| 0ed8634a94 | |||
| 841e0ddcfd | |||
|
cf5186b704
|
|||
| b30d0b6280 | |||
|
1b6a9279a3
|
|||
| c3ad3d2055 | |||
| a2592311fa | |||
| 90f05f7c54 | |||
| b9d7875f84 | |||
| 817fb5aedc | |||
|
d71bf086ba
|
|||
| dcc67696aa | |||
|
35a84f3643
|
26
.gitea/workflows/require-approvals.yml
Normal file
26
.gitea/workflows/require-approvals.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
name: Required Approvals
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
pull_request_review:
|
||||
branches: [ master ]
|
||||
|
||||
permissions:
|
||||
checks: write
|
||||
pull-requests: read
|
||||
|
||||
jobs:
|
||||
required-approvals:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Check required approvals
|
||||
uses: https://gitea.artixlinux.org/corysanin/configurable-required-approvals@v1
|
||||
with:
|
||||
requirements: |
|
||||
- patterns:
|
||||
- "patches/_common/*"
|
||||
- ".gitea/**/*"
|
||||
requiredApprovals: 1
|
||||
github-token: ${{ secrets.ACCESS_TOKEN }}
|
||||
@@ -11,4 +11,4 @@ else
|
||||
do
|
||||
sed -i '/\.service/d' "${arg}/PKGBUILD"
|
||||
done
|
||||
fi
|
||||
fi
|
||||
|
||||
1
patches/alsa-utils/systemd-to-udev.sh
Symbolic link
1
patches/alsa-utils/systemd-to-udev.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../_common/systemd-to-udev.sh
|
||||
7
patches/alsa-utils/unitdir.sh
Executable file
7
patches/alsa-utils/unitdir.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
for i in $@; do
|
||||
sed -e '/unitdir/ s|/usr/lib/systemd/system|no|' \
|
||||
-e '/udevsystem/ s|udev|systemd|' \
|
||||
-i ${i}/PKGBUILD
|
||||
done
|
||||
1
patches/certbot/03-rm-timer.sh
Symbolic link
1
patches/certbot/03-rm-timer.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../_common/rm-timer.sh
|
||||
@@ -8,5 +8,7 @@ else
|
||||
do
|
||||
sed -i "/dbus-broker-units/d" "${arg}/PKGBUILD"
|
||||
sed -i "/dbus-units/d" "${arg}/PKGBUILD"
|
||||
sed -i "/dbus-broker.install/d" "${arg}/PKGBUILD"
|
||||
rm "${arg}/dbus-broker.install"
|
||||
done
|
||||
fi
|
||||
|
||||
1
patches/dnscrypt-proxy/01-rm-service.sh
Symbolic link
1
patches/dnscrypt-proxy/01-rm-service.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../_common/rm-service.sh
|
||||
1
patches/dnscrypt-proxy/02-rm-socket.sh
Symbolic link
1
patches/dnscrypt-proxy/02-rm-socket.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../_common/rm-socket.sh
|
||||
1
patches/dnscrypt-proxy/03-add-source.pl
Symbolic link
1
patches/dnscrypt-proxy/03-add-source.pl
Symbolic link
@@ -0,0 +1 @@
|
||||
../_common/add-source.pl
|
||||
44
patches/dnscrypt-proxy/04-add-install.pl
Executable file
44
patches/dnscrypt-proxy/04-add-install.pl
Executable file
@@ -0,0 +1,44 @@
|
||||
#!/usr/bin/perl
|
||||
|
||||
# add-package.pl
|
||||
# Appends the contents of PACKAGE_APPEND env variable to the end of the package function.
|
||||
# Can be configured to target a different function with PACKAGE_BLOCK.
|
||||
# \n in PACKAGE_APPEND are interpreted as newlines.
|
||||
# Setting PACKAGE_NO_NEWLINE will disable appending any additional newlines before
|
||||
# the append_var.
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
if (@ARGV == 0 || ! $ENV{'PACKAGE_APPEND'}) {
|
||||
die("Usage: $0 <package repo>\n");
|
||||
}
|
||||
|
||||
# Process entire file instead of line by line.
|
||||
undef $/;
|
||||
|
||||
for (@ARGV) {
|
||||
my $file_name = $_ . "/PKGBUILD";
|
||||
|
||||
open(my $input, '<', $file_name) or die("Could not open file '$file_name' $!\n");
|
||||
my $content = <$input>;
|
||||
close($input);
|
||||
|
||||
my $package_block = $ENV{'PACKAGE_BLOCK'} // 'package';
|
||||
my $append_var = $ENV{'PACKAGE_APPEND'};
|
||||
my $extra_newline = $ENV{'PACKAGE_NO_NEWLINE'} ? "" : "\n";
|
||||
$append_var =~ s/\\n/\n/g; # change \n to actual newlines
|
||||
|
||||
if ($content =~ /(
|
||||
${package_block}\s*\(\)\s*\{)/) {
|
||||
$content =~ s/(
|
||||
${package_block}\s*\(\)\s*\{[\s\S]*?
|
||||
)(\})/$1${extra_newline}${append_var}\n}/;
|
||||
} else {
|
||||
die("Function '${package_block}' not found in '$file_name'.\n");
|
||||
}
|
||||
|
||||
open($input, ">", $file_name) or die("Could not write to file '$file_name' $!\n");
|
||||
print $input $content;
|
||||
close($input);
|
||||
}
|
||||
1
patches/dnscrypt-proxy/06-updpkgsums.sh
Symbolic link
1
patches/dnscrypt-proxy/06-updpkgsums.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../_common/updpkgsums.sh
|
||||
4
patches/dnscrypt-proxy/env.txt
Normal file
4
patches/dnscrypt-proxy/env.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
SOURCES= tmpfiles.d\n sysusers.d
|
||||
SOURCES_NO_NEWLINE=yes
|
||||
PACKAGE_APPEND= # sysusers.d\n install -vDm 644 "$srcdir/sysusers.d" "$pkgdir/usr/lib/sysusers.d/${pkgname}.conf"\n # tmpfiles.d\n install -vDm 644 "$srcdir/tmpfiles.d" "$pkgdir/usr/lib/tmpfiles.d/${pkgname}.conf"
|
||||
PACKAGE_NO_NEWLINE=yes
|
||||
1
patches/dotnet-core/01-systemd-to-udev.sh
Symbolic link
1
patches/dotnet-core/01-systemd-to-udev.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../_common/systemd-to-udev.sh
|
||||
15
patches/dotnet-core/02-dotnet-things.sh
Executable file
15
patches/dotnet-core/02-dotnet-things.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ "$#" -eq 0 ]; then
|
||||
echo "Usage: $0 <package repo>"
|
||||
exit 1
|
||||
else
|
||||
for arg in "$@"
|
||||
do
|
||||
sed -e "s/arch-/artix-/g" \
|
||||
-i "${arg}/PKGBUILD" && \
|
||||
sed -E 's|(build\(\).*$)|\1\n export DOTNET_CLI_TELEMETRY_OPTOUT=1|' \
|
||||
-i "${arg}/PKGBUILD"
|
||||
done
|
||||
fi
|
||||
|
||||
1
patches/dpkg/01-insert-config-options.pl
Symbolic link
1
patches/dpkg/01-insert-config-options.pl
Symbolic link
@@ -0,0 +1 @@
|
||||
../_common/insert-config-options.pl
|
||||
1
patches/dpkg/02-updpkgsums.sh
Symbolic link
1
patches/dpkg/02-updpkgsums.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../_common/updpkgsums.sh
|
||||
14
patches/dpkg/03-install-origin-file.sh
Executable file
14
patches/dpkg/03-install-origin-file.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ "$#" -eq 0 ]; then
|
||||
echo "Usage: $0 <package repo>"
|
||||
exit 1
|
||||
else
|
||||
for arg in "$@"
|
||||
do
|
||||
sed -e "s/ archlinux / artixlinux /" \
|
||||
-i "${arg}/PKGBUILD"
|
||||
sed -E 's|(\s+install -vDm644 "\$srcdir/origin\.)(archlinux)(" "\$pkgdir/etc/dpkg/origins/)(archlinux)"|\1\2\3\4"\n\1artixlinux\3artixlinux"|' \
|
||||
-i "${arg}/PKGBUILD"
|
||||
done
|
||||
fi
|
||||
2
patches/dpkg/env.txt
Normal file
2
patches/dpkg/env.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
OPTION_VAR=source
|
||||
CONFIG_OPTIONS=origin.artixlinux
|
||||
1
patches/dropbear/rm-service.sh
Symbolic link
1
patches/dropbear/rm-service.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../_common/rm-service.sh
|
||||
1
patches/dropbear/updpkgsums.sh
Symbolic link
1
patches/dropbear/updpkgsums.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../_common/updpkgsums.sh
|
||||
@@ -1,11 +1,10 @@
|
||||
diff '--color=auto' -a -u -N a/PKGBUILD b/PKGBUILD
|
||||
--- a/PKGBUILD 2024-07-25 16:00:54.557698160 +0000
|
||||
+++ b/PKGBUILD 2024-07-25 16:01:41.452818494 +0000
|
||||
@@ -40,6 +40,7 @@
|
||||
--sbindir=/usr/bin \
|
||||
--sysconfdir=/etc \
|
||||
--disable-schemas-compile \
|
||||
+ --disable-systemd \
|
||||
--disable-sysconfig
|
||||
--- a/PKGBUILD 2025-06-11 22:57:30.370234551 +0000
|
||||
+++ b/PKGBUILD 2025-06-11 22:58:04.499371128 +0000
|
||||
@@ -37,6 +37,7 @@
|
||||
--sbindir=/usr/bin \
|
||||
--sysconfdir=/etc \
|
||||
--disable-schemas-compile \
|
||||
+ --disable-systemd \
|
||||
--disable-sysconfig
|
||||
make
|
||||
}
|
||||
|
||||
@@ -1 +1 @@
|
||||
CONFIG_OPTIONS=-D systemd=disabled\n -D elogind=enabled
|
||||
CONFIG_OPTIONS=-D systemd=disabled
|
||||
|
||||
@@ -6,9 +6,6 @@ if [ "$#" -eq 0 ]; then
|
||||
else
|
||||
for arg in "$@"
|
||||
do
|
||||
sed -e 's|gkrellm.service\s*)|)|' \
|
||||
-e "s|'[a-f0-9]\{64\}'\s*)|)|" \
|
||||
-i "${arg}/PKGBUILD"
|
||||
sed -i '/gkrellm\.service/d' "${arg}/PKGBUILD"
|
||||
sed -i '/systemd/d' "${arg}/PKGBUILD"
|
||||
done
|
||||
fi
|
||||
11
patches/glycin/let-tests-fail.sh
Executable file
11
patches/glycin/let-tests-fail.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ "$#" -eq 0 ]; then
|
||||
echo "Usage: $0 <package repo>"
|
||||
exit 1
|
||||
else
|
||||
for arg in "$@"
|
||||
do
|
||||
sed -i 's/--print-errorlogs --no-rebuild/--print-errorlogs --no-rebuild ||:/' "${arg}/PKGBUILD"
|
||||
done
|
||||
fi
|
||||
1
patches/gnome-keyring/env.txt
Normal file
1
patches/gnome-keyring/env.txt
Normal file
@@ -0,0 +1 @@
|
||||
CONFIG_OPTIONS=-D systemd=disabled
|
||||
@@ -8,9 +8,7 @@ if [ "$#" -eq 0 ]; then
|
||||
else
|
||||
for arg in "$@"
|
||||
do
|
||||
sed -e "s/'geth-user.service'//g" \
|
||||
-e "s/'806ab43221f0c203e663a78afced694786a5adb033f06fab07d07904384d7645'//g" \
|
||||
sed -e "s/'geth-user.service'//" \
|
||||
-i "${arg}/PKGBUILD"
|
||||
# TODO: remove the newline and trailing whitespace after
|
||||
done
|
||||
fi
|
||||
|
||||
1
patches/go-ethereum/03-updpkgsums.sh
Symbolic link
1
patches/go-ethereum/03-updpkgsums.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../_common/updpkgsums.sh
|
||||
@@ -6,6 +6,6 @@ if [ "$#" -eq 0 ]; then
|
||||
else
|
||||
for arg in "$@"
|
||||
do
|
||||
sed -i 's/installsystemd/installnoconf/' "${arg}/PKGBUILD"
|
||||
sed -i 's/arch_linux/artix_linux/g' "${arg}/PKGBUILD"
|
||||
done
|
||||
fi
|
||||
@@ -7,6 +7,9 @@ else
|
||||
for arg in "$@"
|
||||
do
|
||||
sed -i 's/Arch/Artix/' "${arg}/grub.default"
|
||||
sed -i 's/Arch/Artix/' "${arg}/sbat.csv"
|
||||
sed -i 's/arch/artix/' "${arg}/sbat.csv"
|
||||
sed -i 's|https://archlinux.org/packages/core/x86_64/grub/|https://gitea.artixlinux.org/packages/grub/|' "${arg}/sbat.csv"
|
||||
line_number=$(grep -n "_package_grub-common_and_bios" "${arg}/PKGBUILD" | tail -1 | cut -d : -f 1)
|
||||
line_number=$((line_number+1))
|
||||
UPDATE_GRUB='
|
||||
|
||||
11
patches/iio-sensor-proxy/02-disable-services.sh
Executable file
11
patches/iio-sensor-proxy/02-disable-services.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ "$#" -eq 0 ]; then
|
||||
echo "Usage: $0 <package repo>"
|
||||
exit 1
|
||||
else
|
||||
for arg in "$@"
|
||||
do
|
||||
sed -i "s|-Dsystemdsystemunitdir=/usr/lib/systemd/system|-Dsystemdsystemunitdir=''|" "${arg}/PKGBUILD"
|
||||
done
|
||||
fi
|
||||
@@ -6,6 +6,6 @@ if [ "$#" -eq 0 ]; then
|
||||
else
|
||||
for arg in "$@"
|
||||
do
|
||||
sed -i 's/tag=v${pkgver}"/tag=v${pkgver}")/' "${arg}/PKGBUILD"
|
||||
sed -i '/source/s|signed"|signed")|' "${arg}/PKGBUILD"
|
||||
done
|
||||
fi
|
||||
|
||||
1
patches/lib32-libnm/rm-systemd-deps.sh
Symbolic link
1
patches/lib32-libnm/rm-systemd-deps.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../_common/rm-systemd-deps.sh
|
||||
@@ -1,6 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
for i in $@; do
|
||||
sed -e '/redhat/a\ -D session_tracking=elogind'
|
||||
sed -e '/cross-file/a\ -D session_tracking=elogind' \
|
||||
-e '/systemd/d' \
|
||||
-e '/makedepends/a\ libelogind' \
|
||||
-i "$i"/PKGBUILD
|
||||
done
|
||||
|
||||
1
patches/libfido2/02-systemd-to-udev.sh
Symbolic link
1
patches/libfido2/02-systemd-to-udev.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../_common/systemd-to-udev.sh
|
||||
6
patches/libinput/0001-libinput.sh
Executable file
6
patches/libinput/0001-libinput.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
for i in $@; do
|
||||
sed -e 's|systemd-libs|udev|' \
|
||||
-i $i/PKGBUILD
|
||||
done
|
||||
1
patches/libqb/d-systemd.sh
Symbolic link
1
patches/libqb/d-systemd.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../_common/d-systemd.sh
|
||||
6
patches/libutempter/libutempter.sh
Executable file
6
patches/libutempter/libutempter.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
for i in $@ ; do
|
||||
sed -e 's,systemd,elogind,' \
|
||||
-i $i/PKGBUILD
|
||||
done
|
||||
1
patches/libvirt/d-systemd.sh
Symbolic link
1
patches/libvirt/d-systemd.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../_common/d-systemd.sh
|
||||
1
patches/lighttpd/rm-service.sh
Symbolic link
1
patches/lighttpd/rm-service.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../_common/rm-service.sh
|
||||
1
patches/lighttpd/rm-socket.sh
Symbolic link
1
patches/lighttpd/rm-socket.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../_common/rm-socket.sh
|
||||
@@ -1,12 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ "$#" -eq 0 ]; then
|
||||
echo "Usage: $0 <package repo>"
|
||||
exit 1
|
||||
else
|
||||
for arg in "$@"
|
||||
do
|
||||
sed -e 's|git+https://github.com/JuliaLang/llvm-project|llvm-project-j::git+https://github.com/JuliaLang/llvm-project|' \
|
||||
-e 's|llvm-project/llvm|llvm-project-j/llvm|' -i "${arg}/PKGBUILD"
|
||||
done
|
||||
fi
|
||||
5
patches/lm_sensors/0001-sensors-detect.sh
Executable file
5
patches/lm_sensors/0001-sensors-detect.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
for i in $@; do
|
||||
sed -e 's|prog/{detect/sensors-detect,init/{sensord,lm_sensors}.service}|prog/detect/sensors-detect|' \
|
||||
-i $i/PKGBUILD
|
||||
done
|
||||
7
patches/lm_sensors/0002-rm-service.sh
Executable file
7
patches/lm_sensors/0002-rm-service.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
for i in $@; do
|
||||
sed -e 's|healthd.service||' \
|
||||
-e '/service/d' \
|
||||
-e '0,/${srcdir}\/sensord.conf/{//d;}' \
|
||||
-i $i/PKGBUILD
|
||||
done
|
||||
1
patches/lm_sensors/updpkgsums.sh
Symbolic link
1
patches/lm_sensors/updpkgsums.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../_common/updpkgsums.sh
|
||||
11
patches/ly/02-build-installexe.sh
Executable file
11
patches/ly/02-build-installexe.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ "$#" -eq 0 ]; then
|
||||
echo "Usage: $0 <package repo>"
|
||||
exit 1
|
||||
else
|
||||
for arg in "$@"
|
||||
do
|
||||
sed -i 's/installsystemd/installexe/' "${arg}/PKGBUILD"
|
||||
done
|
||||
fi
|
||||
1
patches/mailman3/01-rm-service.sh
Symbolic link
1
patches/mailman3/01-rm-service.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../_common/rm-service.sh
|
||||
1
patches/mailman3/02-rm-timer.sh
Symbolic link
1
patches/mailman3/02-rm-timer.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../_common/rm-timer.sh
|
||||
1
patches/mailman3/03-updpkgsums.sh
Symbolic link
1
patches/mailman3/03-updpkgsums.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../_common/updpkgsums.sh
|
||||
14
patches/mailman3/04-rm-service-install.sh
Executable file
14
patches/mailman3/04-rm-service-install.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ "$#" -eq 0 ]; then
|
||||
echo "Usage: $0 <package repo>"
|
||||
exit 1
|
||||
else
|
||||
for arg in "$@"
|
||||
do
|
||||
sed -e '/services and timer/d' \
|
||||
-e '/{service,timer}/d' \
|
||||
-i "${arg}/PKGBUILD"
|
||||
|
||||
done
|
||||
fi
|
||||
6
patches/mako/0001-dbus-provider.sh
Executable file
6
patches/mako/0001-dbus-provider.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
for i in $@; do
|
||||
sed -e '/bus-provider/s|libsystemd|libelogind|' \
|
||||
-e '/makedepends/s|systemd|elogind|' \
|
||||
-i $i/PKGBUILD
|
||||
done
|
||||
1
patches/mako/rm-service.sh
Symbolic link
1
patches/mako/rm-service.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../_common/rm-service.sh
|
||||
1
patches/mako/systemd-libs-to-libelogind.sh
Symbolic link
1
patches/mako/systemd-libs-to-libelogind.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../_common/systemd-libs-to-libelogind.sh
|
||||
1
patches/modemmanager/systemd-libs-to-libelogind.sh
Symbolic link
1
patches/modemmanager/systemd-libs-to-libelogind.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../_common/systemd-libs-to-libelogind.sh
|
||||
1
patches/modemmanager/systemd-to-elogind.sh
Symbolic link
1
patches/modemmanager/systemd-to-elogind.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../_common/systemd-to-elogind.sh
|
||||
6
patches/modemmanager/z-config-flags.sh
Executable file
6
patches/modemmanager/z-config-flags.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
for i in $@; do
|
||||
sed -e '/gtk_doc/a\ -D systemd_journal=false' \
|
||||
-e '/gtk_doc/a\ -D systemdsystemunitdir=no' \
|
||||
-i ${i}/PKGBUILD
|
||||
done
|
||||
1
patches/mpd/01-d-systemd.sh
Symbolic link
1
patches/mpd/01-d-systemd.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../_common/d-systemd.sh
|
||||
1
patches/mpd/env.txt
Normal file
1
patches/mpd/env.txt
Normal file
@@ -0,0 +1 @@
|
||||
CONFIG_OPTIONS=-D systemd=disabled
|
||||
1
patches/mutter/systemd-libs-to-libelogind.sh
Symbolic link
1
patches/mutter/systemd-libs-to-libelogind.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../_common/systemd-libs-to-libelogind.sh
|
||||
15
patches/nftables/01-rm-nftables-service.sh
Executable file
15
patches/nftables/01-rm-nftables-service.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
# rm-nftables-service.sh
|
||||
# replace nftables.service with empty string in PKGBUILD files
|
||||
|
||||
if [ "$#" -eq 0 ]; then
|
||||
echo "Usage: $0 <package repo>"
|
||||
exit 1
|
||||
else
|
||||
for arg in "$@"
|
||||
do
|
||||
sed -e "s/'nftables.service'//" \
|
||||
-i "${arg}/PKGBUILD"
|
||||
done
|
||||
fi
|
||||
1
patches/nftables/02-rm-service.sh
Symbolic link
1
patches/nftables/02-rm-service.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../_common/rm-service.sh
|
||||
15
patches/nftables/03-rm-systemd-comment.sh
Executable file
15
patches/nftables/03-rm-systemd-comment.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
# rm-systemd-comment.sh
|
||||
# removes any commented line that contains "systemd" in the PKGBUILD file
|
||||
|
||||
if [ "$#" -eq 0 ]; then
|
||||
echo "Usage: $0 <package repo>"
|
||||
exit 1
|
||||
else
|
||||
for arg in "$@"
|
||||
do
|
||||
sed -e "/^\s*#.*systemd/d" \
|
||||
-i "${arg}/PKGBUILD"
|
||||
done
|
||||
fi
|
||||
1
patches/nftables/04-updpkgsums.sh
Symbolic link
1
patches/nftables/04-updpkgsums.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../_common/updpkgsums.sh
|
||||
1
patches/niri/d-systemd.sh
Symbolic link
1
patches/niri/d-systemd.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../_common/d-systemd.sh
|
||||
@@ -1 +0,0 @@
|
||||
../_common/rm-blocks.pl
|
||||
1
patches/ntp/rm-service.sh
Symbolic link
1
patches/ntp/rm-service.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../_common/rm-service.sh
|
||||
1
patches/ntp/updpkgsums.sh
Symbolic link
1
patches/ntp/updpkgsums.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../_common/updpkgsums.sh
|
||||
14
patches/open-iscsi/systemd-to-udev.sh
Executable file
14
patches/open-iscsi/systemd-to-udev.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
if [ "$#" -eq 0 ]; then
|
||||
echo "Usage: $0 <package repo>"
|
||||
exit 1
|
||||
else
|
||||
for arg in "$@"
|
||||
do
|
||||
sed -e "s,systemd-libs,libudev," \
|
||||
-i ${arg}/PKGBUILD
|
||||
sed -e "s/systemd/udev/" \
|
||||
-e "/rulesdir/a\ -Dno_systemd=true" \
|
||||
-i "${arg}/PKGBUILD"
|
||||
done
|
||||
fi
|
||||
|
||||
1
patches/openresolv/rm-systemd-deps.sh
Symbolic link
1
patches/openresolv/rm-systemd-deps.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../_common/rm-systemd-deps.sh
|
||||
6
patches/opensips/opensips.sh
Executable file
6
patches/opensips/opensips.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
for i in $@ ; do
|
||||
sed -e 's|tar.gz|tar.gz)|' \
|
||||
-i $i/PKGBUILD
|
||||
done
|
||||
1
patches/opensips/rm-service.sh
Symbolic link
1
patches/opensips/rm-service.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../_common/rm-service.sh
|
||||
1
patches/opensips/updpkgsums.sh
Symbolic link
1
patches/opensips/updpkgsums.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../_common/updpkgsums.sh
|
||||
1
patches/opensmptd/rm-service.sh
Symbolic link
1
patches/opensmptd/rm-service.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../_common/rm-service.sh
|
||||
1
patches/opensmptd/rm-socket.sh
Symbolic link
1
patches/opensmptd/rm-socket.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../_common/rm-socket.sh
|
||||
1
patches/opensmptd/rm-systemd-deps.sh
Symbolic link
1
patches/opensmptd/rm-systemd-deps.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../_common/rm-systemd-deps.sh
|
||||
1
patches/opensmptd/updpkgsums.sh
Symbolic link
1
patches/opensmptd/updpkgsums.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../_common/updpkgsums.sh
|
||||
6
patches/opensmptd/v1-sysuser.sh
Executable file
6
patches/opensmptd/v1-sysuser.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
for i in $@; do
|
||||
sed -i '0,/sysusers/{s|sysusers|sysusers)|}' \
|
||||
$i/PKGBUILD
|
||||
done
|
||||
1
patches/opensnitch/rm-service.sh
Symbolic link
1
patches/opensnitch/rm-service.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../_common/rm-service.sh
|
||||
1
patches/opensnitch/skip-systemd-install.pl
Symbolic link
1
patches/opensnitch/skip-systemd-install.pl
Symbolic link
@@ -0,0 +1 @@
|
||||
../_common/skip-systemd-install.pl
|
||||
1
patches/opensnitch/updpkgsums.sh
Symbolic link
1
patches/opensnitch/updpkgsums.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../_common/updpkgsums.sh
|
||||
1
patches/passim/01-rm-systemd-deps.sh
Symbolic link
1
patches/passim/01-rm-systemd-deps.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../_common/rm-systemd-deps.sh
|
||||
1
patches/passim/02-add-source.pl
Symbolic link
1
patches/passim/02-add-source.pl
Symbolic link
@@ -0,0 +1 @@
|
||||
../_common/add-source.pl
|
||||
1
patches/passim/03-updpkgsums.sh
Symbolic link
1
patches/passim/03-updpkgsums.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../_common/updpkgsums.sh
|
||||
28
patches/passim/04-add-prepare-function.pl
Executable file
28
patches/passim/04-add-prepare-function.pl
Executable file
@@ -0,0 +1,28 @@
|
||||
#!/usr/bin/perl
|
||||
|
||||
# add-prepare-function.pl
|
||||
# Inserts a prepare() function before the build() function in PKGBUILD.
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
if (@ARGV == 0) {
|
||||
die("Usage: $0 <package repo>\n");
|
||||
}
|
||||
|
||||
# Process entire file instead of line by line.
|
||||
undef $/;
|
||||
|
||||
for (@ARGV) {
|
||||
my $file_name = $_ . "/PKGBUILD";
|
||||
open(FILE, $file_name) or die("Cannot open $file_name: $!");
|
||||
my $content = <FILE>;
|
||||
close(FILE);
|
||||
|
||||
# Insert prepare() function before build()
|
||||
if ($content =~ s/^(\s*)build\(\)\s*{/$1\nprepare() {\n patch -Np1 -d \$pkgname -i ..\/0001-no-systemd.patch\n}\n$1build() {/m) {
|
||||
open(FILE, ">$file_name") or die("Cannot write to $file_name: $!");
|
||||
print FILE $content;
|
||||
close(FILE);
|
||||
}
|
||||
}
|
||||
13
patches/passim/05-add-sysuser-build-option.sh
Executable file
13
patches/passim/05-add-sysuser-build-option.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
# add sysusersdir option to build options in PKGBUILD
|
||||
|
||||
if [ "$#" -eq 0 ]; then
|
||||
echo "Usage: $0 <package repo>"
|
||||
exit 1
|
||||
else
|
||||
for arg in "$@"; do
|
||||
sed -e "/artix-meson \${pkgname} build/s|$| -D sysusersdir=/usr/lib/sysusers.d|" \
|
||||
-i "$arg/PKGBUILD"
|
||||
done
|
||||
fi
|
||||
1
patches/passim/env.txt
Normal file
1
patches/passim/env.txt
Normal file
@@ -0,0 +1 @@
|
||||
SOURCES= '0001-no-systemd.patch'
|
||||
@@ -1,22 +0,0 @@
|
||||
#!/usr/bin/perl
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
if (@ARGV == 0) {
|
||||
die("Usage: $0 <package repo>\n");
|
||||
}
|
||||
|
||||
# Process entire file instead of line by line.
|
||||
undef $/;
|
||||
|
||||
for (@ARGV) {
|
||||
my $file_name = $_ . "/PKGBUILD";
|
||||
open(my $fh, '<', $file_name) or die "Could not open file '$file_name' $!";
|
||||
my $content = <$fh>;
|
||||
close($fh);
|
||||
$content =~ s/(makedepends=\(\s*.*?)(\))/${1} 'argon2'$2/s;
|
||||
open($fh, '>', $file_name) or die "Could not open file '$file_name' $!";
|
||||
print $fh $content;
|
||||
close($fh);
|
||||
}
|
||||
15
patches/prosody/01.5-fix-parentheses.sh
Executable file
15
patches/prosody/01.5-fix-parentheses.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
# rm-service.sh
|
||||
# Indiscriminately removes all lines that contain ".service"
|
||||
|
||||
if [ "$#" -eq 0 ]; then
|
||||
echo "Usage: $0 <package repo>"
|
||||
exit 1
|
||||
else
|
||||
for arg in "$@"
|
||||
do
|
||||
sed -e 's/sha256sums=/)\nsha256sums=/' \
|
||||
-i "${arg}/PKGBUILD"
|
||||
done
|
||||
fi
|
||||
16
patches/rabbitmq/01-rm-systemd-patch.sh
Executable file
16
patches/rabbitmq/01-rm-systemd-patch.sh
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
# rm-systemd-patch.sh
|
||||
# Indiscriminately removes all lines that contain
|
||||
# "rabbitmq-customize-systemd-service.patch". And removes the patch file.
|
||||
|
||||
if [ "$#" -eq 0 ]; then
|
||||
echo "Usage: $0 <package repo>"
|
||||
exit 1
|
||||
else
|
||||
for arg in "$@"
|
||||
do
|
||||
sed -i '/rabbitmq-customize-systemd-service.patch/d' "${arg}/PKGBUILD"
|
||||
rm "rabbitmq-customize-systemd-service.patch"
|
||||
done
|
||||
fi
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user