Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37786520
en ru br
ALT Linux repositórios
S:3.2-alt2
5.0: 1.34.15-alt1
4.1: 1.34.15-alt1

Group :: Sistema/Bibliotecas
RPM: libselinux

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: libselinux-3.2-alt.patch
Download


 man/man8/selinuxconlist.8 | 18 ++++++++++++++++++
 man/man8/selinuxdefcon.8  | 24 ++++++++++++++++++++++++
 src/Makefile              |  2 +-
 src/libselinux.pc.in      |  2 +-
 4 files changed, 44 insertions(+), 2 deletions(-)
diff --git a/man/man8/selinuxconlist.8 b/man/man8/selinuxconlist.8
new file mode 100644
index 00000000..c698daae
--- /dev/null
+++ b/man/man8/selinuxconlist.8
@@ -0,0 +1,18 @@
+.TH "selinuxconlist" "1" "7 May 2008" "dwalsh@redhat.com" "SELinux Command Line documentation"
+.SH "NAME"
+selinuxconlist \- list all SELinux context reachable for user
+.SH "SYNOPSIS"
+.B selinuxconlist [-l level] user [context]
+
+.SH "DESCRIPTION"
+.B selinuxconlist
+reports the list of context reachable for user from the current context or specified context
+
+.B \-l level
+mcs/mls level
+
+.SH AUTHOR	
+This manual page was written by Dan Walsh <dwalsh@redhat.com>.
+
+.SH "SEE ALSO"
+secon(8), selinuxdefcon(8)
diff --git a/man/man8/selinuxdefcon.8 b/man/man8/selinuxdefcon.8
new file mode 100644
index 00000000..3cbeff25
--- /dev/null
+++ b/man/man8/selinuxdefcon.8
@@ -0,0 +1,24 @@
+.TH "selinuxdefcon" "1" "7 May 2008" "dwalsh@redhat.com" "SELinux Command Line documentation"
+.SH "NAME"
+selinuxdefcon \- report default SELinux context for user 
+
+.SH "SYNOPSIS"
+.B selinuxdefcon [-l level] user fromcon
+
+.SH "DESCRIPTION"
+.B selinuxdefcon
+reports the default context for the specified user from the specified context
+
+.B \-l level
+mcs/mls level
+
+.SH EXAMPLE
+# selinuxdefcon jsmith system_u:system_r:sshd_t:s0
+.br
+unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
+
+.SH AUTHOR	
+This manual page was written by Dan Walsh <dwalsh@redhat.com>.
+
+.SH "SEE ALSO"
+secon(8), selinuxconlist(8)
diff --git a/src/Makefile b/src/Makefile
index 52c40f01..a620d784 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -147,7 +147,7 @@ $(SWIGRUBYLOBJ): $(SWIGRUBYCOUT)
 	$(CC) $(CFLAGS) $(SWIG_CFLAGS) $(RUBYINC) -fPIC -DSHARED -c -o $@ $<
 
 $(SWIGRUBYSO): $(SWIGRUBYLOBJ)
-	$(CC) $(CFLAGS) $(LDFLAGS) -L. -shared -o $@ $^ -lselinux $(RUBYLIBS)
+	$(CC) $(CFLAGS) $(LDFLAGS) -L. -shared -o $@ $^ -lselinux $(RUBYLIBS) $(PCRE_LDLIBS)
 
 $(LIBA): $(OBJS)
 	$(AR) rcs $@ $^
diff --git a/src/libselinux.pc.in b/src/libselinux.pc.in
index 7c66b1fa..9238fc98 100644
--- a/src/libselinux.pc.in
+++ b/src/libselinux.pc.in
@@ -7,6 +7,6 @@ Name: libselinux
 Description: SELinux utility library
 Version: @VERSION@
 URL: http://userspace.selinuxproject.org/
-Requires.private: libsepol @PCRE_MODULE@
+Libs.private: -lsepol -lpcre
 Libs: -L${libdir} -lselinux
 Cflags: -I${includedir}
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009