Bug 176208

Summary: update port: net/opennx
Product: Ports & Packages Reporter: Timothy Beyer <beyert>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me CC: beyert
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
opennx.diff none

Description Timothy Beyer 2013-02-17 10:50:01 UTC
- Update to version 0.16.0.725

Fix: The included patch
How-To-Repeat: 
    Apply patch and build port
Comment 1 dfilter service freebsd_committer 2013-02-17 21:46:35 UTC
Author: pawel
Date: Sun Feb 17 21:46:22 2013
New Revision: 312452
URL: http://svnweb.freebsd.org/changeset/ports/312452

Log:
  - Update to version 0.16.0.725 [1]
  - Add dependency on ftp/curl, package links to it when available
  - Convert to OptionsNG
  - Remove wrong hardcoded paths in dektop entry files
  - Don't harcode path to ssh-keygen
  
  PR:		ports/176208 [1]
  Submitted by:	Timothy Beyer <beyert@cs.ucr.edu> [1]

Modified:
  head/net/opennx/Makefile
  head/net/opennx/distinfo
  head/net/opennx/pkg-plist

Modified: head/net/opennx/Makefile
==============================================================================
--- head/net/opennx/Makefile	Sun Feb 17 21:27:02 2013	(r312451)
+++ head/net/opennx/Makefile	Sun Feb 17 21:46:22 2013	(r312452)
@@ -1,13 +1,8 @@
-# New ports collection makefile for:    opennx
-# Date created:                         Fri 29 Jul 2011
-# Whom:                                 Timothy Beyer <beyert@cs.ucr.edu>
-#
+# Created by: Timothy Beyer <beyert@cs.ucr.edu>
 # $FreeBSD$
-#
 
 PORTNAME=	opennx
-PORTVERSION=	0.16.0.709
-PORTREVISION=	1
+PORTVERSION=	0.16.0.725
 CATEGORIES=	net
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/CI-source
 
@@ -18,7 +13,8 @@ LICENSE=	LGPL21
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 BUILD_DEPENDS=	${LOCALBASE}/bin/zip:${PORTSDIR}/archivers/zip
-LIB_DEPENDS=	smbclient:${PORTSDIR}/net/samba-libsmbclient \
+LIB_DEPENDS=	curl:${PORTSDIR}/ftp/curl \
+		smbclient:${PORTSDIR}/net/samba-libsmbclient \
 		cups:${PORTSDIR}/print/cups-base
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-0.16
@@ -38,9 +34,11 @@ INSTALLS_ICONS=	yes
 
 NO_PACKAGE=	must generate a fresh private key at install time
 
-SSH_KEYGEN?=	/usr/bin/ssh-keygen
+SSH_KEYGEN?=	ssh-keygen
 
-.if defined(WITHOUT_NLS)
+.include <bsd.port.options.mk>
+
+.if !${PORT_OPTIONS:MNLS}
 CONFIGURE_ARGS+=--disable-nls --localedir=/dev/null
 PLIST_SUB+=	NLS="@comment "
 .else
@@ -52,6 +50,11 @@ PLIST_SUB+=	NLS=""
 post-patch:
 	@${RM} ${WRKSRC}/share/keys/server.id_dsa.key
 	@${SSH_KEYGEN} -N '' -b 2048 -q -f ${WRKSRC}/share/keys/server.id_dsa.key
+	@${REINPLACE_CMD} 's|/usr/NX/bin/||' \
+		${WRKSRC}/extres/xdg/innovidata-opennx.desktop \
+		${WRKSRC}/extres/xdg/innovidata-opennx-admin.desktop \
+		${WRKSRC}/extres/xdg/innovidata-opennx-wizard.desktop
+	@${RM} ${WRKSRC}/extres/xdg/*.bak
 
 post-install:
 	@${CHMOD} 440 ${PREFIX}/share/keys/server.id_dsa.key

Modified: head/net/opennx/distinfo
==============================================================================
--- head/net/opennx/distinfo	Sun Feb 17 21:27:02 2013	(r312451)
+++ head/net/opennx/distinfo	Sun Feb 17 21:46:22 2013	(r312452)
@@ -1,2 +1,2 @@
-SHA256 (opennx-0.16.0.709.tar.gz) = fbc5602b1ef873390c3155f066285425143c8122585363fa1ad6fc36b9969a69
-SIZE (opennx-0.16.0.709.tar.gz) = 5306946
+SHA256 (opennx-0.16.0.725.tar.gz) = 05016e48d36b41cad5559d0c200808e97e720346a5aa6bb5615b0ad4369eccfb
+SIZE (opennx-0.16.0.725.tar.gz) = 5342831

Modified: head/net/opennx/pkg-plist
==============================================================================
--- head/net/opennx/pkg-plist	Sun Feb 17 21:27:02 2013	(r312451)
+++ head/net/opennx/pkg-plist	Sun Feb 17 21:46:22 2013	(r312452)
@@ -39,6 +39,7 @@ share/keyboards
 share/keys/server.id_dsa.key
 share/keys/server.id_dsa.key.pub
 %%NLS%%share/locale/de/LC_MESSAGES/opennx.mo
+%%NLS%%share/locale/ja/LC_MESSAGES/opennx.mo
 %%NLS%%share/locale/ru/LC_MESSAGES/opennx.mo
 share/pconnect.html
 @dirrmtry share/keys
_______________________________________________
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 2 Pawel Pekala freebsd_committer 2013-02-17 21:47:49 UTC
State Changed
From-To: open->closed

Committed. Thanks!