mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-25 19:09:52 +03:00
another attempt to fix launchpad builds
This commit is contained in:
parent
30a554c190
commit
9beec899b2
@ -8,7 +8,7 @@ env:
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- env: OPENSSL_VERSION="1.0.2o"
|
||||
- env: OPENSSL_VERSION="1.0.2o" BUILD_DEB="1"
|
||||
os: linux
|
||||
compiler: gcc
|
||||
- env: OPENSSL_VERSION="1.1.0f"
|
||||
@ -40,7 +40,7 @@ matrix:
|
||||
|
||||
addons:
|
||||
apt:
|
||||
packages: [ debhelper ]
|
||||
packages: [ debhelper, devscripts, fakeroot, cmake3, dh-exec ]
|
||||
|
||||
cache:
|
||||
directories:
|
||||
@ -58,4 +58,4 @@ script:
|
||||
- ./configure
|
||||
- make -C tmp
|
||||
- ldd bin/vpnserver/vpnserver
|
||||
- dh build-arch
|
||||
- if [ "${BUILD_DEB}" = "1" ]; then debuild -i -us -uc -b; fi
|
||||
|
8
debian/rules
vendored
8
debian/rules
vendored
@ -1,8 +1,9 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
define generate_stub
|
||||
mkdir -p debian/usr/bin
|
||||
echo '#!/bin/sh' > debian/usr/bin/$(1)
|
||||
echo '/usr/libexec/softether/$(1)/$(1) "$@"' >> debian/usr/bin/$(1)
|
||||
echo '/usr/libexec/softether/$(1)/$(1) "$$@"' >> debian/usr/bin/$(1)
|
||||
echo 'exit $?' >> debian/usr/bin/$(1)
|
||||
chmod +x debian/usr/bin/$(1)
|
||||
endef
|
||||
@ -13,10 +14,11 @@ export export CMAKE_INSTALL_PREFIX=../debian/usr
|
||||
%:
|
||||
dh $@
|
||||
|
||||
override_dh_auto_make:
|
||||
make -C tmp
|
||||
override_dh_auto_configure:
|
||||
cmake .
|
||||
|
||||
override_dh_auto_install:
|
||||
dh_auto_install
|
||||
$(call generate_stub,vpnserver)
|
||||
$(call generate_stub,vpnbridge)
|
||||
$(call generate_stub,vpncmd)
|
||||
|
4
debian/softether-vpnbridge.install
vendored
4
debian/softether-vpnbridge.install
vendored
@ -1,5 +1,5 @@
|
||||
#! /usr/bin/dh-exec
|
||||
debian/usr/libexec/softether/vpnbridge/vpnbridge usr/libexec/softether/vpnbridge/
|
||||
debian/usr/libexec/softether/vpnbridge/hamcore.se2 usr/libexec/softether/vpnbridge/
|
||||
debian/tmp/usr/local/libexec/softether/vpnbridge/vpnbridge usr/libexec/softether/vpnbridge/
|
||||
debian/tmp/usr/local/libexec/softether/vpnbridge/hamcore.se2 usr/libexec/softether/vpnbridge/
|
||||
debian/usr/bin/vpnbridge usr/bin/
|
||||
|
||||
|
4
debian/softether-vpnclient.install
vendored
4
debian/softether-vpnclient.install
vendored
@ -1,5 +1,5 @@
|
||||
#! /usr/bin/dh-exec
|
||||
debian/usr/libexec/softether/vpnclient/vpnclient usr/libexec/softether/vpnclient/
|
||||
debian/usr/libexec/softether/vpnclient/hamcore.se2 usr/libexec/softether/vpnclient/
|
||||
debian/tmp/usr/local/libexec/softether/vpnclient/vpnclient usr/libexec/softether/vpnclient/
|
||||
debian/tmp/usr/local/libexec/softether/vpnclient/hamcore.se2 usr/libexec/softether/vpnclient/
|
||||
debian/usr/bin/vpnclient usr/bin/
|
||||
|
||||
|
7
debian/softether-vpncmd.install
vendored
7
debian/softether-vpncmd.install
vendored
@ -1,5 +1,4 @@
|
||||
#! /usr/bin/dh-exec
|
||||
debian/usr/libexec/softether/vpncmd/vpncmd usr/libexec/softether/vpncmd/
|
||||
debian/usr/libexec/softether/vpncmd/hamcore.se2 usr/libexec/softether/vpncmd/
|
||||
debian/usr/bin/vpncmd usr/bin/
|
||||
|
||||
debian/tmp/usr/local/libexec/softether/vpncmd/vpncmd usr/libexec/softether/vpncmd/
|
||||
debian/tmp/usr/local/libexec/softether/vpncmd/hamcore.se2 usr/libexec/softether/vpncmd/
|
||||
debian/tmp/usr/local/bin/vpncmd usr/bin/
|
||||
|
5
debian/softether-vpnserver.install
vendored
5
debian/softether-vpnserver.install
vendored
@ -1,5 +1,4 @@
|
||||
#! /usr/bin/dh-exec
|
||||
debian/usr/libexec/softether/vpnserver/vpnserver usr/libexec/softether/vpnserver/
|
||||
debian/usr/libexec/softether/vpnserver/hamcore.se2 usr/libexec/softether/vpnserver/
|
||||
debian/tmp/usr/local/libexec/softether/vpnserver/vpnserver usr/libexec/softether/vpnserver/
|
||||
debian/tmp/usr/local/libexec/softether/vpnserver/hamcore.se2 usr/libexec/softether/vpnserver/
|
||||
debian/usr/bin/vpnserver usr/bin/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user