link network libs on SunOS
Add LICENSE=gnu-gpl-v2.
Add LICENSE= ${PERL5_LICENSE}.
use c99 to fix build on SunOS
link network libs on SunOS