OXIESEC PANEL
- Current Dir:
/
/
lib
/
rpm
Server IP: 82.112.239.19
Upload:
Create Dir:
Name
Size
Modified
Perms
π
..
-
06/20/2025 01:49:09 AM
r-xr-xr-x
π
brp-boot-efi-times
1.43 KB
06/08/2022 09:44:52 AM
rwxr-xr-x
π
cmake.prov
2.92 KB
04/02/2024 11:26:07 AM
rwxr-xr-x
π
cmake.req
2.29 KB
04/02/2024 11:26:07 AM
rwxr-xr-x
π
fileattrs
-
04/09/2025 07:08:42 PM
rwxr-xr-x
π
gstreamer1.prov
950 bytes
09/27/2023 03:39:23 AM
rwxr-xr-x
π
lua
-
10/07/2024 07:47:48 AM
rwxr-xr-x
π
macros
43.12 KB
10/07/2024 07:47:48 AM
rw-r--r--
π
macros.d
-
06/20/2025 01:49:09 AM
rwxr-xr-x
π
platform
-
10/07/2024 07:47:48 AM
rwxr-xr-x
π
redhat
-
03/18/2025 10:32:30 PM
rwxr-xr-x
π
rpm.daily
296 bytes
05/28/2020 10:04:25 AM
rw-r--r--
π
rpm.log
61 bytes
05/28/2020 10:04:25 AM
rw-r--r--
π
rpm.supp
688 bytes
05/28/2020 10:04:25 AM
rw-r--r--
π
rpm2cpio.sh
1.56 KB
10/07/2024 07:46:58 AM
rwxr-xr-x
π
rpmdb_dump
41 bytes
05/28/2020 10:04:25 AM
rwxr-xr-x
π
rpmdb_load
41 bytes
05/28/2020 10:04:25 AM
rwxr-xr-x
π
rpmpopt-4.16.1.3
11.83 KB
10/07/2024 07:47:33 AM
rw-r--r--
π
rpmrc
17.24 KB
10/07/2024 07:47:33 AM
rw-r--r--
π
sysusers.generate-pre.sh
2.22 KB
03/18/2025 04:21:31 AM
rwxr-xr-x
π
sysusers.prov
605 bytes
03/18/2025 04:21:31 AM
rwxr-xr-x
π
tgpg
937 bytes
05/28/2020 10:04:25 AM
rwxr-xr-x
Editing: cmake.req
Close
#!/usr/bin/python3 # -*- coding:utf-8 -*- # # Copyright (C) 2017 BjΓΆrn Esser <besser82@fedoraproject.org> # # based on cmake.prov, which is # Copyright (C) 2015 Daniel VrΓ‘til <dvratil@redhat.com> # Copyright (C) 2017 Daniel VrΓ‘til <dvratil@fedoraproject.org> # # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU Library General Public License as # published by the Free Software Foundation; either version 2 of the # License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU Library General Public # License along with this program; if not, write to the # Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # import sys import re import subprocess class CMakeParser: def __init__(self, filelist = None): if filelist == None: filelist = sys.stdin has_module = False is_arched = False isa_suf = subprocess.check_output(["/usr/bin/rpm", "-E %{?_isa}"]).decode().strip() paths = map(lambda x: x.rstrip(), filelist.readlines()) for path in paths: modulePath, cmakeModule, lowercase = self.parseCmakeModuleConfig(path) if modulePath and cmakeModule: has_module = True if re.match(".*/usr/lib(64)?/cmake/.*", modulePath): is_arched = True if has_module: if is_arched: print("cmake-filesystem%s" % isa_suf) else: print("cmake-filesystem") def parseCmakeModuleConfig(self, configFile): paths = configFile.rsplit("/", 3) modulePath = "%s/cmake/%s" % (paths[0], paths[2]) cfgFile = paths[3] if cfgFile.endswith("Config.cmake"): return (modulePath, cfgFile[0:-len("Config.cmake")], False) elif cfgFile.endswith("-config.cmake"): return (modulePath, cfgFile[0:-len("-config.cmake")], True) else: return (None, None, False) if __name__ == "__main__": parser = CMakeParser()