wireguard.lists.zx2c4.com archive mirror
 help / color / mirror / Atom feed
* Suggested Debian install instructions patch for the website
@ 2019-09-07 12:54 Salvatore LaMendola
  0 siblings, 0 replies; only message in thread
From: Salvatore LaMendola @ 2019-09-07 12:54 UTC (permalink / raw)
  To: wireguard


[-- Attachment #1.1: Type: text/plain, Size: 1700 bytes --]

Hello,

On the [install page of the website](https://www.wireguard.com/install/), the default pin config smartly deprioritizes Sid after adding the repository. However, it seems this causes the wireguard packages to be non-upgradable. After speaking with someone on IRC about this, I can't think of a reason why we wouldn't want to be able to upgrade the wireguard packages. So, I'd like to propose the following addition to the pinning configuration written in the instructions (unified diff follows):

==========================

--- orig        2019-09-07 08:43:08.489455140 -0400
+++ new 2019-09-07 08:45:49.056137802 -0400
@@ -1,4 +1,4 @@
# echo "deb http://deb.debian.org/debian/ unstable main" > /etc/apt/sources.list.d/unstable.list
-# printf 'Package: *\nPin: release a=unstable\nPin-Priority: 90\n' > /etc/apt/preferences.d/limit-unstable
+# printf 'Package: *\nPin: release a=unstable\nPin-Priority: 90\n\nPackage: /^wireguard/\nPin: release a=unstable\nPin-Priority: 500\n' > /etc/apt/preferences.d/limit-unstable
# apt update
# apt install wireguard

==========================

This preserves the general priority of 90 for *, but it also sets any package starting with wireguard to 500, which matches the default priority used in the PPAs.

The only reason I chose a regex match here is in case any additional wireguard packages get added later, other than wireguard, wireguard-dkms, and wireguard-tools. Otherwise, the Package line could read:

Package: wireguard wireguard-dkms wireguard-tools

Anyone have any objections to this approach? Also, is there a repo for the website I can fork and PR this to?

Thank you in advance.

--
Salvatore LaMendola


[-- Attachment #1.2: Type: text/html, Size: 4747 bytes --]

[-- Attachment #2: Type: text/plain, Size: 148 bytes --]

_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-09-11 16:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-07 12:54 Suggested Debian install instructions patch for the website Salvatore LaMendola

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).