Bug 186742 - sysutils/dar: Update to version 2.4.12
Summary: sysutils/dar: Update to version 2.4.12
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Philippe Audeoud
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-13 18:40 UTC by tkato432
Modified: 2014-02-27 16:10 UTC (History)
0 users

See Also:


Attachments
file.diff (15.02 KB, patch)
2014-02-13 18:40 UTC, tkato432
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tkato432 2014-02-13 18:40:03 UTC
- Update to version 2.4.12
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-02-13 18:40:22 UTC
Responsible Changed
From-To: freebsd-ports-bugs->jadawin

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-02-27 16:07:01 UTC
Author: jadawin
Date: Thu Feb 27 16:06:53 2014
New Revision: 346377
URL: http://svnweb.freebsd.org/changeset/ports/346377
QAT: https://qat.redports.org/buildarchive/r346377/

Log:
  - Update to 2.4.12
  
  PR:		ports/186742
  Submitted by:	KATO Tsuguru <tkato432@yahoo.com>

Deleted:
  head/sysutils/dar/files/patch-Makefile-in
  head/sysutils/dar/files/patch-doc-man
  head/sysutils/dar/files/patch-src-dar-Makefile.am
  head/sysutils/dar/files/patch-src-libdar
Modified:
  head/sysutils/dar/Makefile
  head/sysutils/dar/distinfo
  head/sysutils/dar/pkg-plist

Modified: head/sysutils/dar/Makefile
==============================================================================
--- head/sysutils/dar/Makefile	Thu Feb 27 15:48:02 2014	(r346376)
+++ head/sysutils/dar/Makefile	Thu Feb 27 16:06:53 2014	(r346377)
@@ -2,48 +2,49 @@
 # $FreeBSD$
 
 PORTNAME=	dar
-PORTVERSION=	2.3.11
+PORTVERSION=	2.4.12
 CATEGORIES=	sysutils archivers
 MASTER_SITES=	SF
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A full featured command-line backup tool, aimed for disks
+COMMENT=	Command-line backup tool, aimed for disks
 
-USE_AUTOTOOLS=	libtool
+LICENSE=	GPLv2 # (or later)
 
