@nl6720 Thanks for the suggestion.
Search Criteria
Package Details: tomoyo-tools 2.6.1.20210910-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/tomoyo-tools.git (read-only, click to copy) |
---|---|
Package Base: | tomoyo-tools |
Description: | TOMOYO Linux 2.6.x userspace tools for Linux kernel 5.1 and later |
Upstream URL: | https://tomoyo.osdn.jp |
Licenses: | GPL |
Submitter: | sergej |
Maintainer: | dysphoria |
Last Packager: | dysphoria |
Votes: | 16 |
Popularity: | 0.64 |
First Submitted: | 2014-04-07 10:14 (UTC) |
Last Updated: | 2021-09-14 23:20 (UTC) |
Dependencies (2)
- ncurses (ncurses-nohex, ncurses-git)
- linux (linux-surfacepro3-git, linux-aarch64-rock64-bin, linux-ec2, linux-galliumos, linux-zest-git, linux-sumavision-q5, linux-t2-wifi, linux-rk3328, linux-phicomm-n1, linux-tqc-a01, linux-aarch64-rockpro64, linux-rockchip-rk3588-bin, linux-radxa-rkbsp5-bin, linux-bpir64-git) (optional) – TOMOYO Linux enabled kernel
Required by (0)
Sources (4)
dysphoria commented on 2021-02-23 13:46 (UTC)
nl6720 commented on 2021-02-21 11:52 (UTC)
pkg-config --variable=systemdsystemunitdir systemd
does not work when building in a clean chroot since the systemd
package is not specified as a dependency.
I suggest simply hardcoding the path in the PKGBUILD
:
diff --git a/PKGBUILD b/PKGBUILD
index cf99270..f2e5bb3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -47,10 +47,8 @@ build() {
package() {
cd "${srcdir}/${pkgname}"
- _unitdir="$(pkg-config --variable=systemdsystemunitdir systemd)"
-
make USRSBINDIR=/usr/bin SBINDIR=/usr/bin INSTALLDIR="${pkgdir}" install
install -Dm644 "${srcdir}/tomoyo-auditd.service" \
- "${pkgdir}/${_unitdir}/tomoyo-auditd.service"
+ "${pkgdir}/usr/lib/systemd/system/tomoyo-auditd.service"
}
dysphoria commented on 2019-05-06 04:52 (UTC)
Since the new tomoyo-tools 2.6 branch lists that only kernel 5.1 and later is supported, I've added tomoyo-tools-25 as a replacement for pre 5.1 kernels (such as the LTS).
This package will updated to the 2.6 branch once kernel 5.1 drops. Users are advised to update the kernel and tomoyo-tools simultaneously, otherwise your system may be rendered unbootable.
(The conflicts with kernels >=5.1 are there to prevent any accidental updates that may break your system. They'll be removed at a later date.)
dysphoria commented on 2019-04-12 19:14 (UTC)
New maintainer here.
I've removed the hard dependency on 'linux-tomoyo' to allow user to update directly after kernel 5.0.7-arch1 updates.
TOMOYO docs state that tomoyo-tools 2.6 supports kernel 5.1 and above. I'll update this once Arch switches from 5.0 to 5.1.
aricart commented on 2019-04-11 20:15 (UTC)
Linux kernel 5.0.7-arch1 is going to reintroduce Tomoyo support. This package probably should be version bumped to tomoyo-tools-2.6.0-20190305 as well.
Pinned Comments
dysphoria commented on 2019-05-06 04:52 (UTC)
Since the new tomoyo-tools 2.6 branch lists that only kernel 5.1 and later is supported, I've added tomoyo-tools-25 as a replacement for pre 5.1 kernels (such as the LTS).
This package will updated to the 2.6 branch once kernel 5.1 drops. Users are advised to update the kernel and tomoyo-tools simultaneously, otherwise your system may be rendered unbootable.
(The conflicts with kernels >=5.1 are there to prevent any accidental updates that may break your system. They'll be removed at a later date.)