Olivier Gayot
03c8908ec6
Stop requiring CAP_NET_ADMIN
...
Since the following commit in the Linux kernel tree
0fdc100bdc4b ethtool: allow non-netadmin to query settings
it is no longer necessary to have the CAP_NET_ADMIN capability to query
a device speed using ioctl(..., SIOCETHTOOL) in conjonction with the
ETHTOOL_GSET ethtool command.
The mentioned commit landed first in the 2.6.37 version of the Kernel.
This version is no longer maintained nowdays.
Since it is not necessary anymore, it is strongly prefered from a
security standpoint to drop the CAP_NET_ADMIN capability from the
binary.
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
2018-06-25 11:53:05 +02:00
Benedikt Heine
adc9348e80
Expose the testsuite in the Makefile
2018-06-19 17:17:51 +02:00
Michael Stapelberg
9f5ac89aa4
Makefile: make PKG_CONFIG overridable (patch by Helmut Grohne)
2017-09-18 08:30:48 +02:00
Michael Stapelberg
ef5148c3e9
correctly write I3STATUS_VERSION on release
2017-01-21 16:00:13 +01:00
Michael Stapelberg
30fd21864b
Makefile: sort objects for deterministic linking order
...
Patch by Reiner Herrmann
2017-01-21 15:34:20 +01:00
Michael Stapelberg
48e10658b4
Bugfix: re-add single quotes around I3STATUS_VERSION
...
related to https://github.com/i3/i3/issues/2437
2016-09-05 08:35:24 +02:00
eplanet
535fc76fb3
Deleting VERSION and extracting it from I3STATUS_VERSION instead ( #146 )
2016-08-13 13:46:31 -07:00
eplanet
4a37333cad
Added version files for release tarball. Fixes #78 ( #132 )
2016-06-27 08:49:51 +02:00
Watcom Hecht
dd75c260f8
revert back to using nanosleep
...
Fixes #93
2016-01-12 11:46:42 -02:00
Michael Stapelberg
dc26801cd3
release v2.10
2016-01-01 19:50:24 +01:00
Jakub Klinkovský
611e863ace
Volume percentage should be obtained by float division and rounded to int.
...
Fixes #75
2015-10-12 09:44:13 +02:00
Michael Stapelberg
668bf2079f
wireless (linux): switch from libiw to libnl
...
Based on http://cr.i3wm.org/patch/692/ by Alexander Monakov
fixes #32
fixes #52
2015-09-24 21:47:02 +02:00
Dmitrij D. Czarkoff
15f2279592
Use SndIO for volume module on OpenBSD
...
* add audio(4) code by Robert Nagy
* disable PulseAudio
While at OpenBSD support, add "-pthread" to LIBS.
2015-08-01 17:35:09 +02:00
Alexis Hildebrandt
0006ec53ef
Whitespace edit
2015-07-06 15:47:29 +02:00
Thomas Anderson
12709cc751
Add support for differing PREFIX and MANPREFIX.
...
Sometimes we do not want man pages to go to $(PREFIX)/man, as in the
case of cross-compiling on distributions such as Exherbo.
2015-04-07 17:28:07 -07:00
Watcom Hecht
1710c206cf
PulseAudio support for volume input
2015-04-03 17:57:40 -03:00
Robin Hahling
a85bd9b930
Fix CFLAGS and LDFLAGS for DragonFly and FreeBSD
2014-08-01 13:01:05 +02:00
Michael Stapelberg
530c82edfd
make release: install the README file (Thanks myou)
2014-02-19 22:58:30 +01:00
Arnaud Degroote
c6e9fc84c6
Add support for cpu temperature on NetBSD (using envsys(4))
2013-10-07 19:32:50 +02:00
Arnaud Degroote
57730f726f
Fix the build on NetBSD
2013-10-07 19:30:32 +02:00
Michael Stapelberg
cf417ffeb1
Makefile: use .SILENT and support V=1 for verbose builds
2013-06-18 18:14:38 +02:00
Emil Mikulic
e2541da194
src/*.c depends on include/i3status.h
2013-01-25 11:26:08 +01:00
Scott Tincman
0eeded8bc0
DragonFlyBSD support added
2012-11-15 12:31:17 +01:00
Michael Stapelberg
c705b11d44
include contrib/ in release tarballs
2012-10-03 13:44:34 +02:00
Michael Stapelberg
dae6575392
add CHANGELOG to release tarball
2012-05-04 16:05:50 +02:00
Michael Stapelberg
a25eb4f5a6
makefile: include yajl-fallback in release tarballs
2012-05-04 12:31:28 +02:00
Michael Stapelberg
e918566516
clean (generated) i3status.1 in distclean target
2012-05-02 17:27:20 +02:00
Michael Stapelberg
86e86adcca
bugfix: don’t use TOPDIR (Thanks loblik)
2012-04-30 13:51:18 +02:00
Jasper Lievisse Adriaanse
aabac78fd0
Print the volume on OpenBSD too. Add missing library to Makefile accordingly.
2012-04-29 11:13:29 +02:00
Jasper Lievisse Adriaanse
af32603373
Add some extra paths if we're compiling on OpenBSD.
2012-04-28 10:08:30 +02:00
Michael Stapelberg
1b3aa40485
add yajl compat code
2012-04-08 14:05:47 +02:00
Michael Stapelberg
12b1bfa9b8
Properly output JSON with libyajl
2012-03-25 22:05:00 +02:00
Connor Lane Smith
19bcc6456f
Makefile: fix PREFIX usage
2011-09-01 12:47:17 +02:00
Michael Stapelberg
8317709b95
Makefile: actually use PREFIX (Thanks cls)
2011-08-27 15:24:03 +02:00
Michael Stapelberg
6dbf9bfb64
makefile: respect and use LIBS/CPPFLAGS, use $(MAKE), fix i3status.c target (Thanks Kacper)
2011-07-13 16:18:39 +02:00
Michael Stapelberg
adda6b4dd5
makefile: also copy include/ in make release
2010-09-23 00:19:59 +02:00
Michael Stapelberg
c3f7fc4994
port support for xdg basedir and some makefile fixes from i3
2010-09-23 00:12:48 +02:00
Michael Stapelberg
7bc1e2cd4c
makefile: define GIT_VERSION, statically include *VERSION in release tarballs
2010-09-22 20:14:42 +02:00
Michael Stapelberg
e137e33faa
makefile: remove obsolete compilation flag
2010-09-22 20:14:25 +02:00
Michael Stapelberg
eb46963d4c
Implement ALSA volume support
2010-07-20 19:33:41 +02:00
Michael Stapelberg
7665643894
makefile: don’t fail if setcap is unsuccessful
2010-04-06 14:39:16 +02:00
Michael Stapelberg
d31f2ce0be
install i3status with cap_net_admin capability, document it
2010-04-01 20:34:03 +02:00
Michael Stapelberg
e6b607b7d0
Fix Makefile to create correct tarball
2009-10-24 00:43:02 +02:00
Michael Stapelberg
a6d1da6d5a
Don’t compile for DZEN by default
2009-10-24 00:38:36 +02:00
Michael Stapelberg
94ee6e4fb7
Change Makefile to make releases containing our current directory structure
2009-10-16 20:46:45 +02:00
Michael Stapelberg
c303057868
Bugfix: Install manpage from new path (Thanks shatter)
2009-10-13 08:24:04 +02:00
Michael Stapelberg
a291596367
Generate manpage in Makefile
2009-10-12 09:59:11 +02:00
Michael Stapelberg
f947d0a446
Breaks configfiles! Major refactoring of i3status, see below
...
We finally switched to libconfuse for a configuration file format
which does not require much work for the programmer nor for the user.
Plus, it avoids the Not-Invented-Here syndrome of yet another config
file format.
Furthermore, as a consequence of providing format strings for every
"module" (ipv6, wireless, …), we directly print the output and thus
we needed to drop support for wmii. This allowed us to get rid of
quite some complexity.
Documentation about the new configuration file and options will
follow. This commit is the beginning of what will be i3status v2.0.
2009-10-11 22:14:29 +02:00
Michael Stapelberg
745fb02f2f
Fix linking (Thanks Atsutane)
2009-10-01 22:13:30 +02:00
Michael Stapelberg
b2292e770e
Implement getting the wireless ESSID
...
This adds a dependency for libiw
2009-10-01 17:43:32 +02:00