[{"id":1759724,"web_url":"http://patchwork.ozlabs.org/comment/1759724/","msgid":"<20170829215144.GA3684@scaer>","list_archive_url":null,"date":"2017-08-29T21:51:44","subject":"Re: [Buildroot] [PATCH 1/1] package/strongswan: Install libraries\n\tto /usr/lib","submitter":{"id":13903,"url":"http://patchwork.ozlabs.org/api/people/13903/","name":"Yann E. MORIN","email":"yann.morin.1998@free.fr"},"content":"Sam, All,\n\nOn 2017-08-29 16:30 -0500, Sam Voss spake thusly:\n> Install strongswan ipsec libraries into /usr/lib instead of\n> /usr/lib/ipsec in an effort to not need a custom RPATH for this package.\n> \n> Signed-off-by: Sam Voss <sam.voss@rockwellcollins.com>\n> ---\n>  package/strongswan/strongswan.mk | 3 ++-\n>  1 file changed, 2 insertions(+), 1 deletion(-)\n> \n> diff --git a/package/strongswan/strongswan.mk b/package/strongswan/strongswan.mk\n> index 1070eea..febb33f 100644\n> --- a/package/strongswan/strongswan.mk\n> +++ b/package/strongswan/strongswan.mk\n> @@ -36,7 +36,8 @@ STRONGSWAN_CONF_OPTS += \\\n>  \t--enable-scepclient=$(if $(BR2_PACKAGE_STRONGSWAN_SCEP),yes,no) \\\n>  \t--enable-scripts=$(if $(BR2_PACKAGE_STRONGSWAN_SCRIPTS),yes,no) \\\n>  \t--enable-vici=$(if $(BR2_PACKAGE_STRONGSWAN_VICI),yes,no) \\\n> -\t--enable-swanctl=$(if $(BR2_PACKAGE_STRONGSWAN_VICI),yes,no)\n> +\t--enable-swanctl=$(if $(BR2_PACKAGE_STRONGSWAN_VICI),yes,no) \\\n> +\t--with-ipseclibdir=/usr/lib\n\nThe issue behind that, is that this directory is also used to derive the\nlocation where to store plugins and the \"IMC and IMV dynamic librariers\"\n(typo not mine for once!).\n\nSo, the plugins would end up in /usr/lib/plugins and the libs in\n/usr/lib/imcvs.\n\nThis is not satifactory (at least the plugins stuff), so I'd suggest we\nalso force those locations (to their original values):\n\n    --with-plugindir=/usr/lib/ipsec/plugins\n    --with-imcvdir=/usr/lib/ipsec/imcvs\n\nCould you check that, please? ;-)\n\nRegards,\nYann E. MORIN.\n\n>  ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)\n>  STRONGSWAN_CONF_ENV += LIBS='-latomic'\n> -- \n> 1.9.1\n> \n> _______________________________________________\n> buildroot mailing list\n> buildroot@busybox.net\n> http://lists.busybox.net/mailman/listinfo/buildroot","headers":{"Return-Path":"<buildroot-bounces@busybox.net>","X-Original-To":["incoming@patchwork.ozlabs.org","buildroot@lists.busybox.net"],"Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","buildroot@osuosl.org"],"Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=busybox.net\n\t(client-ip=140.211.166.133; helo=hemlock.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"ZryAjR1C\"; dkim-atps=neutral"],"Received":["from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xhj5m48Z4z9s7F\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 30 Aug 2017 07:51:56 +1000 (AEST)","from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 8F28E89A8A;\n\tTue, 29 Aug 2017 21:51:52 +0000 (UTC)","from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id kpZ1d+BJfM9m; Tue, 29 Aug 2017 21:51:51 +0000 (UTC)","from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id DDF1189AC1;\n\tTue, 29 Aug 2017 21:51:50 +0000 (UTC)","from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\tby ash.osuosl.org (Postfix) with ESMTP id 3B3A61C0762\n\tfor <buildroot@lists.busybox.net>;\n\tTue, 29 Aug 2017 21:51:49 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 3695830841\n\tfor <buildroot@lists.busybox.net>;\n\tTue, 29 Aug 2017 21:51:49 +0000 (UTC)","from silver.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id ZxUinAj-elwU for <buildroot@lists.busybox.net>;\n\tTue, 29 Aug 2017 21:51:48 +0000 (UTC)","from mail-wm0-f67.google.com (mail-wm0-f67.google.com\n\t[74.125.82.67])\n\tby silver.osuosl.org (Postfix) with ESMTPS id 401C82C26B\n\tfor <buildroot@buildroot.org>; Tue, 29 Aug 2017 21:51:48 +0000 (UTC)","by mail-wm0-f67.google.com with SMTP id e67so5072434wmd.0\n\tfor <buildroot@buildroot.org>; Tue, 29 Aug 2017 14:51:48 -0700 (PDT)","from ymorin.is-a-geek.org\n\t(2a01cb088610730004b2d7bb95220cb4.ipv6.abo.wanadoo.fr.\n\t[2a01:cb08:8610:7300:4b2:d7bb:9522:cb4])\n\tby smtp.gmail.com with ESMTPSA id\n\tn13sm3329920wmg.2.2017.08.29.14.51.44\n\t(version=TLS1 cipher=AES128-SHA bits=128/128);\n\tTue, 29 Aug 2017 14:51:46 -0700 (PDT)","by ymorin.is-a-geek.org (sSMTP sendmail emulation);\n\tTue, 29 Aug 2017 23:51:44 +0200"],"X-Virus-Scanned":["amavisd-new at osuosl.org","amavisd-new at osuosl.org"],"X-Greylist":"domain auto-whitelisted by SQLgrey-1.7.6","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=sender:date:from:to:cc:subject:message-id:references:mime-version\n\t:content-disposition:in-reply-to:user-agent;\n\tbh=T4ihIn6JY/DSMk8PJV88/6rZwkJIDThUeYlDX7jkQL0=;\n\tb=ZryAjR1CatzfiAXpwAVD85zxeoo4DWLyi69+WFiaWXF1Qk6W9OeY44gRBUBYAJemXm\n\tTrkEEOF2Rg7xubJ6iG1zuRnSjzD6UCAmnH4iugjbQQML9iNdCyjV3fiaE8+MA+bkrX31\n\tZNUi0Q034501hWFaP0h3W/CxYRHYzdAVzNBhyOEQK9bhCif8O76FxvL52osCWPL6o9el\n\tGja1WbxKc6usJIwmz2Hq9lR9MTI5NE7EElFs16tXUCiHVHE+gOKp+14APTypSmTWfWAt\n\tw40mgaSUDYQQrVFzj9Q2S8nWF5e7JYTyaqL3qrsPyKCWQDIB9RMkgAmGX7UTAC/OjQ+U\n\tRW4w==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:sender:date:from:to:cc:subject:message-id\n\t:references:mime-version:content-disposition:in-reply-to:user-agent; \n\tbh=T4ihIn6JY/DSMk8PJV88/6rZwkJIDThUeYlDX7jkQL0=;\n\tb=YzlEJnppPYChMWEQfLppzRUkCut/hSeykkiKrOhdTv/nwp9vyyXY3SrQ14EV/qF/dj\n\tchymRvm2mUAgYVRzJo/6XxRXmUkQbNHlUorO4kjvMhPrZe5t3rotKMrvO9vwNF5hA6W9\n\tmtAx8fD+m9KCTv9XJxC/uIbTi92FJlBRK5qVmlJwSmmo1PJrn1lhFZH2QHTEe3tSlblP\n\tyXocAwKn35vPKaZkCserkDmOhDQfBjfBc/N6+2tycQgKPgKweF3XFwBCHSG7obEy8cWq\n\ti91uB7Oj3sbhlP5iGNF085GjfsJAttGRiMGwjWNWAZkX0JdLmqbxnNADVdSFJnUUxThC\n\twAvA==","X-Gm-Message-State":"AHYfb5gV7PRUBrc8L9gGJG17cD3z18K4D+nN8i1sGSJ991i6m5gz3dqW\n\tveoAyZjQpv2HcCXE","X-Received":"by 10.28.24.69 with SMTP id 66mr6891wmy.74.1504043506621;\n\tTue, 29 Aug 2017 14:51:46 -0700 (PDT)","Date":"Tue, 29 Aug 2017 23:51:44 +0200","From":"\"Yann E. MORIN\" <yann.morin.1998@free.fr>","To":"Sam Voss <sam.voss@rockwellcollins.com>","Message-ID":"<20170829215144.GA3684@scaer>","References":"<1504042220-54681-1-git-send-email-sam.voss@rockwellcollins.com>","MIME-Version":"1.0","Content-Disposition":"inline","In-Reply-To":"<1504042220-54681-1-git-send-email-sam.voss@rockwellcollins.com>","User-Agent":"Mutt/1.5.22 (2013-10-16)","Cc":"buildroot@buildroot.org","Subject":"Re: [Buildroot] [PATCH 1/1] package/strongswan: Install libraries\n\tto /usr/lib","X-BeenThere":"buildroot@busybox.net","X-Mailman-Version":"2.1.18-1","Precedence":"list","List-Id":"Discussion and development of buildroot <buildroot.busybox.net>","List-Unsubscribe":"<http://lists.busybox.net/mailman/options/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=unsubscribe>","List-Archive":"<http://lists.busybox.net/pipermail/buildroot/>","List-Post":"<mailto:buildroot@busybox.net>","List-Help":"<mailto:buildroot-request@busybox.net?subject=help>","List-Subscribe":"<http://lists.busybox.net/mailman/listinfo/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=subscribe>","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"buildroot-bounces@busybox.net","Sender":"\"buildroot\" <buildroot-bounces@busybox.net>"}},{"id":1759730,"web_url":"http://patchwork.ozlabs.org/comment/1759730/","msgid":"<CAH=K+6nip-5u+jh7dDhZWHuu58c60MA83k_KNqZTb-SR6amaRA@mail.gmail.com>","list_archive_url":null,"date":"2017-08-29T22:02:33","subject":"Re: [Buildroot] [PATCH 1/1] package/strongswan: Install libraries\n\tto /usr/lib","submitter":{"id":72120,"url":"http://patchwork.ozlabs.org/api/people/72120/","name":"Sam Voss","email":"sam.voss@rockwellcollins.com"},"content":"Yann, All,\n\nOn Tue, Aug 29, 2017 at 4:51 PM, Yann E. MORIN <yann.morin.1998@free.fr> wrote:\n> Sam, All,\n[..]\n>> --- a/package/strongswan/strongswan.mk\n>> +++ b/package/strongswan/strongswan.mk\n>> @@ -36,7 +36,8 @@ STRONGSWAN_CONF_OPTS += \\\n>>       --enable-scepclient=$(if $(BR2_PACKAGE_STRONGSWAN_SCEP),yes,no) \\\n>>       --enable-scripts=$(if $(BR2_PACKAGE_STRONGSWAN_SCRIPTS),yes,no) \\\n>>       --enable-vici=$(if $(BR2_PACKAGE_STRONGSWAN_VICI),yes,no) \\\n>> -     --enable-swanctl=$(if $(BR2_PACKAGE_STRONGSWAN_VICI),yes,no)\n>> +     --enable-swanctl=$(if $(BR2_PACKAGE_STRONGSWAN_VICI),yes,no) \\\n>> +     --with-ipseclibdir=/usr/lib\n>\n> The issue behind that, is that this directory is also used to derive the\n> location where to store plugins and the \"IMC and IMV dynamic librariers\"\n> (typo not mine for once!).\n>\n> So, the plugins would end up in /usr/lib/plugins and the libs in\n> /usr/lib/imcvs.\n\nGood point, I didn't realize this propagates that way!\n\n> This is not satifactory (at least the plugins stuff), so I'd suggest we\n> also force those locations (to their original values):\n>\n>     --with-plugindir=/usr/lib/ipsec/plugins\n>     --with-imcvdir=/usr/lib/ipsec/imcvs\n>\n> Could you check that, please? ;-)\n\nAbsolutely, I will submit a v2 after testing","headers":{"Return-Path":"<buildroot-bounces@busybox.net>","X-Original-To":["incoming@patchwork.ozlabs.org","buildroot@lists.busybox.net"],"Delivered-To":["patchwork-incoming@bilbo.ozlabs.org","buildroot@osuosl.org"],"Authentication-Results":"ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=busybox.net\n\t(client-ip=140.211.166.133; helo=hemlock.osuosl.org;\n\tenvelope-from=buildroot-bounces@busybox.net;\n\treceiver=<UNKNOWN>)","Received":["from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xhjLb4mtfz9s8w\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 30 Aug 2017 08:03:02 +1000 (AEST)","from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 17E9389ACA;\n\tTue, 29 Aug 2017 22:03:00 +0000 (UTC)","from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id snjXjGABh5sw; Tue, 29 Aug 2017 22:02:59 +0000 (UTC)","from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 83B0B89ACC;\n\tTue, 29 Aug 2017 22:02:59 +0000 (UTC)","from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\tby ash.osuosl.org (Postfix) with ESMTP id 493011C11AD\n\tfor <buildroot@lists.busybox.net>;\n\tTue, 29 Aug 2017 22:02:58 +0000 (UTC)","from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 4508830841\n\tfor <buildroot@lists.busybox.net>;\n\tTue, 29 Aug 2017 22:02:58 +0000 (UTC)","from silver.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id ASLaQXsnD4j0 for <buildroot@lists.busybox.net>;\n\tTue, 29 Aug 2017 22:02:57 +0000 (UTC)","from da1vs01.rockwellcollins.com (da1vs01.rockwellcollins.com\n\t[205.175.227.27])\n\tby silver.osuosl.org (Postfix) with ESMTPS id 926D723244\n\tfor <buildroot@buildroot.org>; Tue, 29 Aug 2017 22:02:57 +0000 (UTC)","from unknown (HELO mail-lf0-f72.google.com) ([205.175.227.20])\n\tby da1vs01.rockwellcollins.com with ESMTP/TLS/AES128-GCM-SHA256;\n\t29 Aug 2017 17:02:56 -0500","by mail-lf0-f72.google.com with SMTP id o124so5517768lfo.8\n\tfor <buildroot@buildroot.org>; Tue, 29 Aug 2017 15:02:56 -0700 (PDT)","by 10.46.21.92 with HTTP; Tue, 29 Aug 2017 15:02:33 -0700 (PDT)"],"X-Virus-Scanned":["amavisd-new at osuosl.org","amavisd-new at osuosl.org"],"X-Greylist":"domain auto-whitelisted by SQLgrey-1.7.6","X-RC-All-From":", 205.175.227.20, No hostname, sam.voss@rockwellcollins.com, \n\tSam Voss <sam.voss@rockwellcollins.com>, , ","X-RC-Attachments":", ,","X-RC-RemoteIP":"205.175.227.20","X-RC-RemoteHost":"No hostname","X-RC-IP-Hostname":"da1ip01.rockwellcollins.com","X-RC-IP-MID":"63235968","X-RC-IP-Group":"GOOGLE_RELAYED","X-RC-IP-Policy":"$GOOGLE_RELAYED","X-RC-IP-SBRS":"None","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:mime-version:in-reply-to:references:from:date\n\t:message-id:subject:to:cc;\n\tbh=zborIrBLGQTuTAdRjIFYMI4DTLTUSZCLwDx5Xg99WHg=;\n\tb=V/WCZYia3we86YOglO8ZsfuW8utJTz23FJtq+b38Xam4S9MLaua1eLF+4OOHRZJ1/e\n\tvcPwFRwPRDZTj+C5qw4OyLn0KP4fa+9hRbAyh4rRL5/OLaFCYK1HD52OdOD8aHEM6sHo\n\taX/n454WF7rdoHHJYv0xwuiyFYnJTeC2a6qtSg/81mqRSJo/H/xmDHksfHfxzvPlVOWx\n\tEb6gRKgDt6XGw9WNjHMsyi0vL4+aaPRkPy1zkJAHVz9UbOJrlCwf16c5DnvkpIRSDb/O\n\t0CqxSieUr+UFBJmbMoLXfRC4dvVPJKbEuTJ03gyajybjX65QrPzEqlMdxnh16CD1GnOC\n\tyJ8g==","X-Gm-Message-State":"AHYfb5gHO4ARNkMV8kKfBDI6JAxmJ7DXt3fCp3RbtE+OCgTUldzq/Aww\n\t6Q4LOZOYviTwJ0KzCNdwJnFKugVAE/iAnX8YxzP5LeCBfoX8VBw9E0B4uOtJpLnW0SvD9E08/7g\n\tJs99FmDLchPjSg8u3OZbzO7Nm+ZMtVClLQ1EDGvuLb7E=","X-Received":["by 10.25.25.78 with SMTP id 75mr619902lfz.132.1504044174836;\n\tTue, 29 Aug 2017 15:02:54 -0700 (PDT)","by 10.25.25.78 with SMTP id 75mr619896lfz.132.1504044174570; Tue,\n\t29 Aug 2017 15:02:54 -0700 (PDT)"],"MIME-Version":"1.0","In-Reply-To":"<20170829215144.GA3684@scaer>","References":"<1504042220-54681-1-git-send-email-sam.voss@rockwellcollins.com>\n\t<20170829215144.GA3684@scaer>","From":"Sam Voss <sam.voss@rockwellcollins.com>","Date":"Tue, 29 Aug 2017 17:02:33 -0500","Message-ID":"<CAH=K+6nip-5u+jh7dDhZWHuu58c60MA83k_KNqZTb-SR6amaRA@mail.gmail.com>","To":"\"Yann E. MORIN\" <yann.morin.1998@free.fr>","Cc":"buildroot <buildroot@buildroot.org>","Subject":"Re: [Buildroot] [PATCH 1/1] package/strongswan: Install libraries\n\tto /usr/lib","X-BeenThere":"buildroot@busybox.net","X-Mailman-Version":"2.1.18-1","Precedence":"list","List-Id":"Discussion and development of buildroot <buildroot.busybox.net>","List-Unsubscribe":"<http://lists.busybox.net/mailman/options/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=unsubscribe>","List-Archive":"<http://lists.busybox.net/pipermail/buildroot/>","List-Post":"<mailto:buildroot@busybox.net>","List-Help":"<mailto:buildroot-request@busybox.net?subject=help>","List-Subscribe":"<http://lists.busybox.net/mailman/listinfo/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=subscribe>","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"buildroot-bounces@busybox.net","Sender":"\"buildroot\" <buildroot-bounces@busybox.net>"}}]