noch ein paar Bugfixes
authorMaximilian Wilhelm <max@rfc2324.org>
Fri, 30 Sep 2005 15:21:30 +0000 (15:21 +0000)
committerMaximilian Wilhelm <max@rfc2324.org>
Fri, 30 Sep 2005 15:21:30 +0000 (15:21 +0000)
debian/control
debian/rbm-ssh-keysync-client.postinst
debian/rules
files/client/ssh-keysync

index 25de42f..4d8c0ae 100644 (file)
@@ -30,7 +30,7 @@ Description: server-side script for generating/sharing ssh_known_hosts
 
 Package: rbm-ssh-keysync-client
 Architecture: all
-Depends: ssh, wget, netkit-ping
+Depends: ssh, wget, netkit-ping | iputils-ping
 Description: client side script for distributing ssh_known_hosts
  This package contains the client part of ssh-keysync, a system to generate
  and distribute ssh_known_hosts files from the public keys of your hosts.
index f0d2d22..ccd3d74 100644 (file)
@@ -25,9 +25,8 @@ set -e
 
 case "$1" in
     configure)
-       mkdir -p /var/cache/ssh-keysync
-       if [ /opt/sbin/ssh-keysync -configcheck 2>/dev/null ]; then
-               /opt/sbin/ssh-keysync -pull
+       if /usr/sbin/ssh-keysync -configcheck 2>/dev/null; then
+               /usr/sbin/ssh-keysync -pull
        else
                echo "Attention: You have to customize /etc/rbm/ssh-keysync-client.conf to make ssh-keysync work."
        fi
index a867010..094e344 100755 (executable)
@@ -26,17 +26,20 @@ configure-stamp:
        touch configure-stamp
 
 
-build-indep:  configure-stamp build-indep-stamp
-build-indep-stamp:
-       dh_testdir
+#build-indep:  configure-stamp build-indep-stamp
+#build-indep-stamp:
+#      dh_testdir
 
        # Add here command to compile/build the arch indep package.
        # It's ok not to do anything here, if you don't need to build
        #  anything for this package.
 
-       touch build-indep-stamp
+#      touch build-indep-stamp
 
-build: build-indep
+build: build-stamp
+build-stamp:
+       dh_testdir
+       # nix
 
 clean:
        dh_testdir
index ec2d62e..4be39e3 100755 (executable)
@@ -95,7 +95,7 @@ pull() {
        
        if [ check_server ]; then
                FILE=`basename "${SERVER_PATH}"`
-               TMPFILE=`tempfile -d "${TMP_DIR}"`
+               TMPFILE=`tempfile -d "${TMP_DIR}" -m 644 `
 
                if wget -q -O "${TMPFILE}" "http://${SERVER_HOST}/${SERVER_PATH}"; then
                        mv "${TMPFILE}" "${LOCAL_FILE}"