aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/libaio/.yandex_meta
diff options
context:
space:
mode:
authormaxim-yurchuk <maxim-yurchuk@yandex-team.com>2024-10-09 12:29:46 +0300
committermaxim-yurchuk <maxim-yurchuk@yandex-team.com>2024-10-09 13:14:22 +0300
commit9731d8a4bb7ee2cc8554eaf133bb85498a4c7d80 (patch)
treea8fb3181d5947c0d78cf402aa56e686130179049 /contrib/libs/libaio/.yandex_meta
parenta44b779cd359f06c3ebbef4ec98c6b38609d9d85 (diff)
downloadydb-9731d8a4bb7ee2cc8554eaf133bb85498a4c7d80.tar.gz
publishFullContrib: true for ydb
<HIDDEN_URL> commit_hash:c82a80ac4594723cebf2c7387dec9c60217f603e
Diffstat (limited to 'contrib/libs/libaio/.yandex_meta')
-rw-r--r--contrib/libs/libaio/.yandex_meta/__init__.py62
-rw-r--r--contrib/libs/libaio/.yandex_meta/devtools.copyrights.report111
-rw-r--r--contrib/libs/libaio/.yandex_meta/devtools.licenses.report106
-rw-r--r--contrib/libs/libaio/.yandex_meta/override.nix9
4 files changed, 288 insertions, 0 deletions
diff --git a/contrib/libs/libaio/.yandex_meta/__init__.py b/contrib/libs/libaio/.yandex_meta/__init__.py
new file mode 100644
index 0000000000..152c0c14c4
--- /dev/null
+++ b/contrib/libs/libaio/.yandex_meta/__init__.py
@@ -0,0 +1,62 @@
+import os
+
+from devtools.yamaker.project import NixProject
+
+
+def post_install(self):
+ with self.yamakes["static"] as libaio:
+ # Drop sources providing libaio==0.1 ABI compatibility,
+ # as we build everything from the sources.
+ os.remove(f"{self.dstdir}/src/compat-0_1.c")
+ libaio.SRCS.remove("compat-0_1.c")
+
+ self.make_dll_dispatcher(
+ switch_flag="USE_AIO",
+ switch_as_enum=True,
+ handle_local=True,
+ default_local_flags={
+ "CFLAGS": ("USE_LOCAL_AIO_CFLAGS",),
+ "LDFLAGS": ("USE_LOCAL_AIO_LDFLAGS", "-laio"),
+ },
+ # It is hard to maintain both static and dynamic linkage against versioned symbols.
+ # We will create library with every symbol visible to the linker.
+ exports_script=None,
+ before_switch="""
+ IF(EXPORT_CMAKE)
+ OPENSOURCE_EXPORT_REPLACEMENT(
+ CMAKE AIO
+ CMAKE_TARGET AIO::aio
+ )
+ ENDIF()
+
+ """,
+ or_local_condition="EXPORT_CMAKE",
+ )
+
+
+libaio = NixProject(
+ arcdir="contrib/libs/libaio",
+ nixattr="libaio",
+ put={
+ "aio": "static",
+ },
+ inclink={
+ "include": ["src/libaio.h"],
+ },
+ addincl_global={
+ "static": ["../include"],
+ },
+ copy_sources=[
+ "src/syscall-generic.h",
+ ],
+ disable_includes=[
+ "syscall-alpha.h",
+ "syscall-arm.h",
+ "syscall-i386.h",
+ "syscall-ia64.h",
+ "syscall-ppc.h",
+ "syscall-s390.h",
+ "syscall-sparc.h",
+ ],
+ post_install=post_install,
+)
diff --git a/contrib/libs/libaio/.yandex_meta/devtools.copyrights.report b/contrib/libs/libaio/.yandex_meta/devtools.copyrights.report
new file mode 100644
index 0000000000..f772b3553b
--- /dev/null
+++ b/contrib/libs/libaio/.yandex_meta/devtools.copyrights.report
@@ -0,0 +1,111 @@
+# File format ($ symbol means the beginning of a line):
+#
+# $ # this message
+# $ # =======================
+# $ # comments (all commentaries should starts with some number of spaces and # symbol)
+# ${action} {license id} {license text hash}
+# $BELONGS ./ya/make/file/relative/path/1/ya.make ./ya/make/2/ya.make
+# ${all_file_action} filename
+# $ # user commentaries (many lines)
+# $ generated description - files with this license, license text... (some number of lines that starts with some number of spaces, do not modify)
+# ${action} {license spdx} {license text hash}
+# $BELONGS ./ya/make/file/relative/path/3/ya.make
+# ${all_file_action} filename
+# $ # user commentaries
+# $ generated description
+# $ ...
+#
+# You can modify action, all_file_action and add commentaries
+# Available actions:
+# keep - keep license in contrib and use in credits
+# skip - skip license
+# remove - remove all files with this license
+# rename - save license text/links into licenses texts file, but not store SPDX into LINCENSE macro. You should store correct license id into devtools.license.spdx.txt file
+#
+# {all file action} records will be generated when license text contains filename that exists on filesystem (in contrib directory)
+# We suppose that that files can contain some license info
+# Available all file actions:
+# FILE_IGNORE - ignore file (do nothing)
+# FILE_INCLUDE - include all file data into licenses text file
+# =======================
+
+KEEP COPYRIGHT_SERVICE_LABEL 47eaba028b2e2b60c05f6483b813bf1c
+BELONGS dynamic/ya.make static/ya.make
+ License text:
+ Copyright 2018 Christoph Hellwig.
+ Scancode info:
+ Original SPDX id: COPYRIGHT_SERVICE_LABEL
+ Score : 100.00
+ Match type : COPYRIGHT
+ Files with this license:
+ src/io_pgetevents.c [3:3]
+ Belongs difference:
+ + dynamic/ya.make static/ya.make
+ - ya.make
+
+KEEP COPYRIGHT_SERVICE_LABEL 4b04c47b9f7e1bd2ebf179349270f4f5
+BELONGS dynamic/ya.make static/ya.make
+ License text:
+ Copyright 2002 Red Hat, Inc.
+ Scancode info:
+ Original SPDX id: COPYRIGHT_SERVICE_LABEL
+ Score : 100.00
+ Match type : COPYRIGHT
+ Files with this license:
+ src/aio_ring.h [3:3]
+ src/io_cancel.c [3:3]
+ src/io_destroy.c [3:3]
+ src/io_getevents.c [3:3]
+ src/io_queue_init.c [3:3]
+ src/io_queue_release.c [3:3]
+ src/io_queue_run.c [3:3]
+ src/io_queue_wait.c [3:3]
+ src/io_setup.c [3:3]
+ src/io_submit.c [3:3]
+ src/vsys_def.h [2:2]
+ Belongs difference:
+ + dynamic/ya.make static/ya.make
+ - ya.make
+
+KEEP COPYRIGHT_SERVICE_LABEL 72f083c0521e4e1b7e9043f5ad949ff1
+BELONGS dynamic/ya.make static/ya.make
+ License text:
+ * Copyright 2000,2001,2002 Red Hat, Inc.
+ Scancode info:
+ Original SPDX id: COPYRIGHT_SERVICE_LABEL
+ Score : 100.00
+ Match type : COPYRIGHT
+ Files with this license:
+ src/libaio.h [3:3]
+ Belongs difference:
+ + dynamic/ya.make static/ya.make
+ - ya.make
+
+KEEP COPYRIGHT_SERVICE_LABEL c0a580767e4df988cbeb3a33fe57d251
+BELONGS dynamic/ya.make static/ya.make
+ Note: matched license text is too long. Read it in the source files.
+ Scancode info:
+ Original SPDX id: COPYRIGHT_SERVICE_LABEL
+ Score : 100.00
+ Match type : COPYRIGHT
+ Files with this license:
+ COPYING [433:438]
+ Belongs difference:
+ + dynamic/ya.make static/ya.make
+ - ya.make
+
+KEEP COPYRIGHT_SERVICE_LABEL cea1b82351539a871d540971f218116e
+BELONGS dynamic/ya.make static/ya.make
+ License text:
+ Copyright (C) 1991, 1999 Free Software Foundation, Inc.
+ 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ Scancode info:
+ Original SPDX id: COPYRIGHT_SERVICE_LABEL
+ Score : 100.00
+ Match type : COPYRIGHT
+ Files with this license:
+ COPYING [5:7]
+ Belongs difference:
+ + dynamic/ya.make static/ya.make
+ - ya.make
diff --git a/contrib/libs/libaio/.yandex_meta/devtools.licenses.report b/contrib/libs/libaio/.yandex_meta/devtools.licenses.report
new file mode 100644
index 0000000000..ac5c17c36a
--- /dev/null
+++ b/contrib/libs/libaio/.yandex_meta/devtools.licenses.report
@@ -0,0 +1,106 @@
+# File format ($ symbol means the beginning of a line):
+#
+# $ # this message
+# $ # =======================
+# $ # comments (all commentaries should starts with some number of spaces and # symbol)
+# ${action} {license spdx} {license text hash}
+# $BELONGS ./ya/make/file/relative/path/1/ya.make ./ya/make/2/ya.make
+# ${all_file_action} filename
+# $ # user commentaries (many lines)
+# $ generated description - files with this license, license text... (some number of lines that starts with some number of spaces, do not modify)
+# ${action} {license spdx} {license text hash}
+# $BELONGS ./ya/make/file/relative/path/3/ya.make
+# ${all_file_action} filename
+# $ # user commentaries
+# $ generated description
+# $ ...
+#
+# You can modify action, all_file_action and add commentaries
+# Available actions:
+# keep - keep license in contrib and use in credits
+# skip - skip license
+# remove - remove all files with this license
+# rename - save license text/links into licenses texts file, but not store SPDX into LINCENSE macro. You should store correct license id into devtools.license.spdx.txt file
+#
+# {all file action} records will be generated when license text contains filename that exists on filesystem (in contrib directory)
+# We suppose that that files can contain some license info
+# Available all file actions:
+# FILE_IGNORE - ignore file (do nothing)
+# FILE_INCLUDE - include all file data into licenses text file
+# =======================
+
+KEEP LGPL-2.1-only 06c4217e8353c11713418f4140ca72ad
+BELONGS dynamic/ya.make static/ya.make
+FILE_INCLUDE COPYING found in files: COPYING at line 119
+ Note: matched license text is too long. Read it in the source files.
+ Scancode info:
+ Original SPDX id: LGPL-2.1-only
+ Score : 99.98
+ Match type : TEXT
+ Links : http://www.gnu.org/licenses/lgpl-2.1.html, http://www.gnu.org/licenses/lgpl-2.1.txt, https://spdx.org/licenses/LGPL-2.1-only
+ Files with this license:
+ COPYING [2:513]
+ Belongs difference:
+ + dynamic/ya.make static/ya.make
+ - ya.make
+
+KEEP GPL-2.0-only WITH Linux-syscall-note 0a81ea6890789c282ee36f30d20ccf57
+BELONGS dynamic/ya.make static/ya.make
+ License text:
+ /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
+ Scancode info:
+ Original SPDX id: GPL-2.0-only
+ Score : 100.00
+ Match type : TAG
+ Links : http://www.gnu.org/licenses/gpl-2.0.html, http://www.gnu.org/licenses/gpl-2.0.txt, https://spdx.org/licenses/GPL-2.0-only
+ Files with this license:
+ src/syscall-generic.h [1:1]
+ Scancode info:
+ Original SPDX id: Linux-syscall-note
+ Score : 100.00
+ Match type : TAG
+ Links : https://spdx.org/licenses/Linux-syscall-note
+ Files with this license:
+ src/syscall-generic.h [1:1]
+ Belongs difference:
+ + dynamic/ya.make static/ya.make
+ - ya.make
+
+KEEP LGPL-2.0-or-later 343bafa2636ca498af257b49310b97ff
+BELONGS dynamic/ya.make static/ya.make
+ Note: matched license text is too long. Read it in the source files.
+ Scancode info:
+ Original SPDX id: LGPL-2.0-or-later
+ Score : 100.00
+ Match type : NOTICE
+ Links : http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html, http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html, https://spdx.org/licenses/LGPL-2.0-or-later
+ Files with this license:
+ src/aio_ring.h [5:17]
+ src/io_cancel.c [5:17]
+ src/io_destroy.c [5:17]
+ src/io_getevents.c [5:17]
+ src/io_pgetevents.c [5:17]
+ src/io_queue_init.c [5:17]
+ src/io_queue_release.c [5:17]
+ src/io_queue_run.c [5:17]
+ src/io_queue_wait.c [5:17]
+ src/io_setup.c [5:17]
+ src/io_submit.c [5:17]
+ src/vsys_def.h [4:16]
+ Belongs difference:
+ + dynamic/ya.make static/ya.make
+ - ya.make
+
+KEEP LGPL-2.0-or-later efd0b88f1751e46cb88598dd37b75a41
+BELONGS dynamic/ya.make static/ya.make
+ Note: matched license text is too long. Read it in the source files.
+ Scancode info:
+ Original SPDX id: LGPL-2.0-or-later
+ Score : 100.00
+ Match type : NOTICE
+ Links : http://www.gnu.org/licenses/old-licenses/lgpl-2.0-standalone.html, http://www.gnu.org/licenses/old-licenses/lgpl-2.0.html, https://spdx.org/licenses/LGPL-2.0-or-later
+ Files with this license:
+ src/libaio.h [9:21]
+ Belongs difference:
+ + dynamic/ya.make static/ya.make
+ - ya.make
diff --git a/contrib/libs/libaio/.yandex_meta/override.nix b/contrib/libs/libaio/.yandex_meta/override.nix
new file mode 100644
index 0000000000..a2f9153b32
--- /dev/null
+++ b/contrib/libs/libaio/.yandex_meta/override.nix
@@ -0,0 +1,9 @@
+pkgs: attrs: with pkgs; rec {
+ version = "0.3.113";
+
+ src = fetchgit {
+ url = "https://pagure.io/libaio.git";
+ rev = "libaio-${version}";
+ hash = "sha256-8TofYbwsnenv5GuC6FjkUt9rBTULEb5nhknuxr2ckQg=";
+ };
+}