public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-misc/openssh/files: sshd.rc6
@ 2007-09-20  7:38 Mike Frysinger (vapier)
  0 siblings, 0 replies; 5+ messages in thread
From: Mike Frysinger (vapier) @ 2007-09-20  7:38 UTC (permalink / raw
  To: gentoo-commits

vapier      07/09/20 07:38:06

  Modified:             sshd.rc6
  Log:
  If restarting, check the config first #192825 by Hans-Werner Hilse.
  (Portage version: 2.1.3.9)

Revision  Changes    Path
1.23                 net-misc/openssh/files/sshd.rc6

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/openssh/files/sshd.rc6?rev=1.23&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/openssh/files/sshd.rc6?rev=1.23&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/openssh/files/sshd.rc6?r1=1.22&r2=1.23

Index: sshd.rc6
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/openssh/files/sshd.rc6,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- sshd.rc6	23 Feb 2007 10:51:48 -0000	1.22
+++ sshd.rc6	20 Sep 2007 07:38:06 -0000	1.23
@@ -1,7 +1,7 @@
 #!/sbin/runscript
 # Copyright 1999-2006 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/openssh/files/sshd.rc6,v 1.22 2007/02/23 10:51:48 uberlord Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/openssh/files/sshd.rc6,v 1.23 2007/09/20 07:38:06 vapier Exp $
 
 opts="reload"
 
@@ -62,6 +62,10 @@
 }
 
 stop() {
+	if [ "${RC_CMD}" = "restart" ] ; then
+		checkconfig || return 1
+	fi
+
 	ebegin "Stopping ${SVCNAME}"
 	start-stop-daemon --stop --exec "${SSHD_BINARY}" \
 	    --pidfile "${SSHD_PIDFILE}" --quiet



-- 
gentoo-commits@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-commits] gentoo-x86 commit in net-misc/openssh/files: sshd.rc6
@ 2009-04-12 20:12 Robin H. Johnson (robbat2)
  0 siblings, 0 replies; 5+ messages in thread
