summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Harrigan2019-11-13 11:46:39 +0000
committerDavid Harrigan2019-11-13 11:46:39 +0000
commit702fcdea6db270c65118b439fd5a586b8e08ab68 (patch)
treea81947a03a17da9d85c2971c8e7968d61019bce3
parentf4afdb90b2f3ff79374e11665ce5bc721e22b078 (diff)
downloadaur-702fcdea6db270c65118b439fd5a586b8e08ab68.tar.gz
upgpkg: mkinitcpio-wireguard 0.4.1-1
upstream release
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD10
-rw-r--r--README.adoc5
-rw-r--r--wireguard_config26
-rw-r--r--wireguard_hook26
-rw-r--r--wireguard_install26
6 files changed, 16 insertions, 85 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c6317e8d8932..cfd16956c867 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -12,9 +12,11 @@ pkgbase = mkinitcpio-wireguard
source = wireguard_hook
source = wireguard_install
source = wireguard_config
- sha256sums = 57357aeec99d9fd60ff9bbef2e17502be4b31f5d6b472a678978b4dddc094cf5
- sha256sums = 563e42ce30179df55132c10b295604e0a5a68d925890db55153764b4c3f959fe
- sha256sums = e7a034b4239610be33ccb1001a0df947fb14cbe758b8f2825d8b890f2bfc043e
+ source = UNLICENSED
+ sha256sums = 4d406d605297cdf11cc4de93616808063c255e4b54f27731d850acc71bf28b3b
+ sha256sums = 67e56a6d5b3cab8cf1ae475f7728a9c0a148447da9d1246e53683f75fb1b6091
+ sha256sums = 0dee9306a558623fc3c7bf22348f3049189e69be7c66bc7530fee0748fb9ad93
+ sha256sums = 88d9b4eb60579c191ec391ca04c16130572d7eedc4a86daa58bf28c6e14c9bcd
pkgname = mkinitcpio-wireguard
diff --git a/PKGBUILD b/PKGBUILD
index 8037cf4db9ed..0f54002f9501 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,18 +10,20 @@ license=('Unlicense')
install="${pkgname}.install"
depends=('mkinitcpio>=0.9.0' 'wireguard-tools')
backup=('etc/wireguard/initcpio/unlock')
-source=('wireguard_hook' 'wireguard_install' 'wireguard_config')
+source=('wireguard_hook' 'wireguard_install' 'wireguard_config' 'UNLICENSED')
package() {
install -Dm644 ${srcdir}/wireguard_hook ${pkgdir}/usr/lib/initcpio/hooks/wireguard
install -Dm644 ${srcdir}/wireguard_install ${pkgdir}/usr/lib/initcpio/install/wireguard
install -Dm644 ${srcdir}/wireguard_config ${pkgdir}/etc/wireguard/initcpio/unlock
+ install -Dm644 ${srcdir}/UNLICENSED ${pkgdir}/usr/share/licenses/${pkgname}/UNLICENSED
}
sha256sums=(
-'57357aeec99d9fd60ff9bbef2e17502be4b31f5d6b472a678978b4dddc094cf5'
-'563e42ce30179df55132c10b295604e0a5a68d925890db55153764b4c3f959fe'
-'e7a034b4239610be33ccb1001a0df947fb14cbe758b8f2825d8b890f2bfc043e'
+'4d406d605297cdf11cc4de93616808063c255e4b54f27731d850acc71bf28b3b'
+'67e56a6d5b3cab8cf1ae475f7728a9c0a148447da9d1246e53683f75fb1b6091'
+'0dee9306a558623fc3c7bf22348f3049189e69be7c66bc7530fee0748fb9ad93'
+'88d9b4eb60579c191ec391ca04c16130572d7eedc4a86daa58bf28c6e14c9bcd'
)
# vim:set syntax=sh tw=78:
diff --git a/README.adoc b/README.adoc
index b85bfedab280..5ecc8bb8f967 100644
--- a/README.adoc
+++ b/README.adoc
@@ -25,6 +25,11 @@ WARNING: Read the warning above.
|===
|Version | Note
+| *0.4.1*
+a|
+* Remove unnecessary license headers and simply copy UNLICENSED to appropriate place
+* Minor bugfixes - thanks @undiabler!
+
| *0.4.0*
a|
* Add a route based upon the ALLOWED_IPS.
diff --git a/wireguard_config b/wireguard_config
index 0498f27c1d83..758a108d2d9d 100644
--- a/wireguard_config
+++ b/wireguard_config
@@ -1,30 +1,4 @@
#
-# This is free and unencumbered software released into the public domain.
-#
-# Anyone is free to copy, modify, publish, use, compile, sell, or
-# distribute this software, either in source code form or as a compiled
-# binary, for any purpose, commercial or non-commercial, and by any
-# means.
-#
-# In jurisdictions that recognize copyright laws, the author or authors
-# of this software dedicate any and all copyright interest in the
-# software to the public domain. We make this dedication for the benefit
-# of the public at large and to the detriment of our heirs and
-# successors. We intend this dedication to be an overt act of
-# relinquishment in perpetuity of all present and future rights to this
-# software under copyright law.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-# IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
-# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
-# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-# OTHER DEALINGS IN THE SOFTWARE.
-#
-# For more information, please refer to <http://unlicense.org/>
-#
-
# Information pertaining to the Wireguard mkinitcpio hook
#
# Please ensure you've read the documentation on how to setup and configure
diff --git a/wireguard_hook b/wireguard_hook
index df8d5fcbfc45..da8c0d232171 100644
--- a/wireguard_hook
+++ b/wireguard_hook
@@ -1,30 +1,4 @@
#!/bin/bash
-#
-# This is free and unencumbered software released into the public domain.
-#
-# Anyone is free to copy, modify, publish, use, compile, sell, or
-# distribute this software, either in source code form or as a compiled
-# binary, for any purpose, commercial or non-commercial, and by any
-# means.
-#
-# In jurisdictions that recognize copyright laws, the author or authors
-# of this software dedicate any and all copyright interest in the
-# software to the public domain. We make this dedication for the benefit
-# of the public at large and to the detriment of our heirs and
-# successors. We intend this dedication to be an overt act of
-# relinquishment in perpetuity of all present and future rights to this
-# software under copyright law.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-# IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
-# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
-# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-# OTHER DEALINGS IN THE SOFTWARE.
-#
-# For more information, please refer to <http://unlicense.org/>
-#
_fatal () { echo ":: wireguard [FATAL]: ${@}. Cannot initialise Wireguard!"; break=y; }
diff --git a/wireguard_install b/wireguard_install
index 1e2e0d42984b..4438f4654182 100644
--- a/wireguard_install
+++ b/wireguard_install
@@ -1,30 +1,4 @@
#!/bin/bash
-#
-# This is free and unencumbered software released into the public domain.
-#
-# Anyone is free to copy, modify, publish, use, compile, sell, or
-# distribute this software, either in source code form or as a compiled
-# binary, for any purpose, commercial or non-commercial, and by any
-# means.
-#
-# In jurisdictions that recognize copyright laws, the author or authors
-# of this software dedicate any and all copyright interest in the
-# software to the public domain. We make this dedication for the benefit
-# of the public at large and to the detriment of our heirs and
-# successors. We intend this dedication to be an overt act of
-# relinquishment in perpetuity of all present and future rights to this
-# software under copyright law.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-# IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
-# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
-# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-# OTHER DEALINGS IN THE SOFTWARE.
-#
-# For more information, please refer to <http://unlicense.org/>
-#
build()
{