<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
Hello,<br>
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
On the [install page of the website](<a href="https://www.wireguard.com/install/">https://www.wireguard.com/install/</a>), 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):<br>
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
==========================<br>
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
--- orig        2019-09-07 08:43:08.489455140 -0400<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
+++ new 2019-09-07 08:45:49.056137802 -0400<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
@@ -1,4 +1,4 @@<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
# echo "deb <a href="http://deb.debian.org/debian">http://deb.debian.org/debian</a>/ unstable main" > /etc/apt/sources.list.d/unstable.list<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
-# printf 'Package: *\nPin: release a=unstable\nPin-Priority: 90\n' > /etc/apt/preferences.d/limit-unstable<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
+# 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<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
# apt update<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
# apt install wireguard<br>
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
==========================<br>
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
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.
<br>
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
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:<br>
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
Package: wireguard wireguard-dkms wireguard-tools<br>
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
Anyone have any objections to this approach? Also, is there a repo for the website I can fork and PR this to?<br>
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
Thank you in advance.<br>
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
<span id="OutlookSignature">
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
-- <br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
Salvatore LaMendola</div>
</span><br>
</div>
</body>
</html>