Hi,
On Sun, Jan 07, 2018 at 09:38:58PM +0100, Nicolas Iooss wrote:
> On Wed, Jan 3, 2018 at 10:13 PM, Marcus Folkesson
> <marcus.folkes...@gmail.com> wrote:
> > `prefix` in the .pc file may be messed up when using a buildsystem
> > that has specified a sysroot as DEST
of DESTDIR and PREFIX more standard
Signed-off-by: Marcus Folkesson <marcus.folkes...@gmail.com>
---
README | 2 +-
libsepol/include/Makefile | 4 ++--
libsepol/man/Makefile | 5 +++--
libsepol/src/Makefile | 7 +++
libsepol/src/libsepol.pc.in | 2 +-
li
Signed-off-by: Marcus Folkesson <marcus.folkes...@gmail.com>
---
secilc/Makefile | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/secilc/Makefile b/secilc/Makefile
index 1cac53e4..5b0a4852 100644
--- a/secilc/Makefile
+++ b/secilc/Makefile
@@ -1,8 +1,6 @@
-
Signed-off-by: Marcus Folkesson <marcus.folkes...@gmail.com>
---
semodule-utils/semodule_expand/Makefile | 8 +++-
semodule-utils/semodule_link/Makefile| 8 +++-
semodule-utils/semodule_package/Makefile | 8 +++-
3 files changed, 9 insertions(+), 15 deletions(-)
diff
Signed-off-by: Marcus Folkesson <marcus.folkes...@gmail.com>
---
restorecond/Makefile | 11 +--
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/restorecond/Makefile b/restorecond/Makefile
index ada94aeb..a2316947 100644
--- a/restorecond/Makefile
+++ b/restorecond/Ma
Signed-off-by: Marcus Folkesson <marcus.folkes...@gmail.com>
---
sandbox/Makefile | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/sandbox/Makefile b/sandbox/Makefile
index 05c3d658..5a6b707a 100644
--- a/sandbox/Makefile
+++ b/sandbox/Makefile
@@ -1,14
Signed-off-by: Marcus Folkesson <marcus.folkes...@gmail.com>
---
Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 6da7f7b7..74d662d4 100644
--- a/Makefile
+++ b/Makefile
@@ -19,8 +19,8 @@ else
endif
ifneq ($(DESTDIR),)
-
Signed-off-by: Marcus Folkesson <marcus.folkes...@gmail.com>
---
mcstrans/man/Makefile | 3 ++-
mcstrans/src/Makefile | 6 +++---
mcstrans/utils/Makefile | 6 +++---
3 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/mcstrans/man/Makefile b/mcstrans/man/Makefile
index 8e
of DESTDIR and PREFIX more standard
Signed-off-by: Marcus Folkesson <marcus.folkes...@gmail.com>
---
libselinux/include/Makefile | 4 ++--
libselinux/man/Makefile | 7 ---
libselinux/src/Makefile | 12 +---
libselinux/src/libselinux.pc.in | 2 +-
libselinux
)
Best regards
Marcus Folkesson
This patch solves the following issues:
- DESTDIR is needed during compile time to compute library and header paths
which it should not.
- Installing with both DESTDIR and PREFIX set gives us odd paths
- Make usage of DESTDIR and PREFIX more standard
Signed-off-by: Marcus Folkesson
Signed-off-by: Marcus Folkesson <marcus.folkes...@gmail.com>
---
python/audit2allow/Makefile | 10 --
python/chcat/Makefile | 8
python/semanage/Makefile | 13 ++---
python/sepolgen/src/sepolgen/Makefile | 3 ++-
python/se
Signed-off-by: Marcus Folkesson <marcus.folkes...@gmail.com>
---
gui/Makefile | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/gui/Makefile b/gui/Makefile
index cfe47405..5efd17d7 100644
--- a/gui/Makefile
+++ b/gui/Makefile
@@ -1,9 +1,9 @@
# Instal
This patch solves the following issues:
- DESTDIR is needed during compile time to compute library
and header paths which it should not.
- Installing with both DESTDIR and PREFIX set gives us odd paths
- Make usage of DESTDIR and PREFIX more standard
Signed-off-by: Marcus Folkesson
Signed-off-by: Marcus Folkesson <marcus.folkes...@gmail.com>
---
policycoreutils/hll/pp/Makefile | 7 ++-
policycoreutils/load_policy/Makefile | 8
policycoreutils/man/Makefile | 3 ++-
policycoreutils/newrole/Makefile | 8
policycoreutils/po/Ma
Hi Nicolas!
On Wed, Jan 17, 2018 at 11:12:56PM +0100, Nicolas Iooss wrote:
> On Tue, Jan 16, 2018 at 9:23 PM, Marcus Folkesson
> <marcus.folkes...@gmail.com> wrote:
> > This patch solves the following issues:
> > - The pkg-config files generates odd paths when usin
On Wed, Jan 17, 2018 at 05:38:06PM +0100, Petr Lautrbach wrote:
> On Wed, Jan 17, 2018 at 11:43:58AM +0100, Marcus Folkesson wrote:
> > Hi,
> >
> > On Wed, Jan 17, 2018 at 11:11:35AM +0100, Petr Lautrbach wrote:
> > > On Tue, Jan 16, 2018 at 09:23:21PM
Hi,
On Wed, Jan 17, 2018 at 11:11:35AM +0100, Petr Lautrbach wrote:
> On Tue, Jan 16, 2018 at 09:23:21PM +0100, Marcus Folkesson wrote:
> > Signed-off-by: Marcus Folkesson <marcus.folkes...@gmail.com>
> > ---
> > python/audit2allow/Makefile | 10 --
of DESTDIR and PREFIX more standard
Signed-off-by: Marcus Folkesson <marcus.folkes...@gmail.com>
---
README | 2 +-
libsepol/include/Makefile | 4 ++--
libsepol/man/Makefile | 5 +++--
libsepol/src/Makefile | 23 +++
libsepol/src/libsepol
This patch solves the following issues:
- DESTDIR is needed during compile time to compute library and header paths
which it should not.
- Installing with both DESTDIR and PREFIX set gives us odd paths
- Make usage of DESTDIR and PREFIX more standard
Signed-off-by: Marcus Folkesson
Make usage of DESTDIR and PREFIX more standard
However, DESTDIR is still needed in the "root" Makefile to make libsemanage to
compile.
But all components (libselinux, libsepol and libsemanage) can be compiled
separatly with
standard usage of DESTDIR and PREFIX.
Thanks,
Best regards
On Wed, Jan 24, 2018 at 10:29:07PM +0100, Nicolas Iooss wrote:
> On Wed, Jan 24, 2018 at 10:27 AM, Marcus Folkesson
> <marcus.folkes...@gmail.com> wrote:
> > This patch solves the following issues:
> > - The pkg-config files generates odd paths when using DESTDIR with
of DESTDIR and PREFIX more standard
Signed-off-by: Marcus Folkesson <marcus.folkes...@gmail.com>
---
Notes:
v5:
- Only use $(DESTDIR) in install
v4:
- Introduce LDLIBS_LIBSEPOLA if LIBSEPOLA is not defined.
v2:
- Use separate directories for shared lib
Signed-off-by: Marcus Folkesson <marcus.folkes...@gmail.com>
---
Notes:
v5:
- Only use $(DESTDIR) in install
v2:
- Rework all packages (not just selinux/sepol/semanage)
secilc/Makefile | 16 +++-
1 file changed, 7 insertions(+), 9 deletions(-)
diff
Signed-off-by: Marcus Folkesson <marcus.folkes...@gmail.com>
---
Notes:
v4:
- add LIBDIR to LDFLAGS if DESTDIR is specified
- export LIBSEPOLA if DESTDIR is specified
v3:
- Add default prefix
Makefile | 9 +++--
1 file changed, 7 insertions
Signed-off-by: Marcus Folkesson <marcus.folkes...@gmail.com>
---
Notes:
v5:
- Only use $(DESTDIR) in install
v2:
- Rework all packages (not just selinux/sepol/semanage)
policycoreutils/hll/pp/Makefile | 9 +++--
policycoreutils/load_policy/Makefil
Signed-off-by: Marcus Folkesson <marcus.folkes...@gmail.com>
---
Notes:
v5:
- Only use $(DESTDIR) in install
- Remove CFLAGS from linking rule
v4:
- move platform from platform specific to platform shared installation
directory
v3:
Signed-off-by: Marcus Folkesson <marcus.folkes...@gmail.com>
---
python/semanage/Makefile | 2 +-
python/sepolgen/src/sepolgen/Makefile | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/python/semanage/Makefile b/python/semanage/Makefile
index a8465e62..5f
This patch solves the following issues:
- DESTDIR is needed during compile time to compute library
and header paths which it should not.
- Installing with both DESTDIR and PREFIX set gives us odd paths
- Make usage of DESTDIR and PREFIX more standard
Signed-off-by: Marcus Folkesson
of DESTDIR and PREFIX more standard
Signed-off-by: Marcus Folkesson <marcus.folkes...@gmail.com>
---
Notes:
v5:
- Only use $(DESTDIR) in install
v4:
- move platform from platform specific to platform shared installation
directory
- Introduce LDLIBS_LIB
Signed-off-by: Marcus Folkesson <marcus.folkes...@gmail.com>
---
Notes:
v5:
- Only use $(DESTDIR) in install
- Remove CFLAGS from linking rule
- Do not override CFLAGS
v3:
- keep the possibility to specify LIBSEPOLA to
make depending com
Signed-off-by: Marcus Folkesson <marcus.folkes...@gmail.com>
---
dbus/Makefile | 14 --
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/dbus/Makefile b/dbus/Makefile
index 9a6cc90e..53143aff 100644
--- a/dbus/Makefile
+++ b/dbus/Makefile
@@ -1,3 +1,5 @@
+PREFIX ?
Signed-off-by: Marcus Folkesson <marcus.folkes...@gmail.com>
---
Notes:
v5:
- Only use $(DESTDIR) in install
v2:
- Rework all packages (not just selinux/sepol/semanage)
semodule-utils/semodule_expand/Makefile | 12 +---
semodule-utils/semodule_link/Ma
PREFIX=/myusr install
or
make DESTDIR=/tmp/myroot install
Thanks for all feedback.
Best regards
Marcus Folkesson
Hi Nicolas,
First of all, thank you for your review.
On Wed, Feb 14, 2018 at 08:19:44PM +0100, Nicolas Iooss wrote:
> On Wed, Feb 14, 2018 at 10:57 AM, Marcus Folkesson
> <marcus.folkes...@gmail.com> wrote:
> > I have updated the patchset.
> >
> > The biggest ch
On Wed, Feb 21, 2018 at 10:46:45PM +0100, Nicolas Iooss wrote:
> On Thu, Feb 15, 2018 at 2:04 PM, Marcus Folkesson
> <marcus.folkes...@gmail.com> wrote:
> > Hi Nicolas,
> >
> > First of all, thank you for your review.
> >
> > On Wed, Feb 14, 201
.
Therefor, introduce PCPREFIX to make it possible to generate a more
customized .pc file.
[1] https://buildroot.org/
Signed-off-by: Marcus Folkesson <marcus.folkes...@gmail.com>
---
libselinux/src/Makefile | 5 +++--
libsemanage/src/Makefile | 5 +++--
libsepol/src/Makefile| 5 +++--
3 files c
, introduce PCPREFIX to make it possible to generate a more
customized .pc file.
Signed-off-by: Marcus Folkesson <marcus.folkes...@gmail.com>
---
v2:
- Reword commit message to be easier to understand...
libselinux/src/Makefile | 5 +++--
libsemanage/src/Makefile | 5 +++--
libsep
Signed-off-by: Marcus Folkesson <marcus.folkes...@gmail.com>
---
python/semanage/Makefile | 2 +-
python/sepolgen/src/sepolgen/Makefile | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/python/semanage/Makefile b/python/semanage/Makefile
index 3e48b673..02
Signed-off-by: Marcus Folkesson <marcus.folkes...@gmail.com>
---
dbus/Makefile | 14 --
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/dbus/Makefile b/dbus/Makefile
index 9a6cc90e..53143aff 100644
--- a/dbus/Makefile
+++ b/dbus/Makefile
@@ -1,3 +1,5 @@
+PREFIX ?
Signed-off-by: Marcus Folkesson <marcus.folkes...@gmail.com>
---
mcstrans/man/Makefile | 3 ++-
mcstrans/src/Makefile | 18 --
mcstrans/utils/Makefile | 22 --
3 files changed, 30 insertions(+), 13 deletions(-)
diff --git a/mcstrans/man/Make
Hello,
I have updated the patchset.
We had a problem with overriding LIBDIR.
Please test to compile with:
make DESTDIR=/tmp/myroot PREFIX=/myusr install
or
make DESTDIR=/tmp/myroot install
Thanks to Nicolas and Petr for feedback.
Changes:
v4:
- top Makefile: add LIBDIR to LDFLAGS if
This patch solves the following issues:
- DESTDIR is needed during compile time to compute library and header paths
which it should not.
- Installing with both DESTDIR and PREFIX set gives us odd paths
- Make usage of DESTDIR and PREFIX more standard
Signed-off-by: Marcus Folkesson
This patch solves the following issues:
- DESTDIR is needed during compile time to compute library
and header paths which it should not.
- Installing with both DESTDIR and PREFIX set gives us odd paths
- Make usage of DESTDIR and PREFIX more standard
Signed-off-by: Marcus Folkesson
of DESTDIR and PREFIX more standard
Signed-off-by: Marcus Folkesson <marcus.folkes...@gmail.com>
---
README | 2 +-
libsepol/include/Makefile | 4 ++--
libsepol/man/Makefile | 5 +++--
libsepol/src/Makefile | 7 +++
libsepol/src/libsepol.pc.in | 2 +-
li
Signed-off-by: Marcus Folkesson <marcus.folkes...@gmail.com>
---
gui/Makefile | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/gui/Makefile b/gui/Makefile
index cfe47405..5efd17d7 100644
--- a/gui/Makefile
+++ b/gui/Makefile
@@ -1,9 +1,9 @@
# Instal
Signed-off-by: Marcus Folkesson <marcus.folkes...@gmail.com>
---
restorecond/Makefile | 11 +--
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/restorecond/Makefile b/restorecond/Makefile
index ada94aeb..a2316947 100644
--- a/restorecond/Makefile
+++ b/restorecond/Ma
of DESTDIR and PREFIX more standard
Signed-off-by: Marcus Folkesson <marcus.folkes...@gmail.com>
---
libselinux/include/Makefile | 4 ++--
libselinux/man/Makefile | 7 ---
libselinux/src/Makefile | 17 +++--
libselinux/src/libselinux.pc.in | 2 +-
libselinux
Signed-off-by: Marcus Folkesson <marcus.folkes...@gmail.com>
---
python/audit2allow/Makefile | 19 ---
python/chcat/Makefile | 8
python/semanage/Makefile | 11 +--
python/sepolgen/src/sepolgen/Makefile | 3 ++-
Signed-off-by: Marcus Folkesson <marcus.folkes...@gmail.com>
---
Makefile | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 6da7f7b7..c238dbc8 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,4 @@
+PREFIX ?= /usr
OPT_SUBDIRS ?= db
Signed-off-by: Marcus Folkesson <marcus.folkes...@gmail.com>
---
policycoreutils/hll/pp/Makefile | 7 ++-
policycoreutils/load_policy/Makefile | 8
policycoreutils/man/Makefile | 3 ++-
policycoreutils/newrole/Makefile | 8
policycoreutils/po/Ma
Signed-off-by: Marcus Folkesson <marcus.folkes...@gmail.com>
---
semodule-utils/semodule_expand/Makefile | 8 +++-
semodule-utils/semodule_link/Makefile| 8 +++-
semodule-utils/semodule_package/Makefile | 8 +++-
3 files changed, 9 insertions(+), 15 deletions(-)
diff
Signed-off-by: Marcus Folkesson <marcus.folkes...@gmail.com>
---
secilc/Makefile | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/secilc/Makefile b/secilc/Makefile
index 1cac53e4..5b0a4852 100644
--- a/secilc/Makefile
+++ b/secilc/Makefile
@@ -1,8 +1,6 @@
-
Hi all,
I have updated the patchset.
Please test to compile with:
make DESTDIR=/tmp/myroot PREFIX=/myusr install
or
make DESTDIR=/tmp/myroot install
As said before, the goal with this patchset is to clean up the
Makefiles on unused symbols, use standard semantics and keep all
the old
Signed-off-by: Marcus Folkesson <marcus.folkes...@gmail.com>
---
python/audit2allow/Makefile | 17 ++---
python/chcat/Makefile | 8
python/semanage/Makefile | 11 +--
python/sepolgen/src/sepolgen/Makefile | 3 ++-
Signed-off-by: Marcus Folkesson <marcus.folkes...@gmail.com>
---
secilc/Makefile | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/secilc/Makefile b/secilc/Makefile
index 1cac53e4..5b0a4852 100644
--- a/secilc/Makefile
+++ b/secilc/Makefile
@@ -1,8 +1,6 @@
-
Signed-off-by: Marcus Folkesson <marcus.folkes...@gmail.com>
---
policycoreutils/hll/pp/Makefile | 7 ++-
policycoreutils/load_policy/Makefile | 8
policycoreutils/man/Makefile | 3 ++-
policycoreutils/newrole/Makefile | 8
policycoreutils/po/Ma
Signed-off-by: Marcus Folkesson <marcus.folkes...@gmail.com>
---
semodule-utils/semodule_expand/Makefile | 8 +++-
semodule-utils/semodule_link/Makefile| 8 +++-
semodule-utils/semodule_package/Makefile | 8 +++-
3 files changed, 9 insertions(+), 15 deletions(-)
diff
Signed-off-by: Marcus Folkesson <marcus.folkes...@gmail.com>
---
restorecond/Makefile | 11 +--
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/restorecond/Makefile b/restorecond/Makefile
index ada94aeb..a2316947 100644
--- a/restorecond/Makefile
+++ b/restorecond/Ma
Signed-off-by: Marcus Folkesson <marcus.folkes...@gmail.com>
---
sandbox/Makefile | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/sandbox/Makefile b/sandbox/Makefile
index 05c3d658..5a6b707a 100644
--- a/sandbox/Makefile
+++ b/sandbox/Makefile
@@ -1,14
Signed-off-by: Marcus Folkesson <marcus.folkes...@gmail.com>
---
gui/Makefile | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/gui/Makefile b/gui/Makefile
index cfe47405..5efd17d7 100644
--- a/gui/Makefile
+++ b/gui/Makefile
@@ -1,9 +1,9 @@
# Instal
Signed-off-by: Marcus Folkesson <marcus.folkes...@gmail.com>
---
mcstrans/man/Makefile | 3 ++-
mcstrans/src/Makefile | 18 +++---
mcstrans/utils/Makefile | 20 ++--
3 files changed, 27 insertions(+), 14 deletions(-)
diff --git a/mcstrans/man/Makefile b/mc
of DESTDIR and PREFIX more standard
Signed-off-by: Marcus Folkesson <marcus.folkes...@gmail.com>
---
README | 2 +-
libsepol/include/Makefile | 4 ++--
libsepol/man/Makefile | 5 +++--
libsepol/src/Makefile | 7 +++
libsepol/src/libsepol.pc.in | 2 +-
li
This patch solves the following issues:
- DESTDIR is needed during compile time to compute library
and header paths which it should not.
- Installing with both DESTDIR and PREFIX set gives us odd paths
- Make usage of DESTDIR and PREFIX more standard
Signed-off-by: Marcus Folkesson
of DESTDIR and PREFIX more standard
Signed-off-by: Marcus Folkesson <marcus.folkes...@gmail.com>
---
libselinux/include/Makefile | 4 ++--
libselinux/man/Makefile | 7 ---
libselinux/src/Makefile | 14 +-
libselinux/src/libselinux.pc.in | 2 +-
libselinux
This patch solves the following issues:
- DESTDIR is needed during compile time to compute library and header paths
which it should not.
- Installing with both DESTDIR and PREFIX set gives us odd paths
- Make usage of DESTDIR and PREFIX more standard
Signed-off-by: Marcus Folkesson
Signed-off-by: Marcus Folkesson <marcus.folkes...@gmail.com>
---
Makefile | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 6da7f7b7..6baea148 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,4 @@
+PREFIX ?= /usr
OPT_SUBDIRS ?= dbus gui mc
On Mon, Jan 22, 2018 at 09:50:36PM +0100, Nicolas Iooss wrote:
> On 19/01/18 13:07, Marcus Folkesson wrote:
> > Hi Nicolas!
> >
> > On Wed, Jan 17, 2018 at 11:12:56PM +0100, Nicolas Iooss wrote:
> >> On Tue, Jan 16, 2018 at 9:23 PM, Marcus Folkesson
> >
Hi Petr,
On Tue, Jan 23, 2018 at 11:24:47AM +0100, Petr Lautrbach wrote:
> On Sun, Jan 21, 2018 at 10:46:11PM +0100, Marcus Folkesson wrote:
> > Signed-off-by: Marcus Folkesson <marcus.folkes...@gmail.com>
> > ---
> > python/audit2allow/Makefile | 17
69 matches
Mail list logo