diff options
author | Sergey A. Osokin <osa@FreeBSD.org> | 2003-08-29 13:02:37 +0000 |
---|---|---|
committer | Sergey A. Osokin <osa@FreeBSD.org> | 2003-08-29 13:02:37 +0000 |
commit | da4d7c528d608bd083373278a09a07ef329c9acd (patch) | |
tree | d7e0eeb9719b961cb82df6239636cc942abff30a /sysutils/flexbackup | |
parent | Update to 0.17 (diff) |
Update to 1.2.0:
- 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 pkg-descr and pkg-message
Submitted by: Martin Matuska <martin@tradex.sk> (maintainer)
PR: 56127
Notes
Notes:
svn path=/head/; revision=87977
Diffstat (limited to 'sysutils/flexbackup')
-rw-r--r-- | sysutils/flexbackup/Makefile | 40 | ||||
-rw-r--r-- | sysutils/flexbackup/distinfo | 2 | ||||
-rw-r--r-- | sysutils/flexbackup/pkg-descr | 8 | ||||
-rw-r--r-- | sysutils/flexbackup/pkg-message | 25 | ||||
-rw-r--r-- | sysutils/flexbackup/pkg-plist | 10 |
5 files changed, 30 insertions, 55 deletions
diff --git a/sysutils/flexbackup/Makefile b/sysutils/flexbackup/Makefile index c82a4199133e..7a6b2133a03d 100644 --- a/sysutils/flexbackup/Makefile +++ b/sysutils/flexbackup/Makefile @@ -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@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 --git a/sysutils/flexbackup/distinfo b/sysutils/flexbackup/distinfo index d8adccab3710..75085bbd0105 100644 --- a/sysutils/flexbackup/distinfo +++ b/sysutils/flexbackup/distinfo @@ -1 +1 @@ -MD5 (flexbackup-1.0.3.tar.gz) = 974bb2b7bde791c2aca87a1bf272010b +MD5 (flexbackup-1.2.0.tar.gz) = a5e57e7070ad3da1b5a9e0aed2aeda83 diff --git a/sysutils/flexbackup/pkg-descr b/sysutils/flexbackup/pkg-descr index a3b4157289a6..c2040c918568 100644 --- a/sysutils/flexbackup/pkg-descr +++ b/sysutils/flexbackup/pkg-descr @@ -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 --git a/sysutils/flexbackup/pkg-message b/sysutils/flexbackup/pkg-message index f43339489fa5..080890fd58df 100644 --- a/sysutils/flexbackup/pkg-message +++ b/sysutils/flexbackup/pkg-message @@ -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 --git a/sysutils/flexbackup/pkg-plist b/sysutils/flexbackup/pkg-plist index 04dca1f00377..fd0d8f04fc98 100644 --- a/sysutils/flexbackup/pkg-plist +++ b/sysutils/flexbackup/pkg-plist @@ -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%% |