[packages/courier-sox] - fix start message in -init patch - -server requires courier-authlib (for courierlogger) - release

qboosh qboosh at pld-linux.org
Wed Mar 21 21:20:22 CET 2018


commit ff1e2eacec52a2e868da4c7abdf655ff5f6c433d
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Mar 21 21:23:03 2018 +0100

    - fix start message in -init patch
    - -server requires courier-authlib (for courierlogger)
    - release 2, rebuild with -rpath from fixed courier-authlib

 courier-sox-init.patch | 3 ++-
 courier-sox.spec       | 5 +++--
 2 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/courier-sox.spec b/courier-sox.spec
index 74e81ac..163ba8d 100644
--- a/courier-sox.spec
+++ b/courier-sox.spec
@@ -8,7 +8,7 @@ Summary:	Courier Socks 5 client libraries
 Summary(pl.UTF-8):	Biblioteki klienckie Socks 5
 Name:		courier-sox
 Version:	0.12
-Release:	1
+Release:	2
 License:	GPL v3 with OpenSSL exception
 Group:		Networking/Utilities
 Source0:	http://downloads.sourceforge.net/courier/%{name}-%{version}.tar.bz2
@@ -63,7 +63,8 @@ Summary(pl.UTF-8):	Serwer socks 5
 Group:		Networking/Daemons
 Requires(post,preun):	/sbin/chkconfig
 Requires:	%{name} = %{version}-%{release}
-Requires:	courier-authlib-libs >= 0.56.20050702
+# requires library and courierlogger
+Requires:	courier-authlib >= 0.56.20050702
 
 %description server
 This package contains the Courier Socks 5 server.
diff --git a/courier-sox-init.patch b/courier-sox-init.patch
index e3f48df..3d07d2c 100644
--- a/courier-sox-init.patch
+++ b/courier-sox-init.patch
@@ -1,6 +1,6 @@
 --- courier-sox-0.12/courier-sox.sysvinit.in.orig	2013-08-25 20:57:39.000000000 +0200
 +++ courier-sox-0.12/courier-sox.sysvinit.in	2018-03-20 18:43:13.183970169 +0100
-@@ -14,31 +14,92 @@
+@@ -14,31 +14,93 @@
  datarootdir="@datarootdir@"
  datadir="@datadir@"
  
@@ -35,6 +35,7 @@
 +	fi
 +
 +	cd /
++	msg_starting "Courier Socks"
 +	$sbindir/sockd start && ok || fail
 +	RETVAL=$?
 +	[ $RETVAL -eq 0 ] && touch /var/lock/subsys/courier-sox
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/courier-sox.git/commitdiff/ff1e2eacec52a2e868da4c7abdf655ff5f6c433d



More information about the pld-cvs-commit mailing list