From: Robin H. Johnson (robbat2) @ 2009-04-12 20:12 UTC (permalink / raw
  To: gentoo-commits

robbat2     09/04/12 20:12:49

  Modified:             sshd.rc6
  Log:
  Bug #265491, fix opts with baselayout1.
  (Portage version: 2.2_rc27/cvs/Linux x86_64)

Revision  Changes    Path
1.24                 net-misc/openssh/files/sshd.rc6

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/openssh/files/sshd.rc6?rev=1.24&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/openssh/files/sshd.rc6?rev=1.24&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/openssh/files/sshd.rc6?r1=1.23&r2=1.24

Index: sshd.rc6
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/openssh/files/sshd.rc6,v
retrieving revision 1.23
retrieving revision 1.24
diff -p -w -b -B -u -u -r1.23 -r1.24
--- sshd.rc6	20 Sep 2007 07:38:06 -0000	1.23
+++ sshd.rc6	12 Apr 2009 20:12:49 -0000	1.24
@@ -1,9 +1,9 @@
 #!/sbin/runscript
 # Copyright 1999-2006 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/openssh/files/sshd.rc6,v 1.23 2007/09/20 07:38:06 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/openssh/files/sshd.rc6,v 1.24 2009/04/12 20:12:49 robbat2 Exp $
 
-opts="reload"
+opts="${opts} reload"
 
 depend() {
 	use logger dns






^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-commits] gentoo-x86 commit in net-misc/openssh/files: sshd.rc6
@ 2009-07-10 21:32 Robin H. Johnson (robbat2)
  0 siblings, 0 replies; 5+ messages in thread
From: Robin H. Johnson (robbat2) @ 2009-07-10 21:32 UTC (permalink / raw
  To: gentoo-commits

robbat2     09/07/10 21:32:44

  Modified:             sshd.rc6
  Log:
  Allow public calls to checkconfig and gen_keys, for helping automation and sanity checks.
  (Portage version: 2.2_rc33/cvs/Linux x86_64)

Revision  Changes    Path
1.25                 net-misc/openssh/files/sshd.rc6

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/openssh/files/sshd.rc6?rev=1.25&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/openssh/files/sshd.rc6?rev=1.25&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/openssh/files/sshd.rc6?r1=1.24&r2=1.25

Index: sshd.rc6
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/openssh/files/sshd.rc6,v
retrieving revision 1.24
retrieving revision 1.25
diff -p -w -b -B -u -u -r1.24 -r1.25
--- sshd.rc6	12 Apr 2009 20:12:49 -0000	1.24
+++ sshd.rc6	10 Jul 2009 21:32:44 -0000	1.25
@@ -1,9 +1,9 @@
 #!/sbin/runscript
 # Copyright 1999-2006 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/openssh/files/sshd.rc6,v 1.24 2009/04/12 20:12:49 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/openssh/files/sshd.rc6,v 1.25 2009/07/10 21:32:44 robbat2 Exp $
 
-opts="${opts} reload"
+opts="${opts} reload checkconfig gen_keys"
 
 depend() {
 	use logger dns






^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-commits] gentoo-x86 commit in net-misc/openssh/files: sshd.rc6
@ 2009-07-19  5:55 Mike Frysinger (vapier)
  0 siblings, 0 replies; 5+ messages in thread
From: Mike Frysinger (vapier) @ 2009-07-19  5:55 UTC (permalink / raw
  To: gentoo-commits

vapier      09/07/19 05:55:01

  Modified:             sshd.rc6
  Log:
  Add checkconfig to reload() #277007 by Michał Górny.
  (Portage version: 2.2_rc33/cvs/Linux x86_64)

Revision  Changes    Path
1.26                 net-misc/openssh/files/sshd.rc6

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/openssh/files/sshd.rc6?rev=1.26&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/openssh/files/sshd.rc6?rev=1.26&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/openssh/files/sshd.rc6?r1=1.25&r2=1.26

Index: sshd.rc6
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/openssh/files/sshd.rc6,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- sshd.rc6	10 Jul 2009 21:32:44 -0000	1.25
+++ sshd.rc6	19 Jul 2009 05:55:01 -0000	1.26
@@ -1,7 +1,7 @@
 #!/sbin/runscript
 # Copyright 1999-2006 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/openssh/files/sshd.rc6,v 1.25 2009/07/10 21:32:44 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/openssh/files/sshd.rc6,v 1.26 2009/07/19 05:55:01 vapier Exp $
 
 opts="${opts} reload checkconfig gen_keys"
 
@@ -73,6 +73,7 @@
 }
 
 reload() {
+	checkconfig || return 1
 	ebegin "Reloading ${SVCNAME}"
 	start-stop-daemon --stop --signal HUP --oknodo \
 	    --exec "${SSHD_BINARY}" --pidfile "${SSHD_PIDFILE}"






^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-commits] gentoo-x86 commit in net-misc/openssh/files: sshd.rc6
@ 2009-08-12  8:09 Christian Ruppert (idl0r)
  0 siblings, 0 replies; 5+ messages in thread
From: Christian Ruppert (idl0r) @ 2009-08-12  8:09 UTC (permalink / raw
  To: gentoo-commits

idl0r       09/08/12 08:09:52

  Modified:             sshd.rc6
  Log:
  Removed "-b 1024" to use ServerKeyBits option instead.
  (Portage version: 2.2_rc33/cvs/Linux x86_64)

Revision  Changes    Path
1.27                 net-misc/openssh/files/sshd.rc6

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/openssh/files/sshd.rc6?rev=1.27&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/openssh/files/sshd.rc6?rev=1.27&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/openssh/files/sshd.rc6?r1=1.26&r2=1.27

Index: sshd.rc6
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/openssh/files/sshd.rc6,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- sshd.rc6	19 Jul 2009 05:55:01 -0000	1.26
+++ sshd.rc6	12 Aug 2009 08:09:52 -0000	1.27
@@ -1,7 +1,7 @@
 #!/sbin/runscript
 # Copyright 1999-2006 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/openssh/files/sshd.rc6,v 1.26 2009/07/19 05:55:01 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/openssh/files/sshd.rc6,v 1.27 2009/08/12 08:09:52 idl0r Exp $
 
 opts="${opts} reload checkconfig gen_keys"
 
@@ -33,7 +33,7 @@
 gen_keys() {
 	if [ ! -e "${SSHD_CONFDIR}"/ssh_host_key ] ; then
 		einfo "Generating Hostkey..."
-		/usr/bin/ssh-keygen -t rsa1 -b 1024 -f "${SSHD_CONFDIR}"/ssh_host_key -N '' || return 1
+		/usr/bin/ssh-keygen -t rsa1 -f "${SSHD_CONFDIR}"/ssh_host_key -N '' || return 1
 	fi
 	if [ ! -e "${SSHD_CONFDIR}"/ssh_host_dsa_key ] ; then
 		einfo "Generating DSA-Hostkey..."






^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-08-12  8:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-20  7:38 [gentoo-commits] gentoo-x86 commit in net-misc/openssh/files: sshd.rc6 Mike Frysinger (vapier)
  -- strict thread matches above, loose matches on Subject: below --
2009-04-12 20:12 Robin H. Johnson (robbat2)
2009-07-10 21:32 Robin H. Johnson (robbat2)
2009-07-19  5:55 Mike Frysinger (vapier)
2009-08-12  8:09 Christian Ruppert (idl0r)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox