ports/168182: update port: net/opennx
Timothy Beyer
beyert at cs.ucr.edu
Mon May 21 01:20:13 UTC 2012
>Number: 168182
>Category: ports
>Synopsis: update port: net/opennx
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Mon May 21 01:20:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Timothy Beyer
>Release: FreeBSD 9.0-RELEASE i386
>Organization:
no organization
>Environment:
System: FreeBSD aeonserv.aeonnet 9.0-RELEASE-p1 FreeBSD 9.0-RELEASE-p1 #11: Fri May 11 22:49:12 PDT 2012 root at aeonserv.aeonnet:/usr/obj/usr/src/sys/CUSTOM i386
>Description:
- Update to version 0.16.0.709.
- Do not use hardcoded path for ssh-keygen executable.
- Make private key install with secure permissions.
- Slightly adjust pkg-split to use dirrmtry instead of dirrm for share/keys directory.
>How-To-Repeat:
apply the patch and build
>Fix:
Apply the patch and build
--- opennx.diff begins here ---
Index: Makefile
==================================================================
--- Makefile
+++ Makefile
@@ -4,12 +4,11 @@
#
# $FreeBSD: ports/net/opennx/Makefile,v 1.2 2012/04/23 23:09:29 ak Exp $
#
PORTNAME= opennx
-PORTVERSION= 0.16.0.648
-PORTREVISION= 1
+PORTVERSION= 0.16.0.709
CATEGORIES= net
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/CI-source
MAINTAINER= beyert at cs.ucr.edu
COMMENT= Open source drop in replacement for NoMachine\'s NX client
@@ -36,11 +35,11 @@
MAKE_JOBS_SAFE= yes
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)
CONFIGURE_ARGS+=--disable-nls --localedir=/dev/null
PLIST_SUB+= NLS="@comment "
.else
@@ -51,6 +50,9 @@
# do not use default private key included with tarball
post-patch:
@${RM} ${WRKSRC}/share/keys/server.id_dsa.key
@${SSH_KEYGEN} -N '' -b 2048 -q -f ${WRKSRC}/share/keys/server.id_dsa.key
+post-install:
+ @${CHMOD} 440 ${PREFIX}/share/keys/server.id_dsa.key
+
.include <bsd.port.mk>
Index: distinfo
==================================================================
--- distinfo
+++ distinfo
@@ -1,2 +1,2 @@
-SHA256 (opennx-0.16.0.648.tar.gz) = b8846081e9e8b7fcf936a90df847b348764960e3ee8c1fd06acefae886a13e2b
-SIZE (opennx-0.16.0.648.tar.gz) = 5572559
+SHA256 (opennx-0.16.0.709.tar.gz) = fbc5602b1ef873390c3155f066285425143c8122585363fa1ad6fc36b9969a69
+SIZE (opennx-0.16.0.709.tar.gz) = 5306946
Index: pkg-plist
==================================================================
--- pkg-plist
+++ pkg-plist
@@ -39,11 +39,11 @@
share/keys/server.id_dsa.key
share/keys/server.id_dsa.key.pub
%%NLS%%share/locale/de/LC_MESSAGES/opennx.mo
%%NLS%%share/locale/ru/LC_MESSAGES/opennx.mo
share/pconnect.html
- at dirrm share/keys
+ at dirrmtry share/keys
@dirrmtry share/icons/scalable/mimetypes
@dirrmtry share/icons/scalable/apps
@dirrmtry share/icons/scalable
@dirrmtry share/icons/512x512/mimetypes
@dirrmtry share/icons/512x512/apps
--- opennx.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list