summaryrefslogtreecommitdiffstats
path: root/remote/modules/rsyslogd
diff options
context:
space:
mode:
Diffstat (limited to 'remote/modules/rsyslogd')
-rw-r--r--remote/modules/rsyslogd/rsyslogd.build34
-rw-r--r--remote/modules/rsyslogd/rsyslogd.conf6
-rw-r--r--remote/modules/rsyslogd/rsyslogd.conf.debian6
-rw-r--r--remote/modules/rsyslogd/rsyslogd.conf.opensuse9
-rw-r--r--remote/modules/rsyslogd/rsyslogd.conf.ubuntu6
5 files changed, 0 insertions, 61 deletions
diff --git a/remote/modules/rsyslogd/rsyslogd.build b/remote/modules/rsyslogd/rsyslogd.build
deleted file mode 100644
index c35d07b7..00000000
--- a/remote/modules/rsyslogd/rsyslogd.build
+++ /dev/null
@@ -1,34 +0,0 @@
-fetch_source() {
- :
-}
-
-build() {
- COPYLIST="list_dpkg_output"
- [ -e "$COPYLIST" ] && rm "$COPYLIST"
-
- list_packet_files >> "$COPYLIST"
- tarcopy "$(cat "$COPYLIST" | sort -u)" "${MODULE_BUILD_DIR}"
-
- return 0
-}
-
-post_copy() {
-
-
- # pwd = module's build dir
- mkdir -p "${TARGET_BUILD_DIR}"/var/spool/rsyslog
-
- local RSL="$(find /usr/lib/ /lib/ -name rsyslog.service | head -1)"
- [ -z "$RSL" -o ! -e "$RSL" ] && perror "rsyslog.service not found on vorlage"
- [ ! -d "$TARGET_BUILD_DIR/etc/systemd/system" ] && mkdir -p "$TARGET_BUILD_DIR/etc/systemd/system"
- cp -L "$RSL" "$TARGET_BUILD_DIR/etc/systemd/system/"
- sed -i 's/\/bin\/systemctl/-\/usr\/bin\/systemctl/g' "${TARGET_BUILD_DIR}"/etc/systemd/system/rsyslog.service
- sed -i 's/^Before=udev/#&/' "${TARGET_BUILD_DIR}"/etc/systemd/system/rsyslog.service
-
- # activate the service
- ln -sf rsyslog.service "${TARGET_BUILD_DIR}"/etc/systemd/system/syslog.service
- [ ! -d "${TARGET_BUILD_DIR}"/etc/systemd/system/basic.target.wants ] && mkdir -p "${TARGET_BUILD_DIR}"/etc/systemd/system/basic.target.wants
- ln -sf ../syslog.service "${TARGET_BUILD_DIR}"/etc/systemd/system/basic.target.wants/syslog.service
- # TODO: more checks
- sed -i.bak '/^After\=var-run.mount/d;/^Requires\=var-run.mount/d;/^Before\=syslog.target/d' "$TARGET_BUILD_DIR/etc/systemd/system/rsyslog.service"
-}
diff --git a/remote/modules/rsyslogd/rsyslogd.conf b/remote/modules/rsyslogd/rsyslogd.conf
deleted file mode 100644
index ba36aadf..00000000
--- a/remote/modules/rsyslogd/rsyslogd.conf
+++ /dev/null
@@ -1,6 +0,0 @@
-REQUIRED_BINARIES="
- rsyslogd
-"
-REQUIRED_FILES="
- /etc/rsyslog.conf
-"
diff --git a/remote/modules/rsyslogd/rsyslogd.conf.debian b/remote/modules/rsyslogd/rsyslogd.conf.debian
deleted file mode 100644
index 79aba761..00000000
--- a/remote/modules/rsyslogd/rsyslogd.conf.debian
+++ /dev/null
@@ -1,6 +0,0 @@
-REQUIRED_CONTENT_PACKAGES="
- rsyslog
-"
-REQUIRED_DIRECTORIES="
- /usr/lib/rsyslog
-"
diff --git a/remote/modules/rsyslogd/rsyslogd.conf.opensuse b/remote/modules/rsyslogd/rsyslogd.conf.opensuse
deleted file mode 100644
index 51ce0e47..00000000
--- a/remote/modules/rsyslogd/rsyslogd.conf.opensuse
+++ /dev/null
@@ -1,9 +0,0 @@
-REQUIRED_CONTENT_PACKAGES="
- rsyslog
-"
-REQUIRED_BINARIES+="
- rsyslog-service-prepare
-"
-REQUIRED_DIRECTORIES="
- /usr/$LIB64/rsyslog
-"
diff --git a/remote/modules/rsyslogd/rsyslogd.conf.ubuntu b/remote/modules/rsyslogd/rsyslogd.conf.ubuntu
deleted file mode 100644
index 79aba761..00000000
--- a/remote/modules/rsyslogd/rsyslogd.conf.ubuntu
+++ /dev/null
@@ -1,6 +0,0 @@
-REQUIRED_CONTENT_PACKAGES="
- rsyslog
-"
-REQUIRED_DIRECTORIES="
- /usr/lib/rsyslog
-"