Changeset 4559
- Timestamp:
- 07/28/08 11:50:19 (5 years ago)
- Location:
- trunk/src/target/opkg/libopkg
- Files:
-
- 6 edited
-
args.c (modified) (1 diff)
-
opkg_defines.h (modified) (1 diff)
-
opkg_download.c (modified) (2 diffs)
-
opkg_install.c (modified) (1 diff)
-
pkg.c (modified) (1 diff)
-
pkg_parse.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/target/opkg/libopkg/args.c
r4491 r4559 245 245 printf("\tupgrade Upgrade all installed packages to latest version\n"); 246 246 printf("\tinstall <pkg> Download and install <pkg> (and dependencies)\n"); 247 printf("\tinstall <file. ipk> Install package <file.ipk>\n");247 printf("\tinstall <file.opk> Install package <file.opk>\n"); 248 248 printf("\tconfigure [<pkg>] Configure unpacked packages\n"); 249 249 printf("\tremove <pkg|regexp> Remove package <pkg|packages following regexp>\n"); -
trunk/src/target/opkg/libopkg/opkg_defines.h
r4345 r4559 17 17 #define OPKG_DEFINES_H 18 18 19 #define OPKG_PKG_EXTENSION ".ipk" 19 #define OPKG_PKG_EXTENSION ".opk" 20 #define IPKG_PKG_EXTENSION ".ipk" 20 21 #define DPKG_PKG_EXTENSION ".deb" 21 22 -
trunk/src/target/opkg/libopkg/opkg_download.c
r4481 r4559 155 155 156 156 /* XXX: BUG: The pkg->filename might be something like 157 "../../foo. ipk". While this is correct, and exactly what we157 "../../foo.opk". While this is correct, and exactly what we 158 158 want to use to construct url above, here we actually need to 159 159 use just the filename part, without any directory. */ … … 203 203 204 204 } else if (strcmp(&url[strlen(url) - 4], OPKG_PKG_EXTENSION) == 0 205 || strcmp(&url[strlen(url) - 4], IPKG_PKG_EXTENSION) == 0 205 206 || strcmp(&url[strlen(url) - 4], DPKG_PKG_EXTENSION) == 0) { 206 207 -
trunk/src/target/opkg/libopkg/opkg_install.c
r4558 r4559 522 522 * 1) please point the call below to the correct current root destination 523 523 * 2) we need to resolve how to check the required space for a pending pkg, 524 * my diddling with the . ipk file size below isn't going to cut it.524 * my diddling with the .opk file size below isn't going to cut it. 525 525 * 3) return a proper error code instead of 1 526 526 */ -
trunk/src/target/opkg/libopkg/pkg.c
r4558 r4559 1080 1080 1081 1081 But, someone proposed the idea to make it possible to 1082 reconstruct a . ipk from an installed package, (ie. for beaming1082 reconstruct a .opk from an installed package, (ie. for beaming 1083 1083 from one handheld to another). So, maybe we actually want a few 1084 1084 more fields here, (depends, suggests, etc.), so that that would -
trunk/src/target/opkg/libopkg/pkg_parse.c
r4448 r4559 370 370 371 371 *raw = lines; 372 /* If the ipk has not a Provides line, we insert our false line */372 /* If the opk has not a Provides line, we insert our false line */ 373 373 if ( pkg_false_provides==1) 374 374 {
Note: See TracChangeset
for help on using the changeset viewer.
