From 2f6842c5238c538ec170be10e641caf5a644a691 Mon Sep 17 00:00:00 2001 From: Peter Date: Sat, 16 Jul 2022 19:30:27 +0300 Subject: Add chown --- package/deps.mak | 3 +++ package/modes | 1 + package/targets.mak | 1 + 3 files changed, 5 insertions(+) (limited to 'package') diff --git a/package/deps.mak b/package/deps.mak index 01cae0f..1850169 100644 --- a/package/deps.mak +++ b/package/deps.mak @@ -7,6 +7,7 @@ src/shh-portable-utils/byte_notin.o src/shh-portable-utils/byte_notin.lo: src/sh src/shh-portable-utils/cat.o src/shh-portable-utils/cat.lo: src/shh-portable-utils/cat.c src/shh-portable-utils/chgrp.o src/shh-portable-utils/chgrp.lo: src/shh-portable-utils/chgrp.c src/shh-portable-utils/chmod.o src/shh-portable-utils/chmod.lo: src/shh-portable-utils/chmod.c +src/shh-portable-utils/chown.o src/shh-portable-utils/chown.lo: src/shh-portable-utils/chown.c src/shh-portable-utils/cut.o src/shh-portable-utils/cut.lo: src/shh-portable-utils/cut.c src/shh-portable-utils/shhfuncs.h src/shh-portable-utils/false.o src/shh-portable-utils/false.lo: src/shh-portable-utils/false.c src/shh-portable-utils/shhgetln.o src/shh-portable-utils/shhgetln.lo: src/shh-portable-utils/shhgetln.c src/shh-portable-utils/shhfuncs.h @@ -21,6 +22,8 @@ chgrp: EXTRA_LIBS := ${SOCKET_LIB} -lskarnet chgrp: src/shh-portable-utils/chgrp.o ${LIBNSSS} chmod: EXTRA_LIBS := -lskarnet chmod: src/shh-portable-utils/chmod.o +chown: EXTRA_LIBS := ${SOCKET_LIB} -lskarnet +chown: src/shh-portable-utils/chown.o ${LIBNSSS} cut: EXTRA_LIBS := -lskarnet cut: src/shh-portable-utils/cut.o src/shh-portable-utils/shhgetln.o false: EXTRA_LIBS := diff --git a/package/modes b/package/modes index 42e62a0..f915ed4 100644 --- a/package/modes +++ b/package/modes @@ -2,6 +2,7 @@ basename 0755 cat 0755 chgrp 0755 chmod 0755 +chown 0755 cut 0755 false 0755 true 0755 diff --git a/package/targets.mak b/package/targets.mak index 709203a..e01a01a 100644 --- a/package/targets.mak +++ b/package/targets.mak @@ -3,6 +3,7 @@ basename \ cat \ chgrp \ chmod \ +chown \ cut \ false \ true \ -- cgit v1.2.3