pkgsrc/net/isic/Makefile

37 lines
827 B
Makefile
Raw Normal View History

Update isic to 0.07. pkgsrc changes: * change HOMEPAGE and MASTER_SITES to new Sourceforge's one. * set LICENSE=2-clause-bsd * add user-destdir support ISIC (v0.07) 12/22/2006, by Shu Xiao (sxiao@cisco.com) - New IPv6 utilities: isic6, tcpsic6, udpsic6, icmpsic6. - New tool multisic for sending random multicast UDP packets. - Fixed compilation errors with GCC v4. - Added -k skip option for esic per the request from some users. - Placed the flood control under low traffic limit case only. The original flood protection code calls gettimeofday(), and runs after sending each packet. This is time consumping and prevents the tool from reaching high traffic limit on high speed interface (eg. 1000Base-TX). Now the flood control will take effect only if the specified maximum rate is less than 10MB/s. - Corrected -t option bug with tcpsic: The old one was using it reversely, e.g. -t 30 would generate packet with 30% of them having correct TCP checksum. But -t is actually for the percentage of bad TCP checksum. - Changed to used 32-bit random numbers for some fields: For IPv4 *sic tools, the source/destination IP address and TCP sequence/acknowledge numbers are 32-bit width, and should be assigned with equal size random numbers. The old code did not do shifting correctly. - Changed the default value to 10 for all percentage options. - Cleaned the usage printout of icmpsic: There were ports used in the usage printout of icmpsic. This was misleading since no ports arguments needed for it. - New manual page, try to get more help with "man isic".
2009-12-09 13:32:22 +01:00
# $NetBSD: Makefile,v 1.18 2009/12/09 12:32:22 obache Exp $
#
Update isic to 0.07. pkgsrc changes: * change HOMEPAGE and MASTER_SITES to new Sourceforge's one. * set LICENSE=2-clause-bsd * add user-destdir support ISIC (v0.07) 12/22/2006, by Shu Xiao (sxiao@cisco.com) - New IPv6 utilities: isic6, tcpsic6, udpsic6, icmpsic6. - New tool multisic for sending random multicast UDP packets. - Fixed compilation errors with GCC v4. - Added -k skip option for esic per the request from some users. - Placed the flood control under low traffic limit case only. The original flood protection code calls gettimeofday(), and runs after sending each packet. This is time consumping and prevents the tool from reaching high traffic limit on high speed interface (eg. 1000Base-TX). Now the flood control will take effect only if the specified maximum rate is less than 10MB/s. - Corrected -t option bug with tcpsic: The old one was using it reversely, e.g. -t 30 would generate packet with 30% of them having correct TCP checksum. But -t is actually for the percentage of bad TCP checksum. - Changed to used 32-bit random numbers for some fields: For IPv4 *sic tools, the source/destination IP address and TCP sequence/acknowledge numbers are 32-bit width, and should be assigned with equal size random numbers. The old code did not do shifting correctly. - Changed the default value to 10 for all percentage options. - Cleaned the usage printout of icmpsic: There were ports used in the usage printout of icmpsic. This was misleading since no ports arguments needed for it. - New manual page, try to get more help with "man isic".
2009-12-09 13:32:22 +01:00
DISTNAME= isic-0.07
CATEGORIES= net
Update isic to 0.07. pkgsrc changes: * change HOMEPAGE and MASTER_SITES to new Sourceforge's one. * set LICENSE=2-clause-bsd * add user-destdir support ISIC (v0.07) 12/22/2006, by Shu Xiao (sxiao@cisco.com) - New IPv6 utilities: isic6, tcpsic6, udpsic6, icmpsic6. - New tool multisic for sending random multicast UDP packets. - Fixed compilation errors with GCC v4. - Added -k skip option for esic per the request from some users. - Placed the flood control under low traffic limit case only. The original flood protection code calls gettimeofday(), and runs after sending each packet. This is time consumping and prevents the tool from reaching high traffic limit on high speed interface (eg. 1000Base-TX). Now the flood control will take effect only if the specified maximum rate is less than 10MB/s. - Corrected -t option bug with tcpsic: The old one was using it reversely, e.g. -t 30 would generate packet with 30% of them having correct TCP checksum. But -t is actually for the percentage of bad TCP checksum. - Changed to used 32-bit random numbers for some fields: For IPv4 *sic tools, the source/destination IP address and TCP sequence/acknowledge numbers are 32-bit width, and should be assigned with equal size random numbers. The old code did not do shifting correctly. - Changed the default value to 10 for all percentage options. - Cleaned the usage printout of icmpsic: There were ports used in the usage printout of icmpsic. This was misleading since no ports arguments needed for it. - New manual page, try to get more help with "man isic".
2009-12-09 13:32:22 +01:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=isic/}
EXTRACT_SUFX= .tgz
2009-07-17 20:00:13 +02:00
MAINTAINER= pkgsrc-users@NetBSD.org
Update isic to 0.07. pkgsrc changes: * change HOMEPAGE and MASTER_SITES to new Sourceforge's one. * set LICENSE=2-clause-bsd * add user-destdir support ISIC (v0.07) 12/22/2006, by Shu Xiao (sxiao@cisco.com) - New IPv6 utilities: isic6, tcpsic6, udpsic6, icmpsic6. - New tool multisic for sending random multicast UDP packets. - Fixed compilation errors with GCC v4. - Added -k skip option for esic per the request from some users. - Placed the flood control under low traffic limit case only. The original flood protection code calls gettimeofday(), and runs after sending each packet. This is time consumping and prevents the tool from reaching high traffic limit on high speed interface (eg. 1000Base-TX). Now the flood control will take effect only if the specified maximum rate is less than 10MB/s. - Corrected -t option bug with tcpsic: The old one was using it reversely, e.g. -t 30 would generate packet with 30% of them having correct TCP checksum. But -t is actually for the percentage of bad TCP checksum. - Changed to used 32-bit random numbers for some fields: For IPv4 *sic tools, the source/destination IP address and TCP sequence/acknowledge numbers are 32-bit width, and should be assigned with equal size random numbers. The old code did not do shifting correctly. - Changed the default value to 10 for all percentage options. - Cleaned the usage printout of icmpsic: There were ports used in the usage printout of icmpsic. This was misleading since no ports arguments needed for it. - New manual page, try to get more help with "man isic".
2009-12-09 13:32:22 +01:00
HOMEPAGE= http://isic.sourceforge.net/
COMMENT= Ip Stack Integrity Checker (IP, TCP, UDP, ICMP et. al.)
Update isic to 0.07. pkgsrc changes: * change HOMEPAGE and MASTER_SITES to new Sourceforge's one. * set LICENSE=2-clause-bsd * add user-destdir support ISIC (v0.07) 12/22/2006, by Shu Xiao (sxiao@cisco.com) - New IPv6 utilities: isic6, tcpsic6, udpsic6, icmpsic6. - New tool multisic for sending random multicast UDP packets. - Fixed compilation errors with GCC v4. - Added -k skip option for esic per the request from some users. - Placed the flood control under low traffic limit case only. The original flood protection code calls gettimeofday(), and runs after sending each packet. This is time consumping and prevents the tool from reaching high traffic limit on high speed interface (eg. 1000Base-TX). Now the flood control will take effect only if the specified maximum rate is less than 10MB/s. - Corrected -t option bug with tcpsic: The old one was using it reversely, e.g. -t 30 would generate packet with 30% of them having correct TCP checksum. But -t is actually for the percentage of bad TCP checksum. - Changed to used 32-bit random numbers for some fields: For IPv4 *sic tools, the source/destination IP address and TCP sequence/acknowledge numbers are 32-bit width, and should be assigned with equal size random numbers. The old code did not do shifting correctly. - Changed the default value to 10 for all percentage options. - Cleaned the usage printout of icmpsic: There were ports used in the usage printout of icmpsic. This was misleading since no ports arguments needed for it. - New manual page, try to get more help with "man isic".
2009-12-09 13:32:22 +01:00
LICENSE= 2-clause-bsd
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= YES
Update isic to 0.07. pkgsrc changes: * change HOMEPAGE and MASTER_SITES to new Sourceforge's one. * set LICENSE=2-clause-bsd * add user-destdir support ISIC (v0.07) 12/22/2006, by Shu Xiao (sxiao@cisco.com) - New IPv6 utilities: isic6, tcpsic6, udpsic6, icmpsic6. - New tool multisic for sending random multicast UDP packets. - Fixed compilation errors with GCC v4. - Added -k skip option for esic per the request from some users. - Placed the flood control under low traffic limit case only. The original flood protection code calls gettimeofday(), and runs after sending each packet. This is time consumping and prevents the tool from reaching high traffic limit on high speed interface (eg. 1000Base-TX). Now the flood control will take effect only if the specified maximum rate is less than 10MB/s. - Corrected -t option bug with tcpsic: The old one was using it reversely, e.g. -t 30 would generate packet with 30% of them having correct TCP checksum. But -t is actually for the percentage of bad TCP checksum. - Changed to used 32-bit random numbers for some fields: For IPv4 *sic tools, the source/destination IP address and TCP sequence/acknowledge numbers are 32-bit width, and should be assigned with equal size random numbers. The old code did not do shifting correctly. - Changed the default value to 10 for all percentage options. - Cleaned the usage printout of icmpsic: There were ports used in the usage printout of icmpsic. This was misleading since no ports arguments needed for it. - New manual page, try to get more help with "man isic".
2009-12-09 13:32:22 +01:00
INSTALLATION_DIRS+= share/doc
post-install:
Update isic to 0.07. pkgsrc changes: * change HOMEPAGE and MASTER_SITES to new Sourceforge's one. * set LICENSE=2-clause-bsd * add user-destdir support ISIC (v0.07) 12/22/2006, by Shu Xiao (sxiao@cisco.com) - New IPv6 utilities: isic6, tcpsic6, udpsic6, icmpsic6. - New tool multisic for sending random multicast UDP packets. - Fixed compilation errors with GCC v4. - Added -k skip option for esic per the request from some users. - Placed the flood control under low traffic limit case only. The original flood protection code calls gettimeofday(), and runs after sending each packet. This is time consumping and prevents the tool from reaching high traffic limit on high speed interface (eg. 1000Base-TX). Now the flood control will take effect only if the specified maximum rate is less than 10MB/s. - Corrected -t option bug with tcpsic: The old one was using it reversely, e.g. -t 30 would generate packet with 30% of them having correct TCP checksum. But -t is actually for the percentage of bad TCP checksum. - Changed to used 32-bit random numbers for some fields: For IPv4 *sic tools, the source/destination IP address and TCP sequence/acknowledge numbers are 32-bit width, and should be assigned with equal size random numbers. The old code did not do shifting correctly. - Changed the default value to 10 for all percentage options. - Cleaned the usage printout of icmpsic: There were ports used in the usage printout of icmpsic. This was misleading since no ports arguments needed for it. - New manual page, try to get more help with "man isic".
2009-12-09 13:32:22 +01:00
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/isic.README
.include "../../devel/libnet11/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
# XXX On NetBSD, the egcs and gcc-2.95.3 for:
# XXX
# XXX alpha
# XXX
2003-03-28 21:28:56 +01:00
# XXX has an optimization bug when compiling with -O2
#
.if ${OPSYS} == "NetBSD"
Update isic to 0.07. pkgsrc changes: * change HOMEPAGE and MASTER_SITES to new Sourceforge's one. * set LICENSE=2-clause-bsd * add user-destdir support ISIC (v0.07) 12/22/2006, by Shu Xiao (sxiao@cisco.com) - New IPv6 utilities: isic6, tcpsic6, udpsic6, icmpsic6. - New tool multisic for sending random multicast UDP packets. - Fixed compilation errors with GCC v4. - Added -k skip option for esic per the request from some users. - Placed the flood control under low traffic limit case only. The original flood protection code calls gettimeofday(), and runs after sending each packet. This is time consumping and prevents the tool from reaching high traffic limit on high speed interface (eg. 1000Base-TX). Now the flood control will take effect only if the specified maximum rate is less than 10MB/s. - Corrected -t option bug with tcpsic: The old one was using it reversely, e.g. -t 30 would generate packet with 30% of them having correct TCP checksum. But -t is actually for the percentage of bad TCP checksum. - Changed to used 32-bit random numbers for some fields: For IPv4 *sic tools, the source/destination IP address and TCP sequence/acknowledge numbers are 32-bit width, and should be assigned with equal size random numbers. The old code did not do shifting correctly. - Changed the default value to 10 for all percentage options. - Cleaned the usage printout of icmpsic: There were ports used in the usage printout of icmpsic. This was misleading since no ports arguments needed for it. - New manual page, try to get more help with "man isic".
2009-12-09 13:32:22 +01:00
#. if (${MACHINE_ARCH} == "alpha")
BUILDLINK_TRANSFORM+= rm:-O[0-9]*
#. endif
.endif