Compare commits
100 commits
epel8-play
...
rawhide
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4caa22f931 | ||
|
|
d4eb3dfb8e | ||
|
|
2b578a6ef9 | ||
|
|
59cf897abc | ||
|
|
5d19a0e18c | ||
|
|
2e57b233bd | ||
|
|
ecc7a19801 | ||
|
|
c6e19dc5fd | ||
|
|
0b25e2029a | ||
|
|
f3cd2d6e72 | ||
|
|
7ec65a5e2a | ||
|
|
b9fbbea3dc | ||
|
|
720d8e34a0 | ||
|
|
f1829c7c02 | ||
|
|
317cc10e26 | ||
|
|
f171363416 | ||
|
|
59e8c8c3f6 | ||
|
|
8146720b7e | ||
|
|
9b753a88ff | ||
|
|
2a3aaf3b2a | ||
|
|
12858b9246 | ||
|
|
961ccffc00 | ||
|
|
109b594a8f | ||
|
|
c9d789d67f | ||
|
|
2adcd2384b | ||
|
|
e10c88af63 | ||
|
|
8e74da1add | ||
|
|
9d5a70c8cd |
||
|
|
7e727663bf | ||
|
|
6c13c66b0d |
||
|
|
04158be475 | ||
|
|
0fd2f22910 | ||
|
|
9fdd9ef7b3 | ||
|
|
5c3ea81197 | ||
|
|
6539ee1a5b | ||
|
|
2531759c55 | ||
|
|
be030b5689 | ||
|
|
9eb4e3ea47 | ||
|
|
389638dc91 | ||
|
|
31f54a8e3d | ||
|
|
782faf0fa8 | ||
|
|
768d70199a | ||
|
|
d14f8af255 | ||
|
|
b65a765417 | ||
|
|
cd9bdf0213 | ||
|
|
501dd4674b | ||
|
|
62b20d1907 | ||
|
|
b7b1366618 | ||
|
|
13b22c52b6 | ||
|
|
5e5d70cb39 | ||
|
|
ee5ebacd0f | ||
|
|
1c6106792e | ||
|
|
76b0d2a980 | ||
|
|
b30149cec6 | ||
|
|
70057404e3 | ||
|
|
f42eae7d3c | ||
|
|
e10c0d2831 | ||
|
|
2459ac04b4 | ||
|
|
ffa04ca4b5 | ||
|
|
cf68f0df46 | ||
|
|
6e48d3e943 | ||
|
|
e3069d09aa | ||
|
|
c7ec836d25 | ||
|
|
5beefb0c34 | ||
|
|
211335acf0 | ||
|
|
d8343e52ca | ||
|
|
d740d6141f | ||
|
|
d18c4e04c4 | ||
|
|
fa47f72978 | ||
|
|
29f163d1d8 | ||
|
|
990543952d | ||
|
|
df15f6c099 | ||
|
|
5afd34be04 | ||
|
|
3fd27a54e5 | ||
|
|
881678bf65 | ||
|
|
79dc551ee4 | ||
|
|
a201bb4101 | ||
|
|
de4203ae0a | ||
|
|
4c1fbc672c | ||
|
|
b461d12ef1 | ||
|
|
5632bee948 | ||
|
|
2e0fb81863 | ||
|
|
24245fedcd | ||
|
|
4678c18f7b | ||
|
|
814edcabaa | ||
|
|
79b87f6636 | ||
|
|
7806e61705 | ||
|
|
4a7127df75 | ||
|
|
67b0b4ec1f | ||
|
|
9090bb72f2 | ||
|
|
7e1e519d77 | ||
|
|
9efdf7c377 | ||
|
|
4c8b926554 | ||
|
|
44a4b51d81 | ||
|
|
62dd6a3ccc | ||
|
|
30613231b4 | ||
|
|
aac6b5fde1 | ||
|
|
2ed91335e6 | ||
|
|
096e78537a | ||
|
|
75ab6ddeae |
8 changed files with 194 additions and 21 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
/*.tar.*
|
||||
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
|||
# Makefile for source rpm: gkrellm
|
||||
# $Id$
|
||||
NAME := gkrellm
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attept a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
||||
25
gkrellm-2.4.0-config.patch
Normal file
25
gkrellm-2.4.0-config.patch
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
diff -up gkrellm-2.3.5/server/gkrellmd.conf.config gkrellm-2.3.5/server/gkrellmd.conf
|
||||
--- gkrellm-2.3.5/server/gkrellmd.conf.config 2010-09-14 17:26:19.000000000 +0300
|
||||
+++ gkrellm-2.3.5/server/gkrellmd.conf 2011-06-19 19:17:56.398591498 +0300
|
||||
@@ -22,16 +22,17 @@
|
||||
# List of hosts allowed to connect. If no hosts are specified in a
|
||||
# gkrellmd.conf file or on the command line, all hosts will be allowed.
|
||||
#
|
||||
-#allow-host localhost
|
||||
-#allow-host 127.0.0.1
|
||||
+allow-host localhost
|
||||
+allow-host 127.0.0.1
|
||||
+allow-host ::ffff:127.0.0.1
|
||||
#allow-host ::1
|
||||
#allow-host 192.168.0.*
|
||||
|
||||
# Drop privileges after startup (you must start gkrellmd as root to do it).
|
||||
# NOTE: Option ignored on Windows
|
||||
#
|
||||
-#user nobody
|
||||
-#group proc
|
||||
+user gkrellmd
|
||||
+group gkrellmd
|
||||
|
||||
# Create a PID file for the running gkrellmd. Default is no PID file.
|
||||
# NOTE: Option ignored on Windows
|
||||
11
gkrellm-2.4.0-width.patch
Normal file
11
gkrellm-2.4.0-width.patch
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
--- gkrellm-2.2.7/src/gkrellm.h.width 2005-06-09 12:48:34.000000000 +0200
|
||||
+++ gkrellm-2.2.7/src/gkrellm.h 2005-06-09 12:48:37.000000000 +0200
|
||||
@@ -518,7 +518,7 @@
|
||||
GkrellmPanel;
|
||||
|
||||
|
||||
-#define CHART_WIDTH_MAX 1000
|
||||
+#define CHART_WIDTH_MAX 1600
|
||||
#define CHART_WIDTH_MIN 25
|
||||
|
||||
/* Each chart must have a GkrellmChartconfig struct associated with it.
|
||||
134
gkrellm.spec
Normal file
134
gkrellm.spec
Normal file
|
|
@ -0,0 +1,134 @@
|
|||
Name: gkrellm
|
||||
Version: 2.4.0
|
||||
Release: %autorelease
|
||||
Summary: Multiple stacked system monitors in one process
|
||||
License: GPL-3.0-or-later
|
||||
URL: https://gkrellm.srcbox.net/
|
||||
Source0: https://gkrellm.srcbox.net/releases/%{name}-%{version}.tar.bz2
|
||||
Source5: make-git-snapshot.sh
|
||||
Patch1: gkrellm-2.4.0-config.patch
|
||||
Patch3: gkrellm-2.4.0-width.patch
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gtk2-devel openssl-devel libSM-devel desktop-file-utils gettext
|
||||
BuildRequires: lm_sensors-devel libntlm-devel libappstream-glib
|
||||
Requires: gdk-pixbuf2-modules-extra%{?_isa}
|
||||
|
||||
%description
|
||||
GKrellM charts CPU, load, Disk, and all active net interfaces
|
||||
automatically. An on/off button and online timer for the PPP
|
||||
interface is provided, as well as monitors for memory and swap usage,
|
||||
file system, internet connections, APM laptop battery, mbox style
|
||||
mailboxes, and temperature sensors on supported systems. Also
|
||||
included is an uptime monitor, a hostname label, and a clock/calendar.
|
||||
Additional features are:
|
||||
|
||||
* Autoscaling grid lines with configurable grid line resolution.
|
||||
* LED indicators for the net interfaces.
|
||||
* A gui popup for configuration of chart sizes and resolutions.
|
||||
|
||||
|
||||
%package daemon
|
||||
Summary: The GNU Krell Monitors Server
|
||||
# systemd >= 186 for scriptlet macros
|
||||
BuildRequires: systemd >= 186
|
||||
BuildRequires: make
|
||||
Requires(pre): systemd
|
||||
Requires(post,preun,postun): systemd
|
||||
|
||||
|
||||
%description daemon
|
||||
gkrellmd listens for connections from gkrellm clients. When a gkrellm
|
||||
client connects to a gkrellmd server all builtin monitors collect their
|
||||
data from the server.
|
||||
|
||||
|
||||
%package devel
|
||||
Summary: Development files for the GNU Krell Monitors
|
||||
Requires: gtk2-devel%{?_isa}
|
||||
|
||||
%description devel
|
||||
Development files for the GNU Krell Monitors.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
for i in gkrellmd.1 gkrellm.1 README Changelog.OLD Changelog-plugins.html \
|
||||
src/gkrellm.h server/gkrellmd.h; do
|
||||
sed -i -e "s@/usr/lib/gkrellm2*/plugins@%{_libdir}/gkrellm2/plugins@" $i
|
||||
sed -i -e "s@/usr/local/lib/gkrellm2*/plugins@/usr/local/%{_lib}/gkrellm2/plugins@" $i
|
||||
done
|
||||
|
||||
# Create a sysusers.d config file
|
||||
cat >gkrellm.sysusers.conf <<EOF
|
||||
u gkrellmd - 'GNU Krell daemon' - -
|
||||
EOF
|
||||
|
||||
|
||||
%build
|
||||
make %{?_smp_mflags} PREFIX=%{_prefix} \
|
||||
PKGCONFIGDIR=%{_libdir}/pkgconfig \
|
||||
INCLUDEDIR=%{_includedir} \
|
||||
SINSTALLDIR=%{_sbindir} \
|
||||
CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -Wno-error=incompatible-pointer-types" \
|
||||
LDFLAGS="$RPM_LD_FLAGS"
|
||||
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_datadir}/gkrellm2/themes
|
||||
mkdir -p %{buildroot}%{_libdir}/gkrellm2/plugins
|
||||
|
||||
make install DESTDIR=%{buildroot} PREFIX=%{_prefix} \
|
||||
LOCALEDIR=%{buildroot}%{_datadir}/locale \
|
||||
INSTALLDIR=%{buildroot}%{_bindir} \
|
||||
SINSTALLDIR=%{buildroot}%{_sbindir} \
|
||||
MANDIR=%{buildroot}%{_mandir}/man1 \
|
||||
PKGCONFIGDIR=%{buildroot}%{_libdir}/pkgconfig \
|
||||
INCLUDEDIR=%{buildroot}%{_includedir} \
|
||||
CFGDIR=%{buildroot}%{_sysconfdir}
|
||||
%find_lang %name
|
||||
|
||||
desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
|
||||
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.metainfo.xml
|
||||
|
||||
install -m0644 -D gkrellm.sysusers.conf %{buildroot}%{_sysusersdir}/gkrellm.conf
|
||||
|
||||
|
||||
|
||||
%post daemon
|
||||
%systemd_post gkrellmd.service
|
||||
|
||||
%preun daemon
|
||||
%systemd_preun gkrellmd.service
|
||||
|
||||
%postun daemon
|
||||
%systemd_postun_with_restart gkrellmd.service
|
||||
|
||||
|
||||
%files -f %{name}.lang
|
||||
%license COPYRIGHT
|
||||
%doc CHANGELOG.md Changelog.OLD README Themes.html
|
||||
%{_bindir}/%{name}
|
||||
%{_libdir}/gkrellm2
|
||||
%{_datadir}/gkrellm2
|
||||
%{_mandir}/man1/%{name}.1*
|
||||
%{_metainfodir}/*.metainfo.xml
|
||||
%{_datadir}/applications/*.desktop
|
||||
%{_datadir}/icons/hicolor/*/apps/%{name}.png
|
||||
|
||||
%files devel
|
||||
%license %{_licensedir}/%{name}*
|
||||
%{_includedir}/gkrellm2
|
||||
%{_libdir}/pkgconfig/%{name}.pc
|
||||
|
||||
%files daemon
|
||||
%license %{_licensedir}/%{name}*
|
||||
%{_unitdir}/gkrellmd.service
|
||||
%{_sbindir}/gkrellmd
|
||||
%{_mandir}/man1/gkrellmd.*
|
||||
%config(noreplace) %{_sysconfdir}/gkrellmd.conf
|
||||
%{_sysusersdir}/gkrellm.conf
|
||||
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
22
make-git-snapshot.sh
Executable file
22
make-git-snapshot.sh
Executable file
|
|
@ -0,0 +1,22 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Usage: ./make-git-snapshot.sh [COMMIT]
|
||||
#
|
||||
# to make a snapshot of the given tag/branch. Defaults to HEAD.
|
||||
# Point env var REF to a local git repo to reduce clone time.
|
||||
|
||||
DIRNAME=gkrellm-$( date +%Y%m%d )
|
||||
|
||||
echo REF ${REF:+--reference $REF}
|
||||
echo DIRNAME $DIRNAME
|
||||
echo HEAD ${1:-HEAD}
|
||||
|
||||
rm -rf $DIRNAME
|
||||
|
||||
git clone ${REF:+--reference $REF} \
|
||||
git://git.srcbox.net/gkrellm $DIRNAME
|
||||
|
||||
GIT_DIR=$DIRNAME/.git git archive --format=tar --prefix=$DIRNAME/ ${1:-HEAD} \
|
||||
| bzip2 > $DIRNAME.tar.bz2
|
||||
|
||||
# rm -rf $DIRNAME
|
||||
1
sources
1
sources
|
|
@ -0,0 +1 @@
|
|||
SHA512 (gkrellm-2.4.0.tar.bz2) = 770acfe5ee23b74ffe5becc89d3735e9e8688ac338b052e1c2f86cb722b7867b1f8c262a969ef3140eb32912cf0426ac13bf3743e2a9149eec2a962655e05a9f
|
||||
Loading…
Add table
Add a link
Reference in a new issue