Summary: | net-misc/nstx: init scripts, qa fixes, enhancements | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Steve Brudenell <steven.brudenell> |
Component: | New packages | Assignee: | Robin Johnson <robbat2> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | bircoph, svrmarty |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 156491, 260925 | ||
Attachments: |
updated ebuild -- adds patches I supplied, as well as checks for CONFIG_TUN
patch to correct nstx's usage of Linux tuntap patch to allow binding to interface names, as well as ip addresses patch to print a warning when we couldn't write() enough bytes to the tunnel delete the unused dwrite() function to eliminate a warning patch to delete -Werror from the Makefile init.d script for nstxd conf.d file for nstxd init.d script for nstxcd conf.d file for nstxcd corrected error in nstxd init script, whoops |
Description
Steve Brudenell
2009-03-17 04:31:44 UTC
Created attachment 185257 [details]
updated ebuild -- adds patches I supplied, as well as checks for CONFIG_TUN
Created attachment 185259 [details, diff]
patch to correct nstx's usage of Linux tuntap
Created attachment 185261 [details, diff]
patch to allow binding to interface names, as well as ip addresses
Created attachment 185262 [details, diff]
patch to print a warning when we couldn't write() enough bytes to the tunnel
Created attachment 185264 [details, diff]
delete the unused dwrite() function to eliminate a warning
Created attachment 185266 [details, diff]
patch to delete -Werror from the Makefile
Created attachment 185267 [details]
init.d script for nstxd
Created attachment 185268 [details]
conf.d file for nstxd
Created attachment 185269 [details]
init.d script for nstxcd
Created attachment 185271 [details]
conf.d file for nstxcd
Created attachment 185275 [details]
corrected error in nstxd init script, whoops
Thanks for your improvements, it helps me in particular with -Werror and init scripts. I am looking forward this patchset in the portage tree. any news on this ? the ebuild in portage still fails with i686-pc-linux-gnu-gcc -march=pentium3 -O3 -pipe -fomit-frame-pointer -ggdb -Wall -Werror -Wsign-compare -c -o nstx_tuntap.o nstx_tuntap.c cc1: warnings being treated as errors nstx_tuntap.c: In function 'sendtun': nstx_tuntap.c:267: error: ignoring return value of 'write', declared with attribute warn_unused_result make: *** [nstx_tuntap.o] Error 1 make: *** Waiting for unfinished jobs.... * * ERROR: net-misc/nstx-1.1_beta6-r2 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2511: Called die * The specific snippet of code: * emake CC="$(tc-getCC)" || die * The die message: * (no error message) * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/net-misc/nstx-1.1_beta6-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/nstx-1.1_beta6-r2/temp/environment'. * ebuild works good please commit this asap Thanks Steve. Committed now. If you want to be the maintainer, I'll proxy for you. please mark -r3 as stable, since -r2 still doesn't compile |