Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package opensuse-dhcp-server-image for
openSUSE:Factory checked in at 2022-01-26 21:27:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/opensuse-dhcp-server-image (Old)
and /work/SRC/openSUSE:Factory/.opensuse-dhcp-server-image.new.1938 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "opensuse-dhcp-server-image"
Wed Jan 26 21:27:09 2022 rev:8 rq:949224 version:1.0.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/opensuse-dhcp-server-image/opensuse-dhcp-server-image.changes
2020-09-14 12:29:18.345136049 +0200
+++
/work/SRC/openSUSE:Factory/.opensuse-dhcp-server-image.new.1938/opensuse-dhcp-server-image.changes
2022-01-26 21:27:58.309583950 +0100
@@ -1,0 +2,6 @@
+Wed Jan 19 23:54:06 UTC 2022 - Noah Kalish <[email protected]>
+
+- Removed quotes from DHCP_INTERFACES in entrypoint to
+ allow operation with multiple interfaces
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ root.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/usr/local/bin/entrypoint.sh
new/usr/local/bin/entrypoint.sh
--- old/usr/local/bin/entrypoint.sh 2020-09-12 14:21:35.231666522 +0200
+++ new/usr/local/bin/entrypoint.sh 1970-01-01 01:00:00.000000000 +0100
@@ -1,59 +0,0 @@
-#!/bin/bash
-
-set -e
-
-# Configuration Variables
-# IPv4 or IPv6?
-# DHCPD_IP_PROTOCOL=${DHCPD_PROTOCOL:-4}
-# List of interfaces to listen on.
-# DHCPD_INTERFACES=${DHCPD_PROTOCOL:-""}
-
-# Arguments menas we have to run another command
-if [ "$*" != "/usr/sbin/dhcpd" ]; then
- exec "$@"
-fi
-
-# Run dhcpd for specified interface or all interfaces
-
-if [ -z "${DHCPD_INTERFACES}" ]; then
- echo "ERROR: Please ensure 'DHCPD_INTERFACES' contains at least one
interface!" 1>&2
- exit 1
-fi
-
-if [ -z "$DHCPD_IP_PROTOCOL" ]; then
- DHCPD_IP_PROTOCOL=4
-fi
-
-DHCPD_DIR="/data"
-if [ ! -d "$DHCPD_DIR" ]; then
- echo "ERROR: Please ensure '$DHCPD_DIR' folder is available." 1>&2
- exit 1
-fi
-
-if [ ${DHCPD_IP_PROTOCOL} -eq 4 ]; then
- dhcpd_conf="$DHCPD_DIR/dhcpd.conf"
- dhcpd_leases="$DHCPD_DIR/dhcpd.leases"
- if [ ! -e $dhcpd_conf ]; then
- cp -av /etc/dhcpd.conf $DHCPD_DIR/
- fi
-else
- dhcpd_conf="$DHCPD_DIR/dhcpd6.conf"
- dhcpd_leases="$DHCPD_DIR/dhcpd6.leases"
- if [ ! -e $dhcpd_conf ]; then
- cp -av /etc/dhcpd6.conf $DHCPD_DIR/
- fi
-fi
-
-if [ ! -r "$dhcpd_conf" ]; then
- echo "ERROR Please ensure '$dhcpd_conf' exists and is readable." 1>&2
- echo "Run the container with arguments 'man dhcpd.conf' if you need help
with creating the configuration."
- exit 1
-fi
-
-[ -e "${dhcpd_leases}" ] || touch "${dhcpd_leases}"
-chown dhcpd:dhcpd "${dhcpd_leases}"
-if [ -e "${dhcpd_leases}~" ]; then
- chown dhcpd:dhcpd "${dhcpd_leases}~"
-fi
-
-exec /usr/bin/catatonit -- /usr/sbin/dhcpd -${DHCPD_IP_PROTOCOL} -f -d
--no-pid -cf "${dhcpd_conf}" -lf "${dhcpd_leases}" "${DHCPD_INTERFACES}"