Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Mar 2015 05:18:31 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r380409 - head/net/netselect
Message-ID:  <201503040518.t245IVom031000@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Mar  4 05:18:31 2015
New Revision: 380409
URL: https://svnweb.freebsd.org/changeset/ports/380409
QAT: https://qat.redports.org/buildarchive/r380409/

Log:
  - Fix installation from non-root
  - Mark broken: does not work properly

Added:
  head/net/netselect/pkg-plist   (contents, props changed)
Modified:
  head/net/netselect/Makefile

Modified: head/net/netselect/Makefile
==============================================================================
--- head/net/netselect/Makefile	Wed Mar  4 05:18:13 2015	(r380408)
+++ head/net/netselect/Makefile	Wed Mar  4 05:18:31 2015	(r380409)
@@ -12,21 +12,14 @@ COMMENT=	Ultrafast implementation of pin
 
 LICENSE=	BSD3CLAUSE
 
+BROKEN=		Does not work (sendto: Invalid argument)
+
 OPTIONS_DEFINE=	SUID
-SUID_DESC=	Install with the sticky bit (mode 4110)
+OPTIONS_SUB=	yes
+SUID_DESC=	Install with the setuid bit (mode 4110)
 
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
-PLIST_FILES=	bin/${PORTNAME}
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MSUID}
-BINMODE=	4110
-.else
-BINMODE=	0100
-.endif
-
 do-build:
 	${CC} ${CFLAGS} -o ${WRKSRC}/${PORTNAME} ${WRKSRC}/${PORTNAME}.c
 

Added: head/net/netselect/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/netselect/pkg-plist	Wed Mar  4 05:18:31 2015	(r380409)
@@ -0,0 +1,2 @@
+%%SUID%%@(root,wheel,4110) bin/netselect
+%%NO_SUID%%@(root,wheel,100) bin/netselect



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