forked from semios/semios-packages
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
56998f9787 | ||
|
|
0ba3f9a31c | ||
|
|
63c3485f5e | ||
|
|
9835791b4c | ||
|
|
204f650c63 | ||
|
|
e9fe74358f | ||
|
|
962c916ae1 | ||
|
|
33d3df6dfc | ||
|
|
bffd8e3cdc | ||
|
|
51368da8ff |
@@ -19,6 +19,8 @@ on_build(build)
|
||||
package("libkmod")
|
||||
cpp.use_auto_pack(["lib"])
|
||||
dep("semi-libc @same-arch")
|
||||
dep("libzstd @same-arch")
|
||||
dep("libcrypto @same-arch")
|
||||
|
||||
package("kmod")
|
||||
cpp.use_auto_pack(["bin"])
|
||||
|
||||
@@ -22,3 +22,4 @@ package("mksh")
|
||||
on_pack(pack_mksh)
|
||||
dep("semi-libc @same-arch")
|
||||
provide("sh")
|
||||
link("bin/mksh", "/bin/sh")
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
import os
|
||||
import subprocess
|
||||
|
||||
from lib import cpp
|
||||
from lib.make import *
|
||||
|
||||
version("5.3")
|
||||
source_url("https://github.com/kyx0r/nextvi/archive/refs/tags/5.3.tar.gz")
|
||||
|
||||
|
||||
def build():
|
||||
os.environ["PREFIX"] = "/"
|
||||
subprocess.run(["./cbuild.sh"])
|
||||
|
||||
|
||||
on_build(build)
|
||||
|
||||
|
||||
def pack(composer):
|
||||
composer.makedir("bin")
|
||||
composer.addfile("vi", "bin/vi")
|
||||
|
||||
|
||||
package("nextvi")
|
||||
on_pack(pack)
|
||||
dep("semi-libc @same-arch")
|
||||
provide("vi")
|
||||
@@ -0,0 +1,55 @@
|
||||
from lib import cpp
|
||||
from lib.make import *
|
||||
|
||||
version("10.3.1")
|
||||
source_url("https://cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-10.3p1.tar.gz")
|
||||
|
||||
|
||||
def build():
|
||||
cpp.configure(
|
||||
[
|
||||
"--prefix=/",
|
||||
"--sysconfdir=/var/config",
|
||||
"--disable-etc-default-login",
|
||||
"--with-linux-memlock-onfault",
|
||||
"--without-shadow",
|
||||
"--with-pam",
|
||||
"--with-pie",
|
||||
]
|
||||
)
|
||||
cpp.make()
|
||||
cpp.make_install()
|
||||
|
||||
|
||||
on_build(build)
|
||||
|
||||
|
||||
def pack_client(composer):
|
||||
composer.add_dir("bin", "bin")
|
||||
composer.makedir("libexec")
|
||||
composer.addfile("libexec/ssh-sk-helper", "libexec/ssh-sk-helper")
|
||||
composer.addfile("libexec/ssh-pkcs11-helper", "libexec/ssh-pkcs11-helper")
|
||||
|
||||
|
||||
package("openssh-client")
|
||||
dep("semi-libc @same-arch")
|
||||
dep("libcrypto @same-arch")
|
||||
dep("libz @same-arch")
|
||||
on_pack(pack_client)
|
||||
provide("ssh")
|
||||
|
||||
|
||||
def pack_server(composer):
|
||||
composer.makedir("bin")
|
||||
composer.addfile("sbin/sshd", "bin/sshd")
|
||||
composer.makedir("libexec")
|
||||
composer.addfile("libexec/sftp-server", "libexec/sftp-server")
|
||||
composer.addfile("libexec/ssh-keysign", "libexec/ssh-keysign")
|
||||
composer.addfile("libexec/sshd-auth", "libexec/sshd-auth")
|
||||
composer.addfile("libexec/sshd-session", "libexec/sshd-session")
|
||||
|
||||
|
||||
package("openssh-server")
|
||||
dep("openssh-client (same)")
|
||||
dep("libpam @same-arch")
|
||||
on_pack(pack_server)
|
||||
@@ -0,0 +1,16 @@
|
||||
from lib import rust
|
||||
from lib.make import *
|
||||
|
||||
version("15.1.0")
|
||||
source_url("https://github.com/BurntSushi/ripgrep/archive/refs/tags/15.1.0.tar.gz")
|
||||
|
||||
|
||||
def build():
|
||||
rust.build()
|
||||
|
||||
|
||||
on_build(build)
|
||||
|
||||
package("ripgrep")
|
||||
dep("semi-libc @same-arch")
|
||||
rust.use_auto_pack(["bin"])
|
||||
@@ -18,7 +18,7 @@ on_build(build)
|
||||
|
||||
package("libz-ng")
|
||||
cpp.use_auto_pack(["lib"])
|
||||
provide("libz")
|
||||
provide("libz@same-arch")
|
||||
dep("semi-libc @same-arch")
|
||||
|
||||
package("zlib-ng-tools")
|
||||
@@ -28,4 +28,4 @@ dep("libz-ng (same)")
|
||||
package("libz-ng-dev")
|
||||
cpp.use_auto_pack(["dev"])
|
||||
dep("libz-ng (same)")
|
||||
provide("libz-dev")
|
||||
provide("libz-dev@same-arch")
|
||||
|
||||
@@ -10,7 +10,7 @@ source_url(
|
||||
|
||||
|
||||
def build():
|
||||
cpp.make()
|
||||
cpp.make(["HAVE_ZLIB=0", "HAVE_LZMA=0", "HAVE_LZ4=0"])
|
||||
cpp.make_install()
|
||||
os.chdir("usr/local")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user