diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-01-25 04:48:01 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-01-25 04:48:01 +0000 |
commit | d6531c13dd570a6966a50a13444c020392064470 (patch) | |
tree | d10fd30eae457957fde35837917a722334928183 /sysutils/backuppc | |
parent | 485c78611783e9d7f9ce1aa69cb77998f148f225 (diff) | |
download | ports-d6531c13dd570a6966a50a13444c020392064470.tar.gz ports-d6531c13dd570a6966a50a13444c020392064470.zip |
Notes
Diffstat (limited to 'sysutils/backuppc')
-rw-r--r-- | sysutils/backuppc/Makefile | 4 | ||||
-rw-r--r-- | sysutils/backuppc/distinfo | 4 | ||||
-rw-r--r-- | sysutils/backuppc/files/patch-update.pl | 2 | ||||
-rw-r--r-- | sysutils/backuppc/files/update.sh.in | 1 | ||||
-rw-r--r-- | sysutils/backuppc/pkg-plist | 36 |
5 files changed, 12 insertions, 35 deletions
diff --git a/sysutils/backuppc/Makefile b/sysutils/backuppc/Makefile index 43cb75377eb9..4399f2f3d2c3 100644 --- a/sysutils/backuppc/Makefile +++ b/sysutils/backuppc/Makefile @@ -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 \ diff --git a/sysutils/backuppc/distinfo b/sysutils/backuppc/distinfo index cdcd86dde99e..446304a818d0 100644 --- a/sysutils/backuppc/distinfo +++ b/sysutils/backuppc/distinfo @@ -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 diff --git a/sysutils/backuppc/files/patch-update.pl b/sysutils/backuppc/files/patch-update.pl index 8e5d8905c89f..dd72e8f4a64b 100644 --- a/sysutils/backuppc/files/patch-update.pl +++ b/sysutils/backuppc/files/patch-update.pl @@ -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); - } diff --git a/sysutils/backuppc/files/update.sh.in b/sysutils/backuppc/files/update.sh.in index 9c9ab4b29bb6..cfbe07366f59 100644 --- a/sysutils/backuppc/files/update.sh.in +++ b/sysutils/backuppc/files/update.sh.in @@ -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 \ diff --git a/sysutils/backuppc/pkg-plist b/sysutils/backuppc/pkg-plist index 119f2186b39a..3f43027f21f1 100644 --- a/sysutils/backuppc/pkg-plist +++ b/sysutils/backuppc/pkg-plist @@ -1,4 +1,3 @@ -@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 -@owner -@group @mode -@dirrm lib/BackupPC/CGI -@dirrm lib/BackupPC/Config -@dirrm lib/BackupPC/Lang -@dirrm lib/BackupPC/Storage -@dirrm lib/BackupPC/Xfer -@dirrm lib/BackupPC/Zip -@dirrm lib/BackupPC -@dirrm lib/Net/FTP -@dirrm lib/Net -@dirrmtry %%WWWDIR%% -@dirrmtry %%CGIDIR%% -@exec install -d -o backuppc -g backuppc -m 0750 /var/log/BackupPC -@exec install -d -o backuppc -g backuppc -m 0750 /var/db/BackupPC -@exec install -d -o backuppc -g backuppc -m 0750 /var/db/BackupPC/cpool -@exec install -d -o backuppc -g backuppc -m 0750 /var/db/BackupPC/pc -@exec install -d -o backuppc -g backuppc -m 0750 /var/db/BackupPC/pool -@exec install -d -o backuppc -g backuppc -m 0750 /var/db/BackupPC/trash -@dirrmtry /var/log/BackupPC -@dirrmtry /var/db/BackupPC/cpool -@dirrmtry /var/db/BackupPC/pc -@dirrmtry /var/db/BackupPC/pool -@dirrmtry /var/db/BackupPC/trash -@dirrmtry /var/db/BackupPC -@owner backuppc -@group backuppc -@dirrmtry %%ETCDIR%% +@dir /var/log/BackupPC +@dir /var/db/BackupPC/cpool +@dir /var/db/BackupPC/pc +@dir /var/db/BackupPC/pool +@dir /var/db/BackupPC/trash +@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 -@dirrm libexec/backuppc |