[SCM] Debian packaging for the 2.0 Apache Shibboleth SP branch, debian, updated. upstream/2.0.dfsg1-58-g988635c

Russ Allbery rra at debian.org
Thu Jun 26 00:20:49 UTC 2008


The following commit has been merged in the debian branch:
commit 4707846c9815a40cbc5245b482c100432d0abfb7
Author: Russ Allbery <rra at debian.org>
Date:   Wed Jun 25 16:36:04 2008 -0700

    Add the --fqdn flag to hostname for generating keys
    
    This is Debian-specific (or at least specific to systems with a hostname
    that support this flag), but will produce more reliable names for an SSL
    certificate.

diff --git a/configs/keygen.sh b/configs/keygen.sh
index aa47b68..5bb67db 100755
--- a/configs/keygen.sh
+++ b/configs/keygen.sh
@@ -27,7 +27,7 @@ if  [ -s sp-key.pem -o -s sp-cert.pem ] ; then
 fi
 
 if [ -z "$FQDN" ] ; then
-    FQDN=`hostname`
+    FQDN=`hostname --fqdn`
 fi
 
 if [ -z "$YEARS" ] ; then

-- 
Debian packaging for the 2.0 Apache Shibboleth SP



More information about the Pkg-shibboleth-devel mailing list