Skip to Content.
Sympa Menu

sm-commit - [[SM-Commit] ] GIT changes to master binary grimoire by Vlad Glagolev (27e5691163ee4e00a568db070e1386985aff12ed)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org, sm-commit AT lists.sourcemage.org
  • Subject: [[SM-Commit] ] GIT changes to master binary grimoire by Vlad Glagolev (27e5691163ee4e00a568db070e1386985aff12ed)
  • Date: Thu, 22 Aug 2024 05:14:36 +0000

GIT changes to master binary grimoire by Vlad Glagolev
<stealth AT sourcemage.org>:

ChangeLog | 3 +
bin-utils/remote_syslog2-bin/BUILD | 1
bin-utils/remote_syslog2-bin/DETAILS | 32
++++++++++++++++
bin-utils/remote_syslog2-bin/HISTORY | 2 +
bin-utils/remote_syslog2-bin/INSTALL | 3 +
bin-utils/remote_syslog2-bin/init.d/remote_syslog2 | 11 +++++
bin-utils/remote_syslog2-bin/init.d/remote_syslog2.conf | 3 +
7 files changed, 55 insertions(+)

New commits:
commit 27e5691163ee4e00a568db070e1386985aff12ed
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

remote_syslog2-bin: new spell, lightweight syslog shipper

diff --git a/ChangeLog b/ChangeLog
index bf60660..c8ffe0c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2024-08-21 Vlad Glagolev <stealth AT sourcemage.org>
+ * bin-utils/remote_syslog2-bin: new spell, lightweight syslog shipper
+
2024-08-21 Conner Clere <xenanthropy AT sourcemage.org>
* bin-net/mullvad-vpn-bin: new spell, mullvad vpn desktop app

diff --git a/bin-utils/remote_syslog2-bin/BUILD
b/bin-utils/remote_syslog2-bin/BUILD
new file mode 100755
index 0000000..27ba77d
--- /dev/null
+++ b/bin-utils/remote_syslog2-bin/BUILD
@@ -0,0 +1 @@
+true
diff --git a/bin-utils/remote_syslog2-bin/DETAILS
b/bin-utils/remote_syslog2-bin/DETAILS
new file mode 100755
index 0000000..4c7d4b7
--- /dev/null
+++ b/bin-utils/remote_syslog2-bin/DETAILS
@@ -0,0 +1,32 @@
+ SPELL=remote_syslog2-bin
+ SPELLX=${SPELL/-bin/}
+ VERSION=0.21
+if [[ "${SMGL_COMPAT_ARCHS[1]}" == "x86_64" || "${SMGL_COMPAT_ARCHS[1]}" ==
"em64t" ]]; then
+ ARCH=amd64
+
SOURCE_HASH=sha512:fbb413780648876bd77b1f1ee9ab49a14348883f2d5d583ba1a0b5eff059d0a79fa624d31b44a5a94070761b5751db854bc55643a1d0d801fd3ca61f7911ac27
+else
+ ARCH=i386
+
SOURCE_HASH=sha512:4f293564078f87a31c1b61d59d14bbf9236a1e8592d2ae43713b236452768fad7f9c94e3b4a05d5d38bfed39a3cdeb2bd29224a40365d8bbe3dd9438d728f757
+fi
+ SOURCE=${SPELLX/2/}_linux_${ARCH}-${VERSION}.tar.gz
+ SOURCEX=${SPELLX/2/}_linux_${ARCH}.tar.gz
+
SOURCE_URL[0]=https://github.com/papertrail/${SPELLX}/releases/download/v${VERSION}/${SOURCEX}
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELLX/2}"
+ WEB_SITE=https://github.com/papertrail/remote_syslog2
+ LICENSE[0]=MIT
+ ENTERED=20240821
+ KEYWORDS="syslog"
+ SHORT="lightweight syslog shipper"
+cat << EOF
+remote_syslog2 is a rewrite of the ruby remote_syslog.
+
+remote_syslog2 tails one or more log files and sends syslog messages to a
+remote central syslog server. It generates packets itself, ignoring the
system
+syslog daemon, so its configuration doesn't affect system-wide logging.
+
+Use cases:
+- Collecting logs from servers & daemons which don't natively support syslog
+- When reconfiguring the system logger is less convenient than a
purpose-built
+ daemon (e.g., automated app deployments)
+- Aggregating files not generated by daemons (e.g., package manager logs)
+EOF
diff --git a/bin-utils/remote_syslog2-bin/HISTORY
b/bin-utils/remote_syslog2-bin/HISTORY
new file mode 100644
index 0000000..190ac8b
--- /dev/null
+++ b/bin-utils/remote_syslog2-bin/HISTORY
@@ -0,0 +1,2 @@
+2024-08-21 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS, BUILD, INSTALL, init.d: created spell, version 0.21
diff --git a/bin-utils/remote_syslog2-bin/INSTALL
b/bin-utils/remote_syslog2-bin/INSTALL
new file mode 100755
index 0000000..22b72fd
--- /dev/null
+++ b/bin-utils/remote_syslog2-bin/INSTALL
@@ -0,0 +1,3 @@
+install -vm 755 remote_syslog "${INSTALL_ROOT}/usr/sbin/remote_syslog2" &&
+
+install_config_file example_config.yml "${INSTALL_ROOT}/etc/log_files.yml"
diff --git a/bin-utils/remote_syslog2-bin/init.d/remote_syslog2
b/bin-utils/remote_syslog2-bin/init.d/remote_syslog2
new file mode 100755
index 0000000..5b8a1b9
--- /dev/null
+++ b/bin-utils/remote_syslog2-bin/init.d/remote_syslog2
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+. /etc/sysconfig/remote_syslog2
+
+PROGRAM=/usr/sbin/remote_syslog2
+PIDFILE=/var/run/remote_syslog2.pid
+ARGS="--pid-file $PIDFILE $REMOTE_SYSLOG2_ARGS"
+RUNLEVEL=3
+NEEDS="+network"
+
+. /etc/init.d/smgl_init
diff --git a/bin-utils/remote_syslog2-bin/init.d/remote_syslog2.conf
b/bin-utils/remote_syslog2-bin/init.d/remote_syslog2.conf
new file mode 100644
index 0000000..6dadc7d
--- /dev/null
+++ b/bin-utils/remote_syslog2-bin/init.d/remote_syslog2.conf
@@ -0,0 +1,3 @@
+# For the arguments and description see ``remote_syslog2 --help''
+
+REMOTE_SYSLOG2_ARGS=""


  • [[SM-Commit] ] GIT changes to master binary grimoire by Vlad Glagolev (27e5691163ee4e00a568db070e1386985aff12ed), Vlad Glagolev, 08/22/2024

Archive powered by MHonArc 2.6.24.

Top of Page