Commit Graph

41 Commits

Author SHA1 Message Date
rnhmjoj
e5319b3512
{jool,jool-cli}: link tests to passthu 2023-07-21 09:08:40 +02:00
rnhmjoj
41934b580a
jool-cli: add patch to validate the configuration
This allow to check the validity of a configuration without applying
the changes. It also works without the jool kernel module loaded.
2023-07-21 09:07:54 +02:00
Franz Pletz
8b3971f6fc
jool: 4.1.9 -> 4.1.10 2023-06-21 13:46:15 +02:00
apfelkuchen06
20761c31d0 jool-cli: fix build
prior to this, building with iptables-1.8.9 failed with

> make[2]: Entering directory '/tmp/nix-shell.okX50g/tmp.O3HX8QruLZ/source/src/usr/iptables'
> gcc -Wall -pedantic -std=gnu11 -O2 -I../.. -I/nix/store/h6saqb0001ps7mwi1c40m90f53af1hpj-iptables-1.8.9-dev/include   -D_INIT=libxt_JOOL_SIIT_init -fPIC -c -o libxt_JOOL_SIIT.o libxt_JOOL_SIIT.c;
> gcc -shared -fPIC  -o libxt_JOOL_SIIT.so libxt_JOOL_SIIT.o;
> /nix/store/f4qnwzv6y0nq8lix33jr5ykkyybs6fxf-binutils-2.40/bin/ld: libxt_JOOL_SIIT.o: in function `_init':
> libxt_JOOL_SIIT.c:(.text+0x150): multiple definition of `_init'; /nix/store/1n2l5law9g3b77hcfyp50vrhhssbrj5g-glibc-2.37-8/lib/crti.o:(.init+0x0): first defined here
> collect2: error: ld returned 1 exit status
> make[2]: *** [Makefile:37: libxt_JOOL_SIIT.so] Error 1

This adds the upstream fix from 490ddb0933
2023-04-16 06:06:22 +02:00
Yureka
e6c8a2f3e3
linuxPackages_latest.jool: fix build (#219138) 2023-03-06 09:56:37 +01:00
Martin Weinelt
83322be383
jool: 4.1.8 -> 4.1.9
https://mail-lists.nic.mx/pipermail/jool-list/2023-January/000479.html
2023-01-27 02:05:32 +01:00
Martin Weinelt
5a04b70e14
jool-cli: divert man pages 2022-11-14 12:57:48 +01:00
Franz Pletz
ec7467e2ea
jool: 4.1.7 -> 4.1.8 2022-11-14 12:46:42 +01:00
Nick Cao
fd5ead0eed
jool: prepend kernel.makeFlags to makeFlags 2022-03-07 12:23:45 +08:00
Joel
e0819e3c50
jool: 4.1.6 -> 4.1.7
Also add missing license.
2022-02-27 09:54:34 +10:00
Felix Buehler
027d353491 treewide: rename name to pname&version 2022-01-22 18:13:29 +01:00
Alyssa Ross
a35652f40f
linuxPackages.jool: 4.1.5 -> 4.1.6
This release adds Linux 5.16 compatibility.
2022-01-10 03:06:45 +00:00
Franz Pletz
4612b75f2a
jool: 4.0.9 -> 4.1.5 2021-07-28 21:22:10 +02:00
Jonathan Ringer
9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Georg Haas
a8ee561b0f
jool: 4.0.5 -> 4.0.9 2020-06-07 19:08:59 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Merijn Broeren
133103d709
treewide: replace make/build/configure/patchFlags with nix lists 2019-12-30 12:58:11 +01:00
Robin Gloster
0fe41d4a87
linuxPackages.jool: 4.0.0 -> 4.0.5 2019-09-25 16:46:32 +02:00
embr
d88c68167a jool: removed kernel version assertion
I don't think this really makes sense, because upstream doesn't list any constraints on supported kernel versions, and worst case it'll just fail to build.
2019-04-20 09:54:30 +01:00
embr
68b4cf39a9 jool: unstable-20180706 -> 4.0.0 2019-04-20 09:42:48 +01:00
xeji
f0e4b31eb2
linuxPackages.jool: 3.5.7 -> unstable-20180706 (#47284)
3.5.7 doesn't build with kernel 4.14.71.
Needs most recent upstream revision to build, which supports
kernels up to 4.17.
2018-09-28 11:52:39 +02:00
Markus Kowalewski
d6aabb1f9a
jool: add license 2018-08-30 21:26:04 +02:00
Franz Pletz
6c33223f5f
jool: 3.5.4 -> 3.5.7 2018-07-15 20:11:05 +02:00
Piotr Bogdan
8904ce343a fix source root locations.
These have changed following commit
c3255fe8ec.

See also:

- https://github.com/NixOS/nixpkgs/pull/31004
- https://github.com/NixOS/nixpkgs/pull/31106
2017-11-02 13:53:36 +00:00
John Ericson
531e4b80c9 misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
2017-09-21 15:49:53 -04:00
Franz Pletz
9719e43494
jool: 3.5.3 -> 3.5.4 2017-08-01 06:15:59 +02:00
Franz Pletz
c4b2f9f784
jool: 3.5.2 -> 3.5.3 2017-03-28 20:14:19 +02:00
Franz Pletz
d733d36cc6
linuxPackages.jool: only supported on linux < 4.10
cc #23253
2017-02-28 14:47:04 +01:00
Franz Pletz
f15cebd28c
jool: 3.5.0 -> 3.5.2 2017-02-24 17:57:41 +01:00
Franz Pletz
beca8946ee
jool: 3.4.5 -> 3.5.0 2016-10-03 18:25:28 +02:00
Franz Pletz
6e063a49b1
linuxPackages.jool: 3.4.4 -> 3.4.5 2016-09-25 14:20:46 +02:00
Robin Gloster
b7787d932e Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-08-12 09:46:53 +00:00
Franz Pletz
bba9728cd6 jool: 3.4.2 -> 3.4.4 2016-08-10 07:12:08 +02:00
Robin Gloster
f60c9df0ba Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-03-28 15:16:29 +00:00
Joachim Fasting
eeca73dfac jool: mark broken for kernel versions > 4.3
All hydra builds for kernel version >4.3 fail; the build failure
indicates changes to the kernel API used by the package.
2016-03-26 20:23:48 +01:00
Franz Pletz
aff1f4ab94 Use general hardening flag toggle lists
The following parameters are now available:

  * hardeningDisable
    To disable specific hardening flags
  * hardeningEnable
    To enable specific hardening flags

Only the cc-wrapper supports this right now, but these may be reused by
other wrappers, builders or setup hooks.

cc-wrapper supports the following flags:

  * fortify
  * stackprotector
  * pie (disabled by default)
  * pic
  * strictoverflow
  * format
  * relro
  * bindnow
2016-03-05 18:55:26 +01:00
Robin Gloster
f6d3b7a2ae switch hardening flags 2016-01-30 16:36:57 +00:00
Franz Pletz
954e9903ad Use a hardened stdenv by default 2016-01-30 16:36:57 +00:00
Franz Pletz
4a2b075154 jool: 3.3.2 -> 3.4.2, fixes #11299 2015-12-01 10:49:44 +01:00
Franz Pletz
a21ead3d62 jool: init at 3.3.2
Jool is a SIIT and a NAT64 implementation for Linux.
2015-07-12 07:25:44 +02:00