------------------------------------------------------------------------------- -- Phase: Environment ------------------------------------------------------------------------------- NO_DEPENDS=1 UNAME_r=6.5 UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=unknown UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 LANG=C HOME=/root USER=root TERM=dumb SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: showconfig ------------------------------------------------------------------------------- ===> The following configuration options are available for backuppc4-4.4.0: ARCHIVE_ZIP=on: Install Perl module for Zip archive files DOCS=on: Build and/or install documentation RRDTOOL=off: Install Round Robin Database Tools RSYNC_BPC=off: Install modified rsync that used as part of BackupPC SMB=off: Install Samba (for "smb" transfer and NetBIOS lookup) XML_RSS=off: Install Perl extension to manage RSS files ===> Use 'make config' to modify these settings SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: 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/backuppc4 XDG_CONFIG_HOME=/construction/sysutils/backuppc4 XDG_CACHE_HOME=/construction/sysutils/backuppc4/.cache HOME=/construction/sysutils/backuppc4 TMPDIR="/tmp" PATH=/construction/sysutils/backuppc4/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/construction/sysutils/backuppc4/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: CONFIGURE_ARGS ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: MAKE_ENV ------------------------------------------------------------------------------- PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/construction/sysutils/backuppc4 XDG_CONFIG_HOME=/construction/sysutils/backuppc4 XDG_CACHE_HOME=/construction/sysutils/backuppc4/.cache HOME=/construction/sysutils/backuppc4 TMPDIR="/tmp" PATH=/construction/sysutils/backuppc4/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/construction/sysutils/backuppc4/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local 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" SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: MAKE_ARGS ------------------------------------------------------------------------------- DESTDIR=/construction/sysutils/backuppc4/stage SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: PLIST_SUB ------------------------------------------------------------------------------- CGIDIR=www/cgi-bin DISTVERSION=4.4.0 PORTDOCS="" OSREL=6.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.32.1 PERL_VER=5.32 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.32 PROFILE="@comment " DOCSDIR="share/doc/BackupPC" EXAMPLESDIR="share/examples/backuppc" DATADIR="share/backuppc" WWWDIR="www/backuppc" ETCDIR="etc/backuppc" SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: 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 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: /etc/make.conf ------------------------------------------------------------------------------- DPORTS_BUILDER=yes DISABLE_LICENSES=yes DEFAULT_VERSIONS=ssl=openssl FORCE_PACKAGE=yes DEVELOPER=yes DFLY_STING_XFAIL=yes USE_PACKAGE_DEPENDS_ONLY=yes PORTSDIR=/xports PORT_DBDIR=/options PKG_DBDIR=/var/db/pkg PKG_CACHEDIR=/var/cache/pkg PKG_COMPRESSION_FORMAT=.tgz DEVELOPER=1 WITH_CCACHE_BUILD=yes CCACHE_DIR=/ccache UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=600503 OSVERSION=9999999 OSREL=6.5 _OSRELEASE=6.5-SYNTH DISTDIR=/distfiles WRKDIRPREFIX=/construction BATCH=yes PACKAGE_BUILDING=yes PKG_CREATE_VERBOSE=yes MAKE_JOBS_NUMBER=13 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/perl5-5.32.1_3.pkg Installing /packages/All/p5-HTML-Tagset-3.20_1.pkg Installing /packages/All/p5-Clone-0.46.pkg Installing /packages/All/p5-Encode-Locale-1.05.pkg Installing /packages/All/p5-TimeDate-2.33,1.pkg Installing /packages/All/p5-HTTP-Date-6.05.pkg Installing /packages/All/p5-IO-HTML-1.004.pkg Installing /packages/All/p5-LWP-MediaTypes-6.04.pkg Installing /packages/All/p5-URI-5.19.pkg Installing /packages/All/p5-HTTP-Message-6.44.pkg Installing /packages/All/p5-HTML-Parser-3.81.pkg Installing /packages/All/p5-CGI-4.57.pkg Installing /packages/All/p5-File-Listing-6.15.pkg Installing /packages/All/p5-BackupPC-XS-0.62.pkg Installing /packages/All/p5-Archive-Zip-1.68.pkg SUCCEEDED 00:00:04 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> backuppc4-4.4.0 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> backuppc4-4.4.0 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by backuppc4-4.4.0 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> backuppc4-4.4.0 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by backuppc4-4.4.0 for building => SHA256 Checksum OK for BackupPC-4.4.0.tar.gz. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> backuppc4-4.4.0 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by backuppc4-4.4.0 for building ===> Extracting for backuppc4-4.4.0 => SHA256 Checksum OK for BackupPC-4.4.0.tar.gz. Extracted Memory Use: 2.87M SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for backuppc4-4.4.0 ===> Applying ports patches for backuppc4-4.4.0 from /xports/sysutils/backuppc4/files SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> backuppc4-4.4.0 depends on package: perl5>=5.32.r0<5.33 - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> backuppc4-4.4.0 depends on package: perl5>=5.32.r0<5.33 - found ===> Configuring for backuppc4-4.4.0 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- ===> backuppc4-4.4.0 depends on package: p5-CGI>0 - found ===> backuppc4-4.4.0 depends on package: p5-File-Listing>=0 - found ===> backuppc4-4.4.0 depends on package: p5-BackupPC-XS>=0.62 - found ===> backuppc4-4.4.0 depends on package: p5-Archive-Zip>=0 - found ===> backuppc4-4.4.0 depends on package: perl5>=5.32.r0<5.33 - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- ===> Staging for backuppc4-4.4.0 ===> backuppc4-4.4.0 depends on package: p5-CGI>0 - found ===> backuppc4-4.4.0 depends on package: p5-File-Listing>=0 - found ===> backuppc4-4.4.0 depends on package: p5-BackupPC-XS>=0.62 - found ===> backuppc4-4.4.0 depends on package: p5-Archive-Zip>=0 - found ===> backuppc4-4.4.0 depends on package: perl5>=5.32.r0<5.33 - found ===> Generating temporary packing list ===> Creating groups. ===> Creating users cd /construction/sysutils/backuppc4/BackupPC-4.4.0 && /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/backuppc4/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 ping6 => /sbin/ping6 rrdtool => rsync => rsync_bpc => 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 [sting.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 has SCGI and CGI perl interfaces that run under Apache. You need to pick which one to run. For SCGI, Apache uses the scgi_mod module to communicate with BackupPC_Admin_SCGI, which handles the requests. This allows Apache to run as a different user as backuppc. To use SCGI you need to set SCGIServerPort to any spare non-privileged TCP port number. A negative value disables SCGI. ** Important security warning!! The SCGIServerPort must not be accessible by ** anyone untrusted. That means you can't allow untrusted users access to the ** BackupPC server, and you should block the SCGIServerPort TCP port from ** network access. The traditional alternative is to use CGI. In this case, an executable needs to be installed Apache's 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. --> SCGI port (-1 to disable) [-1] --> CGI bin directory (full path, or empty for no CGI) [/usr/local/www/cgi-bin] BackupPC's CGI and SCGI script need 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, or empty for no S/CGI) [/usr/local/www/backuppc] --> URL for image directory (omit http://host; starts with '/', or empty for no S/CGI) [/backuppc] Ok, we're about to: - install the binaries, lib and docs in /construction/sysutils/backuppc4/stage/usr/local - create the data directory /construction/sysutils/backuppc4/stage/var/db/BackupPC - optionally install the cgi-bin interface - create/update the config.pl file /construction/sysutils/backuppc4/stage/usr/local/etc/backuppc/config.pl --> Do you want to continue? [y] Created /construction/sysutils/backuppc4/stage/usr/local/share/doc/BackupPC Created /construction/sysutils/backuppc4/stage/usr/local/lib/BackupPC Created /construction/sysutils/backuppc4/stage/usr/local/lib/BackupPC/CGI Created /construction/sysutils/backuppc4/stage/usr/local/lib/BackupPC/Config Created /construction/sysutils/backuppc4/stage/usr/local/lib/BackupPC/Lang Created /construction/sysutils/backuppc4/stage/usr/local/lib/BackupPC/Storage Created /construction/sysutils/backuppc4/stage/usr/local/lib/BackupPC/Xfer Created /construction/sysutils/backuppc4/stage/usr/local/lib/BackupPC/Zip Created /construction/sysutils/backuppc4/stage/usr/local/lib/Net Created /construction/sysutils/backuppc4/stage/usr/local/lib/Net/FTP Created /construction/sysutils/backuppc4/stage/usr/local/www/backuppc Created /construction/sysutils/backuppc4/stage/var/db/BackupPC Created /construction/sysutils/backuppc4/stage/var/db/BackupPC/pool Created /construction/sysutils/backuppc4/stage/var/db/BackupPC/cpool Created /construction/sysutils/backuppc4/stage/var/db/BackupPC/pc Created /construction/sysutils/backuppc4/stage/usr/local/etc/backuppc Created /construction/sysutils/backuppc4/stage/var/log/BackupPC Created /construction/sysutils/backuppc4/stage/var/run/BackupPC Installing binaries in /construction/sysutils/backuppc4/stage/usr/local/bin Installing library in /construction/sysutils/backuppc4/stage/usr/local/lib Installing images in /construction/sysutils/backuppc4/stage/usr/local/www/backuppc Making systemd and init.d scripts Making Apache configuration file for suid-perl Installing docs in /construction/sysutils/backuppc4/stage/usr/local/share/doc/BackupPC Installing cgi script BackupPC_Admin in /construction/sysutils/backuppc4/stage/usr/local/www/cgi-bin Installing config.pl and hosts in /construction/sysutils/backuppc4/stage/usr/local/etc/backuppc 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 a systemd/backuppc.service script that can be installed so that BackupPC can auto-start on boot. This will also enable administrative users to start the server from the CGI interface. See systemd/README. Enjoy! pod2man --section=1 --release=4.4.0 --name=BackupPC --center="BackupPC user guide" /construction/sysutils/backuppc4/BackupPC-4.4.0/doc/BackupPC.pod /construction/sysutils/backuppc4/BackupPC-4.4.0/backuppc.1 install -m 444 /construction/sysutils/backuppc4/BackupPC-4.4.0/backuppc.1 /construction/sysutils/backuppc4/stage/usr/local/man/man1 cd /construction/sysutils/backuppc4/BackupPC-4.4.0 && install -m 0644 ChangeLog LICENSE README.md /construction/sysutils/backuppc4/stage/usr/local/share/doc/BackupPC /bin/cp /construction/sysutils/backuppc4/BackupPC-4.4.0/doc/BackupPC.html /construction/sysutils/backuppc4/stage/usr/local/www/backuppc /bin/rm -f /construction/sysutils/backuppc4/stage/usr/local/etc/backuppc/config.pl /bin/rm -f /construction/sysutils/backuppc4/stage/usr/local/etc/backuppc/hosts /bin/cp /construction/sysutils/backuppc4/update.sh /construction/sysutils/backuppc4/stage/usr/local/etc/backuppc/update.sh /bin/mkdir -p /construction/sysutils/backuppc4/stage/usr/local/libexec/backuppc /bin/cp /construction/sysutils/backuppc4/BackupPC-4.4.0/configure.pl /construction/sysutils/backuppc4/stage/usr/local/libexec/backuppc/configure.pl ====> Compressing man pages (compress-man) ===> Staging rc.d startup script(s) ====> Running Q/A tests (stage-qa) Warning: www/p5-CGI was in Perl CORE. Check with `corelist CGI 0` and `corelist -a CGI` if it should be conditionally added depending on PERL_LEVEL Notice: You have some Perl modules as dependencies but you do not have devel/p5-Module-CoreList installed, the perlcore QA check gets better results when using it, especially with older Perl versions. Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks SUCCEEDED 00:00:02 ------------------------------------------------------------------------------- -- Phase: check-plist ------------------------------------------------------------------------------- ====> Checking for pkg-plist issues (check-plist) ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist ===> Checking for items in pkg-plist which are not in STAGEDIR ===> No pkg-plist issues found (check-plist) SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for backuppc4-4.4.0 file sizes/checksums [139]: 0% file sizes/checksums [139]: 71% file sizes/checksums [139]: 100% Service unavailablepacking files [139]: 0% packing files [139]: 71% packing files [139]: 100% packing directories [6]: 0% packing directories [6]: 100% SUCCEEDED 00:00:00 TOTAL TIME 00:00:08