1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

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
This commit is contained in:
Sergey A. Osokin 2003-08-29 13:02:37 +00:00
parent 805e2e0dac
commit da4d7c528d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=87977
5 changed files with 31 additions and 56 deletions

View File

@ -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
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/flexbackup.conf.sample ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/flexbackup.README ${DOCSDIR}
.endif
${INSTALL_SCRIPT} ${WRKSRC}/fb.install ${LOCALBASE}/bin/flexbackup
${INSTALL_DATA} ${WRKSRC}/flexbackup.conf ${LOCALBASE}/etc/flexbackup.conf.sample
post-install:
@${CAT} ${PKGMESSAGE} | ${SED} -e 's:%%PREFIX%%:${PREFIX}:g'
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for docfile in CHANGES COPYING CREDITS README TODO faq.html
${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
.endfor
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>

View File

@ -1 +1 @@
MD5 (flexbackup-1.0.3.tar.gz) = 974bb2b7bde791c2aca87a1bf272010b
MD5 (flexbackup-1.2.0.tar.gz) = a5e57e7070ad3da1b5a9e0aed2aeda83

View File

@ -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/

View File

@ -1,22 +1,9 @@
--------------------- Flexbackup Configuration Information --------------------
-------------------------------------------------------------------------------
Flexbackup supports utilities from the following ports (all optional):
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! **
*****************************************************************
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
-------------------------------------------------------------------------------

View File

@ -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%%