-USE_GCC=	yes
+USES=		pathfix shebangfix
+SHEBANG_FILES=	doc/samples/dar_backup doc/samples/*.bash doc/samples/*.sh
+USE_GCC=	any
+USE_AUTOTOOLS=	libtool
+CONFIGURE_ENV=	LIBS="-lelf"
+CONFIGURE_ARGS=	--datadir=${DATADIR} --disable-build-html \
+		--disable-upx --disable-libgcrypt-linking \
+		--disable-ea-support --disable-nodump-flag \
+		--disable-gnugetopt
 USE_LDCONFIG=	yes
-GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--disable-build-html --datadir=${DATADIR} --disable-upx
 
-CPPFLAGS+=	-DHAVE_DECL_GETOPT=0
+CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib
+
+OPTIONS_DEFINE=		DOCS LZO NLS
+OPTIONS_SUB=		yes
 
-OPTIONS_DEFINE=	DOCS
+LZO_DESC=		Support lzo compression via liblzo2
+LZO_LIB_DEPENDS=	liblzo2.so:${PORTSDIR}/archivers/lzo2
+LZO_CONFIGURE_ENABLE=	liblzo2-linking
+NLS_USES=		gettext
+NLS_CONFIGURE_ENABLE=	nls
 
 .include <bsd.port.options.mk>
 
-.if ${PORT_OPTIONS:MNLS}
-USES+=		gettext
-PLIST_SUB+=	NLS=""
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
-CONFIGURE_ARGS+=--with-libintl-prefix=${STAGEDIR}${PREFIX}
-.else
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+=	NLS="@comment "
+.if ${OSVERSION} < 1000052
+LIB_DEPENDS+=	libexecinfo.so:${PORTSDIR}/devel/libexecinfo
 .endif
 
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	cd ${WRKSRC}/doc && ${INSTALL_DATA} *.html *.dtd *.txt *.jpg [CR]* \
-	${STAGEDIR}${DOCSDIR}
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}/samples
-	cd ${WRKSRC}/doc/samples && ${INSTALL_DATA} [JR]* [a-z]* \
-	${STAGEDIR}${DOCSDIR}/samples
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}/mini-howto
-	cd ${WRKSRC}/doc/mini-howto && ${INSTALL_DATA} \
-	*.html README ${STAGEDIR}${DOCSDIR}/mini-howto
-.endif
+post-patch:
+	@${REINPLACE_CMD} -e \
+		'/LIBS/s|-lpthread|-pthread|' ${WRKSRC}/configure
+	@${FIND} ${WRKSRC}/doc -name "Makefile.in" | ${XARGS} \
+		${REINPLACE_CMD} -e \
+		's|$$(pkgdatadir)|$$(docdir)|g'
 
 .include <bsd.port.mk>

Modified: head/sysutils/dar/distinfo
==============================================================================
--- head/sysutils/dar/distinfo	Thu Feb 27 15:48:02 2014	(r346376)
+++ head/sysutils/dar/distinfo	Thu Feb 27 16:06:53 2014	(r346377)
@@ -1,2 +1,2 @@
-SHA256 (dar-2.3.11.tar.gz) = 2df261d9ba49be5df1a6c1718ca940972c52ae94ef2f517de764a26fdc21c104
-SIZE (dar-2.3.11.tar.gz) = 1402923
+SHA256 (dar-2.4.12.tar.gz) = 6bc4bec5692f970d58a649905afeabc0b4a8e10c9604cd6d16e7205ef343cf55
+SIZE (dar-2.4.12.tar.gz) = 1799320

Modified: head/sysutils/dar/pkg-plist
==============================================================================
--- head/sysutils/dar/pkg-plist	Thu Feb 27 15:48:02 2014	(r346376)
+++ head/sysutils/dar/pkg-plist	Thu Feb 27 16:06:53 2014	(r346377)
@@ -1,95 +1,138 @@
-lib/libdar.so.4
-lib/libdar.so
-lib/libdar.la
-lib/libdar.a
-libdata/pkgconfig/libdar.pc
-include/dar/config.h
+bin/dar
+bin/dar_cp
+bin/dar_manager
+bin/dar_slave
+bin/dar_xform
+etc/darrc
+include/dar/archive.hpp
+include/dar/archive_options.hpp
+include/dar/archive_version.hpp
+include/dar/catalogue.hpp
+include/dar/compile_time_features.hpp
+include/dar/compressor.hpp
+include/dar/crc.hpp
+include/dar/criterium.hpp
+include/dar/crypto.hpp
+include/dar/data_tree.hpp
+include/dar/database.hpp
+include/dar/database_options.hpp
+include/dar/deci.hpp
+include/dar/ea.hpp
+include/dar/erreurs.hpp
+include/dar/erreurs_ext.hpp
+include/dar/escape.hpp
+include/dar/escape_catalogue.hpp
+include/dar/fichier.hpp
+include/dar/generic_file.hpp
+include/dar/gettext.h
+include/dar/hash_fichier.hpp
+include/dar/header_version.hpp
+include/dar/infinint.hpp
+include/dar/int_tools.hpp
+include/dar/integers.hpp
+include/dar/label.hpp
 include/dar/libdar.hpp
-include/dar/path.hpp
+include/dar/libdar_4_4.hpp
+include/dar/libdar_config.h
+include/dar/libdar_my_config.h
+include/dar/limitint.hpp
+include/dar/list_entry.hpp
 include/dar/mask.hpp
-include/dar/integers.hpp
+include/dar/mask_list.hpp
+include/dar/mem_ui.hpp
+include/dar/memory_file.hpp
+include/dar/nls_swap.hpp
+include/dar/path.hpp
+include/dar/pile.hpp
 include/dar/real_infinint.hpp
-include/dar/statistics.hpp
-include/dar/user_interaction.hpp
-include/dar/erreurs.hpp
-include/dar/deci.hpp
-include/dar/limitint.hpp
-include/dar/infinint.hpp
-include/dar/compressor.hpp
+include/dar/scrambler.hpp
+include/dar/secu_string.hpp
 include/dar/special_alloc.hpp
-include/dar/generic_file.hpp
-include/dar/wrapperlib.hpp
+include/dar/statistics.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/string_file.hpp
 include/dar/thread_cancellation.hpp
+include/dar/tlv.hpp
+include/dar/tlv_list.hpp
+include/dar/tools.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
+include/dar/trontextual.hpp
+include/dar/tuyau.hpp
 include/dar/user_group_bases.hpp
-bin/dar
-bin/dar_xform
-bin/dar_slave
-bin/dar_manager
-bin/dar_cp
-bin/dar_static
+include/dar/user_interaction.hpp
+include/dar/wrapperlib.hpp
+lib/libdar.a
+lib/libdar.la
+lib/libdar.so
+lib/libdar.so.5005
+libdata/pkgconfig/libdar.pc
 man/man1/dar.1.gz
 man/man1/dar_cp.1.gz
 man/man1/dar_manager.1.gz
 man/man1/dar_slave.1.gz
 man/man1/dar_xform.1.gz
-%%PORTDOCS%%%%DOCSDIR%%/samples/dar_par.dcf
-%%PORTDOCS%%%%DOCSDIR%%/samples/cdbackup.sh
-%%PORTDOCS%%%%DOCSDIR%%/samples/darrc_sample
-%%PORTDOCS%%%%DOCSDIR%%/samples/sample1.txt
-%%PORTDOCS%%%%DOCSDIR%%/samples/README
-%%PORTDOCS%%%%DOCSDIR%%/samples/pause_every_n_slice.duc
-%%PORTDOCS%%%%DOCSDIR%%/samples/automatic_backup
-%%PORTDOCS%%%%DOCSDIR%%/samples/automatic_backup.txt
-%%PORTDOCS%%%%DOCSDIR%%/samples/dar_backup
-%%PORTDOCS%%%%DOCSDIR%%/samples/dar_rqck.bash
+%%PORTDOCS%%%%DOCSDIR%%/FAQ.html
+%%PORTDOCS%%%%DOCSDIR%%/Features.html
+%%PORTDOCS%%%%DOCSDIR%%/Good_Backup_Practice.html
+%%PORTDOCS%%%%DOCSDIR%%/Known_Bugs.html
+%%PORTDOCS%%%%DOCSDIR%%/Limitations.html
+%%PORTDOCS%%%%DOCSDIR%%/Notes.html
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/Tutorial.html
+%%PORTDOCS%%%%DOCSDIR%%/api_4_4.html
+%%PORTDOCS%%%%DOCSDIR%%/api_tutorial.html
+%%PORTDOCS%%%%DOCSDIR%%/authentification.html
+%%PORTDOCS%%%%DOCSDIR%%/dar-catalog.dtd
+%%PORTDOCS%%%%DOCSDIR%%/dar-differential-backup-mini-howto.en.html
+%%PORTDOCS%%%%DOCSDIR%%/dar-differential-backup-mini-howto.es.html
+%%PORTDOCS%%%%DOCSDIR%%/dar-differential-backup-mini-howto.it.html
+%%PORTDOCS%%%%DOCSDIR%%/dar_doc.jpg
+%%PORTDOCS%%%%DOCSDIR%%/dar_key.txt
+%%PORTDOCS%%%%DOCSDIR%%/dar_s_doc.jpg
+%%PORTDOCS%%%%DOCSDIR%%/downloading.html
+%%PORTDOCS%%%%DOCSDIR%%/from_sources.html
+%%PORTDOCS%%%%DOCSDIR%%/index.html
+%%PORTDOCS%%%%DOCSDIR%%/man/index.html
+%%PORTDOCS%%%%DOCSDIR%%/mini-howto/dar-differential-backup-mini-howto.en.html
+%%PORTDOCS%%%%DOCSDIR%%/mini-howto/dar-differential-backup-mini-howto.es.html
+%%PORTDOCS%%%%DOCSDIR%%/mini-howto/dar-differential-backup-mini-howto.it.html
+%%PORTDOCS%%%%DOCSDIR%%/mini-howto/index.html
+%%PORTDOCS%%%%DOCSDIR%%/old_dar_key.txt
+%%PORTDOCS%%%%DOCSDIR%%/presentation.html
 %%PORTDOCS%%%%DOCSDIR%%/samples/JH-dar-make_user_backup.sh
 %%PORTDOCS%%%%DOCSDIR%%/samples/JH-readme.txt
 %%PORTDOCS%%%%DOCSDIR%%/samples/JH_dar_archiver.options
 %%PORTDOCS%%%%DOCSDIR%%/samples/JH_darrc
+%%PORTDOCS%%%%DOCSDIR%%/samples/MyBackup.sh.tar.gz
+%%PORTDOCS%%%%DOCSDIR%%/samples/PN_backup-root.options
+%%PORTDOCS%%%%DOCSDIR%%/samples/PN_backup-root.sh
+%%PORTDOCS%%%%DOCSDIR%%/samples/PN_backup-storage.options
+%%PORTDOCS%%%%DOCSDIR%%/samples/PN_backup-storage.sh
+%%PORTDOCS%%%%DOCSDIR%%/samples/PN_ftpbackup.sh
+%%PORTDOCS%%%%DOCSDIR%%/samples/Patrick_Nagel_Note.txt
+%%PORTDOCS%%%%DOCSDIR%%/samples/README
+%%PORTDOCS%%%%DOCSDIR%%/samples/automatic_backup
+%%PORTDOCS%%%%DOCSDIR%%/samples/automatic_backup.txt
+%%PORTDOCS%%%%DOCSDIR%%/samples/available_space.duc
+%%PORTDOCS%%%%DOCSDIR%%/samples/cdbackup.sh
 %%PORTDOCS%%%%DOCSDIR%%/samples/cluster_digital_backups.sh
 %%PORTDOCS%%%%DOCSDIR%%/samples/cluster_digital_readme.txt
-%%PORTDOCS%%%%DOCSDIR%%/samples/index.html
+%%PORTDOCS%%%%DOCSDIR%%/samples/dar_backup
+%%PORTDOCS%%%%DOCSDIR%%/samples/dar_backups.sh
+%%PORTDOCS%%%%DOCSDIR%%/samples/dar_par.dcf
 %%PORTDOCS%%%%DOCSDIR%%/samples/dar_par_create.duc
 %%PORTDOCS%%%%DOCSDIR%%/samples/dar_par_test.duc
-%%PORTDOCS%%%%DOCSDIR%%/index.html
-%%PORTDOCS%%%%DOCSDIR%%/mini-howto/dar-differential-backup-mini-howto.en.html
-%%PORTDOCS%%%%DOCSDIR%%/mini-howto/dar-differential-backup-mini-howto.it.html
-%%PORTDOCS%%%%DOCSDIR%%/mini-howto/dar-differential-backup-mini-howto.es.html
-%%PORTDOCS%%%%DOCSDIR%%/mini-howto/index.html
-%%PORTDOCS%%%%DOCSDIR%%/mini-howto/README
-%%PORTDOCS%%%%DOCSDIR%%/COMMAND_LINE
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/Features.html
-%%PORTDOCS%%%%DOCSDIR%%/Limitations.html
-%%PORTDOCS%%%%DOCSDIR%%/Notes.html
-%%PORTDOCS%%%%DOCSDIR%%/Tutorial.html
-%%PORTDOCS%%%%DOCSDIR%%/Good_Backup_Practice.html
-%%PORTDOCS%%%%DOCSDIR%%/FAQ.html
-%%PORTDOCS%%%%DOCSDIR%%/api_tutorial.html
-%%PORTDOCS%%%%DOCSDIR%%/dar_doc.jpg
-%%PORTDOCS%%%%DOCSDIR%%/dar_s_doc.jpg
-%%PORTDOCS%%%%DOCSDIR%%/dar-catalog-1.0.dtd
-%%PORTDOCS%%%%DOCSDIR%%/Known_Bugs.html
-%%PORTDOCS%%%%DOCSDIR%%/authentification.html
-%%PORTDOCS%%%%DOCSDIR%%/dar_key.txt
-@dirrmtry %%DOCSDIR%%/samples
-@dirrmtry %%DOCSDIR%%/mini-howto
-@dirrm %%DOCSDIR%%
+%%PORTDOCS%%%%DOCSDIR%%/samples/dar_rqck.bash
+%%PORTDOCS%%%%DOCSDIR%%/samples/darrc_sample
+%%PORTDOCS%%%%DOCSDIR%%/samples/index.html
+%%PORTDOCS%%%%DOCSDIR%%/samples/pause_every_n_slice.duc
+%%PORTDOCS%%%%DOCSDIR%%/samples/sample1.txt
+%%PORTDOCS%%%%DOCSDIR%%/usage_notes.html
+%%NLS%%share/locale/de/LC_MESSAGES/dar.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/dar.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/dar.mo
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/samples
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/mini-howto
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/man
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
 @dirrm include/dar
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Philippe Audeoud freebsd_committer freebsd_triage 2014-02-27 16:07:34 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!