svn commit: r377862 - in head/sysutils/backuppc: . files
Dmitry Marakasov
amdmi3 at FreeBSD.org
Sun Jan 25 04:48:03 UTC 2015
Author: amdmi3
Date: Sun Jan 25 04:48:01 2015
New Revision: 377862
URL: https://svnweb.freebsd.org/changeset/ports/377862
QAT: https://qat.redports.org/buildarchive/r377862/
Log:
- Update to 3.3.1
- Fix Perl path in shebang
- pkg-plist cleanup
PR: 196924
Submitted by: moiseev at mezonplus.ru (maintainer)
Modified:
head/sysutils/backuppc/Makefile
head/sysutils/backuppc/distinfo
head/sysutils/backuppc/files/patch-update.pl
head/sysutils/backuppc/files/update.sh.in
head/sysutils/backuppc/pkg-plist
Modified: head/sysutils/backuppc/Makefile
==============================================================================
--- head/sysutils/backuppc/Makefile Sun Jan 25 04:23:10 2015 (r377861)
+++ head/sysutils/backuppc/Makefile Sun Jan 25 04:48:01 2015 (r377862)
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= backuppc
-PORTVERSION= 3.3.0
-PORTREVISION= 8
+PORTVERSION= 3.3.1
CATEGORIES= sysutils
MASTER_SITES= SF
MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTNAME}/${PORTVERSION}
@@ -107,6 +106,7 @@ do-install:
cd ${WRKSRC} && ${PERL} configure.pl \
--batch \
--backuppc-user ${USERS} \
+ --bin-path perl=${PERL} \
--config-dir ${ETCDIR} \
--cgi-dir ${CGIDIR} \
--data-dir /var/db/BackupPC \
Modified: head/sysutils/backuppc/distinfo
==============================================================================
--- head/sysutils/backuppc/distinfo Sun Jan 25 04:23:10 2015 (r377861)
+++ head/sysutils/backuppc/distinfo Sun Jan 25 04:48:01 2015 (r377862)
@@ -1,2 +1,2 @@
-SHA256 (BackupPC-3.3.0.tar.gz) = 8a9c1b6faa4502b4c40617be97e806813815d9e22544854d99983c3da7c1f69b
-SIZE (BackupPC-3.3.0.tar.gz) = 554155
+SHA256 (BackupPC-3.3.1.tar.gz) = c9cc4aec28a7474a68d40f4bc460ff15140e05c96900c7f98ff3ef06c4f6ae4c
+SIZE (BackupPC-3.3.1.tar.gz) = 556461
Modified: head/sysutils/backuppc/files/patch-update.pl
==============================================================================
--- head/sysutils/backuppc/files/patch-update.pl Sun Jan 25 04:23:10 2015 (r377861)
+++ head/sysutils/backuppc/files/patch-update.pl Sun Jan 25 04:48:01 2015 (r377862)
@@ -177,7 +177,7 @@
- #
- # Install new CSS file, making a backup copy if necessary
- #
-- my $cssBackup = "$DestDir$Conf{CgiImageDir}/BackupPC_stnd.css.pre-3.3.0";
+- my $cssBackup = "$DestDir$Conf{CgiImageDir}/BackupPC_stnd.css.pre-3.3.1";
- if ( -f "$DestDir$Conf{CgiImageDir}/BackupPC_stnd.css" && !-f $cssBackup ) {
- rename("$DestDir$Conf{CgiImageDir}/BackupPC_stnd.css", $cssBackup);
- }
Modified: head/sysutils/backuppc/files/update.sh.in
==============================================================================
--- head/sysutils/backuppc/files/update.sh.in Sun Jan 25 04:23:10 2015 (r377861)
+++ head/sysutils/backuppc/files/update.sh.in Sun Jan 25 04:48:01 2015 (r377862)
@@ -1,6 +1,7 @@
#!/bin/sh
perl %%PREFIX%%/libexec/backuppc/update.pl \
+ --bin-path perl=%%PREFIX%%/bin/perl \
--config-dir %%ETCDIR%% \
--cgi-dir %%CGIDIR%% \
--data-dir /var/db/BackupPC \
Modified: head/sysutils/backuppc/pkg-plist
==============================================================================
--- head/sysutils/backuppc/pkg-plist Sun Jan 25 04:23:10 2015 (r377861)
+++ head/sysutils/backuppc/pkg-plist Sun Jan 25 04:48:01 2015 (r377862)
@@ -1,4 +1,3 @@
- at stopdaemon backuppc
@mode 0555
bin/BackupPC
bin/BackupPC_archive
@@ -128,35 +127,13 @@ man/man1/backuppc.1.gz
@group backuppc
@mode 04554
%%CGIDIR%%/BackupPC_Admin
- at owner
- at group
@mode
- at dirrm lib/BackupPC/CGI
- at dirrm lib/BackupPC/Config
- at dirrm lib/BackupPC/Lang
- at dirrm lib/BackupPC/Storage
- at dirrm lib/BackupPC/Xfer
- at dirrm lib/BackupPC/Zip
- at dirrm lib/BackupPC
- at dirrm lib/Net/FTP
- at dirrm lib/Net
- at dirrmtry %%WWWDIR%%
- at dirrmtry %%CGIDIR%%
- at exec install -d -o backuppc -g backuppc -m 0750 /var/log/BackupPC
- at exec install -d -o backuppc -g backuppc -m 0750 /var/db/BackupPC
- at exec install -d -o backuppc -g backuppc -m 0750 /var/db/BackupPC/cpool
- at exec install -d -o backuppc -g backuppc -m 0750 /var/db/BackupPC/pc
- at exec install -d -o backuppc -g backuppc -m 0750 /var/db/BackupPC/pool
- at exec install -d -o backuppc -g backuppc -m 0750 /var/db/BackupPC/trash
- at dirrmtry /var/log/BackupPC
- at dirrmtry /var/db/BackupPC/cpool
- at dirrmtry /var/db/BackupPC/pc
- at dirrmtry /var/db/BackupPC/pool
- at dirrmtry /var/db/BackupPC/trash
- at dirrmtry /var/db/BackupPC
- at owner backuppc
- at group backuppc
- at dirrmtry %%ETCDIR%%
+ at dir /var/log/BackupPC
+ at dir /var/db/BackupPC/cpool
+ at dir /var/db/BackupPC/pc
+ at dir /var/db/BackupPC/pool
+ at dir /var/db/BackupPC/trash
+ at dir /var/db/BackupPC
@comment .sample files actually are templates for the configuration script
@comment and should not be installed as working configuration files.
@mode 0640
@@ -169,4 +146,3 @@ man/man1/backuppc.1.gz
%%ETCDIR%%/update.sh
libexec/backuppc/update.pl
@mode
- at dirrm libexec/backuppc
More information about the svn-ports-all
mailing list