* [Buildroot] svn commit: trunk/buildroot/package/which
@ 2008-03-06 18:29 ninevoltz at uclibc.org
2008-03-06 21:44 ` Peter Korsgaard
0 siblings, 1 reply; 10+ messages in thread
From: ninevoltz at uclibc.org @ 2008-03-06 18:29 UTC (permalink / raw)
To: buildroot
Author: ninevoltz
Date: 2008-03-06 10:29:21 -0800 (Thu, 06 Mar 2008)
New Revision: 21239
Log:
cleanup which makefile
Modified:
trunk/buildroot/package/which/which.mk
Changeset:
Modified: trunk/buildroot/package/which/which.mk
===================================================================
--- trunk/buildroot/package/which/which.mk 2008-03-06 18:29:06 UTC (rev 21238)
+++ trunk/buildroot/package/which/which.mk 2008-03-06 18:29:21 UTC (rev 21239)
@@ -3,7 +3,7 @@
# which
#
#############################################################
-WHICH_VERSION:=2.16
+WHICH_VERSION:=2.19
WHICH_SOURCE:=which-$(WHICH_VERSION).tar.gz
WHICH_SITE:=http://www.xs4all.nl/~carlo17/which/
WHICH_DIR:=$(BUILD_DIR)/which-$(WHICH_VERSION)
@@ -19,7 +19,7 @@
$(WHICH_DIR)/.unpacked: $(DL_DIR)/$(WHICH_SOURCE)
$(WHICH_CAT) $(DL_DIR)/$(WHICH_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
$(CONFIG_UPDATE) $(WHICH_DIR)
- touch $(WHICH_DIR)/.unpacked
+ touch $@
$(WHICH_DIR)/.configured: $(WHICH_DIR)/.unpacked
(cd $(WHICH_DIR); rm -rf config.cache; \
@@ -31,7 +31,7 @@
--build=$(GNU_HOST_NAME) \
--prefix=/ \
)
- touch $(WHICH_DIR)/.configured
+ touch $@
$(WHICH_DIR)/$(WHICH_BINARY): $(WHICH_DIR)/.configured
$(MAKE) CC=$(TARGET_CC) -C $(WHICH_DIR)
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/which
2008-03-06 18:29 ninevoltz at uclibc.org
@ 2008-03-06 21:44 ` Peter Korsgaard
0 siblings, 0 replies; 10+ messages in thread
From: Peter Korsgaard @ 2008-03-06 21:44 UTC (permalink / raw)
To: buildroot
>>>>> "ninevoltz" == ninevoltz <ninevoltz@uclibc.org> writes:
ninevoltz> Author: ninevoltz
ninevoltz> Date: 2008-03-06 10:29:21 -0800 (Thu, 06 Mar 2008)
ninevoltz> New Revision: 21239
ninevoltz> Log:
ninevoltz> cleanup which makefile
...
ninevoltz> #############################################################
ninevoltz> -WHICH_VERSION:=2.16
ninevoltz> +WHICH_VERSION:=2.19
Please don't do this together with a cleanup.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/which
@ 2008-07-22 13:59 jacmet at uclibc.org
2008-07-23 0:50 ` Hamish Moffatt
0 siblings, 1 reply; 10+ messages in thread
From: jacmet at uclibc.org @ 2008-07-22 13:59 UTC (permalink / raw)
To: buildroot
Author: jacmet
Date: 2008-07-22 06:59:35 -0700 (Tue, 22 Jul 2008)
New Revision: 22913
Log:
which: needs readline
Patch by Wade Berrier.
Modified:
trunk/buildroot/package/which/Config.in
Changeset:
Modified: trunk/buildroot/package/which/Config.in
===================================================================
--- trunk/buildroot/package/which/Config.in 2008-07-22 11:37:23 UTC (rev 22912)
+++ trunk/buildroot/package/which/Config.in 2008-07-22 13:59:35 UTC (rev 22913)
@@ -1,5 +1,6 @@
config BR2_PACKAGE_WHICH
bool "which"
+ select BR2_READLINE
help
The standard 'which' utility.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/which
@ 2008-07-22 13:59 jacmet at uclibc.org
0 siblings, 0 replies; 10+ messages in thread
From: jacmet at uclibc.org @ 2008-07-22 13:59 UTC (permalink / raw)
To: buildroot
Author: jacmet
Date: 2008-07-22 06:59:39 -0700 (Tue, 22 Jul 2008)
New Revision: 22914
Log:
which: strip target binary
Modified:
trunk/buildroot/package/which/which.mk
Changeset:
Modified: trunk/buildroot/package/which/which.mk
===================================================================
--- trunk/buildroot/package/which/which.mk 2008-07-22 13:59:35 UTC (rev 22913)
+++ trunk/buildroot/package/which/which.mk 2008-07-22 13:59:39 UTC (rev 22914)
@@ -37,7 +37,8 @@
$(MAKE) CC=$(TARGET_CC) -C $(WHICH_DIR)
$(TARGET_DIR)/$(WHICH_TARGET_BINARY): $(WHICH_DIR)/$(WHICH_BINARY)
- install -D $(WHICH_DIR)/$(WHICH_BINARY) $(TARGET_DIR)/$(WHICH_TARGET_BINARY)
+ install -D $^ $@
+ $(STRIPCMD) $(STRIP_STRIP_ALL) $@
which: uclibc $(TARGET_DIR)/$(WHICH_TARGET_BINARY)
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/which
@ 2008-07-22 13:59 jacmet at uclibc.org
0 siblings, 0 replies; 10+ messages in thread
From: jacmet at uclibc.org @ 2008-07-22 13:59 UTC (permalink / raw)
To: buildroot
Author: jacmet
Date: 2008-07-22 06:59:42 -0700 (Tue, 22 Jul 2008)
New Revision: 22915
Log:
which: install into /usr/bin
Modified:
trunk/buildroot/package/which/which.mk
Changeset:
Modified: trunk/buildroot/package/which/which.mk
===================================================================
--- trunk/buildroot/package/which/which.mk 2008-07-22 13:59:39 UTC (rev 22914)
+++ trunk/buildroot/package/which/which.mk 2008-07-22 13:59:42 UTC (rev 22915)
@@ -9,7 +9,7 @@
WHICH_DIR:=$(BUILD_DIR)/which-$(WHICH_VERSION)
WHICH_CAT:=$(ZCAT)
WHICH_BINARY:=which
-WHICH_TARGET_BINARY:=bin/which
+WHICH_TARGET_BINARY:=usr/bin/which
$(DL_DIR)/$(WHICH_SOURCE):
$(WGET) -P $(DL_DIR) $(WHICH_SITE)/$(WHICH_SOURCE)
@@ -29,7 +29,8 @@
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
- --prefix=/ \
+ --prefix=/usr \
+ --sysconfdir=/etc \
)
touch $@
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/which
@ 2008-07-22 14:11 jacmet at uclibc.org
0 siblings, 0 replies; 10+ messages in thread
From: jacmet at uclibc.org @ 2008-07-22 14:11 UTC (permalink / raw)
To: buildroot
Author: jacmet
Date: 2008-07-22 07:11:01 -0700 (Tue, 22 Jul 2008)
New Revision: 22916
Log:
which: convert to Makefile.autotools.in format
Modified:
trunk/buildroot/package/which/which.mk
Changeset:
Modified: trunk/buildroot/package/which/which.mk
===================================================================
--- trunk/buildroot/package/which/which.mk 2008-07-22 13:59:42 UTC (rev 22915)
+++ trunk/buildroot/package/which/which.mk 2008-07-22 14:11:01 UTC (rev 22916)
@@ -6,54 +6,14 @@
WHICH_VERSION:=2.19
WHICH_SOURCE:=which-$(WHICH_VERSION).tar.gz
WHICH_SITE:=http://www.xs4all.nl/~carlo17/which/
-WHICH_DIR:=$(BUILD_DIR)/which-$(WHICH_VERSION)
-WHICH_CAT:=$(ZCAT)
-WHICH_BINARY:=which
-WHICH_TARGET_BINARY:=usr/bin/which
+WHICH_AUTORECONF:=NO
+WHICH_INSTALL_STAGING:=NO
+WHICH_INSTALL_TARGET:=YES
-$(DL_DIR)/$(WHICH_SOURCE):
- $(WGET) -P $(DL_DIR) $(WHICH_SITE)/$(WHICH_SOURCE)
+WHICH_DEPENDENCIES:=uclibc
-which-source: $(DL_DIR)/$(WHICH_SOURCE)
+$(eval $(call AUTOTARGETS,package,which))
-$(WHICH_DIR)/.unpacked: $(DL_DIR)/$(WHICH_SOURCE)
- $(WHICH_CAT) $(DL_DIR)/$(WHICH_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
- $(CONFIG_UPDATE) $(WHICH_DIR)
+$(WHICH_HOOK_POST_INSTALL): $(WHICH_TARGET_INSTALL_TARGET)
+ $(STRIPCMD) $(STRIP_STRIP_ALL) $(TARGET_DIR)/usr/bin/which
touch $@
-
-$(WHICH_DIR)/.configured: $(WHICH_DIR)/.unpacked
- (cd $(WHICH_DIR); rm -rf config.cache; \
- $(TARGET_CONFIGURE_OPTS) \
- $(TARGET_CONFIGURE_ARGS) \
- ./configure \
- --target=$(GNU_TARGET_NAME) \
- --host=$(GNU_TARGET_NAME) \
- --build=$(GNU_HOST_NAME) \
- --prefix=/usr \
- --sysconfdir=/etc \
- )
- touch $@
-
-$(WHICH_DIR)/$(WHICH_BINARY): $(WHICH_DIR)/.configured
- $(MAKE) CC=$(TARGET_CC) -C $(WHICH_DIR)
-
-$(TARGET_DIR)/$(WHICH_TARGET_BINARY): $(WHICH_DIR)/$(WHICH_BINARY)
- install -D $^ $@
- $(STRIPCMD) $(STRIP_STRIP_ALL) $@
-
-which: uclibc $(TARGET_DIR)/$(WHICH_TARGET_BINARY)
-
-which-clean:
- rm -f $(TARGET_DIR)/$(WHICH_TARGET_BINARY)
- -$(MAKE) -C $(WHICH_DIR) clean
-
-which-dirclean:
- rm -rf $(WHICH_DIR)
-#############################################################
-#
-# Toplevel Makefile options
-#
-#############################################################
-ifeq ($(strip $(BR2_PACKAGE_WHICH)),y)
-TARGETS+=which
-endif
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/which
2008-07-22 13:59 [Buildroot] svn commit: trunk/buildroot/package/which jacmet at uclibc.org
@ 2008-07-23 0:50 ` Hamish Moffatt
2008-07-23 3:57 ` Wade Berrier
0 siblings, 1 reply; 10+ messages in thread
From: Hamish Moffatt @ 2008-07-23 0:50 UTC (permalink / raw)
To: buildroot
On Tue, Jul 22, 2008 at 06:59:36AM -0700, jacmet at uclibc.org wrote:
> Author: jacmet
> Date: 2008-07-22 06:59:35 -0700 (Tue, 22 Jul 2008)
> New Revision: 22913
>
> Log:
> which: needs readline
What does this package do that busybox's which doesn't?
Hamish
--
Hamish Moffatt VK3SB <hamish@debian.org> <hamish@cloud.net.au>
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/which
2008-07-23 0:50 ` Hamish Moffatt
@ 2008-07-23 3:57 ` Wade Berrier
2008-07-23 4:14 ` Hamish Moffatt
0 siblings, 1 reply; 10+ messages in thread
From: Wade Berrier @ 2008-07-23 3:57 UTC (permalink / raw)
To: buildroot
Hi,
On Wed, 2008-07-23 at 10:50 +1000, Hamish Moffatt wrote:
> On Tue, Jul 22, 2008 at 06:59:36AM -0700, jacmet at uclibc.org wrote:
> > Author: jacmet
> > Date: 2008-07-22 06:59:35 -0700 (Tue, 22 Jul 2008)
> > New Revision: 22913
> >
> > Log:
> > which: needs readline
>
> What does this package do that busybox's which doesn't?
berrier:/home/wberrier # which --help
Usage: which [options] [--] programname [...]
Options: --version, -[vV] Print version and exit successfully.
--help, Print this help and exit successfully.
--skip-dot Skip directories in PATH that start with a
dot.
--skip-tilde Skip directories in PATH that start with a
tilde.
--show-dot Don't expand a dot to current directory in
output.
--show-tilde Output a tilde for HOME directory for
non-root.
--tty-only Stop processing options on the right if not on
tty.
--all, -a Print all matches in PATH, not just the first
--read-alias, -i Read list of aliases from stdin.
--skip-alias Ignore option --read-alias; don't read stdin.
--read-functions Read shell functions from stdin.
--skip-functions Ignore option --read-functions; don't read
stdin.
I'm not sure which of those options busybox's 'which' supports.
Wade
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/which
2008-07-23 3:57 ` Wade Berrier
@ 2008-07-23 4:14 ` Hamish Moffatt
0 siblings, 0 replies; 10+ messages in thread
From: Hamish Moffatt @ 2008-07-23 4:14 UTC (permalink / raw)
To: buildroot
On Tue, Jul 22, 2008 at 09:57:28PM -0600, Wade Berrier wrote:
> On Wed, 2008-07-23 at 10:50 +1000, Hamish Moffatt wrote:
> > On Tue, Jul 22, 2008 at 06:59:36AM -0700, jacmet at uclibc.org wrote:
> > > Author: jacmet
> > > Date: 2008-07-22 06:59:35 -0700 (Tue, 22 Jul 2008)
> > > New Revision: 22913
> > >
> > > Log:
> > > which: needs readline
> >
> > What does this package do that busybox's which doesn't?
>
> berrier:/home/wberrier # which --help
> Usage: which [options] [--] programname [...]
> Options: --version, -[vV] Print version and exit successfully.
> --help, Print this help and exit successfully.
> --skip-dot Skip directories in PATH that start with a
> dot.
> --skip-tilde Skip directories in PATH that start with a
> tilde.
> --show-dot Don't expand a dot to current directory in
> output.
> --show-tilde Output a tilde for HOME directory for
> non-root.
> --tty-only Stop processing options on the right if not on
> tty.
> --all, -a Print all matches in PATH, not just the first
> --read-alias, -i Read list of aliases from stdin.
> --skip-alias Ignore option --read-alias; don't read stdin.
> --read-functions Read shell functions from stdin.
> --skip-functions Ignore option --read-functions; don't read
> stdin.
Wow. busybox's version doesn't have any of that, and neither does zsh's.
debian's debianutils version only has -a.
Very fancy. I can't imagine ever wanting most of those features - which
is meant to show you which command is being run, to skipping aliases and
parts of your $PATH doesn't seem very useful.
Anyway, thanks for the info.
Hamish
--
Hamish Moffatt VK3SB <hamish@debian.org> <hamish@cloud.net.au>
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/which
@ 2008-10-06 19:54 wberrier at uclibc.org
0 siblings, 0 replies; 10+ messages in thread
From: wberrier at uclibc.org @ 2008-10-06 19:54 UTC (permalink / raw)
To: buildroot
Author: wberrier
Date: 2008-10-06 12:54:58 -0700 (Mon, 06 Oct 2008)
New Revision: 23608
Log:
which.mk:
-Update to 2.20 which doesn't depend on readline
Config.in:
-Don't depend on readline any longer
Modified:
trunk/buildroot/package/which/Config.in
trunk/buildroot/package/which/which.mk
Changeset:
Modified: trunk/buildroot/package/which/Config.in
===================================================================
--- trunk/buildroot/package/which/Config.in 2008-10-06 19:53:29 UTC (rev 23607)
+++ trunk/buildroot/package/which/Config.in 2008-10-06 19:54:58 UTC (rev 23608)
@@ -1,6 +1,5 @@
config BR2_PACKAGE_WHICH
bool "which"
- select BR2_READLINE
help
The standard 'which' utility.
Modified: trunk/buildroot/package/which/which.mk
===================================================================
--- trunk/buildroot/package/which/which.mk 2008-10-06 19:53:29 UTC (rev 23607)
+++ trunk/buildroot/package/which/which.mk 2008-10-06 19:54:58 UTC (rev 23608)
@@ -3,7 +3,7 @@
# which
#
#############################################################
-WHICH_VERSION:=2.19
+WHICH_VERSION:=2.20
WHICH_SOURCE:=which-$(WHICH_VERSION).tar.gz
WHICH_SITE:=http://www.xs4all.nl/~carlo17/which/
WHICH_AUTORECONF:=NO
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2008-10-06 19:54 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-22 13:59 [Buildroot] svn commit: trunk/buildroot/package/which jacmet at uclibc.org
2008-07-23 0:50 ` Hamish Moffatt
2008-07-23 3:57 ` Wade Berrier
2008-07-23 4:14 ` Hamish Moffatt
-- strict thread matches above, loose matches on Subject: below --
2008-10-06 19:54 wberrier at uclibc.org
2008-07-22 14:11 jacmet at uclibc.org
2008-07-22 13:59 jacmet at uclibc.org
2008-07-22 13:59 jacmet at uclibc.org
2008-03-06 18:29 ninevoltz at uclibc.org
2008-03-06 21:44 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox