aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.in79
-rw-r--r--README2
-rw-r--r--RELNOTES1
-rwxr-xr-xmkdeb.sh2
4 files changed, 10 insertions, 74 deletions
diff --git a/Makefile.in b/Makefile.in
index 91e132088..10b057997 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -48,7 +48,7 @@ distclean: clean
48 done 48 done
49 rm -fr Makefile autom4te.cache config.log config.status config.h 49 rm -fr Makefile autom4te.cache config.log config.status config.h
50 50
51install: all 51realinstall:
52 # firejail executable 52 # firejail executable
53 mkdir -p $(DESTDIR)/$(PREFIX)/bin 53 mkdir -p $(DESTDIR)/$(PREFIX)/bin
54 install -c -m 0755 src/firejail/firejail $(DESTDIR)/$(PREFIX)/bin/. 54 install -c -m 0755 src/firejail/firejail $(DESTDIR)/$(PREFIX)/bin/.
@@ -122,83 +122,16 @@ install: all
122 install -c -m 0644 src/bash_completion/firejail.bash_completion $(DESTDIR)/$(PREFIX)/share/bash-completion/completions/firejail 122 install -c -m 0644 src/bash_completion/firejail.bash_completion $(DESTDIR)/$(PREFIX)/share/bash-completion/completions/firejail
123 install -c -m 0644 src/bash_completion/firemon.bash_completion $(DESTDIR)/$(PREFIX)/share/bash-completion/completions/firemon 123 install -c -m 0644 src/bash_completion/firemon.bash_completion $(DESTDIR)/$(PREFIX)/share/bash-completion/completions/firemon
124 124
125
126install: all
127 $(MAKE) realinstall
128
125install-strip: all 129install-strip: all
126 # firejail executable
127 strip src/firejail/firejail 130 strip src/firejail/firejail
128 mkdir -p $(DESTDIR)/$(PREFIX)/bin
129 install -c -m 0755 src/firejail/firejail $(DESTDIR)/$(PREFIX)/bin/.
130 chmod u+s $(DESTDIR)/$(PREFIX)/bin/firejail
131 # firemon executable
132 strip src/firemon/firemon 131 strip src/firemon/firemon
133 install -c -m 0755 src/firemon/firemon $(DESTDIR)/$(PREFIX)/bin/.
134 # libraries and plugins
135 strip src/libtrace/libtrace.so 132 strip src/libtrace/libtrace.so
136 mkdir -p $(DESTDIR)/$(PREFIX)/lib/firejail
137 install -c -m 0644 src/libtrace/libtrace.so $(DESTDIR)/$(PREFIX)/lib/firejail/.
138 strip src/ftee/ftee 133 strip src/ftee/ftee
139 install -c -m 0755 src/ftee/ftee $(DESTDIR)/$(PREFIX)/lib/firejail/. 134 $(MAKE) realinstall
140 install -c -m 0755 src/fshaper/fshaper.sh $(DESTDIR)/$(PREFIX)/lib/firejail/.
141 # documents
142 mkdir -p $(DESTDIR)/$(DOCDIR)
143 install -c -m 0644 COPYING $(DESTDIR)/$(DOCDIR)/.
144 install -c -m 0644 README $(DESTDIR)/$(DOCDIR)/.
145 install -c -m 0644 RELNOTES $(DESTDIR)/$(DOCDIR)/.
146 # etc files
147 mkdir -p $(DESTDIR)/etc/firejail
148 install -c -m 0644 etc/audacious.profile $(DESTDIR)/etc/firejail/.
149 install -c -m 0644 etc/clementine.profile $(DESTDIR)/etc/firejail/.
150 install -c -m 0644 etc/gnome-mplayer.profile $(DESTDIR)/etc/firejail/.
151 install -c -m 0644 etc/rhythmbox.profile $(DESTDIR)/etc/firejail/.
152 install -c -m 0644 etc/totem.profile $(DESTDIR)/etc/firejail/.
153 install -c -m 0644 etc/firefox.profile $(DESTDIR)/etc/firejail/.
154 install -c -m 0644 etc/icedove.profile $(DESTDIR)/etc/firejail/.
155 install -c -m 0644 etc/iceweasel.profile $(DESTDIR)/etc/firejail/.
156 install -c -m 0644 etc/midori.profile $(DESTDIR)/etc/firejail/.
157 install -c -m 0644 etc/evince.profile $(DESTDIR)/etc/firejail/.
158 install -c -m 0644 etc/chromium-browser.profile $(DESTDIR)/etc/firejail/.
159 install -c -m 0644 etc/chromium.profile $(DESTDIR)/etc/firejail/.
160 install -c -m 0644 etc/disable-mgmt.inc $(DESTDIR)/etc/firejail/.
161 install -c -m 0644 etc/disable-secret.inc $(DESTDIR)/etc/firejail/.
162 install -c -m 0644 etc/disable-common.inc $(DESTDIR)/etc/firejail/.
163 install -c -m 0644 etc/disable-history.inc $(DESTDIR)/etc/firejail/.
164 install -c -m 0644 etc/dropbox.profile $(DESTDIR)/etc/firejail/.
165 install -c -m 0644 etc/opera.profile $(DESTDIR)/etc/firejail/.
166 install -c -m 0644 etc/thunderbird.profile $(DESTDIR)/etc/firejail/.
167 install -c -m 0644 etc/transmission-gtk.profile $(DESTDIR)/etc/firejail/.
168 install -c -m 0644 etc/transmission-qt.profile $(DESTDIR)/etc/firejail/.
169 install -c -m 0644 etc/vlc.profile $(DESTDIR)/etc/firejail/.
170 install -c -m 0644 etc/deluge.profile $(DESTDIR)/etc/firejail/.
171 install -c -m 0644 etc/qbittorrent.profile $(DESTDIR)/etc/firejail/.
172 install -c -m 0644 etc/generic.profile $(DESTDIR)/etc/firejail/.
173 install -c -m 0644 etc/pidgin.profile $(DESTDIR)/etc/firejail/.
174 install -c -m 0644 etc/xchat.profile $(DESTDIR)/etc/firejail/.
175 install -c -m 0644 etc/empathy.profile $(DESTDIR)/etc/firejail/.
176 install -c -m 0644 etc/server.profile $(DESTDIR)/etc/firejail/.
177 install -c -m 0644 etc/icecat.profile $(DESTDIR)/etc/firejail/.
178 install -c -m 0644 etc/quassel.profile $(DESTDIR)/etc/firejail/.
179 install -c -m 0644 etc/deadbeef.profile $(DESTDIR)/etc/firejail/.
180 install -c -m 0644 etc/filezilla.profile $(DESTDIR)/etc/firejail/.
181 bash -c "if [ ! -f /etc/firejail/login.users ]; then install -c -m 0644 etc/login.users $(DESTDIR)/etc/firejail/.; fi;"
182 # man pages
183 rm -f firejail.1.gz
184 gzip -9n firejail.1
185 rm -f firemon.1.gz
186 gzip -9n firemon.1
187 rm -f firejail-profile.5.gz
188 gzip -9n firejail-profile.5
189 rm -f firejail-login.5.gz
190 gzip -9n firejail-login.5
191 mkdir -p $(DESTDIR)/$(PREFIX)/share/man/man1
192 install -c -m 0644 firejail.1.gz $(DESTDIR)/$(PREFIX)/share/man/man1/.
193 install -c -m 0644 firemon.1.gz $(DESTDIR)/$(PREFIX)/share/man/man1/.
194 mkdir -p $(DESTDIR)/$(PREFIX)/share/man/man5
195 install -c -m 0644 firejail-profile.5.gz $(DESTDIR)/$(PREFIX)/share/man/man5/.
196 install -c -m 0644 firejail-login.5.gz $(DESTDIR)/$(PREFIX)/share/man/man5/.
197 rm -f firejail.1.gz firemon.1.gz firejail-profile.5.gz firejail-login.5.gz
198 # bash completion
199 mkdir -p $(DESTDIR)/$(PREFIX)/share/bash-completion/completions
200 install -c -m 0644 src/bash_completion/firejail.bash_completion $(DESTDIR)/$(PREFIX)/share/bash-completion/completions/firejail
201 install -c -m 0644 src/bash_completion/firemon.bash_completion $(DESTDIR)/$(PREFIX)/share/bash-completion/completions/firemon
202 135
203uninstall: 136uninstall:
204 rm -f $(DESTDIR)/$(PREFIX)/bin/firejail 137 rm -f $(DESTDIR)/$(PREFIX)/bin/firejail
diff --git a/README b/README
index f8f73ff1a..b40b937cf 100644
--- a/README
+++ b/README
@@ -44,6 +44,8 @@ mjudtmann (https://github.com/mjudtmann)
44 - lock firejail configuration in disable-mgmt.inc 44 - lock firejail configuration in disable-mgmt.inc
45iiotx (https://github.com/iiotx) 45iiotx (https://github.com/iiotx)
46 - use generci.profile by default 46 - use generci.profile by default
47pstn (https://github.com/pstn)
48 - added install-strip, make install without strip
47Alexey Kuznetsov (kuznet@ms2.inr.ac.ru) 49Alexey Kuznetsov (kuznet@ms2.inr.ac.ru)
48 - src/lib/libnetlink.c extracted from iproute2 software package 50 - src/lib/libnetlink.c extracted from iproute2 software package
49 51
diff --git a/RELNOTES b/RELNOTES
index 169f02401..a83d7957c 100644
--- a/RELNOTES
+++ b/RELNOTES
@@ -14,6 +14,7 @@ firejail (0.9.30-rc1) baseline; urgency=low
14 * added build --enable-fatal-warnings configure option 14 * added build --enable-fatal-warnings configure option
15 * added persistence to --overlay option 15 * added persistence to --overlay option
16 * added --overlay-tmpfs option 16 * added --overlay-tmpfs option
17 * make install renamed make install-strip
17 * bugfixes 18 * bugfixes
18 -- netblue30 <netblue30@yahoo.com> Wed, 9 Sept 2015 08:00:00 -0500 19 -- netblue30 <netblue30@yahoo.com> Wed, 9 Sept 2015 08:00:00 -0500
19 20
diff --git a/mkdeb.sh b/mkdeb.sh
index 2a34b2699..f9eb20ad9 100755
--- a/mkdeb.sh
+++ b/mkdeb.sh
@@ -20,7 +20,7 @@ tar -xjvf $CODE_ARCHIVE
20mkdir -p $INSTALL_DIR 20mkdir -p $INSTALL_DIR
21cd $CODE_DIR 21cd $CODE_DIR
22./configure --prefix=$INSTALL_DIR 22./configure --prefix=$INSTALL_DIR
23make && make install 23make && make install-strip
24 24
25# second compilation - the path to libtrace.so is hardcoded in firejail executable 25# second compilation - the path to libtrace.so is hardcoded in firejail executable
26# pointing according to --prefix=$INSTALL_DIR. We need it to point to /usr/lib 26# pointing according to --prefix=$INSTALL_DIR. We need it to point to /usr/lib