Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions packages/conf-gmp-powm-sec/conf-gmp-powm-sec.1/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
opam-version: "2.0"
maintainer: "Etienne Millon <etienne@cryptosense.com>"
homepage: "http://gmplib.org/"
bug-reports: "https://github.com/ocaml/opam-repository/issues"
license: "GPL-1.0-or-later"
build: [
["sh" "-exc" "cc -c $CFLAGS -I/usr/local/include test.c"] {os != "macos"}
[
"sh"
"-exc"
"cc -c $CFLAGS -I/opt/local/include -I/usr/local/include test.c"
] {os = "macos"}
]
depends: ["conf-gmp" {<= "5"}]
synopsis:
"Virtual package relying on a GMP lib with constant-time modular exponentiation"
description: """
This package can only install if the GMP lib is installed on the system and
corresponds to a version that has the mpz_powm_sec function."""
authors: "Etienne Millon <etienne@cryptosense.com>"
flags: conf
extra-source "test.c" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/conf-gmp-powm-sec/test.c.1"
checksum: [
"sha256=c9ed8a9ca7f50cf096c6586b7fe57008ee0c44430af4e029511882eb873d0a2b"
"md5=1f737746280d037db069d178d0d52d39"
]
}
x-opam-repository-commit-hash-at-time-of-archiving: "95788400693042c41b3b6ff0c639bf50798702cd"
x-reason-for-archiving: ["uninstallable"]
31 changes: 31 additions & 0 deletions packages/conf-gmp-powm-sec/conf-gmp-powm-sec.2/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
opam-version: "2.0"
maintainer: "Etienne Millon <etienne@cryptosense.com>"
homepage: "http://gmplib.org/"
bug-reports: "https://github.com/ocaml/opam-repository/issues"
license: "GPL-1.0-or-later"
build: [
["sh" "-exc" "cc -c $CFLAGS -I/usr/local/include test.c"] {os != "macos"}
[
"sh"
"-exc"
"cc -c $CFLAGS -I/opt/local/include -I/usr/local/include test.c"
] {os = "macos"}
]
depends: ["conf-gmp" {<= "5"}]
synopsis:
"Virtual package relying on a GMP lib with constant-time modular exponentiation"
description: """
This package can only install if the GMP lib is installed on the system and
corresponds to a version that has the mpz_powm_sec function."""
authors: "Etienne Millon <etienne@cryptosense.com>"
flags: conf
extra-source "test.c" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/conf-gmp-powm-sec/test.c.2"
checksum: [
"sha256=388b3879530257a7e6e59b68208ee2a52de7be30e40eb4d3a54419708fdad490"
"md5=29317f477fa828e18428660ef31064fb"
]
}
x-opam-repository-commit-hash-at-time-of-archiving: "95788400693042c41b3b6ff0c639bf50798702cd"
x-reason-for-archiving: ["uninstallable"]
38 changes: 38 additions & 0 deletions packages/conf-gmp-powm-sec/conf-gmp-powm-sec.3/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
opam-version: "2.0"
maintainer: "Etienne Millon <etienne@cryptosense.com>"
homepage: "http://gmplib.org/"
bug-reports: "https://github.com/ocaml/opam-repository/issues"
license: "GPL-1.0-or-later"
build: [
["sh" "-exc" "cc -c $CFLAGS -I/usr/local/include test.c"] {os != "macos" & os != "win32"}
["sh" "-exc"
"%{host-arch-x86_64:installed?x86_64:}%%{host-arch-x86_32:installed?i686:}%-w64-mingw32-gcc -c $CFLAGS test.c"
] {os = "win32"}
[
"sh"
"-exc"
"cc -c $CFLAGS -I/opt/homebrew/include -I/opt/local/include -I/usr/local/include test.c"
] {os = "macos"}
]
depends: [
"conf-gmp" {<= "5"}
("host-arch-x86_32" {os = "win32" & os-distribution != "cygwinports"} |
"host-arch-x86_64" {os = "win32" & os-distribution != "cygwinports"})
]
synopsis:
"Virtual package relying on a GMP lib with constant-time modular exponentiation"
description: """
This package can only install if the GMP lib is installed on the system and
corresponds to a version that has the mpz_powm_sec function."""
authors: "Etienne Millon <etienne@cryptosense.com>"
flags: conf
extra-source "test.c" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/conf-gmp-powm-sec/test.c.3"
checksum: [
"sha256=388b3879530257a7e6e59b68208ee2a52de7be30e40eb4d3a54419708fdad490"
"md5=29317f477fa828e18428660ef31064fb"
]
}
x-opam-repository-commit-hash-at-time-of-archiving: "95788400693042c41b3b6ff0c639bf50798702cd"
x-reason-for-archiving: ["uninstallable"]
40 changes: 40 additions & 0 deletions packages/conf-gmp/conf-gmp.1/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
opam-version: "2.0"
maintainer: "nbraud"
homepage: "http://gmplib.org/"
bug-reports: "https://github.com/ocaml/opam-repository/issues"
license: "GPL-1.0-or-later"
build: [
["sh" "-exc" "cc -c $CFLAGS -I/usr/local/include test.c"] {os != "macos"}
[
"sh"
"-exc"
"cc -c $CFLAGS -I/opt/local/include -I/usr/local/include test.c"
] {os = "macos"}
]
depexts: [
["libgmp-dev"] {os-family = "debian"}
["gmp"] {os = "macos" & os-distribution = "homebrew"}
["gmp"] {os-distribution = "macports" & os = "macos"}
["gmp" "gmp-devel"] {os-distribution = "centos"}
["gmp" "gmp-devel"] {os-family = "fedora"}
["gmp"] {os = "openbsd"}
["gmp"] {os = "freebsd"}
["gmp-dev"] {os-distribution = "alpine"}
["gmp-devel"] {os-family = "suse" | os-family = "opensuse"}
["gmp"] {os = "win32" & os-distribution = "cygwinports"}
]
synopsis: "Virtual package relying on a GMP lib system installation"
description:
"This package can only install if the GMP lib is installed on the system."
authors: "nbraud"
flags: conf
extra-source "test.c" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/conf-gmp/test.c.1"
checksum: [
"sha256=6750f7c6b37abb3a7f55ac5d86d2c0404e5e085877f6fe1cd62f875873ce4181"
"md5=ec8cc21ab709bdd57103de36e7b0b53f"
]
}
x-opam-repository-commit-hash-at-time-of-archiving: "95788400693042c41b3b6ff0c639bf50798702cd"
x-reason-for-archiving: ["uninstallable"]
41 changes: 41 additions & 0 deletions packages/conf-gmp/conf-gmp.2/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
opam-version: "2.0"
maintainer: "nbraud"
homepage: "http://gmplib.org/"
bug-reports: "https://github.com/ocaml/opam-repository/issues"
license: "GPL-1.0-or-later"
build: [
["sh" "-exc" "cc -c $CFLAGS -I/usr/local/include test.c"] {os != "macos"}
[
"sh"
"-exc"
"cc -c $CFLAGS -I/opt/local/include -I/usr/local/include test.c"
] {os = "macos"}
]
depexts: [
["libgmp-dev"] {os-family = "debian"}
["gmp"] {os = "macos" & os-distribution = "homebrew"}
["gmp"] {os-distribution = "macports" & os = "macos"}
["gmp" "gmp-devel"] {os-distribution = "centos"}
["gmp" "gmp-devel"] {os-family = "fedora"}
["gmp" "gmp-devel"] {os-distribution = "ol"}
["gmp"] {os = "openbsd"}
["gmp"] {os = "freebsd"}
["gmp-dev"] {os-distribution = "alpine"}
["gmp-devel"] {os-family = "suse" | os-family = "opensuse"}
["gmp"] {os = "win32" & os-distribution = "cygwinports"}
]
synopsis: "Virtual package relying on a GMP lib system installation"
description:
"This package can only install if the GMP lib is installed on the system."
authors: "nbraud"
flags: conf
extra-source "test.c" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/conf-gmp/test.c.2"
checksum: [
"sha256=54a30735f1f271a2531526747e75716f4490dd7bc1546efd6498ccfe3cc4d6fb"
"md5=2fd2970c293c36222a6d299ec155823f"
]
}
x-opam-repository-commit-hash-at-time-of-archiving: "95788400693042c41b3b6ff0c639bf50798702cd"
x-reason-for-archiving: ["uninstallable"]
41 changes: 41 additions & 0 deletions packages/conf-gmp/conf-gmp.3/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
opam-version: "2.0"
maintainer: "nbraud"
homepage: "http://gmplib.org/"
bug-reports: "https://github.com/ocaml/opam-repository/issues"
license: "GPL-1.0-or-later"
build: [
["sh" "-exc" "cc -c $CFLAGS -I/usr/local/include test.c"] {os != "macos"}
[
"sh"
"-exc"
"cc -c $CFLAGS -I/opt/homebrew/include -I/opt/local/include -I/usr/local/include test.c"
] {os = "macos"}
]
depexts: [
["libgmp-dev"] {os-family = "debian"}
["libgmp-dev"] {os-family = "ubuntu"}
["gmp"] {os = "macos" & os-distribution = "homebrew"}
["gmp"] {os-distribution = "macports" & os = "macos"}
["gmp" "gmp-devel"] {os-distribution = "centos"}
["gmp" "gmp-devel"] {os-family = "fedora"}
["gmp" "gmp-devel"] {os-distribution = "ol"}
["gmp"] {os = "openbsd"}
["gmp"] {os = "freebsd"}
["gmp-dev"] {os-distribution = "alpine"}
["gmp-devel"] {os-family = "suse" | os-family = "opensuse"}
]
synopsis: "Virtual package relying on a GMP lib system installation"
description:
"This package can only install if the GMP lib is installed on the system."
authors: "nbraud"
flags: conf
extra-source "test.c" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/conf-gmp/test.c.3"
checksum: [
"sha256=54a30735f1f271a2531526747e75716f4490dd7bc1546efd6498ccfe3cc4d6fb"
"md5=2fd2970c293c36222a6d299ec155823f"
]
}
x-opam-repository-commit-hash-at-time-of-archiving: "95788400693042c41b3b6ff0c639bf50798702cd"
x-reason-for-archiving: ["uninstallable"]
57 changes: 57 additions & 0 deletions packages/conf-gmp/conf-gmp.4/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
opam-version: "2.0"
maintainer: "nbraud"
homepage: "http://gmplib.org/"
bug-reports: "https://github.com/ocaml/opam-repository/issues"
license: "GPL-1.0-or-later"
build: [
["sh" "-exc" "cc -c $CFLAGS -I/usr/local/include test.c"] {os != "macos" & os != "win32"}
[
"sh"
"-exc"
"$(ocamlc -config-var c_compiler) -c $CFLAGS -I/usr/local/include test.c"
] {os = "win32" & os-distribution = "cygwinports"}
[
"sh"
"-exc"
"cc -c $CFLAGS -I/opt/homebrew/include -I/opt/local/include -I/usr/local/include test.c"
] {os = "macos"}
[
"sh"
"-exc"
"%{host-arch-x86_64:installed?x86_64:}%%{host-arch-x86_32:installed?i686:}%-w64-mingw32-gcc -c $CFLAGS test.c"
] {os = "win32" & os-distribution != "cygwinports"}
]
depends: [
(("host-arch-x86_32" {os = "win32" & os-distribution != "cygwinports"} & "conf-mingw-w64-gmp-i686" {os = "win32" & os-distribution != "cygwinports"}) |
("host-arch-x86_64" {os = "win32" & os-distribution != "cygwinports"} & "conf-mingw-w64-gmp-x86_64" {os = "win32" & os-distribution != "cygwinports"}))
]
depexts: [
["libgmp-dev"] {os-family = "debian"}
["libgmp-dev"] {os-family = "ubuntu"}
["gmp"] {os = "macos" & os-distribution = "homebrew"}
["gmp"] {os-distribution = "macports" & os = "macos"}
["gmp" "gmp-devel"] {os-distribution = "centos"}
["gmp" "gmp-devel"] {os-family = "fedora" | os-family = "fedora"}
["gmp" "gmp-devel"] {os-distribution = "ol"}
["gmp"] {os = "openbsd"}
["gmp"] {os = "freebsd"}
["gmp-dev"] {os-distribution = "alpine"}
["gmp-devel"] {os-family = "suse" | os-family = "opensuse"}
["gmp"] {os = "win32" & os-distribution = "cygwinports"}
["gmp"] {os-distribution = "nixos"}
]
synopsis: "Virtual package relying on a GMP lib system installation"
description:
"This package can only install if the GMP lib is installed on the system."
authors: "nbraud"
flags: conf
extra-source "test.c" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/conf-gmp/test.c.4"
checksum: [
"sha256=54a30735f1f271a2531526747e75716f4490dd7bc1546efd6498ccfe3cc4d6fb"
"md5=2fd2970c293c36222a6d299ec155823f"
]
}
x-opam-repository-commit-hash-at-time-of-archiving: "95788400693042c41b3b6ff0c639bf50798702cd"
x-reason-for-archiving: ["uninstallable"]
Loading