1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

Add cdbkup, perl utility to do tar based backups to CD-R.

PR:		ports/64651
Submitted by:	Kay Lehmann <kay_lehmann@web.de>
This commit is contained in:
Pav Lucistnik 2004-04-02 07:21:51 +00:00
parent 71ffddbe0d
commit 783ff30c63
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=105945
7 changed files with 79 additions and 0 deletions

View File

@ -42,6 +42,7 @@
SUBDIR += cd-write
SUBDIR += cd9660_unicode
SUBDIR += cdbakeoven
SUBDIR += cdbkup
SUBDIR += cdrdao
SUBDIR += cdroot
SUBDIR += cdrtools

34
sysutils/cdbkup/Makefile Normal file
View File

@ -0,0 +1,34 @@
# New ports collection makefile for: cdbkup
# Date created: 19 May 2003
# Whom: Kay Lehmann
#
# $FreeBSD$
#
PORTNAME= cdbkup
PORTVERSION= 1.0
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}_${PORTVERSION}-1
MAINTAINER= kay_lehmann@web.de
COMMENT= Simple backup restore perl scripts (uses gnu tar)
BUILD_DEPENDS= cdrecord:${PORTSDIR}/sysutils/cdrtools \
mkisofs:${PORTSDIR}/sysutils/mkisofs \
${LOCALBASE}/sbin/eject:${PORTSDIR}/sysutils/eject
RUN_DEPENDS= cdrecord:${PORTSDIR}/sysutils/cdrtools \
mkisofs:${PORTSDIR}/sysutils/mkisofs \
${LOCALBASE}/sbin/eject:${PORTSDIR}/sysutils/eject
WRKSRC= ${WRKDIR}/${PORTNAME}
GNU_CONFIGURE= yes
USE_PERL5= yes
CONFIGURE_ENV+= PATH=${PATH}:${LOCALBASE}/sbin
MAN1= cdbkup.1 cdappend.1 cdcat.1 cdrstr.1 cdsplit.1
PORTDOCS= README TODO COMPLIANCE
.include <bsd.port.mk>

2
sysutils/cdbkup/distinfo Normal file
View File

@ -0,0 +1,2 @@
MD5 (cdbkup_1.0-1.tar.gz) = e2d3607c5327fc2204d3ecdb243bae23
SIZE (cdbkup_1.0-1.tar.gz) = 41025

View File

@ -0,0 +1,17 @@
--- Makefile.in.orig Wed Mar 24 10:40:13 2004
+++ Makefile.in Wed Mar 24 10:41:02 2004
@@ -19,12 +19,14 @@
(echo "-> Entering $$x"; cd $$x ;\
make $@ );\
done
+.if !defined(NOPORTDOCS)
@echo "-> Creating dirs & installing misc documentation."
$(INSTALL) -d -o $(DUMPER) -g $(DUMPGRP) -m 700 $(SNARDIR)
$(INSTALL) -d -m 755 $(DOCDIR)
$(INSTALL) -m 644 README $(DOCDIR)
$(INSTALL) -m 644 TODO $(DOCDIR)
$(INSTALL) -m 644 COMPLIANCE $(DOCDIR)
+.endif
@echo "-> All done."
uninstall:

View File

@ -0,0 +1,19 @@
*** src/cdcat.in Fri Jan 18 14:58:50 2002
--- src/cdcat.in Fri Jan 18 17:28:48 2002
***************
*** 98,104 ****
sub mount {
return if( $test);
! if( system("@MOUNT@ -t iso9660 ".esc_shell($device)." $mntpt") != 0)
{
die "Can't mount $device: $!\n";
}
--- 98,104 ----
sub mount {
return if( $test);
! if( system("@MOUNT@ -t cd9660 ".esc_shell($device)." $mntpt") != 0)
{
die "Can't mount $device: $!\n";
}

View File

@ -0,0 +1 @@
cdbkup is a small backuputil which uses gnu tar and is based on perl

View File

@ -0,0 +1,5 @@
sbin/cdappend
sbin/cdbkup
sbin/cdcat
sbin/cdrstr
sbin/cdsplit