Update a few packages
authorEric Andersen <andersen@codepoet.org>
Thu, 14 Oct 2004 09:39:25 +0000 (09:39 -0000)
committerEric Andersen <andersen@codepoet.org>
Thu, 14 Oct 2004 09:39:25 +0000 (09:39 -0000)
20 files changed:
package/berkeleydb/berkeleydb.mk
package/boa/boa.mk
package/dhcp_relay/dhcp_relay.mk
package/fakeroot/fakeroot.mk
package/jpeg/jpeg.mk
package/libfloat/Config.in
package/libfloat/Makefile.in
package/libglib12/libglib12.mk
package/libglib12/libglib_configure-patch.bz2 [new file with mode: 0644]
package/libglib12/libglib_configure_1.2.10.bz2 [deleted file]
package/libglib12/libglib_gcc3-patch [new file with mode: 0644]
package/lzo/lzo.mk
package/microwin/Config.in
package/microwin/Makefile.in
package/mrouted/mrouted.mk
package/nano/nano.mk
package/netsnmp/Config.in
package/netsnmp/netsnmp.mk
package/openvpn/Config.in
package/rsync/rsync.mk

index cdbadee4e3aca8004df35725cec32f553fb01418..bc9b3472a00932258a86f20879461056d3867fe0 100644 (file)
@@ -6,7 +6,7 @@
 DB_SITE:=ftp://sleepycat1.inetu.net/releases/
 DB_SOURCE:=db-4.2.52.NC.tar.gz
 DB_DIR:=$(BUILD_DIR)/db-4.2.52.NC
-
+DB_SHARLIB:=libdb-4.2.so
 
 $(DL_DIR)/$(DB_SOURCE):
        $(WGET) -P $(DL_DIR) $(DB_SITE)/$(DB_SOURCE)
@@ -46,10 +46,10 @@ $(DB_DIR)/.configured: $(DB_DIR)/.dist
        $(SED) 's/\.lo/.o/g' $(DB_DIR)/build_unix/Makefile
        touch  $(DB_DIR)/.configured
 
-$(DB_DIR)/build_unix/.libs/libdb-4.1.so: $(DB_DIR)/.configured
+$(DB_DIR)/build_unix/.libs/$(DB_SHARLIB): $(DB_DIR)/.configured
        $(MAKE) CC=$(TARGET_CC) -C $(DB_DIR)/build_unix
 
-$(STAGING_DIR)/lib/libdb-4.1.so: $(DB_DIR)/build_unix/.libs/libdb-4.1.so
+$(STAGING_DIR)/lib/$(DB_SHARLIB): $(DB_DIR)/build_unix/.libs/$(DB_SHARLIB)
        $(MAKE) \
            prefix=$(STAGING_DIR) \
            exec_prefix=$(STAGING_DIR) \
@@ -69,11 +69,11 @@ $(STAGING_DIR)/lib/libdb-4.1.so: $(DB_DIR)/build_unix/.libs/libdb-4.1.so
        rm -rf $(STAGING_DIR)/share/locale $(STAGING_DIR)/info \
                $(STAGING_DIR)/man $(STAGING_DIR)/share/doc
 
-$(TARGET_DIR)/lib/libdb-4.1.so: $(STAGING_DIR)/lib/libdb-4.1.so
+$(TARGET_DIR)/lib/$(DB_SHARLIB): $(STAGING_DIR)/lib/$(DB_SHARLIB)
        rm -rf $(TARGET_DIR)/lib/libdb*
        cp -a $(STAGING_DIR)/lib/libdb*so*  $(TARGET_DIR)/lib/
        rm -f $(TARGET_DIR)/lib/libdb.so $(TARGET_DIR)/lib/libdb.la $(TARGET_DIR)/lib/libdb.a
-       (cd $(TARGET_DIR)/usr/lib; ln -fs /lib/libdb-4.1.so libdb.so)
+       (cd $(TARGET_DIR)/usr/lib; ln -fs /lib/$(DB_SHARLIB) libdb.so)
        -$(STRIP) --strip-unneeded $(TARGET_DIR)/lib/libdb*so*
 
 $(TARGET_DIR)/usr/lib/libdb.a: $(STAGING_DIR)/lib/libdb-4.1.a
@@ -84,11 +84,11 @@ $(TARGET_DIR)/usr/lib/libdb.a: $(STAGING_DIR)/lib/libdb-4.1.a
 
 berkeleydb-headers: $(TARGET_DIR)/usr/lib/libdb.a
 
