!cApDlsILLZkmAyVoxe:matrix.org

Matrix on Debian

201 Members
https://wiki.debian.org/Matrix75 Servers

Load older messages


SenderMessageTime
12 Feb 2019
@lindalap:matrix.orgLinda

I believe this package belongs in contrib, as its only use-case is with together with software outside of Debian main.

on mailing list. I agree, forgot to set the section earlier.

19:34:02
@viron:matrix.orgviron joined the room.20:04:15
@lindalap:matrix.orgLinda

Lots of silly stuff like programming errors (loops only looping once) easily caught by ShellCheck in some archive packages. Heh.

20:34:15
@lindalap:matrix.orgLinda

I just also noticed ubuntu-keyring does not respect apt-config's Dir::Etc::trustedparts.

22:13:32
13 Feb 2019
@lindalap:matrix.orgLinda

Please tell me there's some nicer way to do this. I don't know if I want to be so verbose about /etc/ changes in this scenario:

TRUSTEDPARTS="/etc/apt/trusted.gpg.d"
eval "$(apt-config shell TRUSTEDPARTS Dir::Etc::trustedparts/f)"

# start of debconf(1)
. /usr/share/debconf/confmodule

# APT system trusted key configuration (asks: should the keys also be
# installed to the /etc/apt/trusted.gpg.d directory?)
M_A_KEYRING="matrix-archive-keyring.gpg"
db_get matrix-archive-keyring/apt-trustedparts
if [ "$RET" = true ]; then
    # Install the keyring to APT.
    if [ -w "$TRUSTEDPARTS/$M_A_KEYRING" ] && \
        [ ! -L "$TRUSTEDPARTS/$M_A_KEYRING" ];
    then
        echo "$TRUSTEDPARTS/$M_A_KEYRING will now be a symbolic link" \
            "to /usr/share/keyrings/$M_A_KEYRING" >&2
    fi
    ln -fs "/usr/share/keyrings/$M_A_KEYRING" "$TRUSTEDPARTS/"
else
    # Remove the keyring from APT.
    if [ -w "$TRUSTEDPARTS/$M_A_KEYRING" ] && \
        [ ! -L "$TRUSTEDPARTS/$M_A_KEYRING" ];
    then
        echo "Removing $TRUSTEDPARTS/$M_A_KEYRING, it's in the way" >&2
    fi
    rm -f "$TRUSTEDPARTS/$M_A_KEYRING"
fi
00:43:05
@lindalap:matrix.orgLinda

Well, I cleaned it up. There's a debconf(1) question if the keys should be installed to /etc/apt/trusted.gpg.d now. Only thing remaining is sources.list(5).

02:06:12
@andrewsh:matrix.organdrewsh
In reply to @lindalap:matrix.org

Some keyring packages also use which instead of command -v to check presence of a command. Non-POSIX.

I guess that’s a non-issue because which is quite standard in Debian
08:19:11
@andrewsh:matrix.organdrewsh it comes from debianutils 08:19:33
@andrewsh:matrix.organdrewsh which is Essential: yes 08:19:45
@max:kamax.ioMaximus Linda: where can I find your package exactly? 14:09:40
@lindalap:matrix.orgLinda

Maximus: It's not done yet. The "yes/no" answer doesn't install matrix-org.list to your sources.list.d, but everything else is done.

Would you still like to give it a test? You can upgrade later once it's released in Debian.

14:31:17
@lindalap:matrix.orgLinda

I'll be eating my meal and adding the four lines (?) of shell script to make that happen in few hours.

14:33:35
@lindalap:matrix.orgLinda

(and a Make rule to create the sources.list)

14:33:58
@max:kamax.ioMaximus Linda: I definitely want to test it out 14:34:11
@max:kamax.ioMaximusjust trying to juggle various upgrade to synapse v0.99 atm14:34:33
@max:kamax.ioMaximusif you can give me a link to a .deb whenever ready, I'll give it a spin14:35:09
@lindalap:matrix.orgLindaDownload matrix-archive-keyring_2015.12.09+debian0.4_all.deb14:37:40
@lindalap:matrix.orgLindaDownload matrix-archive-keyring_2015.12.09+debian0.4_amd64.build14:37:43
@lindalap:matrix.orgLindaDownload matrix-archive-keyring_2015.12.09+debian0.4_amd64.buildinfo14:37:46
@lindalap:matrix.orgLindaDownload matrix-archive-keyring_2015.12.09+debian0.4_amd64.changes14:37:49
@lindalap:matrix.orgLindaDownload matrix-archive-keyring_2015.12.09+debian0.4.dsc14:37:51
@lindalap:matrix.orgLindaDownload matrix-archive-keyring_2015.12.09+debian0.4.tar.xz14:37:54
@lindalap:matrix.orgLinda

To use the APT sources manually, /etc/apt/sources.list.d/matrix-org.list (most likely that path on Debian) should be:

deb [signed-by=/usr/share/keyrings/matrix-archive-keyring.gpg] https://matrix.org/packages/debian/ stable main
deb-src [signed-by=/usr/share/keyrings/matrix-archive-keyring.gpg] https://matrix.org/packages/debian/ stable main
14:40:03
@shirish:matrix.orgshirish👍14:40:20
@lindalap:matrix.orgLinda

Reminding I'll add the code to configure /etc/apt/sources.list.d/matrix-org.list to the actual release

14:40:52
@lindalap:matrix.orgLinda

in few hours

14:40:57
@shirish:matrix.orgshirishwhy does the matrix-archive-keyring has the date 2015.12.09 ?14:41:16
@lindalap:matrix.orgLinda

Also, obviously replace stable by your distribution's version: lsb_release -cs

14:41:22
@lindalap:matrix.orgLinda

shirish: It's the date of the repo-key.asc published on matrix.org. It's also a 3.0 (native) format package, so the version number has to be like that.

14:41:56
@lindalap:matrix.orgLinda

Debian changes are versioned with +debian# (0.x being an UNRELEASED package) and timestamped in debian/changelog.

14:43:30

Show newer messages


Back to Room ListRoom Version: