mirror of https://github.com/Wind4/vlmcsd
parent
28a50f7bba
commit
cd488aeb85
@ -1,142 +1,149 @@
|
||||
#
|
||||
#
|
||||
# Sample vlmcsd.ini
|
||||
#
|
||||
# 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.
|
||||
# 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.
|
||||
# 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.
|
||||
#
|
||||
|
||||
# Set ePID/HwId for Windows explicitly
|
||||
;Windows = 06401-00206-471-111111-03-1033-9600.0000-3622014 / 01 02 03 04 05 06 07 08
|
||||
|
||||
# Set ePID for Office 2010 (including Visio and Project) explicitly
|
||||
;Office2010 = 06401-00096-199-222222-03-1033-9600.0000-3622014
|
||||
|
||||
# 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
|
||||
|
||||
# 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
|
||||
|
||||
# Set ePID/HwId for Windows China Government (Enterprise G/GN) explicitly
|
||||
;WinChinaGov = 06401-03858-000-555555-03-1033-9600.0000-3622014 / 01 02 03 04 05 06 07 08
|
||||
|
||||
# Use a compatible VPN device to create a hidden local IPv4 address
|
||||
# Command line: -O
|
||||
# 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.
|
||||
;VPN = KMS Mirror=192.168.123.100/24:1d
|
||||
|
||||
# Use custom TCP port
|
||||
# Command line: -P
|
||||
# ***The Port directive only works if vlmcsd was compiled to use MS RPC or simple sockets
|
||||
# ***Use Listen otherwise
|
||||
;Port = 1234
|
||||
|
||||
# Listen on all IPv4 addresses (default port 1688)
|
||||
# Command line: -L
|
||||
# Does not work with MS RPC or simple sockets, use Port=
|
||||
;Listen = 0.0.0.0:1688
|
||||
|
||||
# Listen on all IPv6 addresses (default port 1688)
|
||||
# Command line: -L
|
||||
;Listen = [::]:1688
|
||||
|
||||
# Listen on all private IP addresses and reject incoming requests from public IP addresses
|
||||
# Command line: -o
|
||||
# PublicIPProtectionLevel = 3
|
||||
|
||||
# Allow binding to foreign IP addresses
|
||||
# Command line: -F0 and -F1
|
||||
;FreeBind = true
|
||||
|
||||
# Randomize ePIDs at program start up (only those that are not explicitly specified)
|
||||
# Command line: -r
|
||||
;RandomizationLevel = 1
|
||||
|
||||
# Use a specific culture (1033 = English US) in ePIDs even if the ePID is randomized
|
||||
# Command line: -C
|
||||
;LCID = 1033
|
||||
|
||||
# Set a maximum of 4 workers (forked processes or threads)
|
||||
# Command line: -m
|
||||
;MaxWorkers = 4
|
||||
|
||||
# Disconnect users after 30 seconds of inactivity
|
||||
# Command line: -t
|
||||
;ConnectionTimeout = 30
|
||||
|
||||
# Disconnect clients immediately after each request
|
||||
# Command line: -d and -k
|
||||
;DisconnectClientsImmediately = yes
|
||||
|
||||
# Write a pid file (a file containing the process id of vlmcsd)
|
||||
# Command line: -p
|
||||
;PidFile = /var/run/vlmcsd.pid
|
||||
|
||||
# Load a KMS data file
|
||||
# Command line: -j
|
||||
;KmsData = /etc/vlmcsd.kmd
|
||||
|
||||
# Write log to /var/log/vlmcsd.log
|
||||
# Command line: -l (-e and -f also override this directive)
|
||||
;LogFile = /var/log/vlmcsd.log
|
||||
|
||||
# Don't include date and time in logs (default is true)
|
||||
# Command line: -T0 and -T1
|
||||
;LogDateAndTime = false
|
||||
|
||||
# Create a verbose log
|
||||
# Command line: -v and -q
|
||||
;LogVerbose = true
|
||||
|
||||
# Whitelist known products
|
||||
# Command line: -K0, -K1, -K2, -K3
|
||||
;WhiteListingLevel = 0
|
||||
|
||||
# Check that the client time is within +/- 4 hours of the system time
|
||||
# Command line: -c0, -c1
|
||||
;CheckClientTime = false
|
||||
|
||||
# Maintain a list of CMIDs
|
||||
# Command line: -M0, -M1
|
||||
;MaintainClients = false
|
||||
|
||||
# Start with empty CMID list (Requires MaintainClients = true)
|
||||
# Command line: -E0, -E1
|
||||
;StartEmpty = false
|
||||
|
||||
# Set activation interval to 2 hours
|
||||
# Command line: -A
|
||||
;ActivationInterval = 2h
|
||||
|
||||
# Set renewal interval to 7 days
|
||||
# Command line: -R
|
||||
;RenewalInterval = 7d
|
||||
|
||||
# Exit vlmcsd if warning of certain level has been reached
|
||||
# Command line: -x
|
||||
# 0 = Never
|
||||
# 1 = Exit, if any listening socket could not be established or TAP error occurs
|
||||
;ExitLevel = 0
|
||||
|
||||
# Run program as user vlmcsduser
|
||||
# Command line: -u
|
||||
;user = vlmcsduser
|
||||
|
||||
# Run program as group vlmcsdgroup
|
||||
# Command line: -g
|
||||
;group = vlmcsdgroup
|
||||
|
||||
# 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
|
||||
#
|
||||
#
|
||||
# Sample vlmcsd.ini
|
||||
#
|
||||
# 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.
|
||||
# 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.
|
||||
# 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.
|
||||
#
|
||||
|
||||
# Set ePID/HwId for Windows explicitly
|
||||
;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
|
||||
;Office2010 = 06401-00096-199-222222-03-1033-17763.0000-2822018
|
||||
|
||||
# Set ePID/HwId for Office 2013 (including Visio and Project) explicitly
|
||||
;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
|
||||
;Office2016 = 06401-00206-437-444444-03-1033-17763.0000-2822018 / 01 02 03 04 05 06 07 08
|
||||
|
||||
# Set ePID/HwId for Office 2019 (including Visio and Project) explicitly
|
||||
;Office2019 = 06401-00206-666-666666-03-1033-17763.0000-2822018 / 01 02 03 04 05 06 07 08
|
||||
|
||||
# Set ePID/HwId for Windows China Government (Enterprise G/GN) explicitly
|
||||
;WinChinaGov = 06401-03858-000-555555-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
|
||||
# Command line: -O
|
||||
# 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.
|
||||
;VPN = KMS Mirror=192.168.123.100/24:1d
|
||||
|
||||
# Use custom TCP port
|
||||
# Command line: -P
|
||||
# ***The Port directive only works if vlmcsd was compiled to use MS RPC or simple sockets
|
||||
# ***Use Listen otherwise
|
||||
;Port = 1234
|
||||
|
||||
# Listen on all IPv4 addresses (default port 1688)
|
||||
# Command line: -L
|
||||
# Does not work with MS RPC or simple sockets, use Port=
|
||||
;Listen = 0.0.0.0:1688
|
||||
|
||||
# Listen on all IPv6 addresses (default port 1688)
|
||||
# Command line: -L
|
||||
;Listen = [::]:1688
|
||||
|
||||
# Listen on all private IP addresses and reject incoming requests from public IP addresses
|
||||
# Command line: -o
|
||||
# PublicIPProtectionLevel = 3
|
||||
|
||||
# Allow binding to foreign IP addresses
|
||||
# Command line: -F0 and -F1
|
||||
;FreeBind = true
|
||||
|
||||
# Randomize ePIDs at program start up (only those that are not explicitly specified)
|
||||
# Command line: -r
|
||||
;RandomizationLevel = 1
|
||||
|
||||
# Use a specific host build in ePIDs even if the ePID is randomized
|
||||
# Command line: -H
|
||||
;HostBuild = 17763
|
||||
|
||||
# Use a specific culture (1033 = English US) in ePIDs even if the ePID is randomized
|
||||
# Command line: -C
|
||||
;LCID = 1033
|
||||
|
||||
# Set a maximum of 4 workers (forked processes or threads)
|
||||
# Command line: -m
|
||||
;MaxWorkers = 4
|
||||
|
||||
# Disconnect users after 30 seconds of inactivity
|
||||
# Command line: -t
|
||||
;ConnectionTimeout = 30
|
||||
|
||||
# Disconnect clients immediately after each request
|
||||
# Command line: -d and -k
|
||||
;DisconnectClientsImmediately = yes
|
||||
|
||||
# Write a pid file (a file containing the process id of vlmcsd)
|
||||
# Command line: -p
|
||||
;PidFile = /var/run/vlmcsd.pid
|
||||
|
||||
# Load a KMS data file
|
||||
# Command line: -j
|
||||
;KmsData = /etc/vlmcsd.kmd
|
||||
|
||||
# Write log to /var/log/vlmcsd.log
|
||||
# Command line: -l (-e and -f also override this directive)
|
||||
;LogFile = /var/log/vlmcsd.log
|
||||
|
||||
# Don't include date and time in logs (default is true)
|
||||
# Command line: -T0 and -T1
|
||||
;LogDateAndTime = false
|
||||
|
||||
# Create a verbose log
|
||||
# Command line: -v and -q
|
||||
;LogVerbose = true
|
||||
|
||||
# Whitelist known products
|
||||
# Command line: -K0, -K1, -K2, -K3
|
||||
;WhiteListingLevel = 0
|
||||
|
||||
# Check that the client time is within +/- 4 hours of the system time
|
||||
# Command line: -c0, -c1
|
||||
;CheckClientTime = false
|
||||
|
||||
# Maintain a list of CMIDs
|
||||
# Command line: -M0, -M1
|
||||
;MaintainClients = false
|
||||
|
||||
# Start with empty CMID list (Requires MaintainClients = true)
|
||||
# Command line: -E0, -E1
|
||||
;StartEmpty = false
|
||||
|
||||
# Set activation interval to 2 hours
|
||||
# Command line: -A
|
||||
;ActivationInterval = 2h
|
||||
|
||||
# Set renewal interval to 7 days
|
||||
# Command line: -R
|
||||
;RenewalInterval = 7d
|
||||
|
||||
# Exit vlmcsd if warning of certain level has been reached
|
||||
# Command line: -x
|
||||
# 0 = Never
|
||||
# 1 = Exit, if any listening socket could not be established or TAP error occurs
|
||||
;ExitLevel = 0
|
||||
|
||||
# Run program as user vlmcsduser
|
||||
# Command line: -u
|
||||
;user = vlmcsduser
|
||||
|
||||
# Run program as group vlmcsdgroup
|
||||
# Command line: -g
|
||||
;group = vlmcsdgroup
|
||||
|
||||
# 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