Skip to contentSkip to conversation

libsepol/tests: drop ncurses dependency

PATCH Applied Nicolas Iooss 3 participants 3 messages May 1, 2020 – May 4, 2020 SELinux security module

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libsepol/tests: drop ncurses dependency

ncurses library is not used anywhere.

---
 .travis.yml             | 1 -
 libsepol/tests/Makefile | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)
.travis.yml +0 -1
index 918958acfc80..4361d26cbb83 100644
@@ -53,7 +53,6 @@ addons:
     - libcap-ng-dev # This package is not whitelisted for the container infrastructure (https://github.com/travis-ci/apt-package-whitelist/issues/1096)
     - libcunit1-dev
     - libdbus-glib-1-dev
-    - libncurses5-dev
     - libpcre3-dev
     - patch
     - python3-dev
libsepol/tests/Makefile +1 -1
index e7e305e8150b..fc9bd1a303be 100644
@@ -32,7 +32,7 @@ all: $(EXE) $(policies)
 policies: $(policies)
 
 $(EXE): $(objs) $(parserobjs) $(LIBSEPOL)
-	$(CC) $(LDFLAGS) $(objs) $(parserobjs) -lcunit -lcurses $(LIBSEPOL) -o $@
+	$(CC) $(LDFLAGS) $(objs) $(parserobjs) -lcunit $(LIBSEPOL) -o $@
 
 %.conf.std: $(m4support) %.conf
 	$(M4) $(M4PARAMS) $^ > $@
Signature · 1 line
2.26.2
Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · Nicolas Iooss

ncurses library is not used anywhere.

Quoted 33 lines
---
 .travis.yml             | 1 -
 libsepol/tests/Makefile | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)
.travis.yml +0 -1
index 918958acfc80..4361d26cbb83 100644
@@ -53,7 +53,6 @@ addons:
     - libcap-ng-dev # This package is not whitelisted for the container infrastructure (https://github.com/travis-ci/apt-package-whitelist/issues/1096)
     - libcunit1-dev
     - libdbus-glib-1-dev
-    - libncurses5-dev
     - libpcre3-dev
     - patch
     - python3-dev
libsepol/tests/Makefile +1 -2
index e7e305e8150b..fc9bd1a303be 100644
@@ -32,7 +32,7 @@ all: $(EXE) $(policies)
 policies: $(policies)
 
 $(EXE): $(objs) $(parserobjs) $(LIBSEPOL)
-       $(CC) $(LDFLAGS) $(objs) $(parserobjs) -lcunit -lcurses $(LIBSEPOL) -o $@
+       $(CC) $(LDFLAGS) $(objs) $(parserobjs) -lcunit $(LIBSEPOL) -o $@
 
 %.conf.std: $(m4support) %.conf
        $(M4) $(M4PARAMS) $^ > $@
--

2.26.2

#2 lore raw
Quoted 7 lines · James Carter
Quoted 4 lines · Nicolas Iooss

ncurses library is not used anywhere.

Applied.

Quoted 35 lines
Quoted 34 lines
---
 .travis.yml             | 1 -
 libsepol/tests/Makefile | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)
.travis.yml +0 -1
index 918958acfc80..4361d26cbb83 100644
@@ -53,7 +53,6 @@ addons:
     - libcap-ng-dev # This package is not whitelisted for the container infrastructure (https://github.com/travis-ci/apt-package-whitelist/issues/1096)
     - libcunit1-dev
     - libdbus-glib-1-dev
-    - libncurses5-dev
     - libpcre3-dev
     - patch
     - python3-dev
libsepol/tests/Makefile +1 -2
index e7e305e8150b..fc9bd1a303be 100644
@@ -32,7 +32,7 @@ all: $(EXE) $(policies)
 policies: $(policies)
 
 $(EXE): $(objs) $(parserobjs) $(LIBSEPOL)
-       $(CC) $(LDFLAGS) $(objs) $(parserobjs) -lcunit -lcurses $(LIBSEPOL) -o $@
+       $(CC) $(LDFLAGS) $(objs) $(parserobjs) -lcunit $(LIBSEPOL) -o $@
 
 %.conf.std: $(m4support) %.conf
        $(M4) $(M4PARAMS) $^ > $@
--

2.26.2

Signature · 2 lines
()  ascii ribbon campaign - against html e-mail 
/\  www.asciiribbon.org   - against proprietary attachments