diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-03-04 05:18:31 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-03-04 05:18:31 +0000 |
commit | dadf5d9ecb17eabd486e191b546d6a8a9ddfa2ce (patch) | |
tree | 4825d15ec470ba3db4024aa4d22b6175393dd987 | |
parent | 58e13ab01f9b4b90aca433f5227ec6faa653b751 (diff) |
Notes
-rw-r--r-- | net/netselect/Makefile | 15 | ||||
-rw-r--r-- | net/netselect/pkg-plist | 2 |
2 files changed, 6 insertions, 11 deletions
diff --git a/net/netselect/Makefile b/net/netselect/Makefile index b34847d0bb38..1d881985ea34 100644 --- a/net/netselect/Makefile +++ b/net/netselect/Makefile @@ -12,21 +12,14 @@ COMMENT= Ultrafast implementation of ping 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 diff --git a/net/netselect/pkg-plist b/net/netselect/pkg-plist new file mode 100644 index 000000000000..b5ddfc583a9b --- /dev/null +++ b/net/netselect/pkg-plist @@ -0,0 +1,2 @@ +%%SUID%%@(root,wheel,4110) bin/netselect +%%NO_SUID%%@(root,wheel,100) bin/netselect |