=> Building sysutils/backuppc Started : Friday, 20 APR 2018 at 07:15:21 UTC Platform: 5.3-DEVELOPMENT DragonFly v5.3.0.81.g32506c-DEVELOPMENT #29: Tue Apr 10 08:49:52 PDT 2018 marino@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.0-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.0-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- ===> The following configuration options are available for backuppc-3.3.2_3: ARCHIVE_ZIP=on: Perl module for Zip archive files COMPRESS_ZLIB=on: Perl5 interface to zlib compression library DOCS=on: Build and/or install documentation FILE_RSYNCP=off: Perl Rsync client SMB=off: NetBIOS Name lookup and Samba client XML_RSS=off: Perl extension to manage RSS files ====> Options available for the radio GRAPHS: you can only select none or one of them RRD_GRAPHS=on: Apply graphs patch (but not install RRDTool) RRDTOOL=off: Use RRDTool to generate pool statistic graphs ===> Use 'make config' to modify these settings -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/construction/sysutils/backuppc XDG_CONFIG_HOME=/construction/sysutils/backuppc HOME=/construction/sysutils/backuppc TMPDIR="/tmp" PATH=/construction/sysutils/backuppc/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/construction/sysutils/backuppc XDG_CONFIG_HOME=/construction/sysutils/backuppc HOME=/construction/sysutils/backuppc TMPDIR="/tmp" PATH=/construction/sysutils/backuppc/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/sysutils/backuppc/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- CGIDIR=www/cgi-bin DISTVERSION=3.3.2 PORTDOCS="" PORTEXAMPLES="" OSREL=5.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.26.1 PERL_VER=5.26 PERL5_MAN1=lib/perl5/site_perl/man/man1 PERL5_MAN3=lib/perl5/site_perl/man/man3 SITE_PERL=lib/perl5/site_perl SITE_ARCH=lib/perl5/site_perl/mach/5.26 PROFILE="@comment " DOCSDIR="share/doc/backuppc" EXAMPLESDIR="share/examples/backuppc" DATADIR="share/backuppc" WWWDIR="www/backuppc" ETCDIR="etc/backuppc" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- CGIDIR=/usr/local/www/cgi-bin PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/backuppc DOCSDIR=/usr/local/share/doc/backuppc EXAMPLESDIR=/usr/local/share/examples/backuppc WWWDIR=/usr/local/www/backuppc ETCDIR=/usr/local/etc/backuppc -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-5.0 USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500000 OSVERSION=9999999 OSREL=5.0 _OSRELEASE=5.0-SYNTH -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> License GPLv2 accepted by the user -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> backuppc-3.3.2_3 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5.txz Installing pkg-1.10.5... Extracting pkg-1.10.5: .......... done ===> backuppc-3.3.2_3 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of backuppc-3.3.2_3 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by backuppc-3.3.2_3 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by backuppc-3.3.2_3 for building => SHA256 Checksum OK for BackupPC-3.3.2.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by backuppc-3.3.2_3 for building ===> Extracting for backuppc-3.3.2_3 => SHA256 Checksum OK for BackupPC-3.3.2.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for backuppc-3.3.2_3 ===> Applying extra patch /xports/sysutils/backuppc/files/extra-patch-bin-BackupPC ===> Applying extra patch /xports/sysutils/backuppc/files/extra-patch-lib-BackupPC-CGI-GeneralInfo.pm ===> Applying ports patches for backuppc-3.3.2_3 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> backuppc-3.3.2_3 depends on package: perl5>=5.26<5.27 - not found ===> Installing existing package /packages/All/perl5-5.26.1.txz Installing perl5-5.26.1... Extracting perl5-5.26.1: .......... done Message from perl5-5.26.1: The /usr/bin/perl symlink has been removed starting with Perl 5.20. For shebangs, you should either use: #!/usr/local/bin/perl or #!/usr/bin/env perl The first one will only work if you have a /usr/local/bin/perl, the second will work as long as perl is in PATH. ===> backuppc-3.3.2_3 depends on package: perl5>=5.26<5.27 - found ===> Returning to build of backuppc-3.3.2_3 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for backuppc-3.3.2_3 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- ===> backuppc-3.3.2_3 depends on package: p5-CGI>0 - not found ===> Installing existing package /packages/All/p5-CGI-4.38.txz Installing p5-CGI-4.38... `-- Installing p5-HTML-Parser-3.72... | `-- Installing p5-HTML-Tagset-3.20_1... | `-- Extracting p5-HTML-Tagset-3.20_1: ....... done `-- Extracting p5-HTML-Parser-3.72: .......... done Extracting p5-CGI-4.38: .......... done ===> backuppc-3.3.2_3 depends on package: p5-CGI>0 - found ===> Returning to build of backuppc-3.3.2_3 ===> backuppc-3.3.2_3 depends on package: p5-File-Listing>=0 - not found ===> Installing existing package /packages/All/p5-File-Listing-6.04_1.txz Installing p5-File-Listing-6.04_1... `-- Installing p5-HTTP-Date-6.02_1... `-- Extracting p5-HTTP-Date-6.02_1: ....... done Extracting p5-File-Listing-6.04_1: ....... done ===> backuppc-3.3.2_3 depends on package: p5-File-Listing>=0 - found ===> Returning to build of backuppc-3.3.2_3 ===> backuppc-3.3.2_3 depends on package: p5-Archive-Zip>=0 - not found ===> Installing existing package /packages/All/p5-Archive-Zip-1.60.txz Installing p5-Archive-Zip-1.60... Extracting p5-Archive-Zip-1.60: .......... done ===> backuppc-3.3.2_3 depends on package: p5-Archive-Zip>=0 - found ===> Returning to build of backuppc-3.3.2_3 ===> backuppc-3.3.2_3 depends on package: p5-IO-Compress>=0 - not found ===> Installing existing package /packages/All/p5-IO-Compress-2.074.txz Installing p5-IO-Compress-2.074... `-- Installing p5-Compress-Raw-Bzip2-2.074... `-- Extracting p5-Compress-Raw-Bzip2-2.074: ........ done `-- Installing p5-Compress-Raw-Zlib-2.076... `-- Extracting p5-Compress-Raw-Zlib-2.076: ........ done Extracting p5-IO-Compress-2.074: .......... done ===> backuppc-3.3.2_3 depends on package: p5-IO-Compress>=0 - found ===> Returning to build of backuppc-3.3.2_3 ===> backuppc-3.3.2_3 depends on package: perl5>=5.26<5.27 - found -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for backuppc-3.3.2_3 ===> Generating temporary packing list ===> Creating groups. ===> Creating users cd /construction/sysutils/backuppc/BackupPC-3.3.2 && /usr/local/bin/perl configure.pl --batch --backuppc-user backuppc --bin-path perl=/usr/local/bin/perl --config-dir /usr/local/etc/backuppc --cgi-dir /usr/local/www/cgi-bin --data-dir /var/db/BackupPC --dest-dir /construction/sysutils/backuppc/stage --fhs --html-dir /usr/local/www/backuppc --html-dir-url /backuppc --install-dir /usr/local --log-dir /var/log/BackupPC --no-set-perms --uid-ignore Is this a new installation or upgrade for BackupPC? If this is an upgrade please tell me the full path of the existing BackupPC configuration file (eg: /usr/local/etc/backuppc/config.pl). Otherwise, just hit return. --> Full path to existing main config.pl [] I found the following locations for these programs: bzip2 => /usr/bin/bzip2 cat => /bin/cat df => /bin/df gtar/tar => /usr/bin/tar gzip => /usr/bin/gzip hostname => /bin/hostname nmblookup => par2 => perl => /usr/local/bin/perl ping => /sbin/ping rsync => sendmail => /usr/sbin/sendmail smbclient => split => /usr/bin/split ssh/ssh2 => /usr/bin/ssh --> Are these paths correct? [y] Please tell me the hostname of the machine that BackupPC will run on. --> BackupPC will run on host [pkgbox64.dragonflybsd.org] BackupPC should run as a dedicated user with limited privileges. You need to create a user. This user will need read/write permission on the main data directory and read/execute permission on the install directory (these directories will be setup shortly). The primary group for this user should also be chosen carefully. The data directories and files will have group read permission, so group members can access backup files. --> BackupPC should run as user [backuppc] Please specify an install directory for BackupPC. This is where the BackupPC scripts, library and documentation will be installed. --> Install directory (full path) [/usr/local] Please specify a data directory for BackupPC. This is where all the PC backup data is stored. This file system needs to be big enough to accommodate all the PCs you expect to backup (eg: at least several GB per machine). --> Data directory (full path) [/var/db/BackupPC] BackupPC can compress pool files, providing around a 40% reduction in pool size (your mileage may vary). Specify the compression level (0 turns off compression, and 1 to 9 represent good/fastest to best/slowest). The recommended values are 0 (off) or 3 (reasonable compression and speed). Increasing the compression level to 5 will use around 20% more cpu time and give perhaps 2-3% more compression. --> Compression level [3] BackupPC has a powerful CGI perl interface that runs under Apache. A single executable needs to be installed in a cgi-bin directory. This executable needs to run as set-uid backuppc, or it can be run under mod_perl with Apache running as user backuppc. Leave this path empty if you don't want to install the CGI interface. --> CGI bin directory (full path) [/usr/local/www/cgi-bin] BackupPC's CGI script needs to display various PNG/GIF images that should be stored where Apache can serve them. They should be placed somewhere under Apache's DocumentRoot. BackupPC also needs to know the URL to access these images. Example: Apache image directory: /var/www/htdocs/BackupPC URL for image directory: /BackupPC The URL for the image directory should start with a slash. --> Apache image directory (full path) [/usr/local/www/backuppc] --> URL for image directory (omit http://host; starts with '/') [/backuppc] Ok, we're about to: - install the binaries, lib and docs in /usr/local, - create the data directory /var/db/BackupPC, - create/update the config.pl file /usr/local/etc/backuppc/config.pl, - optionally install the cgi-bin interface. --> Do you want to continue? [y] Created /construction/sysutils/backuppc/stage/usr/local/share/doc/backuppc Created /construction/sysutils/backuppc/stage/usr/local/lib/BackupPC/CGI Created /construction/sysutils/backuppc/stage/usr/local/lib/BackupPC/Config Created /construction/sysutils/backuppc/stage/usr/local/lib/BackupPC/Lang Created /construction/sysutils/backuppc/stage/usr/local/lib/BackupPC/Storage Created /construction/sysutils/backuppc/stage/usr/local/lib/BackupPC/Xfer Created /construction/sysutils/backuppc/stage/usr/local/lib/BackupPC/Zip Created /construction/sysutils/backuppc/stage/usr/local/lib/Net/FTP Created /construction/sysutils/backuppc/stage/usr/local/www/backuppc Created /construction/sysutils/backuppc/stage/var/db/BackupPC Created /construction/sysutils/backuppc/stage/var/db/BackupPC/pool Created /construction/sysutils/backuppc/stage/var/db/BackupPC/cpool Created /construction/sysutils/backuppc/stage/var/db/BackupPC/pc Created /construction/sysutils/backuppc/stage/var/db/BackupPC/trash Created /construction/sysutils/backuppc/stage/usr/local/etc/backuppc Created /construction/sysutils/backuppc/stage/var/log/BackupPC Installing binaries in /construction/sysutils/backuppc/stage/usr/local/bin Installing library in /construction/sysutils/backuppc/stage/usr/local/lib Installing images in /construction/sysutils/backuppc/stage/usr/local/www/backuppc Making init.d scripts Making Apache configuration file for suid-perl Installing docs in /construction/sysutils/backuppc/stage/usr/local/share/doc/backuppc Installing config.pl and hosts in /construction/sysutils/backuppc/stage/usr/local/etc/backuppc Installing cgi script BackupPC_Admin in /construction/sysutils/backuppc/stage/usr/local/www/cgi-bin Ok, it looks like we are finished. There are several more things you will need to do: - Browse through the config file, /usr/local/etc/backuppc/config.pl, and make sure all the settings are correct. In particular, you will need to set $Conf{CgiAdminUsers} so you have administration privileges in the CGI interface. - Edit the list of hosts to backup in /usr/local/etc/backuppc/hosts. - Read the documentation in /usr/local/doc/BackupPC.html. Please pay special attention to the security section. - Verify that the CGI script BackupPC_Admin runs correctly. You might need to change the permissions or group ownership of BackupPC_Admin. If this is an upgrade and you are using mod_perl, you will need to restart Apache. Otherwise it will have stale code. - BackupPC should be ready to start. Don't forget to run it as user backuppc! The installation also contains an init.d/backuppc script that can be copied to /etc/init.d so that BackupPC can auto-start on boot. This will also enable administrative users to start the server from the CGI interface. See init.d/README. Enjoy! pod2man --section=1 --release=3.3.2 --name=BackupPC --center="BackupPC user guide" /construction/sysutils/backuppc/BackupPC-3.3.2/doc/BackupPC.pod /construction/sysutils/backuppc/BackupPC-3.3.2/backuppc.1 install -m 444 /construction/sysutils/backuppc/BackupPC-3.3.2/backuppc.1 /construction/sysutils/backuppc/stage/usr/local/man/man1 cd /construction/sysutils/backuppc/BackupPC-3.3.2 && install -m 0644 ChangeLog LICENSE README /construction/sysutils/backuppc/stage/usr/local/share/doc/backuppc /bin/cp /construction/sysutils/backuppc/BackupPC-3.3.2/doc/BackupPC.html /construction/sysutils/backuppc/stage/usr/local/www/backuppc /bin/rm -f /construction/sysutils/backuppc/stage/usr/local/etc/backuppc/config.pl /bin/rm -f /construction/sysutils/backuppc/stage/usr/local/etc/backuppc/hosts /bin/cp /construction/sysutils/backuppc/BackupPC-3.3.2/conf/config.pl /construction/sysutils/backuppc/stage/usr/local/etc/backuppc/config.pl.sample /bin/cp /construction/sysutils/backuppc/BackupPC-3.3.2/conf/hosts /construction/sysutils/backuppc/stage/usr/local/etc/backuppc/hosts.sample /bin/cp /construction/sysutils/backuppc/update.sh /construction/sysutils/backuppc/stage/usr/local/etc/backuppc/update.sh /bin/mkdir -p /construction/sysutils/backuppc/stage/usr/local/libexec/backuppc /bin/cp /construction/sysutils/backuppc/BackupPC-3.3.2/update.pl /construction/sysutils/backuppc/stage/usr/local/libexec/backuppc/update.pl ====> Compressing man pages (compress-man) ===> Staging rc.d startup script(s) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for backuppc-3.3.2_3 file sizes/checksums [135]: .. done packing files [135]: .. done packing directories [6]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Friday, 20 APR 2018 at 07:15:30 UTC Duration: 00:00:09