mirror of https://github.com/Wind4/vlmcsd
parent
28a50f7bba
commit
cd488aeb85
@ -1,142 +1,149 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
# Sample vlmcsd.ini
|
# Sample vlmcsd.ini
|
||||||
#
|
#
|
||||||
# An ini file for vlmcsd is normally not required. It is for advanced users only.
|
# An ini file for vlmcsd is normally not required. It is for advanced users only.
|
||||||
# vlmcsd uses an ini file only if specified using the -i option in the command line parameters.
|
# vlmcsd uses an ini file only if specified using the -i option in the command line parameters.
|
||||||
# There is no default ini file because vlmcsd is designed to run on many platforms.
|
# There is no default ini file because vlmcsd is designed to run on many platforms.
|
||||||
#
|
#
|
||||||
# Every line starting with a number sign (#) or semicolon (;) is treated as a comment.
|
# Every line starting with a number sign (#) or semicolon (;) is treated as a comment.
|
||||||
# If a key word is used more than once, the last occurrence is used. The only exception
|
# If a key word is used more than once, the last occurrence is used. The only exception
|
||||||
# to this is Listen. You can use Listen=<ip address>[:port] more than once.
|
# to this is Listen. You can use Listen=<ip address>[:port] more than once.
|
||||||
#
|
#
|
||||||
|
|
||||||
# Set ePID/HwId for Windows explicitly
|
# Set ePID/HwId for Windows explicitly
|
||||||
;Windows = 06401-00206-471-111111-03-1033-9600.0000-3622014 / 01 02 03 04 05 06 07 08
|
;Windows = 06401-00206-471-111111-03-1033-17763.0000-2822018 / 01 02 03 04 05 06 07 08
|
||||||
|
|
||||||
# Set ePID for Office 2010 (including Visio and Project) explicitly
|
# Set ePID for Office 2010 (including Visio and Project) explicitly
|
||||||
;Office2010 = 06401-00096-199-222222-03-1033-9600.0000-3622014
|
;Office2010 = 06401-00096-199-222222-03-1033-17763.0000-2822018
|
||||||
|
|
||||||
# Set ePID/HwId for Office 2013 (including Visio and Project) explicitly
|
# Set ePID/HwId for Office 2013 (including Visio and Project) explicitly
|
||||||
;Office2013 = 06401-00206-234-333333-03-1033-9600.0000-3622014 / 01 02 03 04 05 06 07 08
|
;Office2013 = 06401-00206-234-333333-03-1033-17763.0000-2822018 / 01 02 03 04 05 06 07 08
|
||||||
|
|
||||||
# Set ePID/HwId for Office 2016 (including Visio and Project) explicitly
|
# Set ePID/HwId for Office 2016 (including Visio and Project) explicitly
|
||||||
;Office2016 = 06401-00206-437-444444-03-1033-9600.0000-3622014 / 01 02 03 04 05 06 07 08
|
;Office2016 = 06401-00206-437-444444-03-1033-17763.0000-2822018 / 01 02 03 04 05 06 07 08
|
||||||
|
|
||||||
# Set ePID/HwId for Windows China Government (Enterprise G/GN) explicitly
|
# Set ePID/HwId for Office 2019 (including Visio and Project) explicitly
|
||||||
;WinChinaGov = 06401-03858-000-555555-03-1033-9600.0000-3622014 / 01 02 03 04 05 06 07 08
|
;Office2019 = 06401-00206-666-666666-03-1033-17763.0000-2822018 / 01 02 03 04 05 06 07 08
|
||||||
|
|
||||||
# Use a compatible VPN device to create a hidden local IPv4 address
|
# Set ePID/HwId for Windows China Government (Enterprise G/GN) explicitly
|
||||||
# Command line: -O
|
;WinChinaGov = 06401-03858-000-555555-03-1033-17763.0000-2822018 / 01 02 03 04 05 06 07 08
|
||||||
# VPN = <VPN adapter name>[=<IPv4 address>][/<CIDR mask>][:<DHCP lease duration>]
|
|
||||||
# Use VPN adapter "KMS Mirror" give it IP address 192.168.123.100 with a lease duration of one day and make entire 192.168.128.x a hidden local IPv4 address.
|
# Use a compatible VPN device to create a hidden local IPv4 address
|
||||||
;VPN = KMS Mirror=192.168.123.100/24:1d
|
# Command line: -O
|
||||||
|
# VPN = <VPN adapter name>[=<IPv4 address>][/<CIDR mask>][:<DHCP lease duration>]
|
||||||
# Use custom TCP port
|
# Use VPN adapter "KMS Mirror" give it IP address 192.168.123.100 with a lease duration of one day and make entire 192.168.128.x a hidden local IPv4 address.
|
||||||
# Command line: -P
|
;VPN = KMS Mirror=192.168.123.100/24:1d
|
||||||
# ***The Port directive only works if vlmcsd was compiled to use MS RPC or simple sockets
|
|
||||||
# ***Use Listen otherwise
|
# Use custom TCP port
|
||||||
;Port = 1234
|
# Command line: -P
|
||||||
|
# ***The Port directive only works if vlmcsd was compiled to use MS RPC or simple sockets
|
||||||
# Listen on all IPv4 addresses (default port 1688)
|
# ***Use Listen otherwise
|
||||||
# Command line: -L
|
;Port = 1234
|
||||||
# Does not work with MS RPC or simple sockets, use Port=
|
|
||||||
;Listen = 0.0.0.0:1688
|
# Listen on all IPv4 addresses (default port 1688)
|
||||||
|
# Command line: -L
|
||||||
# Listen on all IPv6 addresses (default port 1688)
|
# Does not work with MS RPC or simple sockets, use Port=
|
||||||
# Command line: -L
|
;Listen = 0.0.0.0:1688
|
||||||
;Listen = [::]:1688
|
|
||||||
|
# Listen on all IPv6 addresses (default port 1688)
|
||||||
# Listen on all private IP addresses and reject incoming requests from public IP addresses
|
# Command line: -L
|
||||||
# Command line: -o
|
;Listen = [::]:1688
|
||||||
# PublicIPProtectionLevel = 3
|
|
||||||
|
# Listen on all private IP addresses and reject incoming requests from public IP addresses
|
||||||
# Allow binding to foreign IP addresses
|
# Command line: -o
|
||||||
# Command line: -F0 and -F1
|
# PublicIPProtectionLevel = 3
|
||||||
;FreeBind = true
|
|
||||||
|
# Allow binding to foreign IP addresses
|
||||||
# Randomize ePIDs at program start up (only those that are not explicitly specified)
|
# Command line: -F0 and -F1
|
||||||
# Command line: -r
|
;FreeBind = true
|
||||||
;RandomizationLevel = 1
|
|
||||||
|
# Randomize ePIDs at program start up (only those that are not explicitly specified)
|
||||||
# Use a specific culture (1033 = English US) in ePIDs even if the ePID is randomized
|
# Command line: -r
|
||||||
# Command line: -C
|
;RandomizationLevel = 1
|
||||||
;LCID = 1033
|
|
||||||
|
# Use a specific host build in ePIDs even if the ePID is randomized
|
||||||
# Set a maximum of 4 workers (forked processes or threads)
|
# Command line: -H
|
||||||
# Command line: -m
|
;HostBuild = 17763
|
||||||
;MaxWorkers = 4
|
|
||||||
|
# Use a specific culture (1033 = English US) in ePIDs even if the ePID is randomized
|
||||||
# Disconnect users after 30 seconds of inactivity
|
# Command line: -C
|
||||||
# Command line: -t
|
;LCID = 1033
|
||||||
;ConnectionTimeout = 30
|
|
||||||
|
# Set a maximum of 4 workers (forked processes or threads)
|
||||||
# Disconnect clients immediately after each request
|
# Command line: -m
|
||||||
# Command line: -d and -k
|
;MaxWorkers = 4
|
||||||
;DisconnectClientsImmediately = yes
|
|
||||||
|
# Disconnect users after 30 seconds of inactivity
|
||||||
# Write a pid file (a file containing the process id of vlmcsd)
|
# Command line: -t
|
||||||
# Command line: -p
|
;ConnectionTimeout = 30
|
||||||
;PidFile = /var/run/vlmcsd.pid
|
|
||||||
|
# Disconnect clients immediately after each request
|
||||||
# Load a KMS data file
|
# Command line: -d and -k
|
||||||
# Command line: -j
|
;DisconnectClientsImmediately = yes
|
||||||
;KmsData = /etc/vlmcsd.kmd
|
|
||||||
|
# Write a pid file (a file containing the process id of vlmcsd)
|
||||||
# Write log to /var/log/vlmcsd.log
|
# Command line: -p
|
||||||
# Command line: -l (-e and -f also override this directive)
|
;PidFile = /var/run/vlmcsd.pid
|
||||||
;LogFile = /var/log/vlmcsd.log
|
|
||||||
|
# Load a KMS data file
|
||||||
# Don't include date and time in logs (default is true)
|
# Command line: -j
|
||||||
# Command line: -T0 and -T1
|
;KmsData = /etc/vlmcsd.kmd
|
||||||
;LogDateAndTime = false
|
|
||||||
|
# Write log to /var/log/vlmcsd.log
|
||||||
# Create a verbose log
|
# Command line: -l (-e and -f also override this directive)
|
||||||
# Command line: -v and -q
|
;LogFile = /var/log/vlmcsd.log
|
||||||
;LogVerbose = true
|
|
||||||
|
# Don't include date and time in logs (default is true)
|
||||||
# Whitelist known products
|
# Command line: -T0 and -T1
|
||||||
# Command line: -K0, -K1, -K2, -K3
|
;LogDateAndTime = false
|
||||||
;WhiteListingLevel = 0
|
|
||||||
|
# Create a verbose log
|
||||||
# Check that the client time is within +/- 4 hours of the system time
|
# Command line: -v and -q
|
||||||
# Command line: -c0, -c1
|
;LogVerbose = true
|
||||||
;CheckClientTime = false
|
|
||||||
|
# Whitelist known products
|
||||||
# Maintain a list of CMIDs
|
# Command line: -K0, -K1, -K2, -K3
|
||||||
# Command line: -M0, -M1
|
;WhiteListingLevel = 0
|
||||||
;MaintainClients = false
|
|
||||||
|
# Check that the client time is within +/- 4 hours of the system time
|
||||||
# Start with empty CMID list (Requires MaintainClients = true)
|
# Command line: -c0, -c1
|
||||||
# Command line: -E0, -E1
|
;CheckClientTime = false
|
||||||
;StartEmpty = false
|
|
||||||
|
# Maintain a list of CMIDs
|
||||||
# Set activation interval to 2 hours
|
# Command line: -M0, -M1
|
||||||
# Command line: -A
|
;MaintainClients = false
|
||||||
;ActivationInterval = 2h
|
|
||||||
|
# Start with empty CMID list (Requires MaintainClients = true)
|
||||||
# Set renewal interval to 7 days
|
# Command line: -E0, -E1
|
||||||
# Command line: -R
|
;StartEmpty = false
|
||||||
;RenewalInterval = 7d
|
|
||||||
|
# Set activation interval to 2 hours
|
||||||
# Exit vlmcsd if warning of certain level has been reached
|
# Command line: -A
|
||||||
# Command line: -x
|
;ActivationInterval = 2h
|
||||||
# 0 = Never
|
|
||||||
# 1 = Exit, if any listening socket could not be established or TAP error occurs
|
# Set renewal interval to 7 days
|
||||||
;ExitLevel = 0
|
# Command line: -R
|
||||||
|
;RenewalInterval = 7d
|
||||||
# Run program as user vlmcsduser
|
|
||||||
# Command line: -u
|
# Exit vlmcsd if warning of certain level has been reached
|
||||||
;user = vlmcsduser
|
# Command line: -x
|
||||||
|
# 0 = Never
|
||||||
# Run program as group vlmcsdgroup
|
# 1 = Exit, if any listening socket could not be established or TAP error occurs
|
||||||
# Command line: -g
|
;ExitLevel = 0
|
||||||
;group = vlmcsdgroup
|
|
||||||
|
# Run program as user vlmcsduser
|
||||||
# Disable or enable the NDR64 transfer syntax in RPC (default enabled)
|
# Command line: -u
|
||||||
# Command line: -N0 and -N1
|
;user = vlmcsduser
|
||||||
;UseNDR64 = true
|
|
||||||
|
# Run program as group vlmcsdgroup
|
||||||
# Disable or enable bind time feature negotiation in RPC (default enabled)
|
# Command line: -g
|
||||||
# Command line: -B0 and -B1
|
;group = vlmcsdgroup
|
||||||
;UseBTFN = true
|
|
||||||
|
# Disable or enable the NDR64 transfer syntax in RPC (default enabled)
|
||||||
|
# Command line: -N0 and -N1
|
||||||
|
;UseNDR64 = true
|
||||||
|
|
||||||
|
# Disable or enable bind time feature negotiation in RPC (default enabled)
|
||||||
|
# Command line: -B0 and -B1
|
||||||
|
;UseBTFN = true
|
||||||
|
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,69 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
export VLMCSD_VERSION=$(git describe)
|
||||||
|
export VERBOSE=3
|
||||||
|
#export CAT=2
|
||||||
|
|
||||||
|
if [ `uname -s` != "SunOS" ]; then
|
||||||
|
echo "This is no SunOS operating system."
|
||||||
|
exit 3
|
||||||
|
fi
|
||||||
|
|
||||||
|
cd "$( dirname "$0" )"
|
||||||
|
make -C .. clean
|
||||||
|
|
||||||
|
|
||||||
|
SOLARIS_VERSION=`uname -v`
|
||||||
|
|
||||||
|
MAKEFLAGS="-Bj"
|
||||||
|
REUSEOBJFLAGS="-j"
|
||||||
|
|
||||||
|
cd ../src
|
||||||
|
BINDIR="../bin"
|
||||||
|
MANDIR="../man"
|
||||||
|
|
||||||
|
CF="-flto=12 -fno-common -fno-exceptions -fno-stack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fmerge-all-constants -Wno-char-subscripts"
|
||||||
|
LF="-static-libgcc -fwhole-program -Wl,--hash-style=sysv,--build-id=none,-z,norelro"
|
||||||
|
|
||||||
|
export PROGRAM_NAME=$BINDIR/vlmcsd-Solaris-x64
|
||||||
|
export CLIENT_NAME=$BINDIR/vlmcs-Solaris-x64
|
||||||
|
export MULTI_NAME=$BINDIR/vlmcsdmulti-Solaris-x64
|
||||||
|
|
||||||
|
make $MAKEFLAGS DNS_PARSER=OS CFLAGS="$CF" CC=gcc LDFLAGS="$LF" allmulti
|
||||||
|
|
||||||
|
export PROGRAM_NAME=$BINDIR/vlmcsd-Solaris-x64-threads
|
||||||
|
make $MAKEFLAGS DNS_PARSER=OS CFLAGS="$CF" CC=gcc LDFLAGS="$LF" THREADS=1 vlmcsd
|
||||||
|
|
||||||
|
export PROGRAM_NAME=$BINDIR/vlmcsd-Solaris-x86
|
||||||
|
export CLIENT_NAME=$BINDIR/vlmcs-Solaris-x86
|
||||||
|
export MULTI_NAME=$BINDIR/vlmcsdmulti-Solaris-x86
|
||||||
|
|
||||||
|
make $MAKEFLAGS DNS_PARSER=OS CFLAGS="$CF" PLATFORMFLAGS="-m32" CC=gcc LDFLAGS="$LF" allmulti
|
||||||
|
|
||||||
|
export PROGRAM_NAME=$BINDIR/vlmcsd-Solaris-x86-threads
|
||||||
|
make $MAKEFLAGS DNS_PARSER=OS CFLAGS="$CF" PLATFORMFLAGS="-m32" CC=gcc LDFLAGS="$LF" THREADS=1 vlmcsd
|
||||||
|
|
||||||
|
scp -p $BINDIR/* root@ubuntu64.internal:x/binaries/Solaris/intel
|
||||||
|
|
||||||
|
cd ..
|
||||||
|
BINDIR="./bin"
|
||||||
|
MANDIR="./man"
|
||||||
|
|
||||||
|
mkdir /tmp/vlmcsd
|
||||||
|
cp -af $MANDIR/*.1 $MANDIR/*.5 $MANDIR/*.7 $MANDIR/*.8 /tmp/vlmcsd
|
||||||
|
xz /tmp/vlmcsd/*
|
||||||
|
|
||||||
|
sudo mkdir -p /usr/local/man/man1
|
||||||
|
sudo mkdir -p /usr/local/man/man5
|
||||||
|
sudo mkdir -p /usr/local/man/man7
|
||||||
|
sudo mkdir -p /usr/local/man/man8
|
||||||
|
|
||||||
|
sudo cp -af /tmp/vlmcsd/*.1.xz /usr/local/man/man1
|
||||||
|
sudo cp -af /tmp/vlmcsd/*.5.xz /usr/local/man/man5
|
||||||
|
sudo cp -af /tmp/vlmcsd/*.7.xz /usr/local/man/man7
|
||||||
|
sudo cp -af /tmp/vlmcsd/*.8.xz /usr/local/man/man8
|
||||||
|
|
||||||
|
rm -fr /tmp/vlmcsd
|
||||||
|
|
||||||
|
sudo cp -af $BINDIR/vlmcsd-Solaris-x86 /usr/local/bin/vlmcsd
|
||||||
|
sudo cp -af $BINDIR/vlmcs-Solaris-x86 /usr/local/bin/vlmcs
|
@ -0,0 +1,154 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ $(id -u) != 0 ]; then
|
||||||
|
echo "Must be root to run this"
|
||||||
|
exit 5
|
||||||
|
fi
|
||||||
|
|
||||||
|
cd "$( dirname "$0" )"
|
||||||
|
|
||||||
|
IS64ONLY=0
|
||||||
|
|
||||||
|
if [ "$(uname -r|grep Microsoft)" != "" ]; then
|
||||||
|
IS64ONLY=1
|
||||||
|
echo "Warning 32-bit toolchains do not run."
|
||||||
|
fi
|
||||||
|
|
||||||
|
export VLMCSD_VERSION=$(git describe)
|
||||||
|
|
||||||
|
export VERBOSE=3
|
||||||
|
export DNS_PARSER=internal
|
||||||
|
|
||||||
|
MAKEFLAGS="-j200 -B"
|
||||||
|
REUSEOBJFLAGS="-j200"
|
||||||
|
SMALLCC="-pipe -fno-common -fno-exceptions -fno-stack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fmerge-all-constants"
|
||||||
|
SMALLLD="-pipe -Wl,--hash-style=sysv -Wl,-z,norelro -Wl,--build-id=none"
|
||||||
|
SMALL="$SMALLCC $SMALLLD"
|
||||||
|
|
||||||
|
rm -f vlmcs vlmcsdmulti vlmcsd 2>/dev/null
|
||||||
|
rm -fr ../binaries
|
||||||
|
|
||||||
|
mkdir -p ../../debian/root/x/binaries/Linux/intel/glibc
|
||||||
|
mkdir -p ../../debian/root/x/binaries/Linux/intel/uclibc
|
||||||
|
mkdir -p ../../debian/root/x/binaries/Linux/intel/static
|
||||||
|
mkdir -p ../../debian/root/x/binaries/Linux/intel/musl
|
||||||
|
|
||||||
|
mkdir -p ../../debian/root/x/binaries/Linux/sparc/glibc
|
||||||
|
mkdir -p ../../debian/root/x/binaries/Linux/s390/glibc
|
||||||
|
|
||||||
|
mkdir -p ../../debian/root/x/binaries/Android/arm/bionic
|
||||||
|
mkdir -p ../../debian/root/x/binaries/Android/arm/static
|
||||||
|
mkdir -p ../../debian/root/x/binaries/Android/intel/bionic
|
||||||
|
mkdir -p ../../debian/root/x/binaries/Android/intel/static
|
||||||
|
mkdir -p ../../debian/root/x/binaries/Android/mips/bionic
|
||||||
|
mkdir -p ../../debian/root/x/binaries/Android/mips/static
|
||||||
|
|
||||||
|
mkdir -p ../../debian/root/x/binaries/Linux/arm/little-endian/glibc
|
||||||
|
mkdir -p ../../debian/root/x/binaries/Linux/arm/little-endian/musl
|
||||||
|
mkdir -p ../../debian/root/x/binaries/Linux/arm/little-endian/uclibc
|
||||||
|
mkdir -p ../../debian/root/x/binaries/Linux/arm/little-endian/static
|
||||||
|
mkdir -p ../../debian/root/x/binaries/Linux/arm/big-endian/uclibc
|
||||||
|
mkdir -p ../../debian/root/x/binaries/Linux/arm/big-endian/static
|
||||||
|
|
||||||
|
mkdir -p ../../debian/root/x/binaries/Linux/mips/little-endian/glibc
|
||||||
|
mkdir -p ../../debian/root/x/binaries/Linux/mips/little-endian/uclibc
|
||||||
|
mkdir -p ../../debian/root/x/binaries/Linux/mips/little-endian/static
|
||||||
|
mkdir -p ../../debian/root/x/binaries/Linux/mips/little-endian/musl
|
||||||
|
mkdir -p ../../debian/root/x/binaries/Linux/mips/big-endian/uclibc
|
||||||
|
mkdir -p ../../debian/root/x/binaries/Linux/mips/big-endian/static
|
||||||
|
mkdir -p ../../debian/root/x/binaries/Linux/mips/big-endian/glibc
|
||||||
|
mkdir -p ../../debian/root/x/binaries/Linux/mips/big-endian/musl
|
||||||
|
|
||||||
|
mkdir -p ../../debian/root/x/binaries/Linux/ppc/little-endian/glibc
|
||||||
|
mkdir -p ../../debian/root/x/binaries/Linux/ppc/big-endian/glibc
|
||||||
|
mkdir -p ../../debian/root/x/binaries/Linux/ppc/big-endian/uclibc
|
||||||
|
mkdir -p ../../debian/root/x/binaries/Linux/ppc/big-endian/musl
|
||||||
|
mkdir -p ../../debian/root/x/binaries/Linux/ppc/big-endian/static
|
||||||
|
|
||||||
|
mkdir -p ../../debian/root/x/binaries/MacOSX/intel
|
||||||
|
mkdir -p ../../debian/root/x/binaries/MacOSX/ppc
|
||||||
|
mkdir -p ../../debian/root/x/binaries/iOS/arm
|
||||||
|
|
||||||
|
mkdir -p ../../debian/root/x/binaries/FreeBSD/intel
|
||||||
|
mkdir -p ../../debian/root/x/binaries/NetBSD/intel
|
||||||
|
mkdir -p ../../debian/root/x/binaries/OpenBSD/intel
|
||||||
|
mkdir -p ../../debian/root/x/binaries/DragonFly/intel
|
||||||
|
mkdir -p ../../debian/root/x/binaries/Solaris/intel
|
||||||
|
mkdir -p ../../debian/root/x/binaries/Windows/intel
|
||||||
|
mkdir -p ../../debian/root/x/binaries/Minix/intel
|
||||||
|
mkdir -p ../../debian/root/x/binaries/Hurd/intel
|
||||||
|
|
||||||
|
../../bin/prepare-debian
|
||||||
|
OLDHOME=$HOME
|
||||||
|
export HOME=/root
|
||||||
|
chroot ../../debian /root/x/hotbird64-mass-build/make_bs
|
||||||
|
chroot ../../debian /root/x/hotbird64-mass-build/make_multilib_linux
|
||||||
|
export HOME=$OLDHOME
|
||||||
|
|
||||||
|
rm -f *_all.c vlmcsd.o vlmcs.o vlmcsdmulti.o 2> /dev/null
|
||||||
|
export STAGING_DIR=.
|
||||||
|
|
||||||
|
cd ../src
|
||||||
|
pwd
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# Linux x32 glibc
|
||||||
|
export FEATURES=full
|
||||||
|
export MULTI_NAME=../../debian/root/x/binaries/Linux/intel/glibc/vlmcsdmulti-x32-glibc
|
||||||
|
export CLIENT_NAME=../../debian/root/x/binaries/Linux/intel/glibc/vlmcs-x32-glibc
|
||||||
|
export PROGRAM_NAME=../../debian/root/x/binaries/Linux/intel/glibc/vlmcsd-x32-glibc
|
||||||
|
export CC=gcc
|
||||||
|
export CFLAGS="$SMALLCC"
|
||||||
|
export PLATFORMFLAGS="-flto=16 -fwhole-program -mx32 -march=nocona -mtune=generic"
|
||||||
|
export LDFLAGS="-fuse-ld=bfd $SMALLLD -Wl,--hash-style=gnu"
|
||||||
|
export THREADS=0
|
||||||
|
export NOPROCFS=0
|
||||||
|
export AUXV=1
|
||||||
|
|
||||||
|
make DNS_PARSER=OS $MAKEFLAGS allmulti
|
||||||
|
|
||||||
|
if [ $? != 0 ]; then
|
||||||
|
echo Error creating $CLIENT_NAME and/or $PROGRAM_NAME
|
||||||
|
exit $?
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# Linux x32 glibc threads
|
||||||
|
export FEATURES=full
|
||||||
|
export PROGRAM_NAME=../../debian/root/x/binaries/Linux/intel/glibc/vlmcsd-x32-glibc-threads
|
||||||
|
export CC=gcc
|
||||||
|
export CFLAGS="$SMALLCC"
|
||||||
|
export PLATFORMFLAGS="-flto=16 -fwhole-program -mx32 -march=nocona -mtune=generic"
|
||||||
|
export LDFLAGS="-fuse-ld=bfd $SMALLLD -Wl,--hash-style=gnu -lpthread"
|
||||||
|
export THREADS=1
|
||||||
|
export NOPROCFS=0
|
||||||
|
export AUXV=1
|
||||||
|
|
||||||
|
make DNS_PARSER=OS $MAKEFLAGS $PROGRAM_NAME
|
||||||
|
|
||||||
|
if [ $? != 0 ]; then
|
||||||
|
echo Error creating $PROGRAM_NAME
|
||||||
|
exit $?
|
||||||
|
fi
|
||||||
|
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
make alldocs
|
||||||
|
|
||||||
|
|
||||||
|
mkdir -p /usr/local/man/man1 2>/dev/null
|
||||||
|
mkdir -p /usr/local/man/man5 2>/dev/null
|
||||||
|
mkdir -p /usr/local/man/man8 2>/dev/null
|
||||||
|
mkdir -p /usr/local/man/man7 2>/dev/null
|
||||||
|
cp -a man/vlmcs.1 man/vlmcsdmulti.1 /usr/local/man/man1/
|
||||||
|
cp -a man/vlmcsd-floppy.7 man/vlmcsd.7 /usr/local/man/man7/
|
||||||
|
cp -a man/vlmcsd.8 /usr/local/man/man8/
|
||||||
|
cp -a man/vlmcsd.ini.5 /usr/local/man/man5/
|
||||||
|
pbzip2 -f -9 /usr/local/man/man7/vlmcsd-floppy.7 /usr/local/man/man5/vlmcsd.ini.5 /usr/local/man/man1/vlmcs.1 /usr/local/man/man1/vlmcsdmulti.1 /usr/local/man/man7/vlmcsd.7 /usr/local/man/man8/vlmcsd.8
|
||||||
|
|
||||||
|
mandb >/dev/null 2>&1
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue