diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
commit | 0f558761aa2dee1017b4751e4017205e015a9560 (patch) | |
tree | 037df795519468a25d9362b4e95cdaeb84eb1cf9 /net-vpn/strongswan | |
parent | 752d6256e5204b958b0ef7905675a940b5e9172f (diff) |
gentoo resync : 29.12.2022
Diffstat (limited to 'net-vpn/strongswan')
-rw-r--r-- | net-vpn/strongswan/Manifest | 3 | ||||
-rw-r--r-- | net-vpn/strongswan/files/strongswan-5.9.6-werror-security.patch | 20 | ||||
-rw-r--r-- | net-vpn/strongswan/strongswan-5.9.6.ebuild | 4 |
3 files changed, 26 insertions, 1 deletions
diff --git a/net-vpn/strongswan/Manifest b/net-vpn/strongswan/Manifest index ee9e6a7a2b12..e57b7b7ff270 100644 --- a/net-vpn/strongswan/Manifest +++ b/net-vpn/strongswan/Manifest @@ -1,4 +1,5 @@ AUX ipsec 451 BLAKE2B deb3fff7043e04c1630119bb0cbbd6fa9b6f15666131ac9744a32d35cf3bc0629fe99cf9936b9cdb464627c1a8c121b8485f164166efda428825a55aab557d18 SHA512 d11ccc36ee89df5974547441fdb6c539dd3a7a5e235e318c1beddca7d4f5cace857f2dc75752e6fa913177eec9c3afcbed52de5bc08e8c314096d439cbc3bc6c +AUX strongswan-5.9.6-werror-security.patch 617 BLAKE2B c421689ea7f3c7c2d9b69c46f2081d3eddbfd1db924dd6bb4fe8e227c013d12b9893a093abdf8b3bc048e2595fd3b72dba31f99e15f49885a5da34b9873274c1 SHA512 a5469d2ed60f448d97911ccf1f4d799e60906d364d31edc31e2007f557477d010a746cd27e4159d1fdf8f8a08ce51db8c215ea7d1bb2cf2745fea7d3f9630b0e DIST strongswan-5.9.2.tar.bz2 4607281 BLAKE2B 84f5457bc970f49c9bc99d0ef41182d815e39b8a88be349ad0a78b531a983d3b3919d5c9f3b97793b0b2569f2c6b151cc3b5d9b145a8bfd663db6f79d8ff3dd6 SHA512 dca30b9be7847e0af59d1526c2e38d440b6729055cb3f0f0637d50d7381df465c7b59e79662efe63870a7a5a44eef696c02231274d2764f9e3c430ce2fd694f6 DIST strongswan-5.9.4.tar.bz2 4651000 BLAKE2B 071a0a0a144b369a7e4069d92340cecca9eef0c004949d91993c8f1cc0f39f7868749020d6e135fa59d5899d146f39172f87eb32a26ad788cb8a4c160597e328 SHA512 796356c1d5c1ad410f0ed944ab4a131076d26f120ec6fa57796fe4060b0741201199625883ddc9ebd8a7ad299495f073cec76a6780ebd8f375605aae16750cf3 DIST strongswan-5.9.5.tar.bz2 4722123 BLAKE2B 8b3adc44d5f5eb3824845ce9eda75e7b75f0f7394fbe84f827f4a8177e5299ca7170103ee6cd76e1e18aef85d7f124a43a505ceaf41ec4ed575eb214ebb6af21 SHA512 3b11c4edb1ffccf0ea5b8b843acfe2eb18dcd3857fc2818b8481c4febe7959261e1b2804c3af29068319df469fa0b784682d3ba4d49a3eb580841ff3c34e33a1 @@ -6,5 +7,5 @@ DIST strongswan-5.9.6.tar.bz2 4750894 BLAKE2B 4021a10611e66f9e2e4e432bdfb9de0f94 EBUILD strongswan-5.9.2-r3.ebuild 9206 BLAKE2B 95f105fcce29680c9d8dfcdf645bc00ee84747c83eeb13106b54b216963fc8c8f442f4a45e02507b521db3b1fea54c1020186c6a555f0dfc29173d6d13f25409 SHA512 f34d860ce53c62225ba6c1868f368a920c5164a2fdfb8554ba6e3611ca02b1356bc68f121f9c126131c0381f59c2f1d9d1203c029b1c1513ef0d88257be654e5 EBUILD strongswan-5.9.4-r2.ebuild 9264 BLAKE2B 7ccb1b346acbbc88f80f0a1b96b28e28955773af78ddc946e72eda3097df2e45f5067e40406520cbbe41360209f406a0ef4ec7acd49edb2591b97effec739183 SHA512 29548972e0463c8dcab82c27e48c43519ddd813a5bf4e05211a83fb2f27ad9ee0a03226d777199972cb02f417263e647eee4561568807ffa9f91d19dfc90f7c4 EBUILD strongswan-5.9.5-r1.ebuild 9244 BLAKE2B cd9406736089a9fb075974418655203120964a0030a4e761a603100dcc23cb66482d4832e631f2910369021618042d2dc1b9e79960a2d612168aa462f351f8b7 SHA512 d30ef479396196dce01c074f2e23d2f4b50c48f67a6d7c02f61edaa118ef9666ba9959400a38ef93c88b0c918829cc898bfc048ad9c115b2e72ef57006bbe9cf -EBUILD strongswan-5.9.6.ebuild 9302 BLAKE2B ccd9f27a365b5bcea542d02cfd478d7a0abae1731212202e837881b46197ba7c67a32e541a12de9ca1b6e34f34ea710323ad18f076f337f28b2b3996c48989b8 SHA512 4c0ea6ae078b8d059b57359935db104f87a0846d8e4602d9121155ef16cd844537c0f8a43b313c1f3873331f2235688601f63615d27f522875ab8e0ce78f7a13 +EBUILD strongswan-5.9.6.ebuild 9357 BLAKE2B 29150532e1c073c5fd23fba2060e8e068a7e8eac844637acef2788b3003395548dd5b5431ae22c592a2991470e03b64e0dfe7718ccd61efa653432e4f20d5753 SHA512 86b3227195bc824568375b2f6c302a15690268eb7fbf352cddd5669439f425f3661ee68a998e2efc036157dde4b45f1fc7b9cbdf018b42063c871a595afb035a MISC metadata.xml 4977 BLAKE2B 104157b4e323c72ffc20ecdc2d177f2b767f7a3265996f1de48e7c035dc7876d50dd426bb899b8a06adecabce6c9e00e317a17b1585385905ee949a88e775879 SHA512 3f866b48c0be3660e39f545683acf5206fead1a0828dde0f1000f2271b787b39be201ff3ca244a1eb2cbb2bb209968dac5e1207ff5bfb44ba1aa3062481b6b99 diff --git a/net-vpn/strongswan/files/strongswan-5.9.6-werror-security.patch b/net-vpn/strongswan/files/strongswan-5.9.6-werror-security.patch new file mode 100644 index 000000000000..27e541439230 --- /dev/null +++ b/net-vpn/strongswan/files/strongswan-5.9.6-werror-security.patch @@ -0,0 +1,20 @@ +https://github.com/strongswan/strongswan/commit/d23c0ea81e630af3cfda89aeeb52146c0c84c960 +https://github.com/strongswan/strongswan/issues/1025 + +From: Tobias Brunner <tobias@strongswan.org> +Date: Mon, 2 May 2022 09:31:49 +0200 +Subject: [PATCH] enum: Fix compiler warning + +Closes strongswan/strongswan#1025 +--- a/src/libstrongswan/utils/enum.c ++++ b/src/libstrongswan/utils/enum.c +@@ -97,7 +97,7 @@ char *enum_flags_to_string(enum_name_t *e, u_int val, char *buf, size_t len) + return buf; + } + +- if (snprintf(buf, len, e->names[0]) >= len) ++ if (snprintf(buf, len, "%s", e->names[0]) >= len) + { + return NULL; + } + diff --git a/net-vpn/strongswan/strongswan-5.9.6.ebuild b/net-vpn/strongswan/strongswan-5.9.6.ebuild index 156d0149f594..9de7b103de17 100644 --- a/net-vpn/strongswan/strongswan-5.9.6.ebuild +++ b/net-vpn/strongswan/strongswan-5.9.6.ebuild @@ -55,6 +55,10 @@ RDEPEND="${COMMON_DEPEND} UGID="ipsec" +PATCHES=( + "${FILESDIR}"/${P}-werror-security.patch +) + pkg_setup() { linux-info_pkg_setup |