Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Aug 2012 17:02:42 +0000 (UTC)
From:      Alex Kozlov <ak@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r302765 - head/net/istgt
Message-ID:  <201208191702.q7JH2gmW010828@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ak
Date: Sun Aug 19 17:02:42 2012
New Revision: 302765
URL: http://svn.freebsd.org/changeset/ports/302765

Log:
  - Update to 20120811
  - Add optional support for symlink for device and VBOX VirtualDisk
  - Convert to new options framework
  
  PR:	ports/170540
  Submitted by:	Daisuke Aoyama <aoyama@peach.ne.jp> (maintainer)

Modified:
  head/net/istgt/Makefile
  head/net/istgt/distinfo

Modified: head/net/istgt/Makefile
==============================================================================
--- head/net/istgt/Makefile	Sun Aug 19 16:35:34 2012	(r302764)
+++ head/net/istgt/Makefile	Sun Aug 19 17:02:42 2012	(r302765)
@@ -6,12 +6,12 @@
 #
 
 PORTNAME=	istgt
-PORTVERSION=	20120807
+PORTVERSION=	20120811
 CATEGORIES=	net
 MASTER_SITES=	http://www.peach.ne.jp/archives/istgt/
 
 MAINTAINER=	aoyama@peach.ne.jp
-COMMENT=	An iSCSI target for FreeBSD
+COMMENT=	An iSCSI target for Debian/NetBSD/FreeBSD
 
 SUB_FILES=	pkg-message
 PKGMESSAGE=	${WRKDIR}/pkg-message
@@ -33,11 +33,28 @@ PORTDOCS=	${DOCS:T}
 
 DOCS=		ChangeLog.jp README doc/QUICKSTART doc/QUICKSTART.jp
 
+OPTIONS_DEFINE=	SYMLNKDEV VBOXVD
+OPTIONS_DEFAULT=
+SYMLNKDEV_DESC=	Allow symbolic link for device file
+VBOXVD_DESC=	Build with VBox VirtualDisk support
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MSYMLNKDEV}
+CONFIGURE_ARGS+=	--enable-symlink-device
+.endif
+
+.if ${PORT_OPTIONS:MVBOXVD}
+RUN_DEPENDS+=	${LOCALBASE}/lib/virtualbox/VBoxRT.so:${PORTSDIR}/emulators/virtualbox-ose
+BUILD_DEPENDS+=	${NONEXISTENT}:${PORTSDIR}/emulators/virtualbox-ose:patch
+CONFIGURE_ARGS+=	--with-vbox
+.endif
+
 post-extract:
 	@${REINPLACE_CMD} -e '/\/doc\/istgt/d' ${WRKSRC}/doc/Makefile.in
 
 post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}
 	cd ${WRKSRC} && ${INSTALL_MAN} ${DOCS} ${DOCSDIR}
 .endif

Modified: head/net/istgt/distinfo
==============================================================================
--- head/net/istgt/distinfo	Sun Aug 19 16:35:34 2012	(r302764)
+++ head/net/istgt/distinfo	Sun Aug 19 17:02:42 2012	(r302765)
@@ -1,2 +1,2 @@
-SHA256 (istgt-20120807.tar.gz) = 1f41159382407071336c0b97879bd53a1b2ae449b886a3eb4c5b639d55ef82e4
-SIZE (istgt-20120807.tar.gz) = 268127
+SHA256 (istgt-20120811.tar.gz) = 0c4413a07687e5746939be4d3ead9f11a5b4c91ff6732996d198ff15f78941a4
+SIZE (istgt-20120811.tar.gz) = 269880



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208191702.q7JH2gmW010828>