website: apt-key is deprecated

Sveinar Søpler cybermax at dexter.no
Tue Apr 5 11:44:30 CDT 2022


On 05.04.2022 18:04, Alexandre Julliard wrote:
> If we want to do this, the files should be generated from the obs-sync
> script [1], like other similar files.
>
> [1] https://source.winehq.org/git/tools.git/blob/HEAD:/packaging/obs/obs-sync
>
Something like this? Can't really test it.. but should hopefully put 
winehq-focal.sources (if $1 is ubuntu, and $2 is focal) in 
https://dl.winehq.org/wine-builds/ubuntu/dists/focal/ and so on

--- a/obs-sync
+++ b/obs-sync
@@ -135,11 +135,24 @@ Architecture: $2
  EOF
  }

+make_apt_sources ()
+{
+    cat <<EOF
+Types: deb
+URIs: https://dl.winehq.org/wine-builds/$1
+Suites: $2
+Components: main
+Architectures: amd64 i386
+Signed-By: /usr/share/keyrings/winehq-archive.key
+EOF
+}
+
  # index debian packages for a single suite
  # usage: index_deb <platform> <codename> [<suite>]
  index_deb ()
  {
      dest=dest/$1/dists/$2
+    make_apt_sources $1 $2 >$dest/winehq-$2.sources
      apt_ftparchive="apt-ftparchive -c $basedir/apt.cfg -d 
$basedir/.cache/apt-cache-$2.db -s $basedir/apt-override"

      for arch in $deb_archs
-- 




More information about the wine-devel mailing list