From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id SClrBfoh1V91XQAA0tVLHw (envelope-from ) for ; Sat, 12 Dec 2020 20:03:06 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id SHUjAfoh1V8OJQAA1q6Kng (envelope-from ) for ; Sat, 12 Dec 2020 20:03:06 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 60E569402B6 for ; Sat, 12 Dec 2020 20:03:05 +0000 (UTC) Received: from localhost ([::1]:52984 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1koB6d-0008VD-AW for larch@yhetil.org; Sat, 12 Dec 2020 15:03:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43068) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koB3i-0006eF-Ux for guix-patches@gnu.org; Sat, 12 Dec 2020 15:00:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:35169) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1koB3i-0005Lt-M6 for guix-patches@gnu.org; Sat, 12 Dec 2020 15:00:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1koB3i-0007BF-IR for guix-patches@gnu.org; Sat, 12 Dec 2020 15:00:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45151] [PATCH 1/1] gnu: Add openfortivpn Resent-From: David Dashyan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 12 Dec 2020 20:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45151 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Leo Famulari Received: via spool by 45151-submit@debbugs.gnu.org id=B45151.160780316927536 (code B ref 45151); Sat, 12 Dec 2020 20:00:02 +0000 Received: (at 45151) by debbugs.gnu.org; 12 Dec 2020 19:59:29 +0000 Received: from localhost ([127.0.0.1]:46715 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koB3B-0007A4-8a for submit@debbugs.gnu.org; Sat, 12 Dec 2020 14:59:29 -0500 Received: from relay11.mail.gandi.net ([217.70.178.231]:35131) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koB37-00079o-JN for 45151@debbugs.gnu.org; Sat, 12 Dec 2020 14:59:27 -0500 Received: from neinpad (unknown [79.175.1.142]) (Authenticated sender: mail@davie.li) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 1D68D100003; Sat, 12 Dec 2020 19:59:17 +0000 (UTC) References: <20201209214123.27762-1-mail@davie.li> <20201209225553.28596-1-mail@davie.li> User-agent: mu4e 1.4.13; emacs 27.1 From: David Dashyan In-reply-to: Date: Sat, 12 Dec 2020 22:58:26 +0300 Message-ID: <87mtyilrtp.fsf@davie.li> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Dashyan , 45151@debbugs.gnu.org Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.90 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 60E569402B6 X-Spam-Score: -1.90 X-Migadu-Scanner: scn1.migadu.com X-TUID: Y0qocM7eU+Ck --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hello Leo! > I hope that helps! This does help. Thank you very much for detailed review and tips! I remember when I packaged it first it didn't run without ppp binary: ERROR: /usr/sbin/pppd: No such file or directory. Mistakenly I assumed that propagated inputs is THE way to include runtime dependencies such as commands. I greped the binary -- is does point to /gnu/store/xxx-ppp-2.4.8-1.yyy/sbin/pppd :) Didn't think of that. > So, does the package work if the openssl and ppp dependencies are just > 'inputs' rather than native-inputs and propagated-inputs? I've tested the package with suggested changes. It does work with ppp and openssl in inputs field. ldd points to libssl okay. $ guix environment --pure --ad-hoc openfortivpn [env]$ /run/setuid-programs/sudo --preserve-env \ openfortivpn -c ~/path/to/my/config > You can use `guix gc --references $(guix build openfortinet)` to see > what store references the built package has kept. These references are > literally just strings that look like filenames in /gnu/store, found > by scanning when the package build is completed. Great I will use it! > Is this the "home-page" of this program? Whoops I think i copypasted from definition below. This package doesn't have a home page it seems. BTW I'm what is the right way to send fixes patch? Sending the whole thing again is easier on your side then adding commit patch on top? =2D-=20 David aka zzappie --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEO/jjc8vL6ogZzi191p8mXoi/t8oFAl/VIOUACgkQ1p8mXoi/ t8rXLw//VafPtXNLlQ+VQzKhxySh27mA+AA+ZQdIzjtcSBtmDJ4OZLvb7LmQ0/Zk m/TxEnbml5r8hZtkOY+Pr6m9Y+tGpzPwqGZmbZopbiarniTP49bnLpbhOMEXjkBR ymt8BNn3EAWKWO25GLD3byccBXkE+epWnbA3PCVFopvh39rfZ1Uw/uaq2fxA/v+U a9yxcye3uDliwJI+TsaVeaL0O18wcp8VYNKE2XLZQiG2iWICf0cNROyhgu3GmZT3 hW7ex1uvDNSYAZBSB1as6DNRr69rd90DKPZ/QRROA0t88ebptAcbWxQbq849sl7M Xd6dQXB4t3KBrEvTnhgNE8l6ZvGCGQiKIiS/GEkxlcxnBunqCZby0XM0Ky3sXR/A Djtlk56cChlXnCEjx2C2QU8UNCRtm/R5DdMEksinmxgCTUiOGhkNZVfN5WtevlKi Nchom/pBWnFogmk4+fc5gsBJ62vty+aaBwiWCoerGPG6vLMablnGylDJZcDlOqy2 1qQSwCLj1B5EEJjOpuAaich/1b6vmk9y3aGn1KJZy6UKHsx6nVFukBwyiwji3I+H ORsR2/kBfsKcGyXxHnMUddnp5t8fDNCSyD1Gd+WmpqXjZXgsP2naCJy6gSRXfNtH EqpnOCu/ecdBDCgSzsLs85SHeZN0occd4Cy2BgDudPxR6voMM3g= =iOzU -----END PGP SIGNATURE----- --=-=-=--