mirror of
				https://github.com/ScoopInstaller/Main.git
				synced 2025-11-03 23:31:20 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			57 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			57 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
    "homepage": "https://www.apachelounge.com",
 | 
						|
    "description": "The Apache HTTP Server (\"httpd\")",
 | 
						|
    "version": "2.4.41",
 | 
						|
    "license": "Apache-2.0",
 | 
						|
    "architecture": {
 | 
						|
        "64bit": {
 | 
						|
            "url": "https://fossies.org/windows/www/httpd-2.4.41-win64-VC15.zip",
 | 
						|
            "hash": "f439da7270afe2a8f6ef00683c7a78d0de54dffe4379c5151378f66b8e631e67"
 | 
						|
        },
 | 
						|
        "32bit": {
 | 
						|
            "url": "https://fossies.org/windows/www/httpd-2.4.41-win32-VC15.zip",
 | 
						|
            "hash": "1d8228b02d2ee4d75f07a35d56cc38e04b50fd82f2fc4f8615a3ece7243ca34d"
 | 
						|
        }
 | 
						|
    },
 | 
						|
    "extract_dir": "Apache24",
 | 
						|
    "persist": [
 | 
						|
        "htdocs",
 | 
						|
        "conf"
 | 
						|
    ],
 | 
						|
    "bin": [
 | 
						|
        "bin\\ab.exe",
 | 
						|
        "bin\\abs.exe",
 | 
						|
        "bin\\htcacheclean.exe",
 | 
						|
        "bin\\htdbm.exe",
 | 
						|
        "bin\\htdigest.exe",
 | 
						|
        "bin\\htpasswd.exe",
 | 
						|
        "bin\\httpd.exe",
 | 
						|
        "bin\\httxt2dbm.exe",
 | 
						|
        "bin\\logresolve.exe",
 | 
						|
        "bin\\rotatelogs.exe"
 | 
						|
    ],
 | 
						|
    "post_install": [
 | 
						|
        "# set directory in httpd.conf",
 | 
						|
        "$conf = \"$dir/conf/httpd.conf\"",
 | 
						|
        "$root=(scoop which httpd | split-path -res -par | split-path -par) -replace '\\\\', '/';",
 | 
						|
        "(gc $conf) | % { $_ -replace 'c:/Apache24', \"$root\" } | sc $conf"
 | 
						|
    ],
 | 
						|
    "checkver": {
 | 
						|
        "url": "https://fossies.org/search?q=folder_search&q1=httpd&ad=%2Ffresh%2Fwindows%2Fwww&ca=yes&dp=1",
 | 
						|
        "re": "httpd-([\\d.]+)-win64-VC15.zip"
 | 
						|
    },
 | 
						|
    "autoupdate": {
 | 
						|
        "architecture": {
 | 
						|
            "64bit": {
 | 
						|
                "url": "https://fossies.org/windows/www/httpd-$version-win64-VC15.zip"
 | 
						|
            },
 | 
						|
            "32bit": {
 | 
						|
                "url": "https://fossies.org/windows/www/httpd-$version-win32-VC15.zip"
 | 
						|
            }
 | 
						|
        },
 | 
						|
        "hash": {
 | 
						|
            "url": "$url_fossies.sha256"
 | 
						|
        }
 | 
						|
    }
 | 
						|
}
 |