diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2016-12-04 14:28:42 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2016-12-04 15:07:05 +0100 |
commit | 381dcede14c1ad64e6734a8a6141cc56c9ade7d4 (patch) | |
tree | 6c4bafe6419240777d95cc2e00750cc30dbf72aa | |
parent | 2bbc4981c38a6a651251cd99af756c034d9f5de7 (diff) | |
download | aports-381dcede14c1ad64e6734a8a6141cc56c9ade7d4.tar.bz2 aports-381dcede14c1ad64e6734a8a6141cc56c9ade7d4.tar.xz |
main/backuppc: move data-dir to /usr/share/BackupPC
BackupPC is written in Perl and does not contain any arch-dependent
binaries, so it should be installed into /usr/share and not /usr/lib.
-rw-r--r-- | main/backuppc/APKBUILD | 12 | ||||
-rw-r--r-- | main/backuppc/backuppc.initd | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/main/backuppc/APKBUILD b/main/backuppc/APKBUILD index e2e5b69b07..1f0d0bb37b 100644 --- a/main/backuppc/APKBUILD +++ b/main/backuppc/APKBUILD @@ -50,17 +50,17 @@ package() { --hostname backuppc \ --html-dir /var/www/htdocs/BackupPC \ --html-dir-url /BackupPC \ - --install-dir /usr/lib/BackupPC \ + --install-dir /usr/share/BackupPC \ --log-dir /var/log/BackupPC \ --uid-ignore \ --no-set-perms || return 1 install -m755 configure.pl \ - "$pkgdir"/usr/lib/BackupPC/bin/configure.pl || return 1 + "$pkgdir"/usr/share/BackupPC/bin/configure.pl || return 1 install -D -m755 "$srcdir"/backuppc.initd \ "$pkgdir"/etc/init.d/backuppc || return 1 - chmod 775 "$pkgdir"/usr/lib/BackupPC/bin/* + chmod 775 "$pkgdir"/usr/share/BackupPC/bin/* local dir; for dir in etc var/log var/lib; do chown -R backuppc:backuppc "$pkgdir"/$dir/BackupPC || return 1 @@ -73,12 +73,12 @@ package() { md5sums="5efdcdd48e9e0d4ef7a706902d1f8b3d BackupPC-3.3.1.tar.gz 2a25b036d273ea67b69aa62e4cd7c28f configure.pl.patch eaff2abac13ea00427e9c895e0dc881c remove-deprecated-perl-defined-at.patch -d53014f185a18bd23bb52fe0fc622ca7 backuppc.initd" +f0e269be36032f47a7121dea03f69d55 backuppc.initd" sha256sums="c9cc4aec28a7474a68d40f4bc460ff15140e05c96900c7f98ff3ef06c4f6ae4c BackupPC-3.3.1.tar.gz 86988fbe8e8763abee8861f5bb03bf6bb7fd2430623f78fc921502b6759ad48d configure.pl.patch 202cb3b03bccd3f2af97db737e67ed8daf2a015ca0bb86b8908d8b5cee9ae9db remove-deprecated-perl-defined-at.patch -54d26ee05424c6ad679f5307f9c687d48fe438cd89b789a8d0c16b2fa813cd39 backuppc.initd" +c466c91f064be2cf3d2ac991a70aee9fc5e19ea12014de0e98a090438cbb81ae backuppc.initd" sha512sums="b6bb9de3103c5062098d80755055b7461ae9133a4a46a66b3d0af89d081086571694db1898e7d85880defa15b030bad522812116ae5361c0fbde90b877d139c6 BackupPC-3.3.1.tar.gz a38361fd0e54a4c0100a7bf94b09483e5ba246dc45d6955d275542dd5662d8da11d9580685195b7d4dfa9a07c0487a52a14a95340737e70889ffe5c5e26d5ff8 configure.pl.patch f834c223fd14db6401d0eb162d7794dcc9d040d397f914386769bc3dd82209078c6d0dc331ee1d8943a8ea07ad8c2975929511617b2cd85e85db4f5bbd5fff09 remove-deprecated-perl-defined-at.patch -fb8558b0c9fb465084c848e32d072e6078a9ba3f1ccb2d602b8551ff51a2b88cd52177094519e741b3261e34eadbab50e6fb3be5ceed2fe476b8e6df0123d5b6 backuppc.initd" +bb42e0b8524d6c53a39167985ce1bb42c5cb8c074963d3b270c1cff31db5aedc09b8eb27cd7aed7ccd8d27be0b40c43a59dcfbc0637755893af1f84874f67162 backuppc.initd" diff --git a/main/backuppc/backuppc.initd b/main/backuppc/backuppc.initd index 31dce63970..6c43d9874b 100644 --- a/main/backuppc/backuppc.initd +++ b/main/backuppc/backuppc.initd @@ -1,5 +1,5 @@ #!/sbin/openrc-run -BACKUPPC_BINDIR=/usr/lib/BackupPC/bin +BACKUPPC_BINDIR=/usr/share/BackupPC/bin DAEMON=BackupPC BACKUPPC_LOGDIR=/var/log/BackupPC USER=backuppc |