- Update to 2.3.0

- Add secondary category
- portlint(1)

PR:		96350
Submitted by:	Henrik Brautaset Aronsen <freebsd-ports___henrik.synth.no>
Approved by:	maintainer
This commit is contained in:
Marcus Alves Grando 2006-05-20 17:18:48 +00:00
parent ebb89758b2
commit 6775793bbb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=162889
9 changed files with 198 additions and 86 deletions

View file

@ -1,24 +1,28 @@
# New ports collection makefile for: dar # New ports collection makefile for: dar
# Date created: 3 January 2004 # Date created: 3 January 2004
# Whom: Edson Brandi <ebrandi@fugspbr.org> # Whom: Edson Brandi <ebrandi@fugspbr.org>
# #
# $FreeBSD$ # $FreeBSD$
# #
PORTNAME= dar PORTNAME= dar
PORTVERSION= 2.2.2 PORTVERSION= 2.3.0
PORTREVISION= 1 CATEGORIES= sysutils archivers
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=${PORTNAME} MASTER_SITE_SUBDIR=${PORTNAME}
MAINTAINER= ebrandi@fugspbr.org MAINTAINER= ebrandi@fugspbr.org
COMMENT= A full featured command-line backup tool, aimed for disks COMMENT= A full featured command-line backup tool, aimed for disks
USE_AUTOTOOLS= libtool:15
INSTALLS_SHLIB= yes INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
CONFIGURE_ARGS= --mandir=${MANPREFIX}/man --disable-build-html --datadir=${DATADIR}
CPPFLAGS+= -DHAVE_DECL_GETOPT=0 CPPFLAGS= -DHAVE_DECL_GETOPT=0
MAN1= dar.1 dar_cp.1 dar_manager.1 dar_slave.1 dar_xform.1
.if !defined(WITHOUT_NLS) .if !defined(WITHOUT_NLS)
USE_GETTEXT= yes USE_GETTEXT= yes
@ -33,10 +37,18 @@ CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment " PLIST_SUB+= NLS="@comment "
.endif .endif
MAN1= dar.1 dar_cp.1 dar_manager.1 dar_slave.1 dar_xform.1
post-patch: post-patch:
@${REINPLACE_CMD} -Ee 's,(_nl_expand_alias) \(0\),\1 (),g' \ @${REINPLACE_CMD} -Ee 's,(_nl_expand_alias) \(0\),\1 (),g' \
${WRKSRC}/${CONFIGURE_SCRIPT} ${WRKSRC}/${CONFIGURE_SCRIPT}
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC}/doc && ${INSTALL_DATA} *.html *.dtd *.txt *.jpg [CR]* ${DOCSDIR}
@${MKDIR} ${DOCSDIR}/samples
cd ${WRKSRC}/doc/samples && ${INSTALL_DATA} [JR]* [a-z]* ${DOCSDIR}/samples
@${MKDIR} ${DOCSDIR}/mini-howto
cd ${WRKSRC}/doc/mini-howto && ${INSTALL_DATA} *.html README ${DOCSDIR}/mini-howto
.endif
.include <bsd.port.mk> .include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
MD5 (dar-2.2.2.tar.gz) = c98ef73f0ca8e3f8251c9ab149e28a65 MD5 (dar-2.3.0.tar.gz) = db33f61b31fcdb84d13205a96c3d7771
SHA256 (dar-2.2.2.tar.gz) = 0f5490498447a4144d16822e4a1dc831f869de3a1771f126781aa380c6a03dbc SHA256 (dar-2.3.0.tar.gz) = 71ee99bb52814e75b20b06cd57e39713b67397ac0bc1d63c5e8cf365a7445d90
SIZE (dar-2.2.2.tar.gz) = 1067171 SIZE (dar-2.3.0.tar.gz) = 1142646

View file

@ -0,0 +1,8 @@
--- Makefile.am-orig Fri Apr 21 13:58:39 2006
+++ Makefile.am Fri Apr 21 13:58:48 2006
@@ -1,4 +1,4 @@
-SUBDIRS = m4 man src doc misc po
+SUBDIRS = m4 man src misc
dist_noinst_DATA = INSTALL README THANKS TODO AUTHORS COPYING ChangeLog NEWS ABOUT-NLS
ACLOCAL_AMFLAGS = -I m4

