Package Details: tomoyo-tools 2.6.1.20210910-1

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: None
Last Packager: dysphoria
Votes: 16
Popularity: 0.000160
First Submitted: 2014-04-07 10:14 (UTC)
Last Updated: 2021-09-14 23:20 (UTC)

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.)

Latest Comments

1 2 Next › Last »

dysphoria commented on 2023-05-18 21:03 (UTC) (edited on 2023-05-18 21:08 (UTC) by dysphoria)

@cherkaba 1) Yes. TOMOYO is enabled in the kernel config, but the userspace tools (this package) still needs to be installed. 2) You can import/add the key running:gpg --recv-keys 425F128D0C64F52A (as instructed here https://wiki.archlinux.org/title/GnuPG#Searching_and_receiving_keys).

cherkaba commented on 2023-04-17 18:46 (UTC) (edited on 2023-04-17 18:52 (UTC) by cherkaba)

i have two question: 1) do we still need this package since kernel 6.* ?

2) installation stopt because of gpg key missing.

==> Vérification des signatures des fichiers sources grâce à gpg…
    tomoyo-tools-2.6.1-20210910.tar.gz ... ÉCHEC (Clé publique inconnue 425F128D0C64F52A)
==> ERREUR : Une ou plusieurs signatures PGP n’ont pas pu être vérifiées.
Impossible de construire tomoyo-tools 

What is your gpg Key?

dysphoria commented on 2021-02-23 13:46 (UTC)

@nl6720 Thanks for the suggestion.

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.

Stebalien commented on 2015-11-02 03:13 (UTC)

@Amplificator, I do that so I don't get users complaining that it doesn't work when they don't install a kernel with tomoyo support. You don't have to use the linux-linux package (I don't), you just have to use a kernel that provides linux-tomoyo (put it in the provides array of your kernel).

Amplificator commented on 2015-11-02 03:06 (UTC)

Can you please make linux-tomoyo an optional dependency? Not even -Sdd works. Forcing the use of a specific kernel is not preferable. To make it even worse, linux-tomoyo currently fails to build.

Stebalien commented on 2014-08-16 19:41 (UTC)

I've been using it for a while and didn't even realize it wasn't in the package...