ports/56127: [UPDATE] sysutils/flexbackup from 1.03 to 1.20

Martin Matuska martin at tradex.sk
Fri Aug 29 10:50:19 UTC 2003


>Number:         56127
>Category:       ports
>Synopsis:       [UPDATE] sysutils/flexbackup from 1.03 to 1.20
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 29 03:50:16 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Martin Matuska <martin at tradex.sk>
>Release:        FreeBSD 4.8-RELEASE-p3 i386
>Organization:
>Environment:

>Description:
Update to 1.2.0 and following changes:
- removed all dependencies (none of them required to run),
- default configuration file now in $LOCALBASE/etc (instead of /etc)
- uses perl from $PERL
- more documentation files included
- documentation uses %%DOCSDIR%% in pkg-plist
- updated description and pkg-messasge

>How-To-Repeat:
>Fix:
diff -bur flexbackup.orig/Makefile flexbackup/Makefile
--- flexbackup.orig/Makefile	Fri Aug 29 12:15:38 2003
+++ flexbackup/Makefile	Fri Aug 29 12:42:41 2003
@@ -6,45 +6,29 @@
 #
 
 PORTNAME=	flexbackup
-PORTVERSION=	1.0.3
+PORTVERSION=	1.2.0
 CATEGORIES=	sysutils
 MASTER_SITES=	http://www.edwinh.org/flexbackup/tarball/ \
 		http://www.reynoldsnet.org/flexbackup/tarball/
 
 MAINTAINER=	johnjen at reynoldsnet.org
-COMMENT=	Perl-based flexible tape backup system that uses dump/afio/cpio/tar
+COMMENT=	A flexible backup tool (Perl)
 
-RUN_DEPENDS=	afio:${PORTSDIR}/sysutils/afio \
-		buffer:${PORTSDIR}/misc/buffer
+MAKE_ARGS=	CONFFILE=${LOCALBASE}/etc/flexbackup.conf \
+		PERLPATH=${PERL}
 
-.if defined(WITH_GTAR)
-RUN_DEPENDS+=	gtar:${PORTSDIR}/archivers/gtar
-.endif
-
-NO_BUILD=	yes
 USE_PERL5=	yes
 
-pre-fetch:
-	@${ECHO_MSG} ""
-	@${ECHO_MSG} "If you are using and older version of FreeBSD that does not have GNU Tar"
-	@${ECHO_MSG} "imported as the system 'tar,' configure this port using WITH_GTAR=yes"
-	@${ECHO_MSG} "to enable the port dependency and use the 'path' variable in the"
-	@${ECHO_MSG} "flexbackup.conf file to point to 'gtar'"
-	@${ECHO_MSG} ""
-
-post-configure:
-	@${CP} ${WRKSRC}/flexbackup.conf ${WRKSRC}/flexbackup.conf.sample
-	@${CP} ${WRKSRC}/README ${WRKSRC}/flexbackup.README
-
 do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/flexbackup ${PREFIX}/bin
+	${INSTALL_SCRIPT} ${WRKSRC}/fb.install ${LOCALBASE}/bin/flexbackup
+	${INSTALL_DATA} ${WRKSRC}/flexbackup.conf ${LOCALBASE}/etc/flexbackup.conf.sample
+
+post-install:
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/flexbackup.conf.sample ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/flexbackup.README ${DOCSDIR}
+.for docfile in CHANGES COPYING CREDITS README TODO faq.html
+	${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
+.endfor
 .endif
-
-post-install:
-	@${CAT} ${PKGMESSAGE} | ${SED} -e 's:%%PREFIX%%:${PREFIX}:g'
-
+	@${CAT} ${PKGMESSAGE}
 .include <bsd.port.mk>
diff -bur flexbackup.orig/distinfo flexbackup/distinfo
--- flexbackup.orig/distinfo	Fri Aug 29 12:15:38 2003
+++ flexbackup/distinfo	Fri Aug 29 12:17:33 2003
@@ -1 +1 @@
-MD5 (flexbackup-1.0.3.tar.gz) = 974bb2b7bde791c2aca87a1bf272010b
+MD5 (flexbackup-1.2.0.tar.gz) = a5e57e7070ad3da1b5a9e0aed2aeda83
diff -bur flexbackup.orig/pkg-descr flexbackup/pkg-descr
--- flexbackup.orig/pkg-descr	Fri Aug 29 12:15:38 2003
+++ flexbackup/pkg-descr	Fri Aug 29 12:20:38 2003
@@ -1,14 +1,14 @@
-Flexible backup script.
+A flexible backup tool
 
 Features:
    o Easy to configure
    o Uses dump, afio, GNU tar, cpio, star, pax, or zip archivers
    o Full and numbered levels of incremental backup (acts like "dump")
-   o Backup, list, compare, extract, extract list of files modes
    o Compression and buffering options for all backup types
-   o Keeps a table of contents so you know archives are on each tape
    o Does remote filesystems (over rsh/ssh; no special service)
-   o Works with tape drives or on-disk files
+   o Can backup only files not owned by rpm, or changed from rpm version
+   o Writes to tapes, on-disk archive files, or on-disk directory trees
+   o Keeps a table of contents so you know archives are on each tape
    o Nice log files
 
 WWW: http://flexbackup.sourceforge.net/
diff -bur flexbackup.orig/pkg-message flexbackup/pkg-message
--- flexbackup.orig/pkg-message	Fri Aug 29 12:15:38 2003
+++ flexbackup/pkg-message	Fri Aug 29 12:27:45 2003
@@ -1,22 +1,9 @@
---------------------- Flexbackup Configuration Information --------------------
-
-Flexbackup needs to have its configuration file placed in /etc. A template
-copy of this configuration file has been installed into
-
-  %%PREFIX%%/share/doc/flexbackup/flexbackup.conf.sample
-
-Please copy this file as 
-
-  /etc/flexbackup.conf
-
-and edit appropriately for your site configuration.
-
- *****************************************************************
- **   Changes have occurred in this file since version 0.9.8!   **
- *****************************************************************
+-------------------------------------------------------------------------------
+Flexbackup supports utilities from the following ports (all optional):
 
-Also see %%PREFIX%%/share/doc/flexbackup/flexbackup.README
-for more information on how to use flexbackup (until the man 
-pages are written :).
+archivers/afio
+archivers/star
+archivers/zip
+misc/buffer
 
 -------------------------------------------------------------------------------
diff -bur flexbackup.orig/pkg-plist flexbackup/pkg-plist
--- flexbackup.orig/pkg-plist	Fri Aug 29 12:15:38 2003
+++ flexbackup/pkg-plist	Fri Aug 29 12:17:33 2003
@@ -1,4 +1,8 @@
 bin/flexbackup
-%%PORTDOCS%%share/doc/flexbackup/flexbackup.conf.sample
-%%PORTDOCS%%share/doc/flexbackup/flexbackup.README
-%%PORTDOCS%%@dirrm share/doc/flexbackup
+%%PORTDOCS%%%%DOCSDIR%%/CHANGES
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/CREDITS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+%%PORTDOCS%%%%DOCSDIR%%/faq.html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list