public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] dev/ago:master commit in: net-analyzer/logkeys/files/
@ 2012-08-14 12:20 Agostino Sarubbo
  0 siblings, 0 replies; 2+ messages in thread
From: Agostino Sarubbo @ 2012-08-14 12:20 UTC (permalink / raw
  To: gentoo-commits

commit:     53fe61395daee613c148932cb1c80e4e41241adc
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 14 12:18:46 2012 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Tue Aug 14 12:18:46 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/ago.git;a=commit;h=53fe6139

respect CXXFLAGS

---
 net-analyzer/logkeys/files/cxxflags.patch |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/net-analyzer/logkeys/files/cxxflags.patch b/net-analyzer/logkeys/files/cxxflags.patch
new file mode 100644
index 0000000..f67bda0
--- /dev/null
+++ b/net-analyzer/logkeys/files/cxxflags.patch
@@ -0,0 +1,15 @@
+--- src/Makefile.am.old	2012-08-14 13:34:40.299853824 +0200
++++ src/Makefile.am	2012-08-14 13:35:08.735498330 +0200
+@@ -1,4 +1,4 @@
+-CXXFLAGS = -Wall -O3 -DSYS_CONF_DIR=\"$(sysconfdir)\"
++AM_CXXFLAGS = $(CXXFLAGS) -Wall -DSYS_CONF_DIR=\"$(sysconfdir)\"
+ 
+ bin_PROGRAMS = logkeys llk llkk
+ logkeys_SOURCES = logkeys.cc
+@@ -10,4 +10,4 @@
+ 	chmod u+s    $(DESTDIR)$(bindir)/llk
+ 	chown root\: $(DESTDIR)$(bindir)/llkk
+ 	chmod u+s    $(DESTDIR)$(bindir)/llkk
+-  
+\ No newline at end of file
++  


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] dev/ago:master commit in: net-analyzer/logkeys/files/
@ 2012-09-02 14:17 Agostino Sarubbo
  0 siblings, 0 replies; 2+ messages in thread
From: Agostino Sarubbo @ 2012-09-02 14:17 UTC (permalink / raw
  To: gentoo-commits

commit:     08b3dde5bd6bc01a834816a9d501c9cf3048ac21
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Sun Sep  2 14:17:35 2012 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Sun Sep  2 14:17:35 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/ago.git;a=commit;h=08b3dde5

Add init script

---
 net-analyzer/logkeys/files/logkeys-conf.d |    7 +++++++
 net-analyzer/logkeys/files/logkeys-init.d |   20 ++++++++++++++++++++
 2 files changed, 27 insertions(+), 0 deletions(-)

diff --git a/net-analyzer/logkeys/files/logkeys-conf.d b/net-analyzer/logkeys/files/logkeys-conf.d
new file mode 100644
index 0000000..d078519
--- /dev/null
+++ b/net-analyzer/logkeys/files/logkeys-conf.d
@@ -0,0 +1,7 @@
+# /etc/conf.d/logkeys: config file for /etc/init.d/logkeys
+
+# Options to pass to the logkeys daemon.
+# See the logkeys(8) man page for more info.
+
+LOGKEYS_ARGS=""
+

diff --git a/net-analyzer/logkeys/files/logkeys-init.d b/net-analyzer/logkeys/files/logkeys-init.d
new file mode 100755
index 0000000..fd07614
--- /dev/null
+++ b/net-analyzer/logkeys/files/logkeys-init.d
@@ -0,0 +1,20 @@
+#!/sbin/runscript
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header:
+
+start() {
+	ebegin "Starting Logkeys"
+
+	start-stop-daemon \
+		--start \
+		--pidfile /var/run/logkeys.pid \
+		--exec /usr/bin/logkeys -- -s ${LOGKEYS_ARGS}
+	eend $?
+}
+
+stop() {
+	ebegin "Stopping Logkeys"
+	start-stop-daemon --stop --pidfile /var/run/logkeys.pid
+	eend $?
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-09-02 14:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-02 14:17 [gentoo-commits] dev/ago:master commit in: net-analyzer/logkeys/files/ Agostino Sarubbo
  -- strict thread matches above, loose matches on Subject: below --
2012-08-14 12:20 Agostino Sarubbo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox