Linux server.edchosting.com 4.18.0-553.79.1.lve.el7h.x86_64 #1 SMP Wed Oct 15 16:34:46 UTC 2025 x86_64
LiteSpeed
Server IP : 75.98.162.185 & Your IP : 216.73.216.163
Domains :
Cant Read [ /etc/named.conf ]
User : goons4good
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
lib /
rpm /
Delete
Unzip
Name
Size
Permission
Date
Action
fileattrs
[ DIR ]
drwxr-xr-x
2022-05-07 04:45
macros.d
[ DIR ]
drwxr-xr-x
2026-02-10 03:51
platform
[ DIR ]
drwxr-xr-x
2021-11-24 04:47
redhat
[ DIR ]
drwxr-xr-x
2021-09-16 14:54
alt-nodejs10-fixdep
3.48
KB
-rwxr-xr-x
2022-04-13 10:10
alt-nodejs10-provide.sh
70
B
-rwxr-xr-x
2022-04-13 10:11
alt-nodejs10-require.sh
69
B
-rwxr-xr-x
2022-04-13 10:11
alt-nodejs10-symlink-deps
4.92
KB
-rwxr-xr-x
2022-04-13 10:10
alt-nodejs10.prov
1.92
KB
-rwxr-xr-x
2022-04-13 10:10
alt-nodejs10.req
6.75
KB
-rwxr-xr-x
2022-04-13 10:10
alt-nodejs10_native.req
70
B
-rwxr-xr-x
2023-03-19 16:11
alt-nodejs11_native.req
70
B
-rwxr-xr-x
2021-10-19 05:18
alt-nodejs12_native.req
70
B
-rwxr-xr-x
2022-01-10 20:27
alt-nodejs14-fixdep
3.48
KB
-rwxr-xr-x
2022-04-13 10:38
alt-nodejs14-provide.sh
70
B
-rwxr-xr-x
2022-04-13 10:39
alt-nodejs14-require.sh
69
B
-rwxr-xr-x
2022-04-13 10:39
alt-nodejs14-symlink-deps
4.92
KB
-rwxr-xr-x
2022-04-13 10:38
alt-nodejs14.prov
1.92
KB
-rwxr-xr-x
2022-04-13 10:38
alt-nodejs14.req
6.75
KB
-rwxr-xr-x
2022-04-13 10:38
alt-nodejs14_native.req
70
B
-rwxr-xr-x
2026-02-02 09:48
alt-nodejs16-fixdep
3.48
KB
-rwxr-xr-x
2022-04-13 10:43
alt-nodejs16-provide.sh
70
B
-rwxr-xr-x
2022-04-13 10:44
alt-nodejs16-require.sh
69
B
-rwxr-xr-x
2022-04-13 10:44
alt-nodejs16-symlink-deps
4.92
KB
-rwxr-xr-x
2022-04-13 10:43
alt-nodejs16.prov
1.92
KB
-rwxr-xr-x
2022-04-13 10:43
alt-nodejs16.req
6.75
KB
-rwxr-xr-x
2022-04-13 10:43
alt-nodejs16_native.req
40
B
-rwxr-xr-x
2023-11-03 09:58
alt-nodejs18_native.req
40
B
-rwxr-xr-x
2025-06-05 07:04
alt-nodejs19_native.req
39
B
-rwxr-xr-x
2023-12-06 12:42
alt-nodejs20_native.req
40
B
-rwxr-xr-x
2026-02-03 06:10
alt-nodejs6_native.req
64
B
-rwxr-xr-x
2021-09-28 05:04
alt-nodejs8_native.req
68
B
-rwxr-xr-x
2021-09-28 05:58
alt-nodejs9_native.req
68
B
-rwxr-xr-x
2021-09-28 06:43
appdata.prov
333
B
-rwxr-xr-x
2021-11-24 04:47
brp-compress
1.41
KB
-rwxr-xr-x
2021-11-24 04:47
brp-java-gcjcompile
1.38
KB
-rwxr-xr-x
2021-11-24 04:47
brp-python-bytecompile
2.96
KB
-rwxr-xr-x
2021-11-24 04:47
brp-python-hardlink
658
B
-rwxr-xr-x
2021-11-24 04:47
brp-scl-compress
1.77
KB
-rwxr-xr-x
2018-10-30 15:17
brp-scl-python-bytecompile
3.04
KB
-rwxr-xr-x
2018-10-30 15:17
brp-strip
509
B
-rwxr-xr-x
2021-11-24 04:47
brp-strip-comment-note
741
B
-rwxr-xr-x
2021-11-24 04:47
brp-strip-shared
706
B
-rwxr-xr-x
2021-11-24 04:47
brp-strip-static-archive
411
B
-rwxr-xr-x
2021-11-24 04:47
check-buildroot
1.21
KB
-rwxr-xr-x
2021-11-24 04:47
check-files
1.02
KB
-rwxr-xr-x
2021-11-24 04:47
check-prereqs
418
B
-rwxr-xr-x
2021-11-24 04:47
check-rpaths
1.01
KB
-rwxr-xr-x
2021-11-24 04:47
check-rpaths-worker
4.93
KB
-rwxr-xr-x
2021-11-24 04:47
config.guess
44.24
KB
-rwxr-xr-x
2021-11-24 04:47
config.sub
34.62
KB
-rwxr-xr-x
2021-11-24 04:47
debugedit
33.01
KB
-rwxr-xr-x
2021-11-24 04:47
desktop-file.prov
602
B
-rwxr-xr-x
2021-11-24 04:47
elfdeps
15.31
KB
-rwxr-xr-x
2021-11-24 04:47
find-debuginfo.sh
14.42
KB
-rwxr-xr-x
2021-11-24 04:47
find-lang.sh
5.77
KB
-rwxr-xr-x
2021-11-24 04:47
find-provides
1.52
KB
-rwxr-xr-x
2021-11-24 04:47
find-requires
3.43
KB
-rwxr-xr-x
2021-11-24 04:47
fontconfig.prov
489
B
-rwxr-xr-x
2021-11-24 04:47
javadoc.req
76
B
-rwxr-xr-x
2013-11-05 10:22
kabi.sh
428
B
-rwxr-xr-x
2019-06-08 10:32
libtooldeps.sh
718
B
-rwxr-xr-x
2021-11-24 04:47
macros
37.33
KB
-rw-r--r--
2021-11-24 04:47
macros.perl
473
B
-rw-r--r--
2021-11-24 04:47
macros.php
192
B
-rw-r--r--
2021-11-24 04:47
macros.python
906
B
-rw-r--r--
2021-11-24 04:47
maven.prov
3.67
KB
-rwxr-xr-x
2013-11-05 10:22
maven.req
7.75
KB
-rwxr-xr-x
2013-11-05 10:22
mkinstalldirs
3.41
KB
-rwxr-xr-x
2021-11-24 04:47
mono-find-provides
1.08
KB
-rwxr-xr-x
2021-11-24 04:47
mono-find-requires
1.87
KB
-rwxr-xr-x
2021-11-24 04:47
ocaml-find-provides.sh
1.62
KB
-rwxr-xr-x
2021-11-24 04:47
ocaml-find-requires.sh
2.08
KB
-rwxr-xr-x
2021-11-24 04:47
osgi.prov
3.51
KB
-rwxr-xr-x
2013-11-05 10:22
osgi.req
3.79
KB
-rwxr-xr-x
2013-11-05 10:22
osgideps.pl
10.33
KB
-rwxr-xr-x
2021-11-24 04:47
perl.prov
5.72
KB
-rwxr-xr-x
2021-11-24 04:47
perl.req
11.48
KB
-rwxr-xr-x
2021-11-24 04:47
perldeps.pl
32.13
KB
-rw-r--r--
2021-11-24 04:47
pkgconfigdeps.sh
1.25
KB
-rwxr-xr-x
2021-11-24 04:47
pythondeps.sh
875
B
-rwxr-xr-x
2021-11-24 04:47
rpm.daily
296
B
-rw-r--r--
2021-11-24 04:47
rpm.log
61
B
-rw-r--r--
2021-11-24 04:47
rpm.supp
688
B
-rw-r--r--
2021-11-24 04:47
rpm2cpio.sh
1.3
KB
-rwxr-xr-x
2021-11-24 04:47
rpmdb_loadcvt
1.43
KB
-rwxr-xr-x
2021-11-24 04:47
rpmdeps
11.52
KB
-rwxr-xr-x
2021-11-24 04:47
rpmpopt-4.11.3
9.51
KB
-rw-r--r--
2021-11-24 04:47
rpmrc
15.01
KB
-rw-r--r--
2021-11-24 04:47
scldeps.sh
179
B
-rwxr-xr-x
2018-10-30 15:17
script.req
322
B
-rwxr-xr-x
2021-11-24 04:47
sepdebugcrcfix
15.24
KB
-rwxr-xr-x
2021-11-24 04:47
tcl.req
2.02
KB
-rwxr-xr-x
2021-11-24 04:47
tgpg
929
B
-rwxr-xr-x
2021-11-24 04:47
Save
Rename
#!/usr/bin/python """ Automatic dependency generator for Node.js libraries. Parsed from package.json. See `man npm-json` for details. """ # Copyright 2012, 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or # sell copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS # IN THE SOFTWARE. from __future__ import unicode_literals import json import os import re import subprocess import sys RE_VERSION = re.compile(r'\s*v?([<>=~^]{0,2})\s*([0-9][0-9\.\-]*)\s*') def main(): #npm2rpm uses functions here to write BuildRequires so don't print anything #until the very end deps = [] #it's highly unlikely that we'll ever get more than one file but we handle #this like all RPM automatic dependency generation scripts anyway paths = [path.rstrip() for path in sys.stdin.readlines()] for path in paths: if not path.endswith('package.json'): continue # we only want the package.json in the toplevel module directory pathparts = path.split(os.sep) if not pathparts[-5:-2] == ['usr', 'lib', 'node_modules']: continue fh = open(path) metadata = json.load(fh) fh.close() #write out the node.js interpreter dependency req = 'alt-nodejs10-nodejs(engine)' if 'engines' in metadata and isinstance(metadata['engines'], dict) \ and 'node' in metadata['engines']: deps += process_dep(req, metadata['engines']['node']) else: deps.append(req) if 'dependencies' in metadata: if isinstance(metadata['dependencies'], dict): for name, version in metadata['dependencies'].iteritems(): req = 'alt-nodejs10-npm(' + name + ')' deps += process_dep(req, version) elif isinstance(metadata['dependencies'], list): for name in metadata['dependencies']: req = 'alt-nodejs10-npm(' + name + ')' deps.append(req) elif isinstance(metadata['dependencies'], basestring): req = 'alt-nodejs10-npm(' + metadata['dependencies'] + ')' deps.append(req) else: raise TypeError('invalid package.json: dependencies not a valid type') print '\n'.join(deps) # invoke the regular RPM requires generator p = subprocess.Popen(['/usr/lib/rpm/find-requires'], stdout=subprocess.PIPE, stdin=subprocess.PIPE) print p.communicate(input='\n'.join(paths))[0] def process_dep(req, version): """Converts an individual npm dependency into RPM dependencies""" deps = [] #there's no way RPM can do anything like an OR dependency if '||' in version: sys.stderr.write("WARNING: The {0} dependency contains an ".format(req) + "OR (||) dependency: '{0}.\nPlease manually include ".format(version) + "a versioned dependency in your spec file if necessary") deps.append(req) elif ' - ' in version: gt, lt = version.split(' - ') deps.append(req + ' >= ' + gt) deps.append(req + ' <= ' + lt) else: m = re.match(RE_VERSION, version) if m: deps += convert_dep(req, m.group(1), m.group(2)) #There could be up to two versions here (e.g.">1.0 <3.1") if len(version) > m.end(): m = re.match(RE_VERSION, version[m.end():]) if m: deps += convert_dep(req, m.group(1), m.group(2)) else: deps.append(req) return deps def convert_dep(req, operator, version): """Converts one of the two possibly listed versions into an RPM dependency""" deps = [] #any version will do if not version or version == '*': deps.append(req) #any prefix but ~ makes things dead simple elif operator in ['>', '<', '<=', '>=', '=']: deps.append(' '.join([req, operator, version])) #oh boy, here we go... else: #split the dotted portions into a list (handling trailing dots properly) parts = [part if part else 'x' for part in version.split('.')] parts = [int(part) if part != 'x' and not '-' in part else part for part in parts] # 1 or 1.x or 1.x.x or ~1 or ^1 if len(parts) == 1 or parts[1] == 'x': if parts[0] != 0: deps.append('{0} >= {1}'.format(req, parts[0])) deps.append('{0} < {1}'.format(req, parts[0]+1)) # 1.2.3 or 1.2.3-4 or 1.2.x or ~1.2.3 or ^1.2.3 or 1.2 elif len(parts) == 3 or operator != '~': # 1.2.x or 1.2 if len(parts) == 2 or parts[2] == 'x': deps.append('{0} >= {1}.{2}'.format(req, parts[0], parts[1])) deps.append('{0} < {1}.{2}'.format(req, parts[0], parts[1]+1)) # ~1.2.3 or ^0.1.2 (zero is special with the caret operator) elif operator == '~' or (operator == '^' and parts[0] == 0 and parts[1] > 0): deps.append('{0} >= {1}'.format(req, version)) deps.append('{0} < {1}.{2}'.format(req, parts[0], parts[1]+1)) #^1.2.3 elif operator == '^' and parts[0:1] != [0,0]: deps.append('{0} >= {1}'.format(req, version)) deps.append('{0} < {1}'.format(req, parts[0]+1)) # 1.2.3 or 1.2.3-4 or ^0.0.3 else: deps.append('{0} = {1}'.format(req, version)) # ~1.2 elif operator == '~': deps.append('{0} >= {1}'.format(req, version)) deps.append('{0} < {1}'.format(req, parts[0]+1)) #^1.2 elif operator == '^': deps.append('{0} >= {1}'.format(req, version)) deps.append('{0} < {1}'.format(req, parts[0]+1)) return deps if __name__ == '__main__': main()