Summary: | sys-apps/net-tools should optionally support SELinux | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sven Vermeulen (RETIRED) <swift> |
Component: | SELinux | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | selinux, swift |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Makefile fix to add -lselinux at end of compile statement
ebuild patch to enable SELinux support and apply beforementioned fix |
Description
Sven Vermeulen (RETIRED)
2013-05-09 20:36:46 UTC
Created attachment 347942 [details, diff]
Makefile fix to add -lselinux at end of compile statement
This patch file fixes the Makefile in net-tools to use an EXTRALIBS variable (instead of LDFLAGS) to append -lselinux to. The $(EXTRALIBS) is used at the end of the $(CC) call (like is done with other linkage targets).
Created attachment 347944 [details, diff]
ebuild patch to enable SELinux support and apply beforementioned fix
This patch applies against the net-tools ebuild and enables SELinux support as well as applies the above mentioned patch against the Makefile.
Comment on attachment 347944 [details, diff]
ebuild patch to enable SELinux support and apply beforementioned fix
we're not applying patches to the source anymore
Comment on attachment 347942 [details, diff] Makefile fix to add -lselinux at end of compile statement i've committed these upstream instead: http://sourceforge.net/p/net-tools/code/ci/4fa493927df676065fefabeee385ff10a3080cc7 http://sourceforge.net/p/net-tools/code/ci/266c1405a6c99fcfc4eba650eaf0061dd4939c25/ should be all set now in the tree; thanks for the report! Commit message: Version bump w/cleaned up selinux support http://sources.gentoo.org/sys-apps/net-tools/net-tools-1.60_p20130513023548.ebuild?rev=1.1 http://sources.gentoo.org/sys-apps/net-tools/net-tools-9999.ebuild?r1=1.3&r2=1.4 |