[packages/systemd] rel 2; fix systemd-inetd for seqpacket/udp

mmazur mmazur at pld-linux.org
Tue May 28 11:32:14 CEST 2013


commit 7ce50f59625e8cea4aed56e2a74414ac45280cab
Author: Mariusz Mazur <mmazur at pld-linux.org>
Date:   Tue May 28 11:31:15 2013 +0200

    rel 2; fix systemd-inetd for seqpacket/udp

 pld-rc-inetd-generator.sh | 4 +++-
 systemd.spec              | 2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/systemd.spec b/systemd.spec
index 00367b1..706c434 100644
--- a/systemd.spec
+++ b/systemd.spec
@@ -16,7 +16,7 @@ Summary(pl.UTF-8):	systemd - zarządca systemu i usług dla Linuksa
 Name:		systemd
 # Verify ChangeLog and NEWS when updating (since there are incompatible/breaking changes very often)
 Version:	204
-Release:	1
+Release:	2
 Epoch:		1
 License:	GPL v2+ (udev), LGPL v2.1+ (the rest)
 Group:		Base
diff --git a/pld-rc-inetd-generator.sh b/pld-rc-inetd-generator.sh
index a1f72b2..5681750 100644
--- a/pld-rc-inetd-generator.sh
+++ b/pld-rc-inetd-generator.sh
@@ -2,7 +2,6 @@
 
 parse_one_service() {
 	SOCKET_FILE="$1/rc-inetd-${CURRENT_SERVICE}.socket"
-	SERVICE_FILE="$1/rc-inetd-${CURRENT_SERVICE}@.service"
 
 	case "$FAMILY" in
 		ipv4)
@@ -18,13 +17,16 @@ parse_one_service() {
 		stream)
 			[ "$PROTOCOL" = "tcp" ] || return
 			__LISTEN="ListenStream=$PORT"
+			SERVICE_FILE="$1/rc-inetd-${CURRENT_SERVICE}@.service"
 			;;
 		dgram)
 			[ "$PROTOCOL" = "udp" ] || return
 			__LISTEN="ListenDatagram=$PORT"
+			SERVICE_FILE="$1/rc-inetd-${CURRENT_SERVICE}.service"
 			;;
 		seqpacket)
 			__LISTEN="ListenSequentialPacket=$PORT"
+			SERVICE_FILE="$1/rc-inetd-${CURRENT_SERVICE}.service"
 			;;
 		*)
 			return
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/systemd.git/commitdiff/7ce50f59625e8cea4aed56e2a74414ac45280cab



More information about the pld-cvs-commit mailing list