>>> backuppc: Building community/backuppc 3.3.2-r0 (using abuild 3.7.0_rc1-r2) started Wed, 23 Dec 2020 23:19:40 +0000 >>> backuppc: Checking sanity of /home/buildozer/aports/community/backuppc/APKBUILD... >>> WARNING: backuppc: No maintainer >>> backuppc: Analyzing dependencies... >>> backuppc: Installing for build: build-base perl busybox rsync perl-archive-zip perl-libwww perl-file-rsync samba-client (1/55) Installing libbz2 (1.0.8-r1) (2/55) Installing perl (5.32.0-r0) (3/55) Installing perl-archive-zip (1.68-r1) (4/55) Installing perl-http-date (6.05-r1) (5/55) Installing perl-lwp-mediatypes (6.04-r1) (6/55) Installing perl-encode-locale (1.05-r3) (7/55) Installing perl-uri (5.05-r0) (8/55) Installing perl-io-html (1.004-r0) (9/55) Installing perl-http-message (6.26-r1) (10/55) Installing perl-http-cookies (6.09-r0) (11/55) Installing perl-net-http (6.19-r1) (12/55) Installing perl-http-daemon (6.12-r1) (13/55) Installing perl-html-tagset (3.20-r3) (14/55) Installing perl-html-parser (3.75-r1) (15/55) Installing perl-file-listing (6.14-r0) (16/55) Installing perl-www-robotrules (6.02-r3) (17/55) Installing perl-http-negotiate (6.01-r3) (18/55) Installing perl-capture-tiny (0.48-r2) (19/55) Installing perl-devel-symdump (2.18-r2) (20/55) Installing perl-test-pod (1.52-r2) (21/55) Installing perl-pod-parser (1.63-r0) (22/55) Installing perl-pod-coverage (0.23-r2) (23/55) Installing perl-try-tiny (0.30-r2) (24/55) Installing perl-libwww (6.50-r0) (25/55) Installing perl-file-rsync (0.76-r0) (26/55) Installing samba-common (4.13.2-r1) (27/55) Installing libcap (2.46-r0) (28/55) Installing nettle (3.6-r0) (29/55) Installing libffi (3.3-r2) (30/55) Installing p11-kit (0.23.22-r0) (31/55) Installing libtasn1 (4.16.0-r1) (32/55) Installing libunistring (0.9.10-r0) (33/55) Installing gnutls (3.7.0-r0) (34/55) Installing talloc (2.3.1-r0) (35/55) Installing tevent (0.10.2-r0) (36/55) Installing samba-util-libs (4.13.2-r1) (37/55) Installing jansson (2.13.1-r0) (38/55) Installing gdbm (1.18.1-r0) (39/55) Installing libsasl (2.1.27-r10) (40/55) Installing libldap (2.4.56-r0) (41/55) Installing tdb-libs (1.4.3-r0) (42/55) Installing ldb (2.2.0-r0) (43/55) Installing linux-pam (1.4.0-r1) (44/55) Installing libwbclient (4.13.2-r1) (45/55) Installing samba-libs (4.13.2-r1) (46/55) Installing lz4-libs (1.9.2-r0) (47/55) Installing xz-libs (5.2.5-r0) (48/55) Installing libarchive (3.5.0-r0) (49/55) Installing samba-client-libs (4.13.2-r1) (50/55) Installing libsmbclient (4.13.2-r1) (51/55) Installing samba-client (4.13.2-r1) (52/55) Installing .makedepends-backuppc (20201223.231943) (53/55) Installing perl-error (0.17029-r1) (54/55) Installing perl-git (2.29.2-r0) (55/55) Installing git-perl (2.29.2-r0) Executing busybox-1.32.0-r8.trigger OK: 376 MiB in 141 packages >>> backuppc: Cleaning up srcdir >>> backuppc: Cleaning up pkgdir >>> backuppc: Fetching https://distfiles.alpinelinux.org/distfiles/v3.13/BackupPC-3.3.2.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 544k 100 544k 0 0 5980k 0 --:--:-- --:--:-- --:--:-- 5980k >>> backuppc: Fetching https://distfiles.alpinelinux.org/distfiles/v3.13/BackupPC-3.3.2.tar.gz >>> backuppc: Checking sha512sums... BackupPC-3.3.2.tar.gz: OK configure.pl.patch: OK fix-pidfile-path.patch: OK fix-socket-path.patch: OK backuppc.initd: OK >>> backuppc: Unpacking /var/cache/distfiles/v3.13/BackupPC-3.3.2.tar.gz... >>> backuppc: configure.pl.patch File configure.pl is read-only; trying to patch anyway patching file configure.pl Hunk #1 succeeded at 328 (offset 1 line). Hunk #2 succeeded at 519 (offset 1 line). Hunk #3 succeeded at 527 (offset 1 line). Hunk #4 succeeded at 542 (offset 1 line). >>> backuppc: fix-pidfile-path.patch File bin/BackupPC is read-only; trying to patch anyway patching file bin/BackupPC >>> backuppc: fix-socket-path.patch File bin/BackupPC is read-only; trying to patch anyway patching file bin/BackupPC File lib/BackupPC/Lib.pm is read-only; trying to patch anyway patching file lib/BackupPC/Lib.pm Hunk #1 succeeded at 703 (offset 17 lines). >>> WARNING: backuppc: APKBUILD does not run any tests! Alpine policy will soon require that packages have any relevant testsuites run during the build process. To fix, either define a check() function, or declare !check in $options to indicate the package does not have a testsuite. >>> backuppc: Entering fakeroot... 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: /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 => /bin/tar gzip => /bin/gzip hostname => /bin/hostname nmblookup => /usr/bin/nmblookup par2 => perl => /usr/bin/perl ping => /bin/ping rsync => /usr/bin/rsync sendmail => /usr/sbin/sendmail smbclient => /usr/bin/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 [backuppc] 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/share/BackupPC] 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/lib/BackupPC] 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) [/var/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) [/var/www/htdocs/BackupPC] --> URL for image directory (omit http://host; starts with '/') [/BackupPC] Ok, we're about to: - install the binaries, lib and docs in /usr/share/BackupPC, - create the data directory /var/lib/BackupPC, - create/update the config.pl file /etc/BackupPC/config.pl, - optionally install the cgi-bin interface. --> Do you want to continue? [y] Installing binaries in /home/buildozer/aports/community/backuppc/pkg/backuppc/usr/share/BackupPC/bin Installing library in /home/buildozer/aports/community/backuppc/pkg/backuppc/usr/share/BackupPC/lib Installing images in /home/buildozer/aports/community/backuppc/pkg/backuppc/var/www/htdocs/BackupPC Making init.d scripts Making Apache configuration file for suid-perl Installing docs in /home/buildozer/aports/community/backuppc/pkg/backuppc/usr/share/BackupPC/doc Installing config.pl and hosts in /home/buildozer/aports/community/backuppc/pkg/backuppc/etc/BackupPC PING localhost (127.0.0.1): 56 data bytes ping: permission denied (are you root?) Installing cgi script BackupPC_Admin in /home/buildozer/aports/community/backuppc/pkg/backuppc/var/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, /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 /etc/BackupPC/hosts. - Read the documentation in /usr/share/BackupPC/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! >>> backuppc*: Running postcheck for backuppc >>> WARNING: backuppc*: Found OpenRC directory (/etc/conf.d or /etc/init.d) but name doesn't end with -openrc >>> backuppc*: Preparing package backuppc... >>> backuppc*: Adding .pre-install >>> backuppc*: Tracing dependencies... >>> backuppc*: Package size: 2.5 MB >>> backuppc*: Compressing data... >>> backuppc*: Create checksum... >>> backuppc*: Create backuppc-3.3.2-r0.apk >>> backuppc: Build complete at Wed, 23 Dec 2020 23:19:45 +0000 elapsed time 0h 0m 5s >>> backuppc: Cleaning up srcdir >>> backuppc: Cleaning up pkgdir >>> backuppc: Uninstalling dependencies... (1/55) Purging .makedepends-backuppc (20201223.231943) (2/55) Purging perl-archive-zip (1.68-r1) (3/55) Purging perl-libwww (6.50-r0) (4/55) Purging perl-http-cookies (6.09-r0) (5/55) Purging perl-net-http (6.19-r1) (6/55) Purging perl-http-daemon (6.12-r1) (7/55) Purging perl-html-parser (3.75-r1) (8/55) Purging perl-html-tagset (3.20-r3) (9/55) Purging perl-file-listing (6.14-r0) (10/55) Purging perl-www-robotrules (6.02-r3) (11/55) Purging perl-http-negotiate (6.01-r3) (12/55) Purging perl-http-message (6.26-r1) (13/55) Purging perl-http-date (6.05-r1) (14/55) Purging perl-uri (5.05-r0) (15/55) Purging perl-io-html (1.004-r0) (16/55) Purging perl-lwp-mediatypes (6.04-r1) (17/55) Purging perl-encode-locale (1.05-r3) (18/55) Purging perl-try-tiny (0.30-r2) (19/55) Purging perl-capture-tiny (0.48-r2) (20/55) Purging perl-pod-coverage (0.23-r2) (21/55) Purging perl-devel-symdump (2.18-r2) (22/55) Purging perl-test-pod (1.52-r2) (23/55) Purging perl-pod-parser (1.63-r0) (24/55) Purging perl-file-rsync (0.76-r0) (25/55) Purging samba-client (4.13.2-r1) (26/55) Purging samba-common (4.13.2-r1) (27/55) Purging git-perl (2.29.2-r0) (28/55) Purging perl-git (2.29.2-r0) (29/55) Purging perl-error (0.17029-r1) (30/55) Purging perl (5.32.0-r0) (31/55) Purging libarchive (3.5.0-r0) (32/55) Purging libbz2 (1.0.8-r1) (33/55) Purging samba-client-libs (4.13.2-r1) (34/55) Purging libsmbclient (4.13.2-r1) (35/55) Purging samba-libs (4.13.2-r1) (36/55) Purging libcap (2.46-r0) (37/55) Purging libwbclient (4.13.2-r1) (38/55) Purging samba-util-libs (4.13.2-r1) (39/55) Purging gnutls (3.7.0-r0) (40/55) Purging nettle (3.6-r0) (41/55) Purging p11-kit (0.23.22-r0) (42/55) Purging libffi (3.3-r2) (43/55) Purging libtasn1 (4.16.0-r1) (44/55) Purging libunistring (0.9.10-r0) (45/55) Purging ldb (2.2.0-r0) (46/55) Purging tevent (0.10.2-r0) (47/55) Purging talloc (2.3.1-r0) (48/55) Purging jansson (2.13.1-r0) (49/55) Purging libldap (2.4.56-r0) (50/55) Purging libsasl (2.1.27-r10) (51/55) Purging gdbm (1.18.1-r0) (52/55) Purging tdb-libs (1.4.3-r0) (53/55) Purging linux-pam (1.4.0-r1) (54/55) Purging lz4-libs (1.9.2-r0) (55/55) Purging xz-libs (5.2.5-r0) Executing busybox-1.32.0-r8.trigger OK: 310 MiB in 86 packages >>> backuppc: Updating the community/x86 repository index... >>> backuppc: Signing the index...