all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Gábor Boskovits" <boskovits@gmail.com>
To: Gregory Katz <gregkatz@protonmail.com>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: Custom wireguard shepherd service
Date: Thu, 12 Mar 2020 08:09:53 +0100	[thread overview]
Message-ID: <CAE4v=pip1KGRguhcM4KmB9B5FGKwBx7zV_KKTrO2W2XSeqfY6w@mail.gmail.com> (raw)
In-Reply-To: <BKhbiYlryBfZMsEj2KYEeXHf6iI5b89SpdhPm80wLmoekcN2cyUaeCqpo2lHymc6T8AYsc1A0CqWQm2B5zxlj03hAqoj2risQnjRZU7ex6A=@protonmail.com>

Hello Gregory,

Gregory Katz via <help-guix@gnu.org> ezt írta (időpont: 2020. márc. 12.,
Csü 4:48):

> Hi all,
>
> I'm trying to put together a wireguard shepherd service that operates
> similar to the current nftables service, i.e., the service works by running
> a utility program (in this case a shell script called wg-quick) with a
> configuration file.  Unfortunately, wg-quick, which is included in the
> wireguard-tools package, does not work with files interred by guix (the
> file names are too long).  To make it work, I have to patch wg-quick.
>
> Can anyone point me to where I can read up on how to apply a patch during
> the wireguard-tools build process?
>

You can run a search against the keyword search-patches in a package module
to see how patches are included in a package definition. If the patch only
does simple regexp substitution, you can also consider using a phase with
substitute*. There are a lot of packages using that. If you need to have a
patch, then you should add it to the gnu/packages/patches directory, and
also to the local.mk file patches variable, so that the build picks it up.
You can search the git log for adding or removing a patch, so that you see
how it is done.

>
> Thanks very much for the help,
>
> Greg
>
> Sent with [ProtonMail](https://protonmail.com) Secure Email.

Best regards,
g_bor

  reply	other threads:[~2020-03-12  7:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-12  3:24 Custom wireguard shepherd service Gregory Katz via
2020-03-12  7:09 ` Gábor Boskovits [this message]
2020-03-12 12:30   ` Gregory Katz via
2020-03-12 12:39     ` Gábor Boskovits

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAE4v=pip1KGRguhcM4KmB9B5FGKwBx7zV_KKTrO2W2XSeqfY6w@mail.gmail.com' \
    --to=boskovits@gmail.com \
    --cc=gregkatz@protonmail.com \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.