commit:     010c2ab18b4be2068237cf0db97e9348bba65ac6
Author:     William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Wed Jul 16 19:14:37 2014 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Jul 16 19:14:37 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=010c2ab1

Rename SELinux source files

The name rc-selinux-util.* is a bit long, so I renamed the source files
to rc-selinux.*

X-Gentoo-Bug: 516956
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=516956

---
 src/rc/Makefile                            | 4 ++--
 src/rc/checkpath.c                         | 2 +-
 src/rc/{rc-selinux-util.c => rc-selinux.c} | 2 +-
 src/rc/{rc-selinux-util.h => rc-selinux.h} | 0
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/rc/Makefile b/src/rc/Makefile
index fb5265c..609794a 100644
--- a/src/rc/Makefile
+++ b/src/rc/Makefile
@@ -5,10 +5,10 @@ SRCS=         checkpath.c fstabinfo.c mountinfo.c 
start-stop-daemon.c \
                runscript.c rc.c swclock.c
 
 ifeq (${MKSELINUX},yes)
-SRCS+=         rc-selinux-util.c
+SRCS+=         rc-selinux.c
 endif
 
-CLEANFILES=    version.h rc-selinux-util.o
+CLEANFILES=    version.h rc-selinux.o
 
 BINDIR=                ${PREFIX}/bin
 SBINDIR=       ${PREFIX}/sbin

diff --git a/src/rc/checkpath.c b/src/rc/checkpath.c
index 6945b67..b0384bd 100644
--- a/src/rc/checkpath.c
+++ b/src/rc/checkpath.c
@@ -47,7 +47,7 @@
 #include "rc-misc.h"
 
 #ifdef HAVE_SELINUX
-#include "rc-selinux-util.h"
+#include "rc-selinux.h"
 #endif
 
 typedef enum {

diff --git a/src/rc/rc-selinux-util.c b/src/rc/rc-selinux.c
similarity index 99%
rename from src/rc/rc-selinux-util.c
rename to src/rc/rc-selinux.c
index 6cbb5db..8e780c9 100644
--- a/src/rc/rc-selinux-util.c
+++ b/src/rc/rc-selinux.c
@@ -36,7 +36,7 @@
 #include <selinux/selinux.h>
 #include <selinux/label.h>
 
-#include "rc-selinux-util.h"
+#include "rc-selinux.h"
 
 static struct selabel_handle *hnd = NULL;
 

diff --git a/src/rc/rc-selinux-util.h b/src/rc/rc-selinux.h
similarity index 100%
rename from src/rc/rc-selinux-util.h
rename to src/rc/rc-selinux.h

Reply via email to