mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
- Update to 3.3.1
- Fix Perl path in shebang - pkg-plist cleanup PR: 196924 Submitted by: moiseev@mezonplus.ru (maintainer)
This commit is contained in:
parent
485c786117
commit
d6531c13dd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=377862
@ -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 \
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
- }
|
||||
|
@ -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 \
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user