Hello! I update hanstunnel.
06.12.2014 05:09, pkg-fall...@freebsd.org wrote: > You are receiving this mail as a port that you maintain > is failing to build on the FreeBSD package build server. > Please investigate the failure and submit a PR to fix > build. > > Maintainer: vsi...@gmail.com > Last committer: ger...@freebsd.org > Ident: $FreeBSD: head/net/hanstunnel/Makefile 346721 2014-03-01 > 21:23:14Z gerald $ > Log URL: > http://beefy1.isc.freebsd.org/data/84i386-default/2014-12-05_18h55m43s/logs/hans-0.4.1_1.log > Build URL: > http://beefy1.isc.freebsd.org/build.html?mastername=84i386-default&build=2014-12-05_18h55m43s > Log: > > ====>> Building net/hanstunnel > build started at Sat Dec 6 03:08:46 UTC 2014 > port directory: /usr/ports/net/hanstunnel > building for: FreeBSD 84i386-default-job-04 8.4-RELEASE-p16 FreeBSD > 8.4-RELEASE-p16 i386 > maintained by: vsi...@gmail.com > Makefile ident: $FreeBSD: head/net/hanstunnel/Makefile 346721 2014-03-01 > 21:23:14Z gerald $ > Poudriere version: 3.1-pre > Host OSVERSION: 1100047 > Jail OSVERSION: 804000 > > ---Begin Environment--- > UNAME_m=i386 > UNAME_p=i386 > OSVERSION=804000 > UNAME_v=FreeBSD 8.4-RELEASE-p16 > UNAME_r=8.4-RELEASE-p16 > FTP_PASSIVE_MODE=YES > BLOCKSIZE=K > MAIL=/var/mail/root > STATUS=1 > SAVED_TERM= > MASTERMNT=/usr/local/poudriere/data/.m/84i386-default/ref > PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin > POUDRIERE_BUILD_TYPE=bulk > PKGNAME=hans-0.4.1_1 > OLDPWD=/root > PWD=/usr/local/poudriere/data/.m/84i386-default/ref/.p/pool > MASTERNAME=84i386-default > USER=root > HOME=/root > POUDRIERE_VERSION=3.1-pre > LOCALBASE=/usr/local > PACKAGE_BUILDING=yes > ---End Environment--- > > ---Begin OPTIONS List--- > ===> The following configuration options are available for hans-0.4.1_1: > CLANG=on: Build with Clang instead of GCC > ===> Use 'make config' to modify these settings > ---End OPTIONS List--- > > --CONFIGURE_ARGS-- > > --End CONFIGURE_ARGS-- > > --CONFIGURE_ENV-- > XDG_DATA_HOME=/wrkdirs/usr/ports/net/hanstunnel/work > XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/hanstunnel/work > HOME=/wrkdirs/usr/ports/net/hanstunnel/work TMPDIR="/tmp" > XDG_DATA_HOME=/wrkdirs/usr/ports/net/hanstunnel/work > XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/hanstunnel/work > HOME=/wrkdirs/usr/ports/net/hanstunnel/work TMPDIR="/tmp" SHELL=/bin/sh > CONFIG_SHELL=/bin/sh > --End CONFIGURE_ENV-- > > --MAKE_ENV-- > XDG_DATA_HOME=/wrkdirs/usr/ports/net/hanstunnel/work > XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/hanstunnel/work > HOME=/wrkdirs/usr/ports/net/hanstunnel/work TMPDIR="/tmp" > XDG_DATA_HOME=/wrkdirs/usr/ports/net/hanstunnel/work > XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/hanstunnel/work > HOME=/wrkdirs/usr/ports/net/hanstunnel/work TMPDIR="/tmp" NO_PIE=yes > SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local > LIBDIR="/usr/lib" CC="clang33" CFLAGS="-O2 -pipe -fno-strict-aliasing" > CPP="cpp" CPPFLAGS="" LDFLAGS="" LIBS="" CXX="clang++33" CXXFLAGS="-O2 > -pipe -fno-strict-aliasing" MANPREFIX="/usr/local" > BSD_INSTALL_PROGRAM="install -s -o root -g wheel -m 555" > BSD_INSTALL_LIB="install -s -o root -g wheel -m 444" > BSD_INSTALL_SCRIPT="install -o root -g wheel -m 555" > BSD_INSTALL_DATA="install -o root -g wheel -m 0644" > BSD_INSTALL_MAN="install -o root -g wheel -m 444" > --End MAKE_ENV-- > > --PLIST_SUB-- > OSREL=8.4 > PREFIX=%D > LOCALBASE=/usr/local > RESETPREFIX=/usr/local > PORTDOCS="" > PORTEXAMPLES="" > LIB32DIR=lib > DOCSDIR="share/doc/hans" > EXAMPLESDIR="share/examples/hans" > DATADIR="share/hans" > WWWDIR="www/hans" > ETCDIR="etc/hans" > --End PLIST_SUB-- > > --SUB_LIST-- > PREFIX=/usr/local > LOCALBASE=/usr/local > DATADIR=/usr/local/share/hans > DOCSDIR=/usr/local/share/doc/hans > EXAMPLESDIR=/usr/local/share/examples/hans > WWWDIR=/usr/local/www/hans > ETCDIR=/usr/local/etc/hans > --End SUB_LIST-- > > ---Begin make.conf--- > ARCH=i386 > MACHINE=i386 > MACHINE_ARCH=i386 > USE_PACKAGE_DEPENDS=yes > BATCH=yes > WRKDIRPREFIX=/wrkdirs > ARCH=i386 > MACHINE=i386 > MACHINE_ARCH=i386 > USE_PACKAGE_DEPENDS=yes > BATCH=yes > WRKDIRPREFIX=/wrkdirs > PORTSDIR=/usr/ports > PACKAGES=/packages > DISTDIR=/distfiles > #### /usr/local/etc/poudriere.d/make.conf #### > WITH_PKGNG=yes > #WITH_PKGNG=devel > # clean-restricted via poudriere.conf NO_RESTRICTED > #NO_RESTRICTED=yes > DISABLE_MAKE_JOBS=poudriere > ---End make.conf--- > =======================<phase: check-sanity >============================ > ===> License GPLv3 accepted by the user > =========================================================================== > =======================<phase: pkg-depends >============================ > ===> hans-0.4.1_1 depends on file: /usr/local/sbin/pkg - not found > ===> Verifying install for /usr/local/sbin/pkg in /usr/ports/ports-mgmt/pkg > ===> Installing existing package /packages/All/pkg-1.3.8_3.txz > [84i386-default-job-04] Installing pkg-1.3.8_3... done > Message for pkg-1.3.8_3: > If you are upgrading from the old package format, first run: > > # pkg2ng > ===> Returning to build of hans-0.4.1_1 > =========================================================================== > =======================<phase: fetch-depends >============================ > =========================================================================== > =======================<phase: fetch >============================ > ===> License GPLv3 accepted by the user > ===> Fetching all distfiles required by hans-0.4.1_1 for building > =========================================================================== > =======================<phase: checksum >============================ > ===> License GPLv3 accepted by the user > ===> Fetching all distfiles required by hans-0.4.1_1 for building > => SHA256 Checksum OK for hans-0.4.1.tar.gz. > =========================================================================== > =======================<phase: extract-depends>============================ > =========================================================================== > =======================<phase: extract >============================ > ===> License GPLv3 accepted by the user > ===> Fetching all distfiles required by hans-0.4.1_1 for building > ===> Extracting for hans-0.4.1_1 > => SHA256 Checksum OK for hans-0.4.1.tar.gz. > =========================================================================== > =======================<phase: patch-depends >============================ > =========================================================================== > =======================<phase: patch >============================ > ===> Patching for hans-0.4.1_1 > ===> Applying FreeBSD patches for hans-0.4.1_1 > =========================================================================== > =======================<phase: build-depends >============================ > ===> hans-0.4.1_1 depends on executable: clang33 - not found > ===> Verifying install for clang33 in /usr/ports/lang/clang33 > ===> Installing existing package /packages/All/clang33-3.3_8.txz > [84i386-default-job-04] Installing libexecinfo-1.1_3... done > [84i386-default-job-04] Installing perl5-5.18.4_10... done > [84i386-default-job-04] Installing indexinfo-0.2... done > [84i386-default-job-04] Installing libiconv-1.14_6... done > [84i386-default-job-04] Installing gettext-runtime-0.19.3... done > [84i386-default-job-04] Installing libffi-3.0.13_3... done > [84i386-default-job-04] Installing python27-2.7.8_6... done > [84i386-default-job-04] Installing llvm33-3.3_8... done > [84i386-default-job-04] Installing clang33-3.3_8... done > Message for python27-2.7.8_6: > ===================================================================== > > Note that some standard Python modules are provided as separate ports > as they require additional dependencies. They are available as: > > bsddb databases/py-bsddb > gdbm databases/py-gdbm > sqlite3 databases/py-sqlite3 > tkinter x11-toolkits/py-tkinter > > ===================================================================== > ===> Returning to build of hans-0.4.1_1 > =========================================================================== > =======================<phase: lib-depends >============================ > =========================================================================== > =======================<phase: configure >============================ > ===> Configuring for hans-0.4.1_1 > =========================================================================== > =======================<phase: build >============================ > ===> Building for hans-0.4.1_1 > clang++33 -c tun.cpp -O2 -pipe -fno-strict-aliasing > clang++33 -c sha1.cpp -O2 -pipe -fno-strict-aliasing > clang++33 -c main.cpp -O2 -pipe -fno-strict-aliasing > clang++33 -c client.cpp -O2 -pipe -fno-strict-aliasing > clang++33 -c server.cpp -O2 -pipe -fno-strict-aliasing > clang++33 -c auth.cpp -O2 -pipe -fno-strict-aliasing > clang++33 -c worker.cpp -O2 -pipe -fno-strict-aliasing > clang++33 -c time.cpp -O2 -pipe -fno-strict-aliasing > clang33 -c tun_dev_freebsd.c -o tun_dev.o -O2 -pipe -fno-strict-aliasing > clang++33 -c echo.cpp -O2 -pipe -fno-strict-aliasing > clang++33 -c exception.cpp -O2 -pipe -fno-strict-aliasing > clang++33 -c utility.cpp -O2 -pipe -fno-strict-aliasing > clang++33 -o hans tun.o sha1.o main.o client.o server.o auth.o worker.o > time.o tun_dev.o echo.o exception.o utility.o > local symbol 0: discarded in section `.text._ZN9ExceptionD1Ev' from client.o > local symbol 1: discarded in section > `.text._ZNSt6vectorIcSaIcEE14_M_fill_insertEN9__gnu_cxx17__normal_iteratorIPcS1_EEjRKc' > from server.o > local symbol 2: discarded in section `.text._ZN9ExceptionD1Ev' from worker.o > local symbol 3: discarded in section `.text._ZN9ExceptionD1Ev' from echo.o > clang: error: linker command failed with exit code 1 (use -v to see > invocation) > *** Error code 1 > > Stop in /wrkdirs/usr/ports/net/hanstunnel/work/hans-0.4.1. > *** Error code 1 > > Stop in /usr/ports/net/hanstunnel.
# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # hanstunnel # hanstunnel/distinfo # hanstunnel/Makefile # hanstunnel/files # hanstunnel/files/patch-Makefile # hanstunnel/files/patch-tun.cpp # hanstunnel/files/patch-echo.cpp # hanstunnel/pkg-message # hanstunnel/pkg-descr # echo c - hanstunnel mkdir -p hanstunnel > /dev/null 2>&1 echo x - hanstunnel/distinfo sed 's/^X//' >hanstunnel/distinfo << '65400445990c1970b9f5ad17ab147fd4' XSHA256 (hans-0.4.4.tar.gz) = 81378258b8c9510ac01ad4d69f191e2927b9304daae033ee097f6ba4d39f6bb3 XSIZE (hans-0.4.4.tar.gz) = 33992 65400445990c1970b9f5ad17ab147fd4 echo x - hanstunnel/Makefile sed 's/^X//' >hanstunnel/Makefile << '87523a3042cf8f2ebc7a9370982f09ef' X# Created by: Alexander Panyushkin <vsi...@gmail.com> X# $FreeBSD$ X XPORTNAME= hans XPORTVERSION= 0.4.4 XPORTREVISION?= 1 XCATEGORIES= net security XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= /hanstunnel/source/ X XMAINTAINER= vsi...@gmail.com XCOMMENT= Hans makes it possible to tunnel IPv4 through ICMP X XLICENSE= GPLv3 X XOPTIONS_DEFINE= CLANG XCLANG_DESC= Build with Clang instead of GCC XOPTIONS_DEFAULT= CLANG XPLIST_FILES= ${LOCALBASE}/bin/hans X X.include <bsd.port.options.mk> X X.if ${PORT_OPTIONS:MCLANG} X.if ${OSVERSION} >= 900033 && exists(/usr/bin/clang) XCC= clang XCXX= clang++ X.else XBUILD_DEPENDS+= clang33:${PORTSDIR}/lang/clang33 XCC= clang33 XCXX= clang++33 X.endif X.else XCOMPILER_TYPE= gcc X.endif X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/hans ${STAGEDIR}${PREFIX}/bin/hans X Xpost-install: .SILENT X ${ECHO_MSG} X ${CAT} ${PKGMESSAGE} X ${ECHO_MSG} X X.include <bsd.port.mk> 87523a3042cf8f2ebc7a9370982f09ef echo c - hanstunnel/files mkdir -p hanstunnel/files > /dev/null 2>&1 echo x - hanstunnel/files/patch-Makefile sed 's/^X//' >hanstunnel/files/patch-Makefile << '00f1877f7d4533cd6adc2ee1c8be24c9' X--- Makefile.orig 2014-11-22 17:46:35.000000000 +0200 X+++ Makefile 2014-11-22 17:49:13.000000000 +0200 X@@ -1,8 +1,6 @@ X-LDFLAGS = `sh osflags ld $(MODE)` X-CFLAGS = -c -g `sh osflags c $(MODE)` X-TUN_DEV_FILE = `sh osflags dev $(MODE)` X-GCC = gcc X-GPP = g++ X+TUN_DEV_FILE = src/tun_dev_freebsd.c X+GCC = ${CC} X+GPP = ${CXX} X X .PHONY: directories X X@@ -16,46 +14,46 @@ X tunemu.o: directories build/tunemu.o X X hans: build/tun.o build/sha1.o build/main.o build/client.o build/server.o build/auth.o build/worker.o build/time.o build/tun_dev.o build/echo.o build/exception.o build/utility.o X- $(GPP) -o hans build/tun.o build/sha1.o build/main.o build/client.o build/server.o build/auth.o build/worker.o build/time.o build/tun_dev.o build/echo.o build/exception.o build/utility.o $(LDFLAGS) X+ ${GPP} -o hans build/tun.o build/sha1.o build/main.o build/client.o build/server.o build/auth.o build/worker.o build/time.o build/tun_dev.o build/echo.o build/exception.o build/utility.o $(LDFLAGS) X X build/utility.o: src/utility.cpp src/utility.h X- $(GPP) -c src/utility.cpp -o $@ -o $@ $(CFLAGS) X+ ${GPP} -c src/utility.cpp -o $@ -o $@ ${CFLAGS} X X build/exception.o: src/exception.cpp src/exception.h X- $(GPP) -c src/exception.cpp -o $@ $(CFLAGS) X+ ${GPP} -c src/exception.cpp -o $@ ${CFLAGS} X X build/echo.o: src/echo.cpp src/echo.h src/exception.h X- $(GPP) -c src/echo.cpp -o $@ $(CFLAGS) X+ ${GPP} -c src/echo.cpp -o $@ ${CFLAGS} X X build/tun.o: src/tun.cpp src/tun.h src/exception.h src/utility.h src/tun_dev.h X- $(GPP) -c src/tun.cpp -o $@ $(CFLAGS) X+ ${GPP} -c src/tun.cpp -o $@ ${CFLAGS} X X build/tun_dev.o: X- $(GCC) -c $(TUN_DEV_FILE) -o build/tun_dev.o -o $@ $(CFLAGS) X+ ${GCC} -c ${TUN_DEV_FILE} -o build/tun_dev.o -o $@ ${CFLAGS} X X build/sha1.o: src/sha1.cpp src/sha1.h X- $(GPP) -c src/sha1.cpp -o $@ $(CFLAGS) X+ ${GPP} -c src/sha1.cpp -o $@ ${CFLAGS} X X build/main.o: src/main.cpp src/client.h src/server.h src/exception.h src/worker.h src/auth.h src/time.h src/echo.h src/tun.h src/tun_dev.h X- $(GPP) -c src/main.cpp -o $@ $(CFLAGS) X+ ${GPP} -c src/main.cpp -o $@ ${CFLAGS} X X build/client.o: src/client.cpp src/client.h src/server.h src/exception.h src/config.h src/worker.h src/auth.h src/time.h src/echo.h src/tun.h src/tun_dev.h X- $(GPP) -c src/client.cpp -o $@ $(CFLAGS) X+ ${GPP} -c src/client.cpp -o $@ ${CFLAGS} X X build/server.o: src/server.cpp src/server.h src/client.h src/utility.h src/config.h src/worker.h src/auth.h src/time.h src/echo.h src/tun.h src/tun_dev.h X- $(GPP) -c src/server.cpp -o $@ $(CFLAGS) X+ ${GPP} -c src/server.cpp -o $@ ${CFLAGS} X X build/auth.o: src/auth.cpp src/auth.h src/sha1.h src/utility.h X- $(GPP) -c src/auth.cpp -o $@ $(CFLAGS) X+ ${GPP} -c src/auth.cpp -o $@ ${CFLAGS} X X build/worker.o: src/worker.cpp src/worker.h src/tun.h src/exception.h src/time.h src/echo.h src/tun_dev.h src/config.h X- $(GPP) -c src/worker.cpp -o $@ $(CFLAGS) X+ ${GPP} -c src/worker.cpp -o $@ ${CFLAGS} X X build/time.o: src/time.cpp src/time.h X- $(GPP) -c src/time.cpp -o $@ $(CFLAGS) X+ ${GPP} -c src/time.cpp -o $@ ${CFLAGS} X X clean: X rm -rf build hans X X build/tunemu.o: src/tunemu.h src/tunemu.c X- $(GCC) -c src/tunemu.c -o build/tunemu.o X+ ${GCC} -c src/tunemu.c -o build/tunemu.o 00f1877f7d4533cd6adc2ee1c8be24c9 echo x - hanstunnel/files/patch-tun.cpp sed 's/^X//' >hanstunnel/files/patch-tun.cpp << '0a4216e67650c84929001f6d046ecbda' X--- src/tun.cpp.orig 2014-02-07 05:36:31.000000000 +0200 X+++ src/tun.cpp 2014-11-22 17:31:16.000000000 +0200 X@@ -20,7 +20,7 @@ X #include "tun.h" X #include "exception.h" X #include "utility.h" X- X+#include <sys/types.h> X #include <arpa/inet.h> X #include <netinet/in_systm.h> X #include <netinet/in.h> X@@ -69,23 +69,17 @@ X string ips = Utility::formatIp(ip); X string destIps = Utility::formatIp(destIp); X X-#ifdef LINUX X- snprintf(cmdline, sizeof(cmdline), "/sbin/ifconfig %s %s netmask 255.255.255.0", device, ips.c_str()); X-#else X- snprintf(cmdline, sizeof(cmdline), "/sbin/ifconfig %s %s %s netmask 255.255.255.255", device, ips.c_str(), destIps.c_str()); X-#endif X+ snprintf(cmdline, sizeof(cmdline), "/sbin/ifconfig %s %s %s netmask 255.255.255.0", device, ips.c_str(), destIps.c_str()); X X if (system(cmdline) != 0) X syslog(LOG_ERR, "could not set tun device ip address"); X X-#ifndef LINUX X if (includeSubnet) X { X snprintf(cmdline, sizeof(cmdline), "/sbin/route add %s/24 %s", destIps.c_str(), destIps.c_str()); X if (system(cmdline) != 0) X syslog(LOG_ERR, "could not add route"); X } X-#endif X } X X void Tun::write(const char *buffer, int length) 0a4216e67650c84929001f6d046ecbda echo x - hanstunnel/files/patch-echo.cpp sed 's/^X//' >hanstunnel/files/patch-echo.cpp << 'c9aaa09cd5c270680d478f955bb4582b' X--- src/echo.cpp.orig 2014-11-22 17:51:42.000000000 +0200 X+++ src/echo.cpp 2014-11-22 17:51:46.000000000 +0200 X@@ -19,7 +19,7 @@ X X #include "echo.h" X #include "exception.h" X- X+#include <sys/types.h> X #include <sys/socket.h> X #include <netinet/in_systm.h> X #include <netinet/in.h> c9aaa09cd5c270680d478f955bb4582b echo x - hanstunnel/pkg-message sed 's/^X//' >hanstunnel/pkg-message << '35a6976a3b2d8f949619ff80f5876ac6' X------------------------------------------------------------ X XHans runs on Linux as a client and a server. XIt runs on FreeBSD client only. X XNOTE: that Hans can not receive echo requests on BSD systems. XTherefore the server only works on Linux. X X------------------------------------------------------------ X X### Running as a server ### X X% hans -s 10.1.2.0 -r -p password -u nobody X X### Running as a client ### X X% hans -c server_address -p password -u nobody X X### Help ### X X% hans X X------------------------------------------------------------ 35a6976a3b2d8f949619ff80f5876ac6 echo x - hanstunnel/pkg-descr sed 's/^X//' >hanstunnel/pkg-descr << 'b3d8e535b1ab66b72469a8c0f03d82f8' XHans makes it possible to tunnel IPv4 through ICMP echo packets, so you Xcould call it a ping tunnel. This can be useful when you find yourself Xin the situation that your Internet access is firewalled, but pings are Xallowed. X XHans runs on Linux as a client and a server. It runs on Mac OS X, XiPhone/iPod touch, FreeBSD and OpenBSD as a client only. X X XWWW: http://code.gerade.org/hans/ b3d8e535b1ab66b72469a8c0f03d82f8 exit
_______________________________________________ freebsd-pkg-fallout@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-pkg-fallout To unsubscribe, send any mail to "freebsd-pkg-fallout-unsubscr...@freebsd.org"