guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Packaging ufw


From: swedebugia
Subject: Re: Packaging ufw
Date: Sat, 10 Nov 2018 21:42:38 +0100

Hi

On 2018-11-10 19:24, Brett Gilio wrote:
swedebugia writes:

On 2018-11-10 17:01, swedebugia wrote:
Hi

I like this firewall, has anybody started packaging it?

If not I'm going to try.

Where should it be? In networking.scm or python.scm?

We have no other firewall packages judging from my emacs-guix regex search.
Since it is not a python library, I think it would make more sense for
it to be located in the networking module.

Ok.

I need help.

It fails with

starting phase `install'
running "python setup.py" with command "install" and parameters ("--prefix=/gnu/store/v8kzgqs1jdfg7wzqr9c02719ada6x8bm-ufw-0.35" "--single-version-externally-managed" "--root=/" "--root=/") Found '/gnu/store/8assqq8vmmvn09cysg5nm3kf2075hvxd-iptables-1.6.2/sbin/iptables' version '1.6.2\n''
usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: -c --help [cmd1 cmd2 ...]
   or: -c --help-commands
   or: -c cmd --help

error: option --single-version-externally-managed not recognized

This option comes from the python-build-system.

Replacing the install phase seems necessary. But I don't know how to do that and did not find good examples in python.scm.

Logs and patch attached...

(also the tests fail see comment in the patch)

--
Cheers
Swedebugia

Attachment: 46z1sp5bnh0j8dli9g2ppinkss6km9-ufw-0.35.drv.bz2
Description: application/bzip

Attachment: 0001-gnu-Add-ufw.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]