Hi Stuart!

Thanks for your review.

On Thu, Jul 27, 2017 at 09:11:21PM +0100, Stuart Henderson wrote:
| On 2017/07/27 21:36, Paul de Weerd wrote:
| > I'm actively using (and enjoying) the fruit of Rafael's work on his
| > multicast proxy daemon (see [1] for details).  Although I still
| > believe it would be beneficial to have code exercising the kernel's
| > multicast bits in base, that doesn't seem to be in the stars (at this
| > moment).  So, with Rafael's permission, I'm presenting a port of his
| > work.
| 
| rc script needs ${TRUEPREFIX} in "daemon".

Good point, fixing that.

| There are several warnings in build:

That's weird - I don't see those:

[weerd@pom] $ make package              
===>  Looking for mcast-proxy-1.0.tgz in $PKG_PATH - not found
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1918 
'/usr/ports/packages/amd64/cache/mcast-proxy-1.0.tgz': @if /usr/bin/env -i P...)
===>  Checking files for mcast-proxy-1.0
`/usr/ports/distfiles/mcast-proxy-1.0.tar.gz' is up to date.
>> (SHA256) mcast-proxy-1.0.tar.gz: OK
===>  Verifying specs:  c event
===>  found c.89.6 event.4.1
===>  Extracting for mcast-proxy-1.0
===>  Patching for mcast-proxy-1.0
===>  Compiler link: clang -> /usr/bin/clang
===>  Compiler link: clang++ -> /usr/bin/clang++
===>  Compiler link: cc -> /usr/bin/cc
===>  Compiler link: c++ -> /usr/bin/c++
===>  Configuring for mcast-proxy-1.0
===>  Building for mcast-proxy-1.0
yacc -d -o parse.c parse.y
cc -O2 -pipe -I/usr/ports/pobj/mcast-proxy-1.0/mcast-proxy-1.0 -Wall -Wextra 
-Wshadow -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes 
-Wpointer-arith -Wsign-compare  -MD -MP  -nostdinc -idirafter /usr/include -c 
mcast-proxy.c
cc -O2 -pipe -I/usr/ports/pobj/mcast-proxy-1.0/mcast-proxy-1.0 -Wall -Wextra 
-Wshadow -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes 
-Wpointer-arith -Wsign-compare  -MD -MP  -nostdinc -idirafter /usr/include -c 
kroute.c
cc -O2 -pipe -I/usr/ports/pobj/mcast-proxy-1.0/mcast-proxy-1.0 -Wall -Wextra 
-Wshadow -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes 
-Wpointer-arith -Wsign-compare  -MD -MP  -nostdinc -idirafter /usr/include -c 
log.c
cc -O2 -pipe -I/usr/ports/pobj/mcast-proxy-1.0/mcast-proxy-1.0 -Wall -Wextra 
-Wshadow -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes 
-Wpointer-arith -Wsign-compare  -MD -MP  -nostdinc -idirafter /usr/include -c 
mrt.c
cc -O2 -pipe -I/usr/ports/pobj/mcast-proxy-1.0/mcast-proxy-1.0 -Wall -Wextra 
-Wshadow -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes 
-Wpointer-arith -Wsign-compare  -MD -MP  -nostdinc -idirafter /usr/include -c 
parse.c
cc -O2 -pipe -I/usr/ports/pobj/mcast-proxy-1.0/mcast-proxy-1.0 -Wall -Wextra 
-Wshadow -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes 
-Wpointer-arith -Wsign-compare  -MD -MP  -nostdinc -idirafter /usr/include -c 
util.c
cc   -o mcast-proxy mcast-proxy.o kroute.o log.o mrt.o parse.o util.o -levent
===>  Faking installation for mcast-proxy-1.0
install -d -m 755 /usr/ports/pobj/mcast-proxy-1.0/fake-amd64
install -c -S -s  -o root -g bin  -m 755 mcast-proxy 
/usr/ports/pobj/mcast-proxy-1.0/fake-amd64/usr/local/bin/mcast-proxy
install -c -o root -g bin -m 644  mcast-proxy.8 
/usr/ports/pobj/mcast-proxy-1.0/fake-amd64/usr/local/man/man8/mcast-proxy.8
install -c -o root -g bin -m 644  mcast-proxy.conf.5 
/usr/ports/pobj/mcast-proxy-1.0/fake-amd64/usr/local/man/man5/mcast-proxy.conf.5
Installing /usr/ports/net/mcast-proxy/pkg/mcastproxy.rc as 
/usr/ports/pobj/mcast-proxy-1.0/fake-amd64/etc/rc.d/mcastproxy
===>  Building package for mcast-proxy-1.0
Create /usr/ports/packages/amd64/all/mcast-proxy-1.0.tgz
Link to /usr/ports/packages/amd64/ftp/mcast-proxy-1.0.tgz
Link to /usr/ports/packages/amd64/cdrom/mcast-proxy-1.0.tgz


So this is probably something in my environment, but I can't see what.
Any ideas?

Thanks,

Paul

-- 
>++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
+++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
                 http://www.weirdnet.nl/                 

Reply via email to