提交新的 Port 前,請閱讀 DOs and DON'Ts 章節。
現在你很高興終於打造出 port 來囉,唯一剩下要做的就是把它正式放到 FreeBSD ports tree 內,才能讓每個人都能分享使用這個 port。 我們不需要 work
目錄或是檔名像 pkgname.tgz
的 package ,請現在刪除他們。
Next, build the shar(1) file. Assuming the port is
called oneko
, cd
to the
directory above where the oneko
directory
is located, and then type:
shar `find oneko` > oneko.shar
To submit oneko.shar
, use the bug submit
form (category Ports Tree
).
Add a short
description of the program to the Description field of the PR
(perhaps a short version of COMMENT
), and
do not forget to add oneko.shar
as an
attachment.
Giving a good description in the summary of the problem
report makes the work of port committers a lot easier. We
prefer something like “New port:
category
/portname
short description of
the port
” for new ports. Using this
scheme makes it easier and faster to begin the work of
committing the new port.
再次強調一點:不必附上原始 source 的 distfile ,也就是 work
目錄。 同時,也不必附上 make package
時產生的 package。新的 port 請使用 shar(1) ,不要用 diff(1) 。
送出 port 之後,請耐心等候佳音。 有時候可能需要等個幾天或幾個月時間,才會在 FreeBSD ports tree 上正式出現。 等待中的 port PR 清單可以在 http://www.FreeBSD.org/cgi/query-pr-summary.cgi?category=ports 查閱。
在看過新的 port 之後,如果需要的話,我們會回覆您,然後會將它提交到 port tree 。 您的大名會被列在 Additional FreeBSD Contributors 列表上,以及其他檔案中。
本文及其他文件,可由此下載: ftp://ftp.FreeBSD.org/pub/FreeBSD/doc/。
若有 FreeBSD 方面疑問,請先閱讀
FreeBSD 相關文件,如不能解決的話,再洽詢
<questions@FreeBSD.org>。
關於本文件的問題,請洽詢
<doc@FreeBSD.org>。