]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commitdiff
sslh: Move binary to /usr/sbin.
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 27 Dec 2013 10:29:10 +0000 (11:29 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 27 Dec 2013 10:29:10 +0000 (11:29 +0100)
config/rootfiles/packages/sslh
lfs/sslh
src/initscripts/init.d/sslh

index c52d15676bf3c5e52cc84fb3e83a4c37a6023f00..2c67aad3ad18a4aa820e9d409047d59b29ca9ca9 100644 (file)
@@ -1,4 +1,2 @@
-usr/local/sbin/sslh
-#usr/local/share/man/man8/sslh.8.gz
 etc/rc.d/init.d/sslh
-#usr/local/bin/sslh
+usr/sbin/sslh
index e6f2cebce204d9a4311c43fc741a15e38a1b28ca..f4201c33526cd8d87e1457e50814225887b27e21 100644 (file)
--- a/lfs/sslh
+++ b/lfs/sslh
@@ -32,7 +32,7 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = sslh
-PAK_VER    = 3
+PAK_VER    = 4
 
 DEPS       = ""
 
@@ -77,7 +77,7 @@ $(subst %,%_MD5,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
-       cd $(DIR_APP) && make install
-       cp $(DIR_APP)/sslh /usr/local/bin
+       cd $(DIR_APP) && make CFLAGS="$(CFLAGS)" $(MAKETUNING)
+       cd $(DIR_APP) && install -v -m 755 sslh /usr/sbin
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)
index 0dae1dcff9a3d0a4d17018ad85216d35aefe179d..43e58f392b79a18bc9288d2775df28d7c3148dbd 100644 (file)
@@ -20,14 +20,14 @@ case "$1" in
                        exit 1
                fi
 
-               loadproc /usr/local/bin/sslh -u nobody \
+               loadproc /usr/sbin/sslh -u nobody \
                        -p "${LOCAL_IP_ADDRESS}:443" -s localhost:222 -l localhost:444
                evaluate_retval
                ;;
 
        stop)
                boot_mesg "Stopping SSLH Deamon..."
-               killproc /usr/local/bin/sslh
+               killproc /usr/sbin/sslh
                evaluate_retval
                ;;
 
@@ -38,7 +38,7 @@ case "$1" in
                ;;
 
        status)
-               statusproc /usr/local/bin/sslh
+               statusproc /usr/sbin/sslh
                ;;
 
        *)