added ipkg 0.99.152
authorMarcin Juszkiewicz <hrw@openembedded.org>
Fri, 29 Jul 2005 09:12:50 +0000 (09:12 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Fri, 29 Jul 2005 09:12:50 +0000 (09:12 +0000)
cleaned ipkg subdir (one copy of terse.patch is enough)

15 files changed:
packages/ipkg/ipkg-0.99.138/terse.patch [deleted file]
packages/ipkg/ipkg-0.99.140/terse.patch [deleted file]
packages/ipkg/ipkg-0.99.144/terse.patch [deleted file]
packages/ipkg/ipkg-0.99.146/.mtn2git_empty [deleted file]
packages/ipkg/ipkg-0.99.146/terse.patch [deleted file]
packages/ipkg/ipkg-0.99.147/terse.patch [deleted file]
packages/ipkg/ipkg-0.99.148/terse.patch [deleted file]
packages/ipkg/ipkg-0.99.151/.mtn2git_empty [deleted file]
packages/ipkg/ipkg-0.99.151/terse.patch [deleted file]
packages/ipkg/ipkg-native_0.99.152.bb [new file with mode: 0644]
packages/ipkg/ipkg/.mtn2git_empty [moved from packages/ipkg/ipkg-0.99.138/.mtn2git_empty with 100% similarity]
packages/ipkg/ipkg/terse.patch [moved from packages/ipkg/ipkg-0.99.135/terse.patch with 100% similarity]
packages/ipkg/ipkg_0.99.152.bb [new file with mode: 0644]
packages/rsync/rsync-2.6.3/.mtn2git_empty [deleted file]
packages/rsync/rsync-2.6.3/fixedwidthtypes.patch [deleted file]

diff --git a/packages/ipkg/ipkg-0.99.138/terse.patch b/packages/ipkg/ipkg-0.99.138/terse.patch
deleted file mode 100644 (file)
index 3c4d6be..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-
-#
-# Patch managed by http://www.holgerschurig.de/patcher.html
-#
-
---- C/ipkg_cmd.c~terse
-+++ C/ipkg_cmd.c
-@@ -148,9 +146,7 @@
-       int result;
-       p_userdata = userdata;
-       result = (cmd->fun)(conf, argc, argv);
--        if ( result == 0 ) {
--           ipkg_message(conf, IPKG_NOTICE, "Successfully terminated.\n");
--        } else {
-+        if ( result != 0 ) {
-            ipkg_message(conf, IPKG_NOTICE, "An error ocurred, return value: %d.\n", result);
-         }
-    
diff --git a/packages/ipkg/ipkg-0.99.140/terse.patch b/packages/ipkg/ipkg-0.99.140/terse.patch
deleted file mode 100644 (file)
index 3c4d6be..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-
-#
-# Patch managed by http://www.holgerschurig.de/patcher.html
-#
-
---- C/ipkg_cmd.c~terse
-+++ C/ipkg_cmd.c
-@@ -148,9 +146,7 @@
-       int result;
-       p_userdata = userdata;
-       result = (cmd->fun)(conf, argc, argv);
--        if ( result == 0 ) {
--           ipkg_message(conf, IPKG_NOTICE, "Successfully terminated.\n");
--        } else {
-+        if ( result != 0 ) {
-            ipkg_message(conf, IPKG_NOTICE, "An error ocurred, return value: %d.\n", result);
-         }
-    
diff --git a/packages/ipkg/ipkg-0.99.144/terse.patch b/packages/ipkg/ipkg-0.99.144/terse.patch
deleted file mode 100644 (file)
index 3c4d6be..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-
-#
-# Patch managed by http://www.holgerschurig.de/patcher.html
-#
-
---- C/ipkg_cmd.c~terse
-+++ C/ipkg_cmd.c
-@@ -148,9 +146,7 @@
-       int result;
-       p_userdata = userdata;
-       result = (cmd->fun)(conf, argc, argv);
--        if ( result == 0 ) {
--           ipkg_message(conf, IPKG_NOTICE, "Successfully terminated.\n");
--        } else {
-+        if ( result != 0 ) {
-            ipkg_message(conf, IPKG_NOTICE, "An error ocurred, return value: %d.\n", result);
-         }
-    
diff --git a/packages/ipkg/ipkg-0.99.146/.mtn2git_empty b/packages/ipkg/ipkg-0.99.146/.mtn2git_empty
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/packages/ipkg/ipkg-0.99.146/terse.patch b/packages/ipkg/ipkg-0.99.146/terse.patch
deleted file mode 100644 (file)
index 3c4d6be..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-
-#
-# Patch managed by http://www.holgerschurig.de/patcher.html
-#
-
---- C/ipkg_cmd.c~terse
-+++ C/ipkg_cmd.c
-@@ -148,9 +146,7 @@
-       int result;
-       p_userdata = userdata;
-       result = (cmd->fun)(conf, argc, argv);
--        if ( result == 0 ) {
--           ipkg_message(conf, IPKG_NOTICE, "Successfully terminated.\n");
--        } else {
-+        if ( result != 0 ) {
-            ipkg_message(conf, IPKG_NOTICE, "An error ocurred, return value: %d.\n", result);
-         }
-    
diff --git a/packages/ipkg/ipkg-0.99.147/terse.patch b/packages/ipkg/ipkg-0.99.147/terse.patch
deleted file mode 100644 (file)
index 3c4d6be..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-
-#
-# Patch managed by http://www.holgerschurig.de/patcher.html
-#
-
---- C/ipkg_cmd.c~terse
-+++ C/ipkg_cmd.c
-@@ -148,9 +146,7 @@
-       int result;
-       p_userdata = userdata;
-       result = (cmd->fun)(conf, argc, argv);
--        if ( result == 0 ) {
--           ipkg_message(conf, IPKG_NOTICE, "Successfully terminated.\n");
--        } else {
-+        if ( result != 0 ) {
-            ipkg_message(conf, IPKG_NOTICE, "An error ocurred, return value: %d.\n", result);
-         }
-    
diff --git a/packages/ipkg/ipkg-0.99.148/terse.patch b/packages/ipkg/ipkg-0.99.148/terse.patch
deleted file mode 100644 (file)
index 3c4d6be..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-
-#
-# Patch managed by http://www.holgerschurig.de/patcher.html
-#
-
---- C/ipkg_cmd.c~terse
-+++ C/ipkg_cmd.c
-@@ -148,9 +146,7 @@
-       int result;
-       p_userdata = userdata;
-       result = (cmd->fun)(conf, argc, argv);
--        if ( result == 0 ) {
--           ipkg_message(conf, IPKG_NOTICE, "Successfully terminated.\n");
--        } else {
-+        if ( result != 0 ) {
-            ipkg_message(conf, IPKG_NOTICE, "An error ocurred, return value: %d.\n", result);
-         }
-    
diff --git a/packages/ipkg/ipkg-0.99.151/.mtn2git_empty b/packages/ipkg/ipkg-0.99.151/.mtn2git_empty
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/packages/ipkg/ipkg-0.99.151/terse.patch b/packages/ipkg/ipkg-0.99.151/terse.patch
deleted file mode 100644 (file)
index 3c4d6be..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-
-#
-# Patch managed by http://www.holgerschurig.de/patcher.html
-#
-
---- C/ipkg_cmd.c~terse
-+++ C/ipkg_cmd.c
-@@ -148,9 +146,7 @@
-       int result;
-       p_userdata = userdata;
-       result = (cmd->fun)(conf, argc, argv);
--        if ( result == 0 ) {
--           ipkg_message(conf, IPKG_NOTICE, "Successfully terminated.\n");
--        } else {
-+        if ( result != 0 ) {
-            ipkg_message(conf, IPKG_NOTICE, "An error ocurred, return value: %d.\n", result);
-         }
-    
diff --git a/packages/ipkg/ipkg-native_0.99.152.bb b/packages/ipkg/ipkg-native_0.99.152.bb
new file mode 100644 (file)
index 0000000..3011b32
--- /dev/null
@@ -0,0 +1,13 @@
+SECTION = "base"
+include ipkg_${PV}.bb
+
+# NOTE: ipkg now obeys ${libdir}, so ipkg-native now installs
+# things into the wrong location inside of offline_root.  Backup
+# the target libdir and use that.
+target_libdir := "${libdir}"
+
+inherit native
+
+DEPENDS = "libtool-native automake-native"
+FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/ipkg-${PV}"
+PROVIDES = ""
diff --git a/packages/ipkg/ipkg_0.99.152.bb b/packages/ipkg/ipkg_0.99.152.bb
new file mode 100644 (file)
index 0000000..684ff78
--- /dev/null
@@ -0,0 +1,54 @@
+SECTION = "base"
+DESCRIPTION = "Itsy Package Manager"
+DESCRIPTION_libipkg = "Itsy Package Manager Library"
+LICENSE = "GPL"
+PROVIDES = "virtual/ipkg libipkg"
+PR = "r0"
+
+PACKAGES =+ "libipkg-dev libipkg"
+FILES_libipkg-dev = "${libdir}/*.a ${libdir}/*.la ${libdir}/*.so"
+FILES_libipkg = "${libdir}"
+AUTO_LIBNAME_PKGS = "libipkg"
+
+SRC_URI = "${HANDHELDS_CVS};module=familiar/dist/ipkg;tag=${@'V' + bb.data.getVar('PV',d,1).replace('.', '-')} \
+       file://terse.patch;patch=1 "
+
+S = "${WORKDIR}/ipkg/C"
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF += "--with-ipkglibdir=/usr/lib"
+
+pkg_postinst_ipkg () {
+#!/bin/sh
+if [ "x$D" != "x" ]; then
+       install -d ${IMAGE_ROOTFS}/${sysconfdir}/rcS.d
+       # this happens at S98 where our good 'ole packages script used to run
+       echo -e "#!/bin/sh
+ipkg-cl configure
+" > ${IMAGE_ROOTFS}/${sysconfdir}/rcS.d/S98configure
+       chmod 0755 ${IMAGE_ROOTFS}/${sysconfdir}/rcS.d/S98configure
+fi
+
+update-alternatives --install ${bindir}/ipkg ipkg ${bindir}/ipkg-cl 100
+}
+
+pkg_postrm_ipkg () {
+#!/bin/sh
+update-alternatives --remove ipkg ${bindir}/ipkg-cl
+}
+
+do_stage() {
+       oe_libinstall -so libipkg ${STAGING_LIBDIR}
+       install -d ${STAGING_INCDIR}/replace/
+       install -m 0644 replace/replace.h ${STAGING_INCDIR}/replace/
+       install -d ${STAGING_INCDIR}/libipkg/
+       for f in *.h
+       do
+               install -m 0644 $f ${STAGING_INCDIR}/libipkg/
+       done
+}
+
+#
+# FIXME: Install /etc/ipkg.conf and /etc/ipkg/arch.conf
+#
diff --git a/packages/rsync/rsync-2.6.3/.mtn2git_empty b/packages/rsync/rsync-2.6.3/.mtn2git_empty
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/packages/rsync/rsync-2.6.3/fixedwidthtypes.patch b/packages/rsync/rsync-2.6.3/fixedwidthtypes.patch
deleted file mode 100644 (file)
index 9f7d3c8..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
---- rsync-2.6.2/configure.in   2004-04-30 14:02:43.000000000 -0400
-+++ rsync-2.6.2/configure.in   2004-05-22 13:09:42.000000000 -0400
-@@ -307,6 +307,8 @@
- AC_CHECK_MEMBERS([struct stat.st_rdev])
- AC_CHECK_TYPE([ino_t], [unsigned])
-+AC_CHECK_TYPES([int64_t])
-+AC_CHECK_TYPES([uint64_t])
- TYPE_SOCKLEN_T
- AC_CACHE_CHECK([for errno in errno.h],rsync_cv_errno, [
---- rsync-2.6.2/rsync.h        2004-04-26 21:36:16.000000000 -0400
-+++ rsync-2.6.2/rsync.h        2004-05-22 13:06:16.000000000 -0400
-@@ -298,7 +298,9 @@
- #define STRUCT_STAT struct stat
- #endif
--#if HAVE_OFF64_T
-+#if defined(HAVE_INT64_T)
-+#define int64 int64_t
-+#elif HAVE_OFF64_T
- #define int64 off64_t
- #elif (SIZEOF_LONG == 8) 
- #define int64 long
-@@ -312,7 +314,9 @@
- #define NO_INT64
- #endif
--#if (SIZEOF_LONG == 8) 
-+#if defined(HAVE_UINT64_T)
-+#define uint64 uint64_t
-+#elif (SIZEOF_LONG == 8) 
- #define uint64 unsigned long
- #elif (SIZEOF_INT == 8) 
- #define uint64 unsigned int