View source for Opkg/zh tw

From Openmoko

Jump to: navigation, search

You do not have permission to edit this page, for the following reasons:

  • The action you have requested is limited to users in the group: Administrators.
  • You must confirm your email address before editing pages. Please set and validate your email address through your user preferences.

You can view and copy the source of this page:

Template used on this page:

Return to Opkg/zh tw.

Personal tools



關於Opkg

Opkg 是一個源於Ipkg的套件管理系統。你可以在這裡找到郵寄清單。

http://svn.openmoko.org/trunk/src/target/opkg/}這裡找到源碼。也可以在[http://svnweb.openmoko.org/trunk/src/target/opkg/ 這個位置線上觀看源碼。

新功能

以下是已完成新功能。大部份份都是自Ipkg變更而來。

  • 使用libcurl下載檔案。
  • 傳送下載情況,更新到libopkg clients
  • 重組並清除子目錄下的源始碼。
  • 使用gpg detached signature查驗套件清單
  • 標示安裝套件
  • 使用其它的指令選項移除"自動安裝" 套件
  • 支援分類 (與debtags類似)。 "Tags" 被加入套件訊息中,opkg 讓它可以在客端上使用,但並無法處理它。在客端的指令列上,也無法使用這個功能。

Ipkg Patches

以下的ipkg patches 目前已經被使用:

Planned features

These are features either under development or planned for inclusion before the next release.

  • improve/cleanup libopkg api
  • locking system to prevent two simultaneous operations on the file system

Bug fixes

  • Ipkg bug - Overflowing / crashes machine - [1]
  • ipkg tries to access ro SD card - [2]

Lower priority features

  • Simple user interactions during postinstall
  • Improve command line options
  • Restructure source code and make it more robust
  • Store packages in database
  • Check available space in /tmp prior to downloading
  • Check available space in dest prior to unpacking

Possible Issues

This is a list of possible issues or known bugs.

  • http proxy works but authentication not tested yet
  • autoremove feature only inspects "depends" and not "pre-depends"

FAQ

Q. What version of Ipkg is Opkg based on?

A. It is based on the ipkg-0.99.163 tarball

Q. Why "fork" and rename Ipkg?

A. Ipkg is no longer actively maintained upstream and there are potential trademark issues with using the Ipkg name