Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
firejail
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
debian-packages
firejail
Commits
8d8686af
Commit
8d8686af
authored
Apr 13, 2017
by
Reiner Herrmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make installation of contrib scripts configurable
parent
e7c7b317
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
0 deletions
+33
-0
Makefile.in
Makefile.in
+4
-0
configure
configure
+19
-0
configure.ac
configure.ac
+10
-0
No files found.
Makefile.in
View file @
8d8686af
...
...
@@ -17,6 +17,8 @@ NAME=@PACKAGE_NAME@
PACKAGE_TARNAME
=
@PACKAGE_TARNAME@
DOCDIR
=
@docdir@
HAVE_APPARMOR
=
@HAVE_APPARMOR@
HAVE_CONTRIB_INSTALL
=
@HAVE_CONTRIB_INSTALL@
HAVE_GIT_INSTALL
=
@HAVE_GIT_INSTALL@
BUSYBOX_WORKAROUND
=
@BUSYBOX_WORKAROUND@
uids.h
:
; ./mkuid.sh
...
...
@@ -94,11 +96,13 @@ endif
install
-c
-m
0644 seccomp.debug
$(DESTDIR)
/
$(libdir)
/firejail/.
install
-c
-m
0644 seccomp.i386
$(DESTDIR)
/
$(libdir)
/firejail/.
install
-c
-m
0644 seccomp.amd64
$(DESTDIR)
/
$(libdir)
/firejail/.
ifeq($(HAVE_CONTRIB_INSTALL),yes)
install
-c
-m
0755
contrib/fix_private-bin.py
$(DESTDIR)/$(libdir)/firejail/.
install
-c
-m
0755
contrib/fjclip.py
$(DESTDIR)/$(libdir)/firejail/.
install
-c
-m
0755
contrib/fjdisplay.py
$(DESTDIR)/$(libdir)/firejail/.
install
-c
-m
0755
contrib/fjresize.py
$(DESTDIR)/$(libdir)/firejail/.
install
-c
-m
0755
contrib/fj-mkdeb.py
$(DESTDIR)/$(libdir)/firejail/.
endif
# documents
install
-m
0755
-d
$(DESTDIR)/$(DOCDIR)
install
-c
-m
0644
COPYING
$(DESTDIR)/$(DOCDIR)/.
...
...
configure
View file @
8d8686af
...
...
@@ -625,6 +625,7 @@ ac_includes_default="\
ac_subst_vars
=
'LTLIBOBJS
LIBOBJS
HAVE_SECCOMP_H
HAVE_CONTRIB_INSTALL
HAVE_GIT_INSTALL
HAVE_GCOV
BUSYBOX_WORKAROUND
...
...
@@ -713,6 +714,7 @@ enable_fatal_warnings
enable_busybox_workaround
enable_gcov
enable_git_install
enable_contrib_install
'
ac_precious_vars
=
'build_alias
host_alias
...
...
@@ -1352,6 +1354,8 @@ Optional Features:
enable busybox workaround
--enable-gcov Gcov instrumentation
--enable-git-install enable git install feature
--enable-contrib-install
install contrib scripts
Some influential environment variables:
CC C compiler command
...
...
@@ -3728,6 +3732,20 @@ if test "x$enable_git_install" = "xyes"; then :
fi
HAVE_CONTRIB_INSTALL
=
"yes"
# Check whether --enable-contrib-install was given.
if
test
"
${
enable_contrib_install
+set
}
"
=
set
;
then
:
enableval
=
$enable_contrib_install
;
fi
if
test
"x
$enable_contrib_install
"
=
"xno"
;
then
:
HAVE_CONTRIB_INSTALL
=
"no"
else
HAVE_CONTRIB_INSTALL
=
"yes"
fi
# checking pthread library
{
$as_echo
"
$as_me
:
${
as_lineno
-
$LINENO
}
: checking for main in -lpthread"
>
&5
$as_echo_n
"checking for main in -lpthread... "
>
&6
;
}
...
...
@@ -4991,6 +5009,7 @@ echo " busybox workaround: $BUSYBOX_WORKAROUND"
echo
" EXTRA_LDFLAGS:
$EXTRA_LDFLAGS
"
echo
" fatal warnings:
$HAVE_FATAL_WARNINGS
"
echo
" Gcov instrumentation:
$HAVE_GCOV
"
echo
" Install contrib scripts:
$HAVE_CONTRIB_INSTALL
"
echo
...
...
configure.ac
View file @
8d8686af
...
...
@@ -155,6 +155,15 @@ AS_IF([test "x$enable_git_install" = "xyes"], [
AC_SUBST(HAVE_GIT_INSTALL)
])
HAVE_CONTRIB_INSTALL="yes"
AC_ARG_ENABLE([contrib-install],
AS_HELP_STRING([--enable-contrib-install], [install contrib scripts]))
AS_IF([test "x$enable_contrib_install" = "xno"],
[HAVE_CONTRIB_INSTALL="no"],
[HAVE_CONTRIB_INSTALL="yes"]
)
AC_SUBST(HAVE_CONTRIB_INSTALL)
# checking pthread library
AC_CHECK_LIB([pthread], [main], [], AC_MSG_ERROR([*** POSIX thread support not installed ***]))
AC_CHECK_HEADER(pthread.h,,AC_MSG_ERROR([*** POSIX thread support not installed ***]))
...
...
@@ -192,6 +201,7 @@ echo " busybox workaround: $BUSYBOX_WORKAROUND"
echo " EXTRA_LDFLAGS: $EXTRA_LDFLAGS"
echo " fatal warnings: $HAVE_FATAL_WARNINGS"
echo " Gcov instrumentation: $HAVE_GCOV"
echo " Install contrib scripts: $HAVE_CONTRIB_INSTALL"
echo
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment