]> git.cameronkatri.com Git - apple_cmds.git/commitdiff
file_cmds: Fix BINDIRs, mtree enable algs
authorCameron Katri <me@cameronkatri.com>
Wed, 12 May 2021 21:58:45 +0000 (17:58 -0400)
committerCameron Katri <me@cameronkatri.com>
Wed, 12 May 2021 21:58:45 +0000 (17:58 -0400)
27 files changed:
file_cmds/chflags/Makefile
file_cmds/chmod/Makefile
file_cmds/cksum/Makefile
file_cmds/compress/Makefile
file_cmds/cp/Makefile
file_cmds/dd/Makefile
file_cmds/df/Makefile
file_cmds/du/Makefile
file_cmds/gzip/Makefile
file_cmds/install/Makefile
file_cmds/ipcrm/Makefile
file_cmds/ipcs/Makefile
file_cmds/ln/Makefile
file_cmds/ls/Makefile
file_cmds/mkdir/Makefile
file_cmds/mkfifo/Makefile
file_cmds/mknod/Makefile
file_cmds/mtree/Makefile
file_cmds/mv/Makefile
file_cmds/pathchk/Makefile
file_cmds/pax/Makefile
file_cmds/rm/Makefile
file_cmds/rmdir/Makefile
file_cmds/rmt/Makefile
file_cmds/shar/Makefile
file_cmds/stat/Makefile
file_cmds/touch/Makefile

index 287e327d4a9808046cc2467f71187a4d35bcb41e..a734b6e5e66ba8b8b35d3253aa26b87de8c13129 100644 (file)
@@ -1,3 +1,5 @@
 PROG=  chflags
 
+BINDIR=/bin
+
 .include <bsd.prog.mk>
index c134e4ab9575faa1c45497ba619265746120f4cd..0815c9814983ecd6eeaa602957344d86cc4d0c7b 100644 (file)
@@ -2,4 +2,6 @@ PROG=   chmod
 SRCS=  chmod.c \
        chmod_acl.c
 
+BINDIR=/bin
+
 .include <bsd.prog.mk>
index c5c38fa0f439b97a089a539494ea96a45f3b7e24..be7aebe31d5a192e70291e7631b54626dc95bf11 100644 (file)
@@ -7,4 +7,6 @@ SRCS=   cksum.c \
        sum1.c \
        sum2.c
 
+BINDIR=/bin
+
 .include <bsd.prog.mk>
index 2f87c3681cba421410488ac636df308d8b360828..9f2f16a60728751af4e9a449b54400c20a7f0450 100644 (file)
@@ -3,4 +3,6 @@ MAN=    compress.1 uncompress.1 zopen.3
 SRCS=  compress.c zopen.c
 SCRIPTS=       zcat.sh
 
+BINDIR=/bin
+
 .include <bsd.prog.mk>
index e5fb6a81f92e496b78c2c993fbb63fcaa002e9fe..492fb0d143e67be5ee40938130493aa5e23c4464 100644 (file)
@@ -1,4 +1,6 @@
 PROG=  cp
 SRCS=  cp.c utils.c
 
+BINDIR=/bin
+
 .include <bsd.prog.mk>
index 7e90f728bd80706d3b59deba250d7f62add773e2..72f3c3ae3f0bcb7df3974a16416e43722bd8a6c8 100644 (file)
@@ -1,4 +1,6 @@
 PROG=  dd
 SRCS=  args.c conv_tab.c conv.c dd.c misc.c position.c
 
+BINDIR=/bin
+
 .include <bsd.prog.mk>
index 5d8456d442212a1fde6e3f346271eddcccf1a165..346654fc66b34cbad922c5f1c4dd13446ffcb364 100644 (file)
@@ -3,4 +3,6 @@ SRCS=   df.c vfslist.c
 
 LDADD=-lutil
 
+BINDIR=/bin
+
 .include <bsd.prog.mk>
index ab61aa3b0ef753bc1b6b71548b26f657195c075e..c4068296c21634601320434b11fe8502bcf263ae 100644 (file)
@@ -1,3 +1,5 @@
 PROG=  du
 
+BINDIR=/bin
+
 .include <bsd.prog.mk>
index 760cb200c2eccf22bbacf28ff89ca8ea2a040c92..077473c82eea78a259b91e613a1edf237da442e8 100644 (file)
@@ -12,4 +12,6 @@ SCRIPTS=      gzexe \
 CFLAGS+=-DGZIP_APPLE_VERSION=\"321.40.3\"
 LDADD=-llzma -lz -lbz2
 
+BINDIR=/bin
+
 .include <bsd.prog.mk>
index 41bdd0d2cf98a1755c2d1d7ac82db122b27b56d7..9513e0ee7ebca6a056df9d935c1181d05de79101 100644 (file)
@@ -1,4 +1,6 @@
 PROG=  install
 SRCS=  xinstall.c
 
+BINDIR=/bin
+
 .include <bsd.prog.mk>
index c3dc182c88c2640a6d72c3cb16ab23db92d91e0a..1c314ad125e9434307a585efe6e5c7077af2afcb 100644 (file)
@@ -1,3 +1,5 @@
 PROG=  ipcrm
 
+BINDIR=/bin
+
 .include <bsd.prog.mk>
index b26436aa3600c4dc381042d80dfd90d339712357..02c7fbace6cea71e869de113e83a63a905e3e6b3 100644 (file)
@@ -1,3 +1,5 @@
 PROG=  ipcs
 
+BINDIR=/bin
+
 .include <bsd.prog.mk>
index 674541a551251c4ab82b5a86fee70a8a847e0f4d..8a22b20d9ad1c4d6b64de600f7630a489f6da982 100644 (file)
@@ -2,4 +2,6 @@ PROG=   ln
 MAN=   link.1 ln.1 symlink.7
 LINKS= ${BINDIR}/ln ${BINDIR}/link
 
+BINDIR=/bin
+
 .include <bsd.prog.mk>
index 8edb47abbfa84d3f32f8db9b34f0714ec6c6f29c..b3318b1d8a6f5a7d69ff8c74cda351e79f9090f9 100644 (file)
@@ -3,4 +3,6 @@ SRCS=   cmp.c ls.c print.c util.c
 
 LDADD=-lutil
 
+BINDIR=/bin
+
 .include <bsd.prog.mk>
index baa4bc3e210db49e6705d75a635cd4730738afdd..ea70b148f3dd01086f1a79fdcbe18fa7e85376eb 100644 (file)
@@ -1,3 +1,5 @@
 PROG=  mkdir
 
+BINDIR=/bin
+
 .include <bsd.prog.mk>
index aa19b2abf75871a76dec377636b368fbcb7de922..45542b9bc5d2a3989adfef11d7f490feeb5a461b 100644 (file)
@@ -1,3 +1,5 @@
 PROG=  mkfifo
 
+BINDIR=/bin
+
 .include <bsd.prog.mk>
index 0eae59bef1eaff84492bca09c8c61fcffe8d9719..04efea7c764e8249b80dfe62c9ccd4f81859223e 100644 (file)
@@ -1,4 +1,6 @@
 PROG=  mknod
 MAN=   mknod.8
 
+BINDIR=/sbin
+
 .include <bsd.prog.mk>
index e9cf4f2b1d391b4e0230d62ff2ea6da42df64369..177c7e83b97aaafa29e0cf20b974963afbc4eff7 100644 (file)
@@ -14,6 +14,9 @@ SRCS= commoncrypto.c \
 
 .PATH: ${.CURDIR}/../cksum
 
+CFLAGS+=-DENABLE_MD5 -DENABLE_RMD160 -DENABLE_SHA1 -DENABLE_SHA256
 LDADD=-framework CoreFoundation
 
+BINDIR=/usr/sbin
+
 .include <bsd.prog.mk>
index b7be72c073512bcc3def13690ea565748bfae79c..01d35425a2bdd259f29dea966b94b9df4f234949 100644 (file)
@@ -1,3 +1,5 @@
 PROG=  mv
 
+BINDIR=/bin
+
 .include <bsd.prog.mk>
index a3ea46c30c5f104d36abe6841f3e99fc9e3a9a44..97d4b20417e39b2ea8339100fc24e7550b79a75d 100644 (file)
@@ -1,3 +1,5 @@
 PROG=  pathchk
 
+BINDIR=/bin
+
 .include <bsd.prog.mk>
index fe5902c8693997edc5f98722ad08fa64bc27d71d..5d3dbdc50df8b40c776d13b7b88a6186f6845df6 100644 (file)
@@ -18,4 +18,6 @@ SRCS= ar_io.c \
        tar.c \
        tty_subs.c
 
+BINDIR=/bin
+
 .include <bsd.prog.mk>
index 29b0c5b7fd56dff19104211badf0cd910d719bf8..42c32c7ef143370c4414785c71ec98183177681d 100644 (file)
@@ -1,4 +1,6 @@
 PROG=  rm
 MAN=   rm.1 unlink.1
 
+BINDIR=/bin
+
 .include <bsd.prog.mk>
index a05d665562599e845067800d099b7417b9c449a5..e54393e825167ee102afe5f728383e9db2bc0eb0 100644 (file)
@@ -1,3 +1,5 @@
 PROG=  rmdir
 
+BINDIR=/bin
+
 .include <bsd.prog.mk>
index 1e515eea38c78e18bd42ad317b29064f53628d29..8d058d6b1ea21099f62e4ad16cc9298842bc836b 100644 (file)
@@ -1,4 +1,6 @@
 PROG=  rmt
 MAN=   rmt.8
 
+BINDIR=/bin
+
 .include <bsd.prog.mk>
index 261ee4369f912de48a35b336b11b109dcdcfc44d..d7288d3dec1a30a20431de1b8ffb6dbd4104b941 100644 (file)
@@ -1,4 +1,6 @@
 SCRIPTS=       shar.sh
 MAN=   shar.1
 
+BINDIR=/bin
+
 .include <bsd.prog.mk>
index 71d9ee0e3d8b943efe1e420ea219f94ff7178a21..b07de81d8738ef7e8837eecc88b83fa025638797 100644 (file)
@@ -1,4 +1,6 @@
 PROG=  stat
 MAN=   readlink.1 stat.1
 
+BINDIR=/bin
+
 .include <bsd.prog.mk>
index fcb8859cf7722f22bde1ac8466873bf46f4e2cca..2dd708a1ba2d7327857d9de811506823c602fcf0 100644 (file)
@@ -1,3 +1,5 @@
 PROG=  touch
 
+BINDIR=/bin
+
 .include <bsd.prog.mk>