svn commit: r302765 - head/net/istgt

Alex Kozlov ak at FreeBSD.org
Sun Aug 19 17:02:43 UTC 2012


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 at 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 at 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



More information about the svn-ports-all mailing list