12 Feb 2019 |
Linda |
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 joined the room. | 20:04:15 |
Linda | Lots of silly stuff like programming errors (loops only looping once) easily caught by ShellCheck in some archive packages. Heh. | 20:34:15 |
Linda | I just also noticed ubuntu-keyring does not respect apt-config 's Dir::Etc::trustedparts . | 22:13:32 |
13 Feb 2019 |
Linda | 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 |
Linda | 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 | 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 | it comes from debianutils | 08:19:33 |
andrewsh | which is Essential: yes | 08:19:45 |
Maximus | Linda: where can I find your package exactly? | 14:09:40 |
Linda | 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 |
Linda | I'll be eating my meal and adding the four lines (?) of shell script to make that happen in few hours. | 14:33:35 |
Linda | (and a Make rule to create the sources.list ) | 14:33:58 |
Maximus | Linda: I definitely want to test it out | 14:34:11 |
Maximus | just trying to juggle various upgrade to synapse v0.99 atm | 14:34:33 |
Maximus | if you can give me a link to a .deb whenever ready, I'll give it a spin | 14:35:09 |
Linda | Download matrix-archive-keyring_2015.12.09+debian0.4_all.deb | 14:37:40 |
Linda | Download matrix-archive-keyring_2015.12.09+debian0.4_amd64.build | 14:37:43 |
Linda | Download matrix-archive-keyring_2015.12.09+debian0.4_amd64.buildinfo | 14:37:46 |
Linda | Download matrix-archive-keyring_2015.12.09+debian0.4_amd64.changes | 14:37:49 |
Linda | Download matrix-archive-keyring_2015.12.09+debian0.4.dsc | 14:37:51 |
Linda | Download matrix-archive-keyring_2015.12.09+debian0.4.tar.xz | 14:37:54 |
Linda | 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 | 👍 | 14:40:20 |
Linda | Reminding I'll add the code to configure /etc/apt/sources.list.d/matrix-org.list to the actual release | 14:40:52 |
Linda | in few hours | 14:40:57 |
shirish | why does the matrix-archive-keyring has the date 2015.12.09 ? | 14:41:16 |
Linda | Also, obviously replace stable by your distribution's version: lsb_release -cs | 14:41:22 |
Linda | 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 |
Linda | Debian changes are versioned with +debian# (0.x being an UNRELEASED package) and timestamped in debian/changelog . | 14:43:30 |