Update to faubackup-0.6.0

ok jca@
This commit is contained in:
solene 2019-01-14 18:05:43 +00:00
parent 22bd3e0d0a
commit d221d38b4e
5 changed files with 11 additions and 48 deletions

View File

@ -1,19 +1,22 @@
# $OpenBSD: Makefile,v 1.9 2018/11/15 20:15:09 solene Exp $
# $OpenBSD: Makefile,v 1.10 2019/01/14 18:05:43 solene Exp $
COMMENT = full and incremental backups on filesystem
DISTNAME = faubackup-0.5.9
REVISION = 1
V = v0.6.0
DISTNAME = faubackup-${V}
PKGNAME = ${DISTNAME:S/-v/-/}
CATEGORIES = sysutils
HOMEPAGE = http://freshmeat.sourceforge.net/projects/faubackup
MAINTAINER = Solene Rapenne <solene@perso.pw>
# GPLv2
HOMEPAGE = https://framagit.org/soleneBSD/faubackup/
# GPLv2+
PERMIT_PACKAGE_CDROM = Yes
WANTLIB = c popt>=0.3
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=faubackup/}
MASTER_SITES = https://framagit.org/soleneBSD/faubackup/-/archive/${V}/
LIB_DEPENDS = devel/popt
TEST_DEPENDS = ${MODGNU_AUTOCONF_DEPENDS}

View File

@ -1,2 +1,2 @@
SHA256 (faubackup-0.5.9.tar.gz) = D2uLJI7FXvqBs68p6bvYa2yrM2IovPJx7gHqMw00fLk=
SIZE (faubackup-0.5.9.tar.gz) = 134982
SHA256 (faubackup-v0.6.0.tar.gz) = 04c8Rx2hj0PRcKS3et/+E4jXKr+pJRKYlHNSFF257dQ=
SIZE (faubackup-v0.6.0.tar.gz) = 135778

View File

@ -1,12 +0,0 @@
$OpenBSD: patch-faubackup_conf,v 1.1.1.1 2008/12/29 19:51:09 sturm Exp $
--- faubackup.conf.orig Sat Nov 29 13:13:59 2008
+++ faubackup.conf Sat Nov 29 13:14:22 2008
@@ -23,7 +23,7 @@ $keepdays = 7;
#@ignore = qw( **.o **/cache **/Cache **/nobackup );
# use this command for remote commands
-$rsh = "rsh";
+$rsh = "ssh";
# make perl happy

View File

@ -1,14 +0,0 @@
$OpenBSD: patch-src_faubackup-gather_c,v 1.1.1.1 2008/12/29 19:51:09 sturm Exp $
--- src/faubackup-gather.c.orig Sun Dec 28 13:00:40 2008
+++ src/faubackup-gather.c Sun Dec 28 13:02:58 2008
@@ -56,8 +56,8 @@ send_buf(void *_buf, size_t len)
while( len > 0 ) {
ret = fwrite( buf, 1, len, stdout );
if( ferror(stdout) ) {
- fprintf( stderr, "%s: stdout fwrite %d bytes: %s\n",
- progname, len, strerror(errno));
+ fprintf( stderr, "%s: stdout fwrite %lu bytes: %s\n",
+ progname, (unsigned long) len, strerror(errno));
exit(1);
}
buf += ret;

View File

@ -1,14 +0,0 @@
$OpenBSD: patch-src_faubackup-scatter_c,v 1.1.1.1 2008/12/29 19:51:09 sturm Exp $
--- src/faubackup-scatter.c.orig Sun Dec 28 13:00:52 2008
+++ src/faubackup-scatter.c Sun Dec 28 13:02:24 2008
@@ -69,8 +69,8 @@ recv_buf(void *buf, size_t len, int mayfail)
}
if( len!=0 && ! mayfail ) {
- fprintf(stderr, "%s: protocol error (%d bytes missing)\n",
- progname, len);
+ fprintf(stderr, "%s: protocol error (%lu bytes missing)\n",
+ progname, (unsigned long) len);
exit(1);
}