-berkeleydb-clean: 
+berkeleydb-clean:
        $(MAKE) -C $(DB_DIR)/build_unix clean
 
-berkeleydb-dirclean: 
-       rm -rf $(DB_DIR) 
+berkeleydb-dirclean:
+       rm -rf $(DB_DIR)
 
-berkeleydb: uclibc $(TARGET_DIR)/lib/libdb-4.1.so
+berkeleydb: uclibc $(TARGET_DIR)/lib/$(DB_SHARLIB)
 
index da893e6464fff35cfb0e3e904f044b1472ed0e9b..39fe4f92bee95a188f103a65ab5bdc88356b5640 100644 (file)
@@ -51,7 +51,7 @@ $(BOA_WORKDIR)/boa $(BOA_WORKDIR)/boa_indexer:        $(BOA_WORKDIR)/Makefile
        rm -f $@
        $(MAKE) -C $(BOA_WORKDIR)
 
-$(BOA_WORKDIR)/.installed: $(BOA_WORKDIR)/boa $(BOA_WORKDIR)/boa_indexer
+$(BOA_WORKDIR)/.installed: $(BOA_WORKDIR)/src/boa $(BOA_WORKDIR)/src/boa_indexer
        mkdir -p $(TARGET_DIR)/usr/sbin
        cp -f $(BOA_WORKDIR)/src/boa $(TARGET_DIR)/usr/sbin/boa
        mkdir -p $(TARGET_DIR)/usr/lib/boa
index f3ca4afaccc25e78fae6c1dd0f58f1d0c15d6a7a..d014bd7dbcda13480e4bdd7965c99b2d2c5ca0e7 100644 (file)
@@ -3,10 +3,10 @@
 # dhcp_relay
 #
 #############################################################
-DHCP_RELAY_SOURCE:=dhcp-3.0pl2.tar.gz
+DHCP_RELAY_SOURCE:=dhcp-3.0.1.tar.gz
 DHCP_RELAY_SITE:=ftp://ftp.isc.org/isc/dhcp
 DHCP_RELAY_CAT:=zcat
-DHCP_RELAY_DIR:=$(BUILD_DIR)/dhcp-3.0pl2
+DHCP_RELAY_DIR:=$(BUILD_DIR)/dhcp-3.0.1
 DHCP_RELAY_BINARY:=work.linux-2.2/relay/dhcrelay
 DHCP_RELAY_TARGET_BINARY:=usr/sbin/dhcrelay
 BVARS=PREDEFINES='-D_PATH_DHCPD_DB=\"/var/lib/dhcp/dhcpd.leases\" \
index a014e7fa86910dc8511236a969331603cc868b55..665be8db44947bf60150bf6cbe8ef7a23fcae7e3 100644 (file)
@@ -3,10 +3,10 @@
 # fakeroot
 #
 #############################################################
-FAKEROOT_SOURCE:=fakeroot_0.7.5.tar.gz
+FAKEROOT_SOURCE:=fakeroot_1.1.2.tar.gz
 FAKEROOT_SITE:=http://ftp.debian.org/debian/pool/main/f/fakeroot
 FAKEROOT_CAT:=zcat
-FAKEROOT_DIR:=$(BUILD_DIR)/fakeroot-0.7.5
+FAKEROOT_DIR:=$(BUILD_DIR)/fakeroot-1.1.2
 
 
 $(DL_DIR)/$(FAKEROOT_SOURCE):
@@ -18,7 +18,7 @@ $(FAKEROOT_DIR)/.unpacked: $(DL_DIR)/$(FAKEROOT_SOURCE)
        $(FAKEROOT_CAT) $(DL_DIR)/$(FAKEROOT_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
        # If using busybox getopt, make it be quiet.
        $(SED) "s,getopt --version,getopt --version 2>/dev/null," \
-               $(FAKEROOT_DIR)/scripts/fakeroot
+               $(FAKEROOT_DIR)/scripts/fakeroot.in
        touch $(FAKEROOT_DIR)/.unpacked
 
 $(FAKEROOT_DIR)/.configured: $(FAKEROOT_DIR)/.unpacked
index 0410e075492487f29e9a8e63fb3327d7436d1eb0..9b4f5ff482b75b0dce3db4cc2f13cadda6e8f36b 100644 (file)
@@ -58,16 +58,17 @@ $(JPEG_DIR)/.configured: $(JPEG_DIR)/.unpacked
        );
        touch  $(JPEG_DIR)/.configured
 
