summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rwxr-xr-xdata/coreutils/coreutils.sh3
-rw-r--r--data/coreutils/make.sh2
-rwxr-xr-xdata/cvs/cvs.sh1
-rw-r--r--data/cvs/make.sh2
-rwxr-xr-xdata/less/less.sh1
-rw-r--r--data/less/make.sh6
-rw-r--r--data/rsync/make.sh2
-rwxr-xr-xdata/rsync/rsync.sh1
-rw-r--r--data/vim/make.sh2
-rwxr-xr-xdata/vim/vim.sh1
10 files changed, 19 insertions, 2 deletions
diff --git a/data/coreutils/coreutils.sh b/data/coreutils/coreutils.sh
new file mode 100755
index 000000000..e7d52142d
--- /dev/null
+++ b/data/coreutils/coreutils.sh
@@ -0,0 +1,3 @@
+alias ls="ls -Fb --color=auto -T 0"
+eval "$(dircolors -b)"
+export CLICOLOR=
diff --git a/data/coreutils/make.sh b/data/coreutils/make.sh
index 2b3311b62..137265f15 100644
--- a/data/coreutils/make.sh
+++ b/data/coreutils/make.sh
@@ -7,3 +7,5 @@ pkg: rm -f /usr/bin/sync
pkg:bin cat chgrp chmod chown cp date dd df dir echo false hostname kill ln ls mkdir mknod mv pwd readlink rm rmdir vdir sleep stty su touch true uname
pkg: mkdir -p /usr/sbin
pkg: mv /usr/bin/chroot /usr/sbin
+pkg: mkdir -p /etc/profile.d
+pkg: cp -a %/coreutils.sh /etc/profile.d
diff --git a/data/cvs/cvs.sh b/data/cvs/cvs.sh
new file mode 100755
index 000000000..f9c172ccf
--- /dev/null
+++ b/data/cvs/cvs.sh
@@ -0,0 +1 @@
+export CVS_RSH=ssh
diff --git a/data/cvs/make.sh b/data/cvs/make.sh
index 0874bed08..91571090e 100644
--- a/data/cvs/make.sh
+++ b/data/cvs/make.sh
@@ -3,3 +3,5 @@ cd *
pkg:configure --without-gssapi
make
pkg:install
+pkg: mkdir -p /etc/profile.d
+pkg: cp -a %/cvs.sh /etc/profile.d
diff --git a/data/less/less.sh b/data/less/less.sh
new file mode 100755
index 000000000..42cda74ad
--- /dev/null
+++ b/data/less/less.sh
@@ -0,0 +1 @@
+alias less='less -R'
diff --git a/data/less/make.sh b/data/less/make.sh
index b956d398c..3e560259c 100644
--- a/data/less/make.sh
+++ b/data/less/make.sh
@@ -1,5 +1,7 @@
-tar -zxvf "${PKG_DATA}/less-416.tar.gz"
-cd less-416
+pkg:extract
+cd *
pkg:configure
make
pkg:install
+pkg: mkdir -p /etc/profile.d
+pkg: cp -a %/less.sh /etc/profile.d
diff --git a/data/rsync/make.sh b/data/rsync/make.sh
index 290d2eeef..9b2e673be 100644
--- a/data/rsync/make.sh
+++ b/data/rsync/make.sh
@@ -3,3 +3,5 @@ cd rsync-2.6.9
pkg:configure
make
pkg:install
+pkg: mkdir -p /etc/profile.d
+pkg: cp -a %/rsync.sh /etc/profile.d
diff --git a/data/rsync/rsync.sh b/data/rsync/rsync.sh
new file mode 100755
index 000000000..c6ee3c023
--- /dev/null
+++ b/data/rsync/rsync.sh
@@ -0,0 +1 @@
+export RSYNC_RSH=ssh
diff --git a/data/vim/make.sh b/data/vim/make.sh
index 4bd0a0128..4e0b397c1 100644
--- a/data/vim/make.sh
+++ b/data/vim/make.sh
@@ -7,3 +7,5 @@ cd ..
STRIP=$(which arm-apple-darwin-strip) CFLAGS='-O0' ./configure --prefix=/usr --host=arm-apple-darwin --enable-gui=no --without-x vim_cv_toupper_broken=no --with-tlib=ncurses vim_cv_terminfo=yes vim_cv_tty_group=4 vim_cv_tty_mode=0620 vim_cv_getcwd_broken=no vim_cv_stat_ignores_slash=no ac_cv_sizeof_int=4 vim_cv_memmove_handles_overlap=yes
make
pkg:install
+pkg: mkdir -p /etc/profile.d
+pkg: cp -a %/vim.sh /etc/profile.d
diff --git a/data/vim/vim.sh b/data/vim/vim.sh
new file mode 100755
index 000000000..d46bf43bf
--- /dev/null
+++ b/data/vim/vim.sh
@@ -0,0 +1 @@
+export EDITOR=vim