126 Commits

Author SHA1 Message Date
dd5d6b9996 lm_sensors: also remove sensord.conf
All checks were successful
Required Approvals / required-approvals (pull_request) Successful in 5s
from being installed, which conflicts with *-openrc
2025-05-19 06:46:23 +02:00
20f189d139 Merge pull request 'lm_sensors: Add' (#369) from lm_sensors into master
Reviewed-on: #369
2025-05-18 11:11:34 +02:00
cb702daad7 Merge pull request 'xf86-video-vmware: Add' (#368) from video-vmware into master
Reviewed-on: #368
2025-05-18 11:09:35 +02:00
c353cc01a5 xf86-video-vmware: Add
All checks were successful
Required Approvals / required-approvals (pull_request) Successful in 4s
2025-05-18 04:08:30 -05:00
f011456326 lm_sensors: Add
All checks were successful
Required Approvals / required-approvals (pull_request) Successful in 1s
2025-05-17 23:51:11 -05:00
18f1e54d81 Merge pull request 'opensmtpd: fix' (#367) from opensmtpd into master
Reviewed-on: #367
2025-05-14 01:40:11 +02:00
8d324dba12 opensmtpd: fix
All checks were successful
Required Approvals / required-approvals (pull_request) Successful in 7s
2025-05-13 18:38:18 -05:00
395f614576 Merge pull request 'ntp: remove service files' (#366) from ntp into master
All checks were successful
Required Approvals / required-approvals (pull_request) Successful in 2s
Reviewed-on: #366
2025-05-11 06:53:04 +02:00
2c5bc54415 ntp: remove service files
All checks were successful
Required Approvals / required-approvals (pull_request) Successful in 31s
2025-05-10 23:51:22 -05:00
d06139c7f5 Merge pull request 'add signal-desktop' (#365) from signal-desktop into master
Reviewed-on: #365
2025-05-11 05:58:11 +02:00
17beeb7622 add signal-desktop
All checks were successful
Required Approvals / required-approvals (pull_request) Successful in 2s
2025-05-10 22:57:28 -05:00
fe880c0e97 Merge pull request 'smartmontools: skip installing "/etc/conf.d/smartd"' (#364) from smartmontoolsconfd into master
Reviewed-on: #364
2025-05-11 05:37:11 +02:00
017ea3eda4 smartmontools: skip installing "/etc/conf.d/smartd"
All checks were successful
Required Approvals / required-approvals (pull_request) Successful in 6s
2025-05-10 22:36:42 -05:00
35213a9b78 add libqb
All checks were successful
Required Approvals / required-approvals (pull_request) Successful in 3s
2025-05-09 11:35:45 -05:00
521737f5b4 Merge pull request 'anubis: Remove service file' (#362) from anubis into master
Reviewed-on: #362
2025-05-06 07:14:39 +02:00
ef4ea473d8 anubis: Remove service file
All checks were successful
Required Approvals / required-approvals (pull_request) Successful in 5s
2025-05-06 00:12:30 -05:00
3a3900d131 Merge pull request 'Add umurmur' (#361) from umurmur into master
Reviewed-on: #361
2025-05-03 07:59:16 +02:00
97ee896415 Add umurmur
All checks were successful
Required Approvals / required-approvals (pull_request) Successful in 5s
2025-05-03 00:58:42 -05:00
78f170bb29 Merge pull request 'alsa-ucm-conf: Add updpkgsums' (#360) from alsa-ucm-conf into master
Reviewed-on: #360
2025-05-02 06:36:09 +02:00
85925f49dc alsa-ucm-conf: Add updpkgsums
All checks were successful
Required Approvals / required-approvals (pull_request) Successful in 4s
2025-05-01 23:35:15 -05:00
1d654a52fb add libvirt
All checks were successful
Required Approvals / required-approvals (pull_request) Successful in 32s
2025-04-25 09:01:33 -05:00
b9bfd3b007 Merge pull request 'remove: llvm-julia' (#358) from llvm-julia into master
Reviewed-on: #358
2025-04-24 23:31:26 +02:00
c6259289ef remove: llvm-julia
All checks were successful
Required Approvals / required-approvals (pull_request) Successful in 32s
2025-04-24 16:29:52 -05:00
d9406be455 Merge pull request 'lighttpd: Add' (#357) from lighttpd2 into master
Reviewed-on: #357
2025-04-24 10:01:43 +02:00
6f631a1457 lighttpd: Add
All checks were successful
Required Approvals / required-approvals (pull_request) Successful in 7s
2025-04-24 03:00:25 -05:00
189f9a43c9 Merge pull request 'fix(nftables): better patch for removing systemd service from source array.' (#356) from nftables into master
Reviewed-on: #356
2025-04-18 05:28:31 +02:00
0168a4f9e9 fix(nftables): better patch for removing systemd service from source array.
All checks were successful
Required Approvals / required-approvals (pull_request) Successful in 4s
previously the rm-service.sh patch was removing the parentheses from the
source array.
2025-04-17 23:33:48 +00:00
db91628cbf Merge pull request 'alsa-utils: Add' (#355) from alsa-utils into master
Reviewed-on: #355
2025-04-15 10:54:01 +02:00
9a44abfa2f alsa-utils: Add
All checks were successful
Required Approvals / required-approvals (pull_request) Successful in 31s
2025-04-15 03:51:00 -05:00
a52220097f Merge pull request 'remove: nlohmann-json' (#354) from rm-nlohmann-json into master
Reviewed-on: #354
2025-04-11 23:08:38 +02:00
e700fd5b4f remove: nlohmann-json
All checks were successful
Required Approvals / required-approvals (pull_request) Successful in 2s
2025-04-11 16:07:25 -05:00
37425ed67a add glycin
All checks were successful
Required Approvals / required-approvals (pull_request) Successful in 2s
2025-04-11 08:59:48 -05:00
0fd626d1d7 Merge pull request 'modemmanager: fix patch order' (#352) from modemmanager into master
Reviewed-on: #352
2025-04-11 04:52:55 +02:00
c2eb1ca2e9 Merge branch 'master' into modemmanager
All checks were successful
Required Approvals / required-approvals (pull_request) Successful in 1s
2025-04-11 04:52:49 +02:00
cfbaf1cbcb modemmanager: fix patch order
All checks were successful
Required Approvals / required-approvals (pull_request) Successful in 1s
2025-04-10 21:52:04 -05:00
1008936f71 Merge pull request 'modemmanager: Add' (#351) from modemmanager into master
Reviewed-on: #351
2025-04-11 04:43:48 +02:00
5f643625b6 modemmanager: Add
All checks were successful
Required Approvals / required-approvals (pull_request) Successful in 5s
2025-04-10 21:42:52 -05:00
22fd7026a3 Merge pull request 'add(valkey): patches to remove systemd' (#350) from valkey into master
Reviewed-on: #350
2025-04-07 10:48:01 +02:00
6d18da6f8e add(valkey): patches to remove systemd
All checks were successful
Required Approvals / required-approvals (pull_request) Successful in 32s
2025-04-07 08:41:19 +00:00
8a6f7b48a1 Merge pull request 'mako: Add' (#348) from mako into master
Reviewed-on: #348
2025-04-07 07:43:16 +02:00
957fbd2009 mako: Add
All checks were successful
Required Approvals / required-approvals (pull_request) Successful in 32s
2025-04-07 00:41:17 -05:00
fc1a5ec3ff Merge pull request 'libinput: Add' (#347) from libinput into master
Reviewed-on: #347
2025-04-06 12:03:22 +02:00
2a9c200060 libinput: Add
All checks were successful
Required Approvals / required-approvals (pull_request) Successful in 5s
2025-04-06 05:02:47 -05:00
5db743e0cb Merge pull request 'openresolv: Remove sysd' (#346) from openresolv into master
Reviewed-on: #346
2025-04-03 03:12:30 +02:00
9daad29e9f openresolv: Remove sysd
All checks were successful
Required Approvals / required-approvals (pull_request) Successful in 4s
2025-04-02 20:10:14 -05:00
92da8def32 Merge pull request 'lib32-libnm: Add' (#345) from lib32-libnm into master
Reviewed-on: #345
2025-04-02 04:53:38 +02:00
f5efc9868a lib32-libnm: Add
All checks were successful
Required Approvals / required-approvals (pull_request) Successful in 1s
2025-04-01 21:52:45 -05:00
878d3628d7 Merge pull request 'steam: remove systemd' (#344) from steam into master
Reviewed-on: #344
2025-04-02 04:41:44 +02:00
dd71f170b1 steam: remove systemd
All checks were successful
Required Approvals / required-approvals (pull_request) Successful in 2s
2025-04-01 21:38:25 -05:00
9b080f58a1 Update approval action (#342)
Reviewed-on: #342
2025-04-01 23:18:52 +02:00
2d3663548d Merge pull request 'require approval action' (#341) from corysanin/artix-patches:approval into master
Reviewed-on: #341
2025-04-01 22:08:10 +02:00
7804d063b0 require approval action 2025-04-01 15:06:59 -05:00
e41a594c8b Merge pull request 'sshuttle' (#340) from nous into master
Reviewed-on: #340
2025-04-01 21:57:03 +02:00
ccc488757e sshuttle 2025-04-01 22:56:40 +03:00
22dc09904e Merge pull request 'opensnitch' (#339) from nous into master
Reviewed-on: #339
2025-04-01 21:53:47 +02:00
d45b8a97aa opensnitch 2025-04-01 22:51:21 +03:00
c0d6ce0c12 Merge pull request 'revert enrichment' (#338) from nous-patch-1 into master
Reviewed-on: #338
2025-04-01 21:42:43 +02:00
07a7a1a017 revert enrichment 2025-04-01 21:42:30 +02:00
3afe97c069 Merge pull request 'enrich rm-service.sh' (#337) from nous into master
Reviewed-on: #337
2025-04-01 21:18:56 +02:00
d8ea56a0e9 enrich rm-service.sh 2025-04-01 22:14:06 +03:00
e2e663f6ac Merge pull request 'add(mailman3): to remove service and timer' (#336) from mailman3 into master
Reviewed-on: #336
2025-04-01 19:18:23 +02:00
820445a7fd add(mailman3): to remove service and timer 2025-04-01 17:17:48 +00:00
bdd94c2002 Merge pull request 'remove(fwupd): deperecated mason option' (#335) from fwupd into master
Reviewed-on: #335
2025-04-01 00:41:25 +02:00
0ee3a93cfe remove(fwupd): deperecated mason option 2025-03-31 22:40:28 +00:00
446ce8038f Merge pull request 'tailscale: add' (#334) from tailscale into master
Reviewed-on: #334
2025-03-28 11:18:14 +01:00
8a2cc18623 tailscale: add 2025-03-28 05:16:56 -05:00
01b64c79ea Merge pull request 'xf86-video-intel' (#333) from xf86-video-intel into master
Reviewed-on: #333
2025-03-25 06:20:04 +01:00
e3ba5402d1 xf86-video-intel 2025-03-25 00:19:20 -05:00
daf018bbe1 Merge pull request 'Add: dropbear' (#332) from dropbear into master
Reviewed-on: #332
2025-03-22 07:51:35 +01:00
73ab4a55a8 Add: dropbear 2025-03-22 01:50:01 -05:00
b5a561eb1a update gnome-keyring 2025-03-21 10:15:50 -05:00
3b80258281 update mutter 2025-03-21 10:12:13 -05:00
2646349640 remove mutter45 2025-03-21 10:12:03 -05:00
c3588d4faf Merge pull request 'lib32-libusb: systemd-to-elogind' (#330) from libusb into master
Reviewed-on: #330
2025-03-21 02:35:38 +01:00
3eba7de91c lib32-libusb: systemd-to-elogind 2025-03-20 20:34:59 -05:00
e25b724342 Merge pull request 'fix: prosody' (#329) from prosody-fix into master
Reviewed-on: #329
2025-03-19 06:38:47 +01:00
a2c6e7661f fix: prosody 2025-03-19 00:38:28 -05:00
fa32a2e637 Merge pull request 'update gkrellm' (#328) from gkrellm-2.4.0 into master
Reviewed-on: #328
2025-03-17 22:49:17 +01:00
19094503a7 update gkrellm 2025-03-17 16:48:44 -05:00
9dce721680 Merge pull request 'sssd: Add' (#327) from sssd into master
Reviewed-on: #327
2025-03-16 07:14:32 +01:00
8626ef30a4 sssd: Add 2025-03-16 01:13:40 -05:00
a18fe9c324 webkit: format cmake switches 2025-03-15 12:46:03 -05:00
2776fe64d9 Merge pull request 'remove(php-legacy): 05-add-makedepends-options.pl' (#325) from lemonpie-changes into master
Reviewed-on: #325
2025-03-11 23:25:39 +01:00
dd487cfe44 remove(php-legacy): 05-add-makedepends-options.pl
argon2 is now defined as a dependency in the PKGBUILD of arch
2025-03-11 22:13:41 +00:00
0db03d553a Merge pull request 'opensips: fix' (#324) from opensips into master
Reviewed-on: #324
2025-03-10 08:43:27 +01:00
0b05e475c9 opensips: fix 2025-03-10 02:42:18 -05:00
398a5669ae Merge pull request 'opensips: Add' (#323) from opensips into master
Reviewed-on: #323
2025-03-10 08:32:40 +01:00
d07b3212a1 opensips: Add 2025-03-10 02:28:40 -05:00
e03e6eec70 Merge pull request 'Spotifyd: Add' (#322) from spotifyd into master
Reviewed-on: #322
2025-03-10 08:27:19 +01:00
72dbf85780 Spotifyd: Add 2025-03-10 02:26:35 -05:00
1704f9cd21 Merge pull request 'Add libutempter' (#321) from libutempter into master
Reviewed-on: #321
2025-03-09 06:52:21 +01:00
fda8fdc354 Add libutempter 2025-03-08 23:51:37 -06:00
91054f944b Merge pull request 'wine-staging:update' (#320) from wine-staging-install into master
Reviewed-on: #320
2025-03-09 00:21:47 +01:00
c69ad40b70 wine-staging:update 2025-03-08 17:19:45 -06:00
ec0a5881b8 Merge pull request 'wine:update' (#319) from wine-install into master
Reviewed-on: #319
2025-03-09 00:10:31 +01:00
3e0aaa6a59 wine:update 2025-03-08 17:08:20 -06:00
a2da1b0872 Merge pull request 'Add: open-iscsi' (#318) from open-iscsi into master
Reviewed-on: #318
2025-03-03 10:01:19 +00:00
df32b0d3c3 Add: open-iscsi 2025-03-03 04:00:34 -06:00
cf3c1d4e93 Merge pull request 'change(go-ethereum): use updpkgsums instead of sed to remove sha256sums' (#317) from go-ethereum into master
Reviewed-on: #317
2025-02-26 00:31:42 +00:00
d94829c6da Merge pull request 'add(dnscrypt-proxy): patches' (#316) from dnscrypt-proxy into master
Reviewed-on: #316
2025-02-26 00:30:12 +00:00
3392fda648 change(go-ethereum): use updpkgsums instead of sed to remove sha256sums 2025-02-26 00:24:02 +00:00
cb21b4496b add(dnscrypt-proxy): patches
- remove systemd
- add extra sources
- update pkgsums
2025-02-26 00:04:32 +00:00
34bfebff9e Merge pull request 'add(conmon): patch to remove systemd deps' (#315) from conmon into master
Reviewed-on: #315
2025-02-25 23:17:50 +00:00
d2c7f69115 add(conmon): patch to remove systemd deps 2025-02-25 23:17:09 +00:00
98e51f1caa add xmms2 2025-02-22 10:08:31 -06:00
6e1afcda88 add sfml 2025-02-22 10:02:46 -06:00
bcfdd34372 add mpd 2025-02-22 09:21:43 -06:00
e33f0b1008 Merge pull request 'add dotnet and dotnet accessories' (#312) from dotnet into master
Reviewed-on: #312
2025-02-15 06:45:13 +01:00
18f932e5fa add dotnet and dotnet accessories 2025-02-15 00:44:37 -05:00
a4704f829f Merge pull request 'add(rabbitmq): patches to remove systemd' (#311) from lemonpie-changes into master
Reviewed-on: #311
2025-02-07 04:18:40 +01:00
a8d834948a add(rabbitmq): patches to remove systemd 2025-02-07 03:16:53 +00:00
d74dcea179 Merge pull request 'add(passim): patches to remove systemd' (#310) from lemonpie-changes into master
Reviewed-on: #310
2025-02-06 04:52:28 +01:00
892c350b2d add(passim): patches to remove systemd 2025-02-06 03:50:31 +00:00
0ed8634a94 add iio-sensor-proxy 2025-01-31 09:21:39 -06:00
841e0ddcfd Merge pull request 'add certbot' (#308) from certbot into master
Reviewed-on: #308
2025-01-18 05:38:13 +01:00
cf5186b704 add certbot 2025-01-17 23:37:35 -05:00
b30d0b6280 Merge pull request 'add dpkg' (#307) from dpkg into master
Reviewed-on: #307
2025-01-18 02:44:24 +01:00
1b6a9279a3 add dpkg 2025-01-17 20:43:41 -05:00
c3ad3d2055 Merge pull request 'lib32-polkit: Fix' (#306) from polkit into master
Reviewed-on: #306
2025-01-14 09:49:22 +01:00
a2592311fa lib32-polkit: Fix 2025-01-14 01:03:09 -06:00
90f05f7c54 add niri 2025-01-12 21:49:16 -06:00
b9d7875f84 fix grub 2025-01-10 00:33:06 +01:00
817fb5aedc Merge pull request 'fix(uwsgi): remove post install msg from PKGBUILD instruction.' (#303) from lemonpie-changes into master
Reviewed-on: #303
2025-01-10 00:29:12 +01:00
d71bf086ba fix(uwsgi): remove post install msg from PKGBUILD instruction. 2025-01-09 23:09:48 +00:00
dcc67696aa Merge pull request 'add zabbix' (#301) from zabbix into master
Reviewed-on: #301
2025-01-09 23:14:45 +01:00
35a84f3643 add zabbix 2025-01-09 17:13:56 -05:00
129 changed files with 499 additions and 51 deletions

View 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 }}

View File

@@ -11,4 +11,4 @@ else
do
sed -i '/\.service/d' "${arg}/PKGBUILD"
done
fi
fi

View File

@@ -0,0 +1 @@
../_common/systemd-to-udev.sh

7
patches/alsa-utils/unitdir.sh Executable file
View 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

View File

@@ -0,0 +1 @@
../_common/rm-service.sh

View File

@@ -0,0 +1 @@
../_common/rm-timer.sh

View File

@@ -0,0 +1 @@
../_common/updpkgsums.sh

View File

@@ -0,0 +1 @@
../_common/rm-service.sh

View File

@@ -0,0 +1 @@
../_common/rm-socket.sh

View File

@@ -0,0 +1 @@
../_common/add-source.pl

View 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);
}

View File

@@ -0,0 +1 @@
../_common/updpkgsums.sh

View 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

View File

@@ -0,0 +1 @@
../_common/systemd-to-udev.sh

View 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

View File

@@ -0,0 +1 @@
../_common/insert-config-options.pl

View File

@@ -0,0 +1 @@
../_common/updpkgsums.sh

View 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
View File

@@ -0,0 +1,2 @@
OPTION_VAR=source
CONFIG_OPTIONS=origin.artixlinux

View File

@@ -0,0 +1 @@
../_common/rm-service.sh

View File

@@ -0,0 +1 @@
../_common/updpkgsums.sh

View File

@@ -1 +1 @@
CONFIG_OPTIONS=-D systemd=disabled\n -D elogind=enabled
CONFIG_OPTIONS=-D systemd=disabled

View File

@@ -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

View 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

View File

@@ -0,0 +1 @@
CONFIG_OPTIONS=-D systemd=disabled

View File

@@ -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

View File

@@ -0,0 +1 @@
../_common/updpkgsums.sh

View 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/arch_linux/artix_linux/g' "${arg}/PKGBUILD"
done
fi

View File

@@ -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='

View File

@@ -0,0 +1 @@
../_common/rm-systemd-deps.sh

View 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

View File

@@ -0,0 +1 @@
../_common/rm-systemd-deps.sh

View File

@@ -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

View 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
View File

@@ -0,0 +1 @@
../_common/d-systemd.sh

View File

@@ -0,0 +1,6 @@
#!/bin/bash
for i in $@ ; do
sed -e 's,systemd,elogind,' \
-i $i/PKGBUILD
done

View File

@@ -0,0 +1 @@
../_common/d-systemd.sh

View File

@@ -0,0 +1 @@
../_common/rm-service.sh

View File

@@ -0,0 +1 @@
../_common/rm-socket.sh

View File

@@ -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

View 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

View 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

View File

@@ -0,0 +1 @@
../_common/updpkgsums.sh

View File

@@ -0,0 +1 @@
../_common/rm-service.sh

View File

@@ -0,0 +1 @@
../_common/rm-timer.sh

View File

@@ -0,0 +1 @@
../_common/updpkgsums.sh

View 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

View 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
View File

@@ -0,0 +1 @@
../_common/rm-service.sh

View File

@@ -0,0 +1 @@
../_common/systemd-libs-to-libelogind.sh

View File

@@ -0,0 +1 @@
../_common/systemd-libs-to-libelogind.sh

View File

@@ -0,0 +1 @@
../_common/systemd-to-elogind.sh

View 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
View File

@@ -0,0 +1 @@
../_common/d-systemd.sh

1
patches/mpd/env.txt Normal file
View File

@@ -0,0 +1 @@
CONFIG_OPTIONS=-D systemd=disabled

View File

@@ -0,0 +1 @@
../_common/systemd-libs-to-libelogind.sh

View 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

View File

@@ -0,0 +1 @@
../_common/rm-service.sh

View 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

View File

@@ -0,0 +1 @@
../_common/updpkgsums.sh

1
patches/niri/d-systemd.sh Symbolic link
View File

@@ -0,0 +1 @@
../_common/d-systemd.sh

View File

@@ -1 +0,0 @@
../_common/rm-blocks.pl

1
patches/ntp/rm-service.sh Symbolic link
View File

@@ -0,0 +1 @@
../_common/rm-service.sh

1
patches/ntp/updpkgsums.sh Symbolic link
View File

@@ -0,0 +1 @@
../_common/updpkgsums.sh

View 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

View File

@@ -0,0 +1 @@
../_common/rm-systemd-deps.sh

6
patches/opensips/opensips.sh Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/bash
for i in $@ ; do
sed -e 's|tar.gz|tar.gz)|' \
-i $i/PKGBUILD
done

View File

@@ -0,0 +1 @@
../_common/rm-service.sh

View File

@@ -0,0 +1 @@
../_common/updpkgsums.sh

View File

@@ -0,0 +1 @@
../_common/rm-service.sh

View File

@@ -0,0 +1 @@
../_common/rm-socket.sh

View File

@@ -0,0 +1 @@
../_common/rm-systemd-deps.sh

View File

@@ -0,0 +1 @@
../_common/updpkgsums.sh

View File

@@ -0,0 +1,6 @@
#!/bin/sh
for i in $@; do
sed -i '0,/sysusers/{s|sysusers|sysusers)|}' \
$i/PKGBUILD
done

View File

@@ -0,0 +1 @@
../_common/rm-service.sh

View File

@@ -0,0 +1 @@
../_common/skip-systemd-install.pl

View File

@@ -0,0 +1 @@
../_common/updpkgsums.sh

View File

@@ -0,0 +1 @@
../_common/rm-systemd-deps.sh

View File

@@ -0,0 +1 @@
../_common/add-source.pl

View File

@@ -0,0 +1 @@
../_common/updpkgsums.sh

View 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);
}
}

View 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
View File

@@ -0,0 +1 @@
SOURCES= '0001-no-systemd.patch'

View File

@@ -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);
}

View 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

View 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

View File

@@ -0,0 +1 @@
../_common/rm-systemd-deps.sh

View File

@@ -0,0 +1 @@
../_common/rm-service.sh

View File

@@ -0,0 +1 @@
../_common/updpkgsums.sh

View File

@@ -0,0 +1 @@
../_common/systemd-to-udev.sh

View File

@@ -6,7 +6,9 @@ if [ "$#" -eq 0 ]; then
else
for arg in "$@"
do
sed -e "s|./configure|./configure --disable-systemd|" \
sed -e "s|'etc/conf.d/smartd'||" \
-i "${arg}/PKGBUILD"
sed -i '/etc\/conf.d\/smartd/d' "${arg}/PKGBUILD"
done
fi
fi

Some files were not shown because too many files have changed in this diff Show More