Opkg/zh tw

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(新功能)
m (Category: -Software (non-openmoko), +Applications)
 
(9 intermediate revisions by 3 users not shown)
Line 19: Line 19:
 
* 標示安裝套件
 
* 標示安裝套件
 
* 使用其它的指令選項移除"自動安裝" 套件
 
* 使用其它的指令選項移除"自動安裝" 套件
* 支援分類 (與debtags類似). ''A "Tags" line has been added to the package information and opkg makes this available to clients, but does not process it in anyway. The command line client also does not use this features yet.''
+
* 支援分類 (與debtags類似)'' "Tags" 被加入套件訊息中,opkg 讓它可以在客端上使用,但並無法處理它。在客端的指令列上,也無法使用這個功能。
 
+
  
 
=== Ipkg Patches ===
 
=== Ipkg Patches ===
  
The following ipkg patches have been applied:
+
以下的ipkg patches 目前已經被使用:
  
* "2-pkg-vec--Optimize-gross-inefficiency.patch" from OpenEmbedded
+
* OpenEmbedded "2-pkg-vec--Optimize-gross-inefficiency.patch"
* "1-pkg-parse--Optimize-inefficient-parsing.patch" from OpenEmbedded
+
* OpenEmbedded "1-pkg-parse--Optimize-inefficient-parsing.patch"
 +
*  Richard Purdie 的[http://svn.o-hand.com/view/poky/trunk/meta/packages/ipkg/files/update_version_comparision.patch?rev=3827&view=auto update_version_comparision.patch]
 +
* Richard Purdie  [http://svn.o-hand.com/view/poky/trunk/meta/packages/ipkg/files/enable_debversion.patch?rev=3827&view=auto enable_debversion.patch]
  
* [http://svn.o-hand.com/view/poky/trunk/meta/packages/ipkg/files/update_version_comparision.patch?rev=3827&view=auto update_version_comparision.patch] from Richard Purdie
+
== 計畫中的功能 ==
* [http://svn.o-hand.com/view/poky/trunk/meta/packages/ipkg/files/enable_debversion.patch?rev=3827&view=auto enable_debversion.patch] from Richard Purdie
+
  
== Planned features ==
+
在下個版本釋出前,這些功能目前正在開發中,或者是計劃開發:
  
These are features either under development or planned for inclusion before the next release.
+
* 改善/清除 [[libopkg]] api
 
+
* 鎖定系統防止二個同步locking system to prevent two simultaneous operations on the file system
* improve/cleanup [[libopkg]] api
+
* locking system to prevent two simultaneous operations on the file system
+
  
 
=== Bug fixes ===
 
=== Bug fixes ===
  
* Ipkg bug - Overflowing / crashes machine - [http://bugs.openembedded.net/show_bug.cgi?id=1028]
+
* Ipkg bug - Overflow/ crashe machine - [http://bugs.openembedded.net/show_bug.cgi?id=1028]
* ipkg tries to access ro SD card - [http://bugs.openembedded.net/show_bug.cgi?id=1029]
+
* ipkg 嚐試著存取SD card - [http://bugs.openembedded.net/show_bug.cgi?id=1029]
  
=== Lower priority features ===
+
=== 順序性低之功能 ===
  
* Simple user interactions during postinstall
+
* 在postinstall期間簡單的使用者互動
* Improve command line options
+
* 改進指令列選項
* Restructure source code and make it more robust
+
* 重構源碼並讓它更紮實
* Store packages in database
+
* 在資料庫中儲存軟體(pakage)
* Check available space in /tmp prior to downloading
+
* 在下載檔案前,查看/tmp中可用的空間
* Check available space in dest prior to unpacking
+
* 在解壓縮前查看可用的空間
  
== Possible Issues ==
+
== 可能性問題 ==
 +
以下為可能是已知的臭蟲。
  
This is a list of possible issues or known bugs.
+
* http proxy 可以運作,但是權限並無法被測試
 
+
* autoremove功能只會查驗 "depends" 及無 "pre-depends"
* http proxy works but authentication not tested yet
+
* autoremove feature only inspects "depends" and not "pre-depends"
+
  
 
== FAQ ==
 
== FAQ ==
  
Q. What version of Ipkg is Opkg based on?
+
Q. 哪一版的Ipkg是源於Opkg?
 +
 
 +
A. 它是根據 [http://www.handhelds.org/download/packages/ipkg/ipkg-0.99.163.tar.gz ipkg-0.99.163] tarball
  
A. It is based on the [http://www.handhelds.org/download/packages/ipkg/ipkg-0.99.163.tar.gz ipkg-0.99.163] tarball
+
Q. 為何要"fork" 並為 Ipkg 重新命名?
  
Q. Why "fork" and rename Ipkg?
+
A. Ipkg不再主動的維護upstream,並且Ipkg有潛在的商標問題
  
A. Ipkg is no longer actively maintained upstream and there are potential trademark issues with using the Ipkg name
+
[[Category:Applications/zh tw]]
[[Category:Software]]
+

Latest revision as of 20:41, 14 September 2008



Contents

[edit] 關於Opkg

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

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

[edit] 新功能

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

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

[edit] Ipkg Patches

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

[edit] 計畫中的功能

在下個版本釋出前,這些功能目前正在開發中,或者是計劃開發:

  • 改善/清除 libopkg api
  • 鎖定系統防止二個同步locking system to prevent two simultaneous operations on the file system

[edit] Bug fixes

  • Ipkg bug - Overflow/ crashe machine - [1]
  • ipkg 嚐試著存取SD card - [2]

[edit] 順序性低之功能

  • 在postinstall期間簡單的使用者互動
  • 改進指令列選項
  • 重構源碼並讓它更紮實
  • 在資料庫中儲存軟體(pakage)
  • 在下載檔案前,查看/tmp中可用的空間
  • 在解壓縮前查看可用的空間

[edit] 可能性問題

以下為可能是已知的臭蟲。

  • http proxy 可以運作,但是權限並無法被測試
  • autoremove功能只會查驗 "depends" 及無 "pre-depends"

[edit] FAQ

Q. 哪一版的Ipkg是源於Opkg?

A. 它是根據 ipkg-0.99.163 tarball

Q. 為何要"fork" 並為 Ipkg 重新命名?

A. Ipkg不再主動的維護upstream,並且Ipkg有潛在的商標問題

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類似). A "Tags" line has been added to the package information and opkg makes this available to clients, but does not process it in anyway. The command line client also does not use this features yet.


Ipkg Patches

The following ipkg patches have been applied:

  • "2-pkg-vec--Optimize-gross-inefficiency.patch" from OpenEmbedded
  • "1-pkg-parse--Optimize-inefficient-parsing.patch" from OpenEmbedded

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