You are not logged in.

#1 2005-04-21 14:38:55

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Why does the iputils package include the setkey man page?

(Mods - if this is the wrong place for this, feel free to move it).

I've been trying to put together a PKGBUILD for ipsec-tools, and I've finally got it to compile (See this thread for details). When I try to install it, however, I get a conflict warning, saying that /usr/man/man8/setkey.8.gz already exists. Pacman tells me that the file comes from the iputils package, but I don't understand why it's there - iputils does not include setkey itself.

Can anyone clarify this?

Offline

#2 2005-04-21 14:56:33

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Why does the iputils package include the setkey man page?

good question - is that manpage included in the main source for iputils?

what I've done in cases like that is compare the man pages... if they match pretty well, just "rm" the new one in the PKGBUILD after a make install...

Offline

#3 2005-04-21 16:50:18

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Why does the iputils package include the setkey man page?

phrakture wrote:

good question - is that manpage included in the main source for iputils?

It turns out that it does, but there's more to it than that. It seems the iputils guys have decided to incorporate the entire ipsec-tools source into iputils:

iputils RELNOTES wrote:

[021109]
* added racoon. It is too hairy and will be split in the next snapshots.   <==
  However, at current stage iputils is the most convenient place to compile
  it, because iputils privides necessary infrastructure to cure madness
  of glibc and import uptodate API defintiions.

[021108]
* Noah L. Meyerhans <frodo@morgul.net> Wow. == instead = in traceroute6.
* Port of libipsec and setkey from KAME. ME.   <==
* Add option -P ipsec_policy to ping. ME.
* Disassemble KAME setkey(8 ) manpage and make necessary modifications
  to reflect our differences.

racoon, setkey, and libipsec make up ipsec-tools. The Arch iputils package does not install these binaries. However, it does install all the man pages, hence the inclusion of man setkey without setkey itself.

Offline

#4 2005-04-21 17:23:13

i3839
Member
Registered: 2004-02-04
Posts: 1,185

Re: Why does the iputils package include the setkey man page?

Arch uses a patch, which among others, disables building certain things:

-ifeq ($(KERNEL_INCLUDE)/linux/pfkeyv2.h,$(wildcard $(KERNEL_INCLUDE)/linux/pfkeyv2.h))
-  SUBDIRS=libipsec setkey
-  LDLIBS+=-Llibipsec -lipsec
-  IPSECDEF=-DDO_IPSEC -Ilibipsec
-endif
-

Time for you to post a new bug in the bugtracker asking why this is, and if there is no good reason to please enable the build of the other tools, and if not, to remove the stale manpages?

Offline

#5 2005-04-21 23:45:53

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Why does the iputils package include the setkey man page?

Done - and thanks for deciphering that patch, i3839. I hadn't a clue what it meant...

Offline

#6 2005-04-22 01:13:13

i3839
Member
Registered: 2004-02-04
Posts: 1,185

Re: Why does the iputils package include the setkey man page?

Patches are very simple, really: Lines with a '-' in front of them mean that that line is removed, and lines with '+' in front of them are added lines. The rest are context lines around the places where -/+ happen. At least for unified diffs (patches made with diff -u), there are other formats, but this one is most common.

Offline

Board footer

Powered by FluxBB