* [Buildroot] [buildroot 0005944]: New Package: unzip
@ 2008-11-03 18:29 bugs at busybox.net
2008-11-03 19:08 ` [Buildroot] openssl extract problem steve caster
0 siblings, 1 reply; 4+ messages in thread
From: bugs at busybox.net @ 2008-11-03 18:29 UTC (permalink / raw)
To: buildroot
The following issue has been SUBMITTED.
======================================================================
http://busybox.net/bugs/view.php?id=5944
======================================================================
Reported By: Chris David
Assigned To: buildroot
======================================================================
Project: buildroot
Issue ID: 5944
Category: New Features
Reproducibility: always
Severity: feature
Priority: normal
Status: assigned
======================================================================
Date Submitted: 11-03-2008 10:29 PST
Last Modified: 11-03-2008 10:29 PST
======================================================================
Summary: New Package: unzip
Description:
Hello,
This patch adds the unzip program to buildroot.
I successfully built it on a recent version of buildroot. I am not as
confident about it installing into the correct target location. It
works for me on a two year old version of buildroot.
Note patch is inline and attached in mantis.
thanks,
-Chris
Signed-off-by: Chris David <cd@chrisdavid.com>
diff -Naur buildroot.orig/package/Config.in buildroot/package/Config.in
--- buildroot.orig/package/Config.in 2008-10-28 13:56:57.000000000
-0700
+++ buildroot/package/Config.in 2008-10-29 15:30:24.000000000 -0700
@@ -427,6 +427,7 @@
endif
source "package/lzo/Config.in"
source "package/lzma/Config.in"
+source "package/unzip/Config.in"
source "package/zlib/Config.in"
endif
--- buildroot.orig/package/unzip/Config.in 1969-12-31
16:00:00.000000000 -0800
+++ buildroot/package/unzip/Config.in 2008-10-29 14:35:23.000000000
-0700
@@ -0,0 +1,5 @@
+config BR2_PACKAGE_UNZIP
+ bool "unzip"
+ default n
+ help
+ Package for managing zip archives
diff -Naur buildroot.orig/package/unzip/unzip.mk
buildroot/package/unzip/unzip.mk
--- buildroot.orig/package/unzip/unzip.mk 1969-12-31
16:00:00.000000000 -0800
+++ buildroot/package/unzip/unzip.mk 2008-10-29 14:35:37.000000000
-0700
@@ -0,0 +1,53 @@
+#############################################################
+#
+# unzip
+#
+#############################################################
+UNZIP_SOURCE:=unzip_5.52.orig.tar.gz
+UNZIP_PATCH:=unzip_5.52-9.diff.gz
+UNZIP_SITE:=http://ftp.debian.org/debian/pool/main/u/unzip
+UNZIP_DIR:=$(BUILD_DIR)/unzip-5.52
+UNZIP_CAT:=zcat
+UNZIP_BINARY:=funzip
+UNZIP_TARGET_BINARY:=usr/bin/funzip
+
+$(DL_DIR)/$(UNZIP_SOURCE):
+ $(WGET) -P $(DL_DIR) $(UNZIP_SITE)/$(UNZIP_SOURCE)
+
+$(DL_DIR)/$(UNZIP_PATCH):
+ $(WGET) -P $(DL_DIR) $(UNZIP_SITE)/$(UNZIP_PATCH)
+
+unzip-source: $(DL_DIR)/$(UNZIP_SOURCE) $(DL_DIR)/$(UNZIP_PATCH)
+
+$(UNZIP_DIR)/.unpacked: $(DL_DIR)/$(UNZIP_SOURCE)
$(DL_DIR)/$(UNZIP_PATCH)
+ $(UNZIP_CAT) $(DL_DIR)/$(UNZIP_SOURCE) | tar -C $(BUILD_DIR)
$(TAR_OPTIONS) -
+ toolchain/patch-kernel.sh $(UNZIP_DIR) $(DL_DIR) $(UNZIP_PATCH)
+ touch $(UNZIP_DIR)/.unpacked
+
+$(UNZIP_DIR)/.configured: $(UNZIP_DIR)/.unpacked
+ (cd $(UNZIP_DIR); cp -f unix/Makefile . );
+ touch $(UNZIP_DIR)/.configured
+
+$(UNZIP_DIR)/$(UNZIP_BINARY): $(UNZIP_DIR)/.configured
+ $(MAKE) CC=$(TARGET_CROSS)gcc -C $(UNZIP_DIR) mips
+
+$(TARGET_DIR)/$(UNZIP_TARGET_BINARY): $(UNZIP_DIR)/$(UNZIP_BINARY)
+ cp -f $(UNZIP_DIR)/$(UNZIP_BINARY)
$(TARGET_DIR)/$(UNZIP_TARGET_BINARY)
+
+unzip: uclibc $(TARGET_DIR)/$(UNZIP_TARGET_BINARY)
+
+unzip-clean:
+ rm -f $(TARGET_DIR)/bin/unzip
+ -$(MAKE) -C $(UNZIP_DIR) clean
+
+unzip-dirclean:
+ rm -rf $(UNZIP_DIR)
+
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_UNZIP)),y)
+TARGETS+=unzip
+endif
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
11-03-08 10:29 Chris David New Issue
11-03-08 10:29 Chris David Status new => assigned
11-03-08 10:29 Chris David Assigned To => buildroot
11-03-08 10:29 Chris David File Added: add_package_unzip.patch
======================================================================
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] openssl extract problem
2008-11-03 18:29 [Buildroot] [buildroot 0005944]: New Package: unzip bugs at busybox.net
@ 2008-11-03 19:08 ` steve caster
2008-11-04 8:51 ` Peter Korsgaard
2008-11-08 12:55 ` steve caster
0 siblings, 2 replies; 4+ messages in thread
From: steve caster @ 2008-11-03 19:08 UTC (permalink / raw)
To: buildroot
Hi all,
I am trying to compile openssl, but it gives me an bzip2 error which seems
quite normal when trying to bunzip a .gz file. The main question is, where
can I modify this as I don't see a .mk with the bzip command?
Regards
S.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] openssl extract problem
2008-11-03 19:08 ` [Buildroot] openssl extract problem steve caster
@ 2008-11-04 8:51 ` Peter Korsgaard
2008-11-08 12:55 ` steve caster
1 sibling, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2008-11-04 8:51 UTC (permalink / raw)
To: buildroot
>>>>> "steve" == steve caster <steve@c2root.be> writes:
steve> Hi all,
steve> I am trying to compile openssl, but it gives me an bzip2 error
steve> which seems quite normal when trying to bunzip a .gz file. The
steve> main question is, where can I modify this as I don't see a .mk
steve> with the bzip command?
I don't see that here:
>>> openssl 0.9.8g Downloading
--09:48:13-- http://www.openssl.org/source/openssl-0.9.8g.tar.gz
=> `/var/lib/downloads/openssl-0.9.8g.tar.gz'
Please provide more details of your .config and exact error message.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] openssl extract problem
2008-11-03 19:08 ` [Buildroot] openssl extract problem steve caster
2008-11-04 8:51 ` Peter Korsgaard
@ 2008-11-08 12:55 ` steve caster
1 sibling, 0 replies; 4+ messages in thread
From: steve caster @ 2008-11-08 12:55 UTC (permalink / raw)
To: buildroot
Problem is solved with the latest svn update
Don't know what it was, but works now
-----Original Message-----
From: buildroot-bounces@uclibc.org [mailto:buildroot-bounces at uclibc.org] On
Behalf Of steve caster
Sent: maandag 3 november 2008 20:09
To: buildroot at uclibc.org
Subject: [Buildroot] openssl extract problem
Hi all,
I am trying to compile openssl, but it gives me an bzip2 error which seems
quite normal when trying to bunzip a .gz file. The main question is, where
can I modify this as I don't see a .mk with the bzip command?
Regards
S.
_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-11-08 12:55 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-03 18:29 [Buildroot] [buildroot 0005944]: New Package: unzip bugs at busybox.net
2008-11-03 19:08 ` [Buildroot] openssl extract problem steve caster
2008-11-04 8:51 ` Peter Korsgaard
2008-11-08 12:55 ` steve caster
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox