summaryrefslogtreecommitdiff
path: root/repo/util
diff options
context:
space:
mode:
Diffstat (limited to 'repo/util')
-rw-r--r--repo/util/fzf.xibuild1
-rw-r--r--repo/util/gawk.xibuild1
-rw-r--r--repo/util/inetutils.xibuild1
-rw-r--r--repo/util/openssh.xibuild14
4 files changed, 12 insertions, 5 deletions
diff --git a/repo/util/fzf.xibuild b/repo/util/fzf.xibuild
index a144f28..6926f2f 100644
--- a/repo/util/fzf.xibuild
+++ b/repo/util/fzf.xibuild
@@ -10,6 +10,7 @@ DESC="Command-line fuzzy finder"
prepare () {
sed -i 's/-w /-w -linkmode external /' Makefile
+ sed -i '61s,.*, defaultCommand = `command find -L . -mindepth 1 -path "*/\.*" -prune -o -type f -print -o -type l -print 2> /dev/null | cut -b3-`,' src/constants.go
}
build () {
diff --git a/repo/util/gawk.xibuild b/repo/util/gawk.xibuild
index 76abe77..c2f3d05 100644
--- a/repo/util/gawk.xibuild
+++ b/repo/util/gawk.xibuild
@@ -14,4 +14,5 @@ build () {
package () {
make DESTDIR=$PKG_DEST install
+
}
diff --git a/repo/util/inetutils.xibuild b/repo/util/inetutils.xibuild
index 485f7c7..6e7ed88 100644
--- a/repo/util/inetutils.xibuild
+++ b/repo/util/inetutils.xibuild
@@ -25,4 +25,5 @@ build () {
package () {
make DESTDIR=$PKG_DEST install
rm $PKG_DEST/usr/bin/hostname
+ chmod u+s $PKG_DEST/usr/bin/ping
}
diff --git a/repo/util/openssh.xibuild b/repo/util/openssh.xibuild
index c60a2ed..1430347 100644
--- a/repo/util/openssh.xibuild
+++ b/repo/util/openssh.xibuild
@@ -1,12 +1,14 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="musl krb5 openssl libedit ldns libxcrypt zlib pam"
+DEPS="musl krb5 openssl libedit ldns libxcrypt zlib pam argp-standalone"
PKG_VER=8.8p1
SOURCE=https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-$PKG_VER.tar.gz
DESC="Premier connectivity tool for remote login with the SSH protocol"
+ADDITIONAL="sshd.initd sshd.confd"
+
build () {
./configure --prefix=/usr \
--sysconfdir=/etc/ssh \
@@ -21,12 +23,14 @@ build () {
package () {
make DESTDIR=$PKG_DEST install
- install -m755 contrib/ssh-copy-id $PKG_DEST/usr/bin
+ install -Dm755 contrib/ssh-copy-id $PKG_DEST/usr/bin
- install -m644 contrib/ssh-copy-id.1 \
+ install -Dm644 contrib/ssh-copy-id.1 \
$PKG_DEST/usr/share/man/man1
- install -m755 -d $PKG_DEST/usr/share/doc/openssh-$PKG_VER
- install -m644 INSTALL LICENCE OVERVIEW README* \
+ install -Dm755 -d $PKG_DEST/usr/share/doc/openssh-$PKG_VER
+ install -Dm644 INSTALL LICENCE OVERVIEW README* \
$PKG_DEST/usr/share/doc/openssh-$PKG_VER
+ install -Dm755 sshd.initd $PKG_DEST/etc/init.d/sshd
+ install -Dm755 sshd.confd $PKG_DEST/etc/conf.d/sshd
}