aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use ${var} instead of $var when referencing user-defined variablesHEADmasterTing-Wei Lan2019-02-281-3/+3
|
* Fix all warnings reported by shellcheckTing-Wei Lan2019-02-288-39/+43
|
* Use 'printf' to print non-constant strings in shell scriptsTing-Wei Lan2019-02-287-20/+24
| | | | | | | It is unsafe to use 'echo' with strings with variable substitutions. Different 'echo' implementations may accept different options, and they can interpret strings with escape characters in different ways. The behavior of 'printf' is much more consistent so it should be preferred.
* freebsd: Send sed commands from stdinTing-Wei Lan2018-01-021-8/+8
| | | | | Flavors feature increases the length of sed commands, causing build failure on Linux because of 'argument list too long'.
* freebsd: Support flavorsTing-Wei Lan2018-01-024-5/+20
| | | | | | | | | | | | | | | | | | | | | | Flavors is a new feature of FreeBSD ports, allowing creating different packages from the same port by specifying different flavor values. Python ports have been converted to use flavors, enabling us to have both Python 2 and 3 packages installed on the workstation. This change also means that the path of a port is no longer a unique identifier. To specify a dependency in a port, we need both the path and the flavor. The output file FREEBSD_OUT_PORTS, or freebsd.port, now have the third column to store the flavor specified in the input file with '@' symbol, which is the same as the symbol used in a port Makefile. To simply the processing of the file, ports without flavors have their third column set to '@'. This symbol is not required by the syntax, and it can be changed to any non-alphanumeric symbols other than underscore. Ideally we don't have to specify the flavor in the input file because different flavors of a port produce packages with different names. However, since the index file doesn't have a field for flavor, we have to rely on users to provide them to avoid greatly slowing down the process of generating a meta-port Makefile.
* freebsd: Fix memory leak in freebsd.ports.findTing-Wei Lan2018-01-021-3/+15
| | | | | | | | | | | | | | | | | In function read_entries, we have to keep pointers returned by getline in an array to be able to free them even if the man page in FreeBSD says they will be freed when hdestroy is called. It turns out that the man page is incorrect after reading the source code and POSIX standard. In function write_maps, we can reset neither line nor len variable because it will cause getline to malloc a new buffer every time it is called. If we don't modify the values of these two variables, getline will use realloc when it needs more space and we only have to free it after leaving the loop. I know freebsd.ports.find is a short-lived program and leaking memory won't cause problems, but I still think we should do memory management properly to allow using valgrind to check the program.
* arch: Support package groupsTing-Wei Lan2016-06-171-6/+100
|
* arch: Add simple PKGBUILD creation supportYun-Chih Chen2016-06-173-0/+43
|
* freebsd: ${PORTSDIR} is not needed in dependency definition nowTing-Wei Lan2016-03-282-2/+2
| | | | https://svnweb.freebsd.org/changeset/ports/411970
* debian, freebsd: Fix outdated commentsTing-Wei Lan2016-03-172-2/+2
| | | | Remove references to files that no longer exist.
* freebsd: 比較版本號大小時,英文字母會比數字還小Ting-Wei Lan2016-01-312-2/+2
|
* 更新說明文件Ting-Wei Lan2015-08-243-132/+223
|
* freebsd: 修正 gitignore 中的路徑Ting-Wei Lan2015-08-241-1/+1
|
* freebsd: 處理 make.conf 和 INDEX 不同步時可能遇到的狀況Ting-Wei Lan2015-07-063-3/+33
| | | | | | | | | | | 這次修改加入了 @NOPKG_SETUP@ 和 @NOPKG_DEPS@ 兩個可在 template 中使用的變數。 由於產生 INDEX 檔要花費很長的時間,我們通常會選擇下載現有的 INDEX 檔。然而有 些 package 的名稱會因為 make.conf 設定的不同而改變,為了避免寫進 Makefile 的 package 名稱不正確,我們加入了這兩個變數,使得 package 名稱到真正使用這 個 meta-port 時產生。 由於每次執行 make 都要花非常多的時間產生 package 名稱,我們強烈建議除非必要, 否則不要改用這兩個新加入的變數。
* debian: 增加 package signatureJin-Jie Huang2015-02-053-2/+30
|
* 提供多數選項的預設值,並採用新的 template 處理方式Ting-Wei Lan2014-07-3110-94/+121
|
* debian: 修正當 DEBIAN_OUT_REPO 不是絕對路徑時可能造成的問題Ting-Wei Lan2014-07-312-17/+9
|
* 現在可以用 install 代替 debian-install 和 freebsd-install 了Ting-Wei Lan2014-07-311-0/+1
|
* debian: 自動用將日期填入版本號Ting-Wei Lan2014-04-291-0/+3
|
* debian: 修正 dpkg-scanpackages 產生錯誤路徑的問題Ting-Wei Lan2014-04-291-1/+1
|
* 刪除多餘的 packages.mkTing-Wei Lan2014-04-262-43/+1
|
* 將所有資料檔移出這個 repo,讓資料檔和 script 分開管理Ting-Wei Lan2014-04-2529-1312/+264
|
* freebsd.pkg: p5-bioperl marked as brokenTing-Wei Lan2014-04-141-0/+2
|
* freebsd.pkg: 引入 GCC 4.9,等正式發行後可取代 GCC 4.8Ting-Wei Lan2014-04-141-1/+1
|
* 和 217-meta 同步Ting-Wei Lan2014-04-143-8/+17
|
* 更新 README 文件Ting-Wei Lan2014-04-122-74/+130
|
* 現在也可以產生 PDF 文件了Ting-Wei Lan2014-04-125-5/+16
|
* freebsd.pkg: wmmemload marked as brokenTing-Wei Lan2014-04-091-0/+2
|
* 加入一些 GTK+ 3 themeTing-Wei Lan2014-04-093-1/+5
|
* 清除 Makefile 中預設的 suffix rulesTing-Wei Lan2014-04-051-0/+1
|
* 加入 KDE 中文支援與 GTK+ theme 設定模組Ting-Wei Lan2014-04-013-3/+4
|
* Makefile.silent -> silent.mk,把 Makefile.* ↵Ting-Wei Lan2014-03-302-1/+1
| | | | 名稱留給真正可直接使用的 Makefile
* freebsd.pkg: fvwm2-i18n 和 fvwm 相同,移除 FVWM macroTing-Wei Lan2014-03-293-3/+1
|
* 修正 FreeBSD meta-ports 安裝 script 路徑Ting-Wei Lan2014-03-291-1/+1
|
* 不顯示 mkdir 指令Ting-Wei Lan2014-03-294-8/+4
| | | | mkdir 只會讓畫面變得很亂、混淆使用者而已。
* 支援用 sed 修改產生好的清單(目前主要當 mask 使用)Ting-Wei Lan2014-03-294-6/+14
|
* 將與平臺相關的檔案移至個別目錄Ting-Wei Lan2014-03-2921-61/+123
| | | | | | 此版本操作方式有改變: make debian 現在改為 make -f Makefile.debian make freebsd 現在改為 make -f Makefile.freebsd
* freebsd.pkg: 忽略已刪除或無法成功編譯的 packageTing-Wei Lan2014-03-281-0/+5
|
* 移除無用的行尾空白Ting-Wei Lan2014-03-282-13/+13
|
* 安裝 FreeBSD ports pkg-descrTing-Wei Lan2014-03-281-1/+1
|
* debian.pkg: libboost-dev -> libboost-all-devTing-Wei Lan2014-03-281-1/+1
|
* 更新 FreeBSD meta-ports 安裝 scriptTing-Wei Lan2014-03-194-26/+20
|
* 重新整理 Makefile 並加入簡單的 FreeBSD meta-ports 安裝 scriptTing-Wei Lan2014-03-195-22/+79
|
* 加入 FreeBSD pkg-descrTing-Wei Lan2014-03-183-2/+6
|
* 移除 freebsd.pkg 中互相衝突的項目Ting-Wei Lan2014-03-181-4/+4
|
* 更新 FreeBSD meta-ports 的 license 為 BSD2CLAUSETing-Wei Lan2014-03-111-1/+1
| | | | FreeBSD ports 已經將未指定版本的 BSD license 列為 deprecated,所以才會修改這個。
* 改用 monospace 字型顯示部份 README 文字Ting-Wei Lan2014-03-111-13/+13
|
* 完成 FreeBSD 部份的文件Ting-Wei Lan2014-03-011-0/+4
|
* 移除用處不大的文字、重畫架構圖Ting-Wei Lan2014-03-011-21/+24
|
* 加入操作說明Ting-Wei Lan2014-03-012-5/+25
|
* 修正 README 編號順序Ting-Wei Lan2014-02-281-2/+2
|
* README 小修改Ting-Wei Lan2014-02-271-2/+2
|
* 文件大致完成,現在只差 FreeBSD 支援的文件Ting-Wei Lan2014-02-274-2/+62
|
* 移除部份雜亂的 Makefile 訊息Ting-Wei Lan2014-02-271-7/+1
|
* 完成 README!Ting-Wei Lan2014-02-272-2/+11
|
* 加入檔名慣例與原則Ting-Wei Lan2014-02-271-9/+34
|
* 加入簡單的 README,目前只把基本的想法寫出來而已Ting-Wei Lan2014-02-263-2/+67
|
* 補上之前漏掉的 #ifdef WSPKG_WINDOWMAKERTing-Wei Lan2014-02-221-0/+2
|
* 把讓 Makefile 美觀的東西移入另一個檔案Ting-Wei Lan2014-02-163-24/+33
|
* make clean 時不要移除已編譯的可執行檔Ting-Wei Lan2014-02-161-2/+4
| | | | | 可執行檔是工具程式,不算產生出來的檔案,所以可以重複使用。 若要移除已編譯的可執行檔,請用 make distclean。
* 正確偵測出失敗的狀況,避免失敗時還繼續嘗試Ting-Wei Lan2014-02-161-4/+6
|
* 避免 ports 嘗試下載 distfilesTing-Wei Lan2014-02-161-0/+1
|
* 支援產生 FreeBSD meta-portsTing-Wei Lan2014-02-163-0/+73
|
* 讓 Makefile 使用時看起來更美觀Ting-Wei Lan2014-02-161-13/+44
|
* 支援產生 Debian meta-packageTing-Wei Lan2014-02-163-2/+65
|
* freebsd.pkg: p5-DBD-mysql55 已經移除,改為 p5-DBD-mysqlTing-Wei Lan2014-02-151-1/+1
|
* freebsd.ports.sh: 處理發生錯誤的狀況Ting-Wei Lan2014-02-121-3/+6
|
* 先前找 ports directory 的 script 效能太差,已用 C 重寫Ting-Wei Lan2014-02-123-29/+145
|
* FreeBSD ports directory 對應表不能用 cpp 處理,因為有 - 號Ting-Wei Lan2014-02-123-13/+3
|
* 某些沒寫好的 ports 不認識 git-subversion,所以改用 config optionsTing-Wei Lan2014-02-121-1/+1
|
* 修正 ports tree 與 INDEX 不相符時的問題Ting-Wei Lan2014-02-111-2/+1
| | | | 現在固定只取完整路徑的最後兩段。不過因為改用 sed,可能會帶來一些效能影響。
* local-217 處理完成!Ting-Wei Lan2014-02-113-34/+123
|
* 避免在 Linux 上 linux 被當成 macro 展開Ting-Wei Lan2014-02-111-0/+1
|
* 修正一些小錯誤Ting-Wei Lan2014-02-113-4/+6
|
* /mnt/freebsd/package 處理完成!Ting-Wei Lan2014-02-113-11/+92
|
* 從 /mnt/freebsd/package 加入東西,目前處理到 networkTing-Wei Lan2014-02-063-5/+42
|
* 補上剛才忘記加入的 MakefileTing-Wei Lan2014-02-051-0/+21
|
* 完成自動產生 FreeBSD packages 至 ports 目錄對應表的 script ↵Ting-Wei Lan2014-02-055-10/+70
| | | | (同時修正 bug)
* 217-meta 匯入完成!Ting-Wei Lan2014-02-053-7/+58
|
* 從 217-meta 加入了許多東西,現在只差 Web 和 X11 了Ting-Wei Lan2014-02-054-29/+394
|
* 從 217-meta 加入 interpreters 和 libraryTing-Wei Lan2014-02-033-5/+60
|
* 加大縮排Ting-Wei Lan2014-02-033-160/+188
|
* Initial commit - 匯入部份轉換好的清單Ting-Wei Lan2014-02-034-0/+368