-$(STAGING_DIR)/lib/libjpeg.so.62.0.0: $(JPEG_DIR)/.configured
+$(JPEG_DIR)/.libs/libjpeg.so.62.0.0: $(JPEG_DIR)/.configured
        $(MAKE) -C $(JPEG_DIR) all
-       # Note: This does not install the utilities.
+
+$(STAGING_DIR)/lib/libjpeg.so.62.0.0: $(JPEG_DIR)/.libs/libjpeg.so.62.0.0
        $(MAKE) -C $(JPEG_DIR) prefix=$(STAGING_DIR) exec_prefix=$(STAGING_DIR) install-headers install-lib
 
-$(TARGET_DIR)/lib/libjpeg.so.62.0.0: $(STAGING_DIR)/lib/libjpeg.so.62.0.0
+$(TARGET_DIR)/usr/lib/libjpeg.so.62.0.0: $(STAGING_DIR)/lib/libjpeg.so.62.0.0
        cp -dpf $(STAGING_DIR)/lib/libjpeg.so* $(TARGET_DIR)/usr/lib/
        -$(STRIP) --strip-unneeded $(TARGET_DIR)/usr/lib/libjpeg.so.62.0.0
 
-jpeg: uclibc $(TARGET_DIR)/lib/libjpeg.so.62.0.0
+jpeg: uclibc $(TARGET_DIR)/usr/lib/libjpeg.so.62.0.0
 
 jpeg-clean:
        -$(MAKE) -C $(JPEG_DIR) clean
index 18b7682452b7adfa3a3d0417b8056b75f8d497a9..d9e5f1e94f7d2a36779bf3f0cb429214b29ec77e 100644 (file)
@@ -1,8 +1,6 @@
 #
 
 config BR2_PACKAGE_LIBFLOAT
-       bool"libfloat"
+       bool
        default n
-       help
-         Add help text here.
 
index e420e9f244470d0102c6abe27616d24f6cb98a95..d8fcc3768e393aaa40388ee67fe49246200b9e5d 100644 (file)
@@ -1,3 +1,3 @@
-ifeq ($(strip $(BR2_PACKAGE_LIBFLOAT)),y)
-TARGETS+=libfloat
-endif
+#ifeq ($(strip $(BR2_PACKAGE_LIBFLOAT)),y)
+#TARGETS+=libfloat
+#endif
index 5d2235adcc19236eb1fb41584474afd8e1cf06ec..587399cf98f207301c1d6c6a3ba563feb4762c8f 100644 (file)
@@ -8,7 +8,6 @@ LIBGLIB12_SITE:=ftp://ftp.gtk.org/pub/gtk/v1.2
 LIBGLIB12_CAT:=zcat
 LIBGLIB12_DIR:=$(BUILD_DIR)/glib-1.2.10
 LIBGLIB12_BINARY:=libglib.a
-LIBGLIB12_PATCH:=libglib_configure_1.2.10.bz2
 
 
 $(DL_DIR)/$(LIBGLIB12_SOURCE):
