Building backuppc-3.3.0.txz (origin /buildshare/ports/355755/sysutils/backuppc) for powerpc-10-0 on XXX slot2: created x distfiles/ x distfiles/BackupPC-3.3.0.tar.gz x packages/ x packages/p5-Compress-Raw-Bzip2-2.064.txz x packages/pkg-1.2.7_2.txz x packages/p5-Compress-Raw-Zlib-2.065.txz x packages/p5-IO-Compress-2.064.txz x packages/p5-HTTP-Date-6.02.txz x packages/perl5-5.16.3_10.txz x packages/p5-Archive-Zip-1.37.txz x packages/p5-File-Listing-6.04.txz ELF ldconfig path: /lib /usr/lib /usr/lib/compat Make depends ===> backuppc-3.3.0 depends on file: /usr/local/sbin/pkg - not found ===> Verifying install for /usr/local/sbin/pkg in /buildshare/ports/355755/ports-mgmt/pkg ===> Installing existing package /packages/pkg-1.2.7_2.txz Installing pkg-1.2.7_2... done If you are upgrading from the old package format, first run: # pkg2ng ===> Returning to build of backuppc-3.3.0 ===> backuppc-3.3.0 depends on file: /usr/local/bin/perl5.16.3 - not found ===> Verifying install for /usr/local/bin/perl5.16.3 in /buildshare/ports/355755/lang/perl5.16 ===> Installing existing package /packages/perl5-5.16.3_10.txz Installing perl5-5.16.3_10... done ===> Returning to build of backuppc-3.3.0 ===> backuppc-3.3.0 depends on package: p5-File-Listing>=0 - not found ===> Verifying install for p5-File-Listing>=0 in /buildshare/ports/355755/sysutils/p5-File-Listing ===> Installing existing package /packages/p5-File-Listing-6.04.txz Installing p5-File-Listing-6.04...Installing p5-HTTP-Date-6.02... done done ===> Returning to build of backuppc-3.3.0 ===> backuppc-3.3.0 depends on package: p5-Archive-Zip>=0 - not found ===> Verifying install for p5-Archive-Zip>=0 in /buildshare/ports/355755/archivers/p5-Archive-Zip ===> Installing existing package /packages/p5-Archive-Zip-1.37.txz Installing p5-Archive-Zip-1.37... done ===> Returning to build of backuppc-3.3.0 ===> backuppc-3.3.0 depends on package: p5-IO-Compress>=0 - not found ===> Verifying install for p5-IO-Compress>=0 in /buildshare/ports/355755/archivers/p5-IO-Compress ===> Installing existing package /packages/p5-IO-Compress-2.064.txz Installing p5-IO-Compress-2.064...Installing p5-Compress-Raw-Bzip2-2.064... done Installing p5-Compress-Raw-Zlib-2.065... done done ===> Returning to build of backuppc-3.3.0 ===> backuppc-3.3.0 depends on file: /usr/local/bin/perl5.16.3 - found Make install ===> backuppc-3.3.0 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by backuppc-3.3.0 for building ===> Extracting for backuppc-3.3.0 => SHA256 Checksum OK for BackupPC-3.3.0.tar.gz. ===> Patching for backuppc-3.3.0 ===> Applying FreeBSD patches for backuppc-3.3.0 ===> backuppc-3.3.0 depends on file: /usr/local/bin/perl5.16.3 - found ===> Configuring for backuppc-3.3.0 ===> Installing for backuppc-3.3.0 ===> backuppc-3.3.0 depends on package: p5-File-Listing>=0 - found ===> backuppc-3.3.0 depends on package: p5-Archive-Zip>=0 - found ===> backuppc-3.3.0 depends on package: p5-IO-Compress>=0 - found ===> backuppc-3.3.0 depends on file: /usr/local/bin/perl5.16.3 - found >>> ----------------------------------------------------------------------- >>> You can use the following variables to tweak installation-time options: >>> BPC_CGIDIR >>> BPC_DATADIR >>> ----------------------------------------------------------------------- >>> If this is an upgrade make sure the full path of the existing BackupPC >>> configuration directory is /usr/local/etc/backuppc >>> ----------------------------------------------------------------------- ===> Generating temporary packing list ===> Checking if sysutils/backuppc already installed ===> Creating users and/or groups. Creating group `backuppc' with gid `300'. Creating user `backuppc' with uid `300'. 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/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 [slot2.XXX] 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 /usr/local/lib/BackupPC/CGI Created /usr/local/lib/BackupPC/Config Created /usr/local/lib/BackupPC/Lang Created /usr/local/lib/BackupPC/Storage Created /usr/local/lib/BackupPC/Xfer Created /usr/local/lib/BackupPC/Zip Created /usr/local/lib/Net/FTP Created /usr/local/www/backuppc Created /var/db/BackupPC Created /var/db/BackupPC/pool Created /var/db/BackupPC/cpool Created /var/db/BackupPC/pc Created /var/db/BackupPC/trash Created /usr/local/etc/backuppc Created /var/log/BackupPC Installing binaries in /usr/local/bin Installing library in /usr/local/lib Installing images in /usr/local/www/backuppc Making init.d scripts Making Apache configuration file for suid-perl Installing docs in WRKSRC Installing config.pl and hosts in /usr/local/etc/backuppc Installing cgi script BackupPC_Admin in /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! ===> Staging rc.d startup script(s) install -o root -g wheel -m 444 /obj/buildshare/ports/355755/sysutils/backuppc/work/BackupPC-3.3.0/backuppc.1 /usr/local/man/man1 /bin/mkdir -p /usr/local/share/doc/backuppc >>> ---------------------------------------------------------- >>> You need to copy and customize >>> # cp -p /usr/local/etc/backuppc/config.pl.sample /usr/local/etc/backuppc/config.pl >>> # cp -p /usr/local/etc/backuppc/hosts.sample /usr/local/etc/backuppc/hosts >>> >>> Add the following line to /etc/rc.conf to enable BackupPC: >>> backuppc_enable="YES" >>> >>> Data directory is /var/db/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. >>> ---------------------------------------------------------- ===> Compressing manual pages for backuppc-3.3.0 ===> Registering installation for backuppc-3.3.0 pkg-static: duplicate directory listing: /usr/local/share/doc/backuppc/, ignoring Installing backuppc-3.3.0... done ===> SECURITY REPORT: This port has installed the following binaries which execute with increased privileges. /usr/local/www/cgi-bin/BackupPC_Admin If there are vulnerabilities in these programs there may be a security risk to the system. FreeBSD makes no guarantee about the security of ports included in the Ports Collection. Please type 'make deinstall' to deinstall the port if this is a concern. For more information, and contact details about the security status of this software, see the following webpage: http://backuppc.sourceforge.net Make package ===> Building package for backuppc-3.3.0 Creating package for backuppc-3.3.0 slot2: removed