View file

@ -0,0 +1,11 @@
--- Makefile.in-orig Fri Apr 21 13:46:43 2006
+++ Makefile.in Fri Apr 21 13:46:50 2006
@@ -214,7 +214,7 @@
target_alias = @target_alias@
tmp = @tmp@
upx = @upx@
-SUBDIRS = m4 man src doc misc po
+SUBDIRS = m4 man src misc
dist_noinst_DATA = INSTALL README THANKS TODO AUTHORS COPYING ChangeLog NEWS ABOUT-NLS
ACLOCAL_AMFLAGS = -I m4
EXTRA_DIST = config.rpath

View file

@ -1,11 +0,0 @@
--- configure.orig Fri May 20 16:30:13 2005
+++ configure Fri May 20 16:30:37 2005
@@ -33225,7 +33225,7 @@
main ()
{
- z_stream *ptr = NULL;
+ z_stream *ptr = (z_stream *)0;
deflate(ptr, 0);
;

View file

@ -0,0 +1,24 @@
diff -ru doc/man-orig/Makefile.am doc/man/Makefile.am
--- doc/man-orig/Makefile.am Wed Apr 19 15:57:01 2006
+++ doc/man/Makefile.am Wed Apr 19 15:54:23 2006
@@ -2,7 +2,7 @@
if USE_GROFF
-TARGET=dar.html dar_slave.html dar_xform.html dar_manager.html dar_cp.html
+TARGET=#dar.html dar_slave.html dar_xform.html dar_manager.html dar_cp.html
%.1:
cp ../../man/$@ .
diff -ru doc/man-orig/Makefile.in doc/man/Makefile.in
--- doc/man-orig/Makefile.in Wed Apr 19 15:57:01 2006
+++ doc/man/Makefile.in Wed Apr 19 15:54:42 2006
@@ -190,7 +190,7 @@
tmp = @tmp@
upx = @upx@
dist_noinst_DATA = index.html
-@USE_GROFF_TRUE@TARGET = dar.html dar_slave.html dar_xform.html dar_manager.html dar_cp.html
+@USE_GROFF_TRUE@TARGET = #dar.html dar_slave.html dar_xform.html dar_manager.html dar_cp.html
all: all-am
.SUFFIXES:

View file

@ -0,0 +1,35 @@
diff -ur src-orig/libdar/Makefile.am src/libdar/Makefile.am
--- src-orig/libdar/Makefile.am Thu Apr 20 11:41:47 2006
+++ src/libdar/Makefile.am Thu Apr 20 11:42:57 2006
@@ -56,11 +56,11 @@
grep DAR $(DESTDIR)$(pkgincludedir)/config.h | grep -v "#undef" > $(DESTDIR)$(pkgincludedir)/config.h.tmp
mv $(DESTDIR)$(pkgincludedir)/config.h.tmp $(DESTDIR)$(pkgincludedir)/config.h
chmod 0644 $(DESTDIR)$(pkgincludedir)/*
- $(INSTALL) -d $(DESTDIR)$(libdir)/pkgconfig
- $(INSTALL) -m 0644 libdar.pc $(DESTDIR)$(libdir)/pkgconfig/libdar$(LIBDAR_SUFFIX).pc
+ $(INSTALL) -d $(DESTDIR)$(exec_prefix)/libdata/pkgconfig
+ $(INSTALL) -m 0644 libdar.pc $(DESTDIR)$(exec_prefix)/libdata/pkgconfig/libdar$(LIBDAR_SUFFIX).pc
uninstall-local:
- rm -rf $(DESTDIR)$(pkgincludedir) $(DESTDIR)$(libdir)/pkgconfig/libdar$(LIBDAR_SUFFIX).pc
+ rm -rf $(DESTDIR)$(pkgincludedir) $(DESTDIR)$(exec_prefix)/libdata/pkgconfig/libdar$(LIBDAR_SUFFIX).pc
all-local : libdar.pc
diff -ur src-orig/libdar/Makefile.in src/libdar/Makefile.in
--- src-orig/libdar/Makefile.in Thu Apr 20 11:41:47 2006
+++ src/libdar/Makefile.in Thu Apr 20 11:43:34 2006
@@ -642,11 +642,11 @@
grep DAR $(DESTDIR)$(pkgincludedir)/config.h | grep -v "#undef" > $(DESTDIR)$(pkgincludedir)/config.h.tmp
mv $(DESTDIR)$(pkgincludedir)/config.h.tmp $(DESTDIR)$(pkgincludedir)/config.h
chmod 0644 $(DESTDIR)$(pkgincludedir)/*
- $(INSTALL) -d $(DESTDIR)$(libdir)/pkgconfig
- $(INSTALL) -m 0644 libdar.pc $(DESTDIR)$(libdir)/pkgconfig/libdar$(LIBDAR_SUFFIX).pc
+ $(INSTALL) -d $(DESTDIR)$(exec_prefix)/libdata/pkgconfig
+ $(INSTALL) -m 0644 libdar.pc $(DESTDIR)$(exec_prefix)/libdata/pkgconfig/libdar$(LIBDAR_SUFFIX).pc
uninstall-local:
- rm -rf $(DESTDIR)$(pkgincludedir) $(DESTDIR)$(libdir)/pkgconfig/libdar$(LIBDAR_SUFFIX).pc
+ rm -rf $(DESTDIR)$(pkgincludedir) $(DESTDIR)$(exec_prefix)/libdata/pkgconfig/libdar$(LIBDAR_SUFFIX).pc
all-local : libdar.pc

View file

@ -1,9 +1,10 @@
DAR is a command-line backup tool, that uses compression, dar is a shell command that backs up directory trees and files. It has been
makes differential or full backups, which can be split over tested under Linux, Windows, Solaris, FreeBSD, NetBSD, MacOS X and several
several files or disks. Dar saves *all* UNIX inode types, other systems, it is released under the GNU General Public License (GPL).
hard links, as well as Extended Attributes. Since version 2.0.0 an Application Interface (API) is available, opening the
And many other features ... way for external/independent Graphical User Interfaces (GUIs) like kdar.
This API relies on the libdar library, which is the core part of DAR
programs; as such, the API is released under the GPL. Consequently, to use
the API, your program must be released under the GPL as well.
WWW: http://dar.linux.free.fr/ WWW: http://dar.linux.free.fr/
Author: Denis Corbin <edrusb@users.sourceforge.net>

View file

@ -1,58 +1,90 @@
bin/dar lib/libdar.so.4
bin/dar_cp
bin/dar_manager
bin/dar_slave
bin/dar_xform
include/dar/archive.hpp
include/dar/catalogue.hpp
include/dar/compressor.hpp
include/dar/config.h
include/dar/crypto.hpp
include/dar/deci.hpp
include/dar/ea.hpp
include/dar/erreurs.hpp
include/dar/generic_file.hpp
include/dar/gettext.h
include/dar/header_version.hpp
include/dar/infinint.hpp
include/dar/int_tools.hpp
include/dar/integers.hpp
include/dar/libdar.hpp
include/dar/limitint.hpp
include/dar/mask.hpp
include/dar/my_config.h
include/dar/path.hpp
include/dar/real_infinint.hpp
include/dar/scrambler.hpp
include/dar/special_alloc.hpp
include/dar/statistics.hpp
include/dar/storage.hpp
include/dar/thread_cancellation.hpp
include/dar/tools.hpp
include/dar/tronconneuse.hpp
include/dar/tuyau.hpp
include/dar/user_interaction.hpp
include/dar/wrapperlib.hpp
lib/libdar.a
lib/libdar.la
lib/libdar.so lib/libdar.so
lib/libdar.so.3 lib/libdar.la
%%DATADIR%%/FAQ lib/libdar.a
%%DATADIR%%/FEATURES libdata/pkgconfig/libdar.pc
%%DATADIR%%/GOOD_BACKUP_PRACTICE include/dar/config.h
%%DATADIR%%/LIMITATIONS include/dar/libdar.hpp
%%DATADIR%%/LINKS include/dar/path.hpp
%%DATADIR%%/NOTES include/dar/mask.hpp
%%DATADIR%%/README include/dar/integers.hpp
%%DATADIR%%/TUTORIAL include/dar/real_infinint.hpp
%%DATADIR%%/api_tutorial.html include/dar/statistics.hpp
%%DATADIR%%/dar-differential-backup-mini-howto.en.html include/dar/user_interaction.hpp
%%DATADIR%%/dar-differential-backup-mini-howto.es.html include/dar/erreurs.hpp
%%DATADIR%%/dar-differential-backup-mini-howto.it.html include/dar/deci.hpp
%%DATADIR%%/dar_par.dcf include/dar/limitint.hpp
%%DATADIR%%/dar_par_create.duc include/dar/infinint.hpp
%%DATADIR%%/dar_par_test.duc include/dar/compressor.hpp
%%NLS%%share/locale/fr/LC_MESSAGES/dar.mo include/dar/special_alloc.hpp
%%NLS%%share/locale/sv/LC_MESSAGES/dar.mo include/dar/generic_file.hpp
@dirrm %%DATADIR%% include/dar/wrapperlib.hpp
include/dar/storage.hpp
include/dar/tuyau.hpp
include/dar/tools.hpp
include/dar/catalogue.hpp
include/dar/scrambler.hpp
include/dar/archive.hpp
include/dar/header_version.hpp
include/dar/ea.hpp
include/dar/crypto.hpp
include/dar/int_tools.hpp
include/dar/thread_cancellation.hpp
include/dar/tronconneuse.hpp
include/dar/mask_list.hpp
include/dar/database.hpp
include/dar/data_tree.hpp
include/dar/string_file.hpp
include/dar/gettext.h
include/dar/my_config.h
bin/dar
bin/dar_xform
bin/dar_slave
bin/dar_manager
bin/dar_cp
%%DOCSDIR%%/samples/dar_par.dcf
%%DOCSDIR%%/samples/cdbackup.sh
%%DOCSDIR%%/samples/darrc_sample
%%DOCSDIR%%/samples/sample1.txt
%%DOCSDIR%%/samples/README
%%DOCSDIR%%/samples/pause_every_n_slice.duc
%%DOCSDIR%%/samples/automatic_backup
%%DOCSDIR%%/samples/automatic_backup.txt
%%DOCSDIR%%/samples/dar_backup
%%DOCSDIR%%/samples/dar_rqck.bash
%%DOCSDIR%%/samples/JH-dar-make_user_backup.sh
%%DOCSDIR%%/samples/JH-readme.txt
%%DOCSDIR%%/samples/JH_dar_archiver.options
%%DOCSDIR%%/samples/JH_darrc
%%DOCSDIR%%/samples/cluster_digital_backups.sh
%%DOCSDIR%%/samples/cluster_digital_readme.txt
%%DOCSDIR%%/samples/index.html
%%DOCSDIR%%/samples/dar_par_create.duc
%%DOCSDIR%%/samples/dar_par_test.duc
%%DOCSDIR%%/index.html
%%DOCSDIR%%/mini-howto/dar-differential-backup-mini-howto.en.html
%%DOCSDIR%%/mini-howto/dar-differential-backup-mini-howto.it.html
%%DOCSDIR%%/mini-howto/dar-differential-backup-mini-howto.es.html
%%DOCSDIR%%/mini-howto/index.html
%%DOCSDIR%%/mini-howto/README
%%DOCSDIR%%/COMMAND_LINE
%%DOCSDIR%%/README
%%DOCSDIR%%/Features.html
%%DOCSDIR%%/Limitations.html
%%DOCSDIR%%/Notes.html
%%DOCSDIR%%/Tutorial.html
%%DOCSDIR%%/Good_Backup_Practice.html
%%DOCSDIR%%/FAQ.html
%%DOCSDIR%%/api_tutorial.html
%%DOCSDIR%%/dar_doc.jpg
%%DOCSDIR%%/dar_s_doc.jpg
%%DOCSDIR%%/dar-catalog-1.0.dtd
%%DOCSDIR%%/Known_Bugs.html
%%DOCSDIR%%/authentification.html
%%DOCSDIR%%/dar_key.txt
@dirrm include/dar @dirrm include/dar
@dirrm %%DOCSDIR%%/samples
@dirrm %%DOCSDIR%%/mini-howto
@dirrm %%DOCSDIR%%