@@ -18,7 +17,7 @@ libglib12-source: $(DL_DIR)/$(LIBGLIB12_SOURCE)
 
 $(LIBGLIB12_DIR)/.unpacked: $(DL_DIR)/$(LIBGLIB12_SOURCE)
        $(LIBGLIB12_CAT) $(DL_DIR)/$(LIBGLIB12_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
-       toolchain/patch-kernel.sh $(LIBGLIB12_DIR) package/libglib12/ $(LIBGLIB12_PATCH)
+       toolchain/patch-kernel.sh $(LIBGLIB12_DIR) package/libglib12/ *-patch*
        touch $(LIBGLIB12_DIR)/.unpacked
 
 $(LIBGLIB12_DIR)/.configured: $(LIBGLIB12_DIR)/.unpacked
diff --git a/package/libglib12/libglib_configure-patch.bz2 b/package/libglib12/libglib_configure-patch.bz2
new file mode 100644 (file)
index 0000000..883a800
Binary files /dev/null and b/package/libglib12/libglib_configure-patch.bz2 differ
diff --git a/package/libglib12/libglib_configure_1.2.10.bz2 b/package/libglib12/libglib_configure_1.2.10.bz2
deleted file mode 100644 (file)
index 883a800..0000000
Binary files a/package/libglib12/libglib_configure_1.2.10.bz2 and /dev/null differ
diff --git a/package/libglib12/libglib_gcc3-patch b/package/libglib12/libglib_gcc3-patch
new file mode 100644 (file)
index 0000000..3a2b44d
--- /dev/null
@@ -0,0 +1,25 @@
+--- glib-1.2.10/glib.orig.h    2004-10-14 01:11:45.000000000 -0600
++++ glib-1.2.10/glib.h 2004-10-14 01:12:02.000000000 -0600
+@@ -271,14 +271,15 @@
+ /* Wrap the gcc __PRETTY_FUNCTION__ and __FUNCTION__ variables with
+  * macros, so we can refer to them as strings unconditionally.
++ * usage not-recommended since gcc-3.0
+  */
+-#ifdef        __GNUC__
+-#define       G_GNUC_FUNCTION         __FUNCTION__
+-#define       G_GNUC_PRETTY_FUNCTION  __PRETTY_FUNCTION__
+-#else /* !__GNUC__ */
+-#define       G_GNUC_FUNCTION         ""
+-#define       G_GNUC_PRETTY_FUNCTION  ""
+-#endif        /* !__GNUC__ */
++#if defined (__GNUC__) && (__GNUC__ < 3)
++#define G_GNUC_FUNCTION         __FUNCTION__
++#define G_GNUC_PRETTY_FUNCTION  __PRETTY_FUNCTION__
++#else   /* !__GNUC__ */
++#define G_GNUC_FUNCTION         ""
++#define G_GNUC_PRETTY_FUNCTION  ""
++#endif  /* !__GNUC__ */
+ /* we try to provide a usefull equivalent for ATEXIT if it is
+  * not defined, but use is actually abandoned. people should
index d13372063b8476454a0a2c9a6197053bbf9cc6f5..8de8f92404ee7d94e7c81941b3caf5834e10c5ac 100644 (file)
@@ -34,16 +34,9 @@ $(LZO_DIR)/.configured: $(LZO_DIR)/.unpacked
                --target=$(GNU_TARGET_NAME) \
                --host=$(GNU_TARGET_NAME) \
                --build=$(GNU_HOST_NAME) \
-               --prefix=/usr \
-               --exec-prefix=/usr \
-               --bindir=/usr/bin \
-               --sbindir=/usr/sbin \
-               --libexecdir=/usr/lib \
-               --sysconfdir=/etc \
-               --datadir=/usr/share \
-               --localstatedir=/var \
-               --mandir=/usr/man \
-               --infodir=/usr/info \
+               --prefix=/ \
+               --includedir=/include \
+               --libdir=/lib \
                $(LZO_CONFIG_SHARED) \
        );
        touch  $(LZO_DIR)/.configured
index 4992461e157bf6e4ddbbbb8704d40ba95356600a..d3e323668d496dd8b52f8c174fce446bb2abf0c1 100644 (file)
@@ -1,8 +1,6 @@
 #
 
 config BR2_PACKAGE_MICROWIN
-       bool"microwin"
+       bool
        default n
-       help
-         Add help text here.
 
index feb82a4b5da32482bab6a32e604099cbc5d6f3fb..298e9eee5b77260239e18235e0a51b6227b5a100 100644 (file)
@@ -1,3 +1,3 @@
-ifeq ($(strip $(BR2_PACKAGE_MICROWIN)),y)
-TARGETS+=microwin
-endif
+#ifeq ($(strip $(BR2_PACKAGE_MICROWIN)),y)
+#TARGETS+=microwin
+#endif
index 22055984e96ab28954af6471ad4504f2627aaa8b..1ffea81489ab332c2aa72bf5f46c283d47996e9d 100644 (file)
@@ -20,7 +20,7 @@ $(DL_DIR)/$(MROUTED_PATCH):
 
 mrouted-source: $(DL_DIR)/$(MROUTED_SOURCE) $(DL_DIR)/$(MROUTED_PATCH)
 
-$(MROUTED_DIR)/.unpacked: mrouted-source
+$(MROUTED_DIR)/.unpacked: $(DL_DIR)/$(MROUTED_SOURCE) $(DL_DIR)/$(MROUTED_PATCH)
        $(MROUTED_CAT) $(DL_DIR)/$(MROUTED_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
        $(MROUTED_CAT) $(DL_DIR)/$(MROUTED_PATCH) | patch -p1 -d $(MROUTED_DIR)
        toolchain/patch-kernel.sh $(MROUTED_DIR) package/mrouted/ mrouted-\*.patch
index ca174db4b57c47d41f93f785723f75b7757696b8..66f17fe2e2ee08658126bc87a8dbaa277e054c10 100644 (file)
@@ -5,7 +5,7 @@
 #############################################################
 NANO_VER:=1.3.4
 NANO_SOURCE:=nano-$(NANO_VER).tar.gz
-NANO_SITE:=http://www.nano-editor.org/dist/v1.3/$(NANO_SOURCE)
+NANO_SITE:=http://www.nano-editor.org/dist/v1.3/
 NANO_DIR:=$(BUILD_DIR)/nano-$(NANO_VER)
 NANO_CAT:=zcat
 NANO_BINARY:=src/nano
index 612af808cf37b247916490cffa78cc5c5b5a1618..fabf7ec205070eabe37a46e13bec38ea4ea60a48 100644 (file)
@@ -3,6 +3,7 @@
 config BR2_PACKAGE_NETSNMP
        bool"netsnmp"
        default n
+       select BR2_PACKAGE_OPENSSL
        help
          Add help text here.
 
index 1dcbe87c253a0284df3b998647725bd60dd22caa..68470dc34219396ed8bfca906797e8396c316384 100644 (file)
@@ -5,9 +5,9 @@
 #############################################################
 
 NETSNMP_URL:=http://aleron.dl.sourceforge.net/sourceforge/net-snmp/
-NETSNMP_DIR:=$(BUILD_DIR)/net-snmp-5.1
-NETSNMP_SOURCE:=net-snmp-5.1.tar.gz
-NETSNMP_PATCH1:=net-snmp_5.1-5.diff.gz
+NETSNMP_DIR:=$(BUILD_DIR)/net-snmp-5.1.2
+NETSNMP_SOURCE:=net-snmp-5.1.2.tar.gz
+NETSNMP_PATCH1:=net-snmp_5.1.2-6.diff.gz
 NETSNMP_PATCH1_URL:=http://ftp.debian.org/debian/pool/main/n/net-snmp/
 
 $(DL_DIR)/$(NETSNMP_SOURCE):
@@ -88,7 +88,7 @@ $(TARGET_DIR)/usr/sbin/snmpd: $(NETSNMP_DIR)/agent/snmpd
        cp $(NETSNMP_DIR)/agent/mibgroup/mibincl.h $(STAGING_DIR)/include/net-snmp/library
        cp $(NETSNMP_DIR)/agent/mibgroup/header_complex.h $(STAGING_DIR)/include/net-snmp/agent
 
-netsnmp: $(TARGET_DIR)/usr/sbin/snmpd
+netsnmp: openssl $(TARGET_DIR)/usr/sbin/snmpd
 
 netsnmp-headers: $(TARGET_DIR)/usr/include/net-snmp/net-snmp-config.h
        cp -a $(STAGING_DIR)/include/net-snmp $(TARGET_DIR)/usr/include/net-snmp
index 3e3f0c2ebdb20e2f1ce044113d45b9f8ef653423..ee28aa4e008c429862d4f807885ffa1c62c3e2d6 100644 (file)
@@ -3,6 +3,8 @@
 config BR2_PACKAGE_OPENVPN
        bool"openvpn"
        default n
-       help
+       select BR2_PACKAGE_LZO
+       select BR2_PACKAGE_OPENSSL
+       help
          Add help text here.
 
index eb741b86b997df548aab3ac72f069099538761f7..10080d038fed363cf59338e66280063dbabba3b4 100644 (file)
@@ -5,7 +5,7 @@
 #############################################################
 RSYNC_VER:=2.6.3
 RSYNC_SOURCE:=rsync-$(RSYNC_VER).tar.gz
-RSYNC_SITE:=http://rsync.samba.org/ftp/rsync/$(RSYNC_SOURCE)
+RSYNC_SITE:=http://rsync.samba.org/ftp/rsync/
 RSYNC_DIR:=$(BUILD_DIR)/rsync-$(RSYNC_VER)
 RSYNC_CAT:=zcat
 RSYNC_BINARY:=rsync