Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set all builds to have UPNP disabled by default #461

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion contrib/gitian-descriptors/gitian-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ script: |
install -s paycoin-qt $BINDIR

cd src
make -f makefile.unix STATIC=1 $MAKEOPTS paycoind USE_UPNP=1 BDB_INCLUDE_PATH=$STAGING/include BDB_LIB_PATH=$STAGING/lib BOOST_LIB_SUFFIX=-mt DEBUGFLAGS=
make -f makefile.unix STATIC=1 $MAKEOPTS paycoind BDB_INCLUDE_PATH=$STAGING/include BDB_LIB_PATH=$STAGING/lib BOOST_LIB_SUFFIX=-mt DEBUGFLAGS=
install -s paycoind $BINDIR

# sort distribution tar file and normalize user/group/mtime information for deterministic output
Expand Down
2 changes: 1 addition & 1 deletion contrib/gitian-descriptors/gitian-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ script: |
cp -f release/paycoin.exe $BINDIR/

cd src
make -f makefile.linux-mingw $MAKEOPTS HOST=$HOST DEPSDIR=$STAGING paycoind.exe USE_UPNP=1 DEBUGFLAGS="-frandom-seed=paycoin"
make -f makefile.linux-mingw $MAKEOPTS HOST=$HOST DEPSDIR=$STAGING paycoind.exe DEBUGFLAGS="-frandom-seed=paycoin"
${HOST}-strip paycoind.exe
cp -f paycoind.exe $BINDIR/

Expand Down
6 changes: 3 additions & 3 deletions paycoin-qt.pro
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,16 @@ contains(USE_QRCODE, 1) {
LIBS += -lqrencode
}

# use: qmake "USE_UPNP=1" ( enabled by default; default)
# or: qmake "USE_UPNP=0" (disabled by default)
# use: qmake "USE_UPNP=1" ( enabled by default)
# or: qmake "USE_UPNP=0" (disabled by default; default)
# or: qmake "USE_UPNP=-" (not supported)
# miniupnpc (http://miniupnp.free.fr/files/) must be installed for support
contains(USE_UPNP, -) {
message(Building without UPNP support)
} else {
message(Building with UPNP support)
count(USE_UPNP, 0) {
USE_UPNP=1
USE_UPNP=0
}
DEFINES += USE_UPNP=$$USE_UPNP STATICLIB
INCLUDEPATH += $$MINIUPNPC_INCLUDE_PATH
Expand Down