aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2016-02-16 10:34:15 -0500
committerLibravatar netblue30 <netblue30@yahoo.com>2016-02-16 10:34:15 -0500
commit1bb8fddae5c92dde1ba750f50e80b306dd9cc6a0 (patch)
tree3c86693bdefafc1fdd312a4f143f1fe9ce172ce1
parentMerge pull request #297 from jgriffiths/rpmfixes (diff)
downloadfirejail-1bb8fddae5c92dde1ba750f50e80b306dd9cc6a0.tar.gz
firejail-1bb8fddae5c92dde1ba750f50e80b306dd9cc6a0.tar.zst
firejail-1bb8fddae5c92dde1ba750f50e80b306dd9cc6a0.zip
centos7 fixes; support for building rpm packages
-rw-r--r--README2
-rw-r--r--RELNOTES4
-rw-r--r--platform/rpm/firejail.spec2
-rw-r--r--src/firejail/main.c15
4 files changed, 21 insertions, 2 deletions
diff --git a/README b/README
index 4a364970b..ed5721de4 100644
--- a/README
+++ b/README
@@ -18,6 +18,8 @@ License: GPL v2
18Firejail Authors: 18Firejail Authors:
19 19
20netblue30 (netblue30@yahoo.com) 20netblue30 (netblue30@yahoo.com)
21jgriffiths (https://github.com/jgriffiths)
22 - make rpm packages support: "make rpms"
21Tom Mellor (https://github.com/kalegrill) 23Tom Mellor (https://github.com/kalegrill)
22 - mupen64plus profile 24 - mupen64plus profile
23Martin Carpenter (https://github.com/mcarpenter) 25Martin Carpenter (https://github.com/mcarpenter)
diff --git a/RELNOTES b/RELNOTES
index fbb0f58f0..daa92d5dc 100644
--- a/RELNOTES
+++ b/RELNOTES
@@ -2,7 +2,9 @@ firejail (0.9.39) baseline; urgency=low
2 * work in progress! 2 * work in progress!
3 * default seccomp filter update 3 * default seccomp filter update
4 * disable STUN/WebRTC in default netfilter configuration 4 * disable STUN/WebRTC in default netfilter configuration
5 * added --nice optoin 5 * added --nice option
6 * --version also prints compile options
7 * build rpm packages using "make rpms"
6 * new profiles: lxterminal 8 * new profiles: lxterminal
7 * bugfixes 9 * bugfixes
8 -- netblue30 <netblue30@yahoo.com> Tue, 8 Feb 2016 10:00:00 -0500 10 -- netblue30 <netblue30@yahoo.com> Tue, 8 Feb 2016 10:00:00 -0500
diff --git a/platform/rpm/firejail.spec b/platform/rpm/firejail.spec
index f6c9efa18..e365af2d6 100644
--- a/platform/rpm/firejail.spec
+++ b/platform/rpm/firejail.spec
@@ -19,7 +19,7 @@ using Linux namespaces. It includes a sandbox profile for Mozilla Firefox.
19%setup -q 19%setup -q
20 20
21%build 21%build
22%configure 22%configure --disable-userns
23make %{?_smp_mflags} 23make %{?_smp_mflags}
24 24
25%install 25%install
diff --git a/src/firejail/main.c b/src/firejail/main.c
index 4882e29e6..6fd011868 100644
--- a/src/firejail/main.c
+++ b/src/firejail/main.c
@@ -243,6 +243,21 @@ static void run_cmd_and_exit(int i, int argc, char **argv) {
243 } 243 }
244 else if (strcmp(argv[i], "--version") == 0) { 244 else if (strcmp(argv[i], "--version") == 0) {
245 printf("firejail version %s\n", VERSION); 245 printf("firejail version %s\n", VERSION);
246#ifndef HAVE_NETWORK
247 printf("Networking support is disabled.\n");
248#endif
249#ifndef HAVE_USERNS
250 printf("User namespace support is disabled.\n");
251#endif
252#ifndef HAVE_SECCOMP
253 printf("Seccomp-bpf support is disabled.\n");
254#endif
255#ifndef HAVE_BIND
256 printf("Bind support is disabled.\n");
257#endif
258#ifndef HAVE_CHROOT
259 printf("Chroot support is disabled.\n");
260#endif
246 exit(0); 261 exit(0);
247 } 262 }
248#ifdef HAVE_NETWORK 263#ifdef HAVE_NETWORK