# #-- auth_https.pre--# # source the master var file when it's there [ -f ../.tpkg.var.master ] && source ../.tpkg.var.master # use .tpkg.var.test for in test variable passing [ -f .tpkg.var.test ] && source .tpkg.var.test PRE="../.." . ../common.sh get_random_port 2 UNBOUND_PORT=$RND_PORT PETAL_PORT=$(($RND_PORT + 1)) echo "UNBOUND_PORT=$UNBOUND_PORT" >> .tpkg.var.test echo "PETAL_PORT=$PETAL_PORT" >> .tpkg.var.test get_make (cd $PRE; $MAKE petal) # start https daemon $PRE/petal -v -a "127.0.0.1" -p $PETAL_PORT >petal.log 2>&1 & PETAL_PID=$! echo "PETAL_PID=$PETAL_PID" >> .tpkg.var.test cat .tpkg.var.test wait_petal_up petal.log # make config file sed -e 's/@PORT\@/'$UNBOUND_PORT'/' -e 's/@TOPORT\@/'$PETAL_PORT'/' < auth_https.conf > ub.conf # start unbound in the background $PRE/unbound -d -c ub.conf >unbound.log 2>&1 & UNBOUND_PID=$! echo "UNBOUND_PID=$UNBOUND_PID" >> .tpkg.var.test cat .tpkg.var.test wait_unbound_up unbound.log tBSD fork for lockdoc analysismerlin@scholz.ruhr
summaryrefslogtreecommitdiff
path: root/libexec/rpc.sprayd
AgeCommit message (Expand)Author
2023-06-03bsd.own.mk: rename GCC_NO_* to CC_WNO_*lukem
2019-10-13introduce some common variables for use in GCC warning disables:mrg
2011-09-16NULL does not need a cast, hereplunky
2011-08-30Apply casts to cases where xdrproc_t is expected but is notplunky
2011-08-29Use __deadjoerg
2009-10-21Remove 3rd and 4th clauses in christos' license. OK christos.snj
2006-05-09change (mostly) int to socklen_t. GCC 4 doesn't like that int andmrg
2003-02-25.Nm does not need a dummy argument ("") before punctuation orwiz
2002-01-15Whitespace nits.wiz
2001-01-10consistently use exit instead of return in main()lukem
2000-06-03Subject to TI-RPC, followed by complete and utter ANSIfication.fvdl