Add new package: dhtest (#18908)
This commit is contained in:
		
							
								
								
									
										22
									
								
								var/spack/repos/builtin/packages/dhtest/package.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								var/spack/repos/builtin/packages/dhtest/package.py
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,22 @@ | ||||
| # Copyright 2013-2020 Lawrence Livermore National Security, LLC and other | ||||
| # Spack Project Developers. See the top-level COPYRIGHT file for details. | ||||
| # | ||||
| # SPDX-License-Identifier: (Apache-2.0 OR MIT) | ||||
| 
 | ||||
| from spack import * | ||||
| 
 | ||||
| 
 | ||||
| class Dhtest(MakefilePackage): | ||||
|     """dhtest linux dhcp client simulation tool. It can simulate | ||||
|     hundreds of dhcp client from a linux machine. Linux root login | ||||
|     is needed because the tool requires layer2 raw socket for sending | ||||
|     and receiving dhcp packets.""" | ||||
| 
 | ||||
|     homepage = "https://github.com/saravana815/dhtest" | ||||
|     url      = "https://github.com/saravana815/dhtest/archive/v1.5.tar.gz" | ||||
| 
 | ||||
|     version('1.5', sha256='df66150429a59a3b6cea9b29e2687707d04ab10db5dfe1c893ba3e0b0531b151') | ||||
| 
 | ||||
|     def install(self, spec, prefix): | ||||
|         mkdirp(prefix.bin) | ||||
|         install('dhtest', prefix.bin) | ||||
		Reference in New Issue
	
	Block a user
	 darmac
					darmac