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:
parent
71ffddbe0d
commit
783ff30c63
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=105945
@ -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
34
sysutils/cdbkup/Makefile
Normal 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
2
sysutils/cdbkup/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (cdbkup_1.0-1.tar.gz) = e2d3607c5327fc2204d3ecdb243bae23
|
||||
SIZE (cdbkup_1.0-1.tar.gz) = 41025
|
17
sysutils/cdbkup/files/patch-Makefile.in
Normal file
17
sysutils/cdbkup/files/patch-Makefile.in
Normal 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:
|
19
sysutils/cdbkup/files/patch-src-cdcat.in
Normal file
19
sysutils/cdbkup/files/patch-src-cdcat.in
Normal 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";
|
||||
}
|
1
sysutils/cdbkup/pkg-descr
Normal file
1
sysutils/cdbkup/pkg-descr
Normal file
@ -0,0 +1 @@
|
||||
cdbkup is a small backuputil which uses gnu tar and is based on perl
|
5
sysutils/cdbkup/pkg-plist
Normal file
5
sysutils/cdbkup/pkg-plist
Normal file
@ -0,0 +1,5 @@
|
||||
sbin/cdappend
|
||||
sbin/cdbkup
|
||||
sbin/cdcat
|
||||
sbin/cdrstr
|
||||
sbin/cdsplit
|
Loading…
Reference in New Issue
Block a user