bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] prepare to move selinux-h module to gnulib


From: Jim Meyering
Subject: [PATCH] prepare to move selinux-h module to gnulib
Date: Tue, 21 Oct 2008 16:00:15 +0200

FYI,

Since this module is useful to augeas <http://augeas.net/>,
I've  relaxed the license and will soon move it to gnulib.

>From 1a13e78ca14dd8b50c00af18d472dee33825560b Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Tue, 21 Oct 2008 15:38:48 +0200
Subject: [PATCH] prepare to move selinux-h module to gnulib

* gl/modules/selinux-h (Makefile.am)
[selinux/selinux.h, selinux/context.h]:
Remove temporary file and target, in case they're read-only.
Use $(MKDIR_P), not mkdir -p.
(License): Relax to LGPLv2+.
Remove vestigial comments.
---
 gl/modules/selinux-h |   20 +++++---------------
 1 files changed, 5 insertions(+), 15 deletions(-)

diff --git a/gl/modules/selinux-h b/gl/modules/selinux-h
index 97a70c9..603e057 100644
--- a/gl/modules/selinux-h
+++ b/gl/modules/selinux-h
@@ -18,7 +18,8 @@ lib_SOURCES += se-context.in.h se-selinux.in.h

 BUILT_SOURCES += $(SELINUX_SELINUX_H)
 selinux/selinux.h: se-selinux.in.h
-       mkdir -p selinux
+       rm -f address@hidden $@
+       $(MKDIR_P) selinux
        cp $(srcdir)/se-selinux.in.h address@hidden
        chmod a-x address@hidden
        mv address@hidden $@
@@ -26,7 +27,8 @@ MOSTLYCLEANFILES += selinux/selinux.h selinux/selinux.h-t

 BUILT_SOURCES += $(SELINUX_CONTEXT_H)
 selinux/context.h: se-context.in.h
-       mkdir -p selinux
+       rm -f address@hidden $@
+       $(MKDIR_P) selinux
        cp $(srcdir)/se-context.in.h address@hidden
        chmod a-x address@hidden
        mv address@hidden $@
@@ -38,19 +40,7 @@ Include:
 #include <selinux/context.h>

 License:
-LGPL
+LGPLv2+

 Maintainer:
 Jim Meyering
-
-# lib/selinux-at.c
-#
-#   # For runcon.
-#   AC_CHECK_HEADERS([selinux/flask.h])
-#
-#   ac_save_LIBS="$LIBS"
-#   AC_SEARCH_LIBS(setfilecon, selinux,
-#                  [test "$ac_cv_search_setfilecon" = "none required" ||
-#                   LIB_SELINUX=$ac_cv_search_setfilecon])
-#   AC_SUBST(LIB_SELINUX)
-#   LIBS="$ac_save_LIBS"
--
1.6.0.2.588.g3102




reply via email to

[Prev in Thread] Current Thread [Next in Thread]