Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use ${var} instead of $var when referencing user-defined variablesHEADmaster | Ting-Wei Lan | 2019-02-28 | 1 | -3/+3 |
| | |||||
* | Fix all warnings reported by shellcheck | Ting-Wei Lan | 2019-02-28 | 8 | -39/+43 |
| | |||||
* | Use 'printf' to print non-constant strings in shell scripts | Ting-Wei Lan | 2019-02-28 | 7 | -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 stdin | Ting-Wei Lan | 2018-01-02 | 1 | -8/+8 |
| | | | | | Flavors feature increases the length of sed commands, causing build failure on Linux because of 'argument list too long'. | ||||
* | freebsd: Support flavors | Ting-Wei Lan | 2018-01-02 | 4 | -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.find | Ting-Wei Lan | 2018-01-02 | 1 | -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 groups | Ting-Wei Lan | 2016-06-17 | 1 | -6/+100 |
| | |||||
* | arch: Add simple PKGBUILD creation support | Yun-Chih Chen | 2016-06-17 | 3 | -0/+43 |
| | |||||
* | freebsd: ${PORTSDIR} is not needed in dependency definition now | Ting-Wei Lan | 2016-03-28 | 2 | -2/+2 |
| | | | | https://svnweb.freebsd.org/changeset/ports/411970 | ||||
* | debian, freebsd: Fix outdated comments | Ting-Wei Lan | 2016-03-17 | 2 | -2/+2 |
| | | | | Remove references to files that no longer exist. | ||||
* | freebsd: 比較版本號大小時,英文字母會比數字還小 | Ting-Wei Lan | 2016-01-31 | 2 | -2/+2 |
| | |||||
* | 更新說明文件 | Ting-Wei Lan | 2015-08-24 | 3 | -132/+223 |
| | |||||
* | freebsd: 修正 gitignore 中的路徑 | Ting-Wei Lan | 2015-08-24 | 1 | -1/+1 |
| | |||||
* | freebsd: 處理 make.conf 和 INDEX 不同步時可能遇到的狀況 | Ting-Wei Lan | 2015-07-06 | 3 | -3/+33 |
| | | | | | | | | | | | 這次修改加入了 @NOPKG_SETUP@ 和 @NOPKG_DEPS@ 兩個可在 template 中使用的變數。 由於產生 INDEX 檔要花費很長的時間,我們通常會選擇下載現有的 INDEX 檔。然而有 些 package 的名稱會因為 make.conf 設定的不同而改變,為了避免寫進 Makefile 的 package 名稱不正確,我們加入了這兩個變數,使得 package 名稱到真正使用這 個 meta-port 時產生。 由於每次執行 make 都要花非常多的時間產生 package 名稱,我們強烈建議除非必要, 否則不要改用這兩個新加入的變數。 | ||||
* | debian: 增加 package signature | Jin-Jie Huang | 2015-02-05 | 3 | -2/+30 |
| | |||||
* | 提供多數選項的預設值,並採用新的 template 處理方式 | Ting-Wei Lan | 2014-07-31 | 10 | -94/+121 |
| | |||||
* | debian: 修正當 DEBIAN_OUT_REPO 不是絕對路徑時可能造成的問題 | Ting-Wei Lan | 2014-07-31 | 2 | -17/+9 |
| | |||||
* | 現在可以用 install 代替 debian-install 和 freebsd-install 了 | Ting-Wei Lan | 2014-07-31 | 1 | -0/+1 |
| | |||||
* | debian: 自動用將日期填入版本號 | Ting-Wei Lan | 2014-04-29 | 1 | -0/+3 |
| | |||||
* | debian: 修正 dpkg-scanpackages 產生錯誤路徑的問題 | Ting-Wei Lan | 2014-04-29 | 1 | -1/+1 |
| | |||||
* | 刪除多餘的 packages.mk | Ting-Wei Lan | 2014-04-26 | 2 | -43/+1 |
| | |||||
* | 將所有資料檔移出這個 repo,讓資料檔和 script 分開管理 | Ting-Wei Lan | 2014-04-25 | 29 | -1312/+264 |
| | |||||
* | freebsd.pkg: p5-bioperl marked as broken | Ting-Wei Lan | 2014-04-14 | 1 | -0/+2 |
| | |||||
* | freebsd.pkg: 引入 GCC 4.9,等正式發行後可取代 GCC 4.8 | Ting-Wei Lan | 2014-04-14 | 1 | -1/+1 |
| | |||||
* | 和 217-meta 同步 | Ting-Wei Lan | 2014-04-14 | 3 | -8/+17 |
| | |||||
* | 更新 README 文件 | Ting-Wei Lan | 2014-04-12 | 2 | -74/+130 |
| | |||||
* | 現在也可以產生 PDF 文件了 | Ting-Wei Lan | 2014-04-12 | 5 | -5/+16 |
| | |||||
* | freebsd.pkg: wmmemload marked as broken | Ting-Wei Lan | 2014-04-09 | 1 | -0/+2 |
| | |||||
* | 加入一些 GTK+ 3 theme | Ting-Wei Lan | 2014-04-09 | 3 | -1/+5 |
| | |||||
* | 清除 Makefile 中預設的 suffix rules | Ting-Wei Lan | 2014-04-05 | 1 | -0/+1 |
| | |||||
* | 加入 KDE 中文支援與 GTK+ theme 設定模組 | Ting-Wei Lan | 2014-04-01 | 3 | -3/+4 |
| | |||||
* | Makefile.silent -> silent.mk,把 Makefile.* ↵ | Ting-Wei Lan | 2014-03-30 | 2 | -1/+1 |
| | | | | 名稱留給真正可直接使用的 Makefile | ||||
* | freebsd.pkg: fvwm2-i18n 和 fvwm 相同,移除 FVWM macro | Ting-Wei Lan | 2014-03-29 | 3 | -3/+1 |
| | |||||
* | 修正 FreeBSD meta-ports 安裝 script 路徑 | Ting-Wei Lan | 2014-03-29 | 1 | -1/+1 |
| | |||||
* | 不顯示 mkdir 指令 | Ting-Wei Lan | 2014-03-29 | 4 | -8/+4 |
| | | | | mkdir 只會讓畫面變得很亂、混淆使用者而已。 | ||||
* | 支援用 sed 修改產生好的清單(目前主要當 mask 使用) | Ting-Wei Lan | 2014-03-29 | 4 | -6/+14 |
| | |||||
* | 將與平臺相關的檔案移至個別目錄 | Ting-Wei Lan | 2014-03-29 | 21 | -61/+123 |
| | | | | | | 此版本操作方式有改變: make debian 現在改為 make -f Makefile.debian make freebsd 現在改為 make -f Makefile.freebsd | ||||
* | freebsd.pkg: 忽略已刪除或無法成功編譯的 package | Ting-Wei Lan | 2014-03-28 | 1 | -0/+5 |
| | |||||
* | 移除無用的行尾空白 | Ting-Wei Lan | 2014-03-28 | 2 | -13/+13 |
| | |||||
* | 安裝 FreeBSD ports pkg-descr | Ting-Wei Lan | 2014-03-28 | 1 | -1/+1 |
| | |||||
* | debian.pkg: libboost-dev -> libboost-all-dev | Ting-Wei Lan | 2014-03-28 | 1 | -1/+1 |
| | |||||
* | 更新 FreeBSD meta-ports 安裝 script | Ting-Wei Lan | 2014-03-19 | 4 | -26/+20 |
| | |||||
* | 重新整理 Makefile 並加入簡單的 FreeBSD meta-ports 安裝 script | Ting-Wei Lan | 2014-03-19 | 5 | -22/+79 |
| | |||||
* | 加入 FreeBSD pkg-descr | Ting-Wei Lan | 2014-03-18 | 3 | -2/+6 |
| | |||||
* | 移除 freebsd.pkg 中互相衝突的項目 | Ting-Wei Lan | 2014-03-18 | 1 | -4/+4 |
| | |||||
* | 更新 FreeBSD meta-ports 的 license 為 BSD2CLAUSE | Ting-Wei Lan | 2014-03-11 | 1 | -1/+1 |
| | | | | FreeBSD ports 已經將未指定版本的 BSD license 列為 deprecated,所以才會修改這個。 | ||||
* | 改用 monospace 字型顯示部份 README 文字 | Ting-Wei Lan | 2014-03-11 | 1 | -13/+13 |
| | |||||
* | 完成 FreeBSD 部份的文件 | Ting-Wei Lan | 2014-03-01 | 1 | -0/+4 |
| | |||||
* | 移除用處不大的文字、重畫架構圖 | Ting-Wei Lan | 2014-03-01 | 1 | -21/+24 |
| | |||||
* | 加入操作說明 | Ting-Wei Lan | 2014-03-01 | 2 | -5/+25 |
| | |||||
* | 修正 README 編號順序 | Ting-Wei Lan | 2014-02-28 | 1 | -2/+2 |
| | |||||
* | README 小修改 | Ting-Wei Lan | 2014-02-27 | 1 | -2/+2 |
| | |||||
* | 文件大致完成,現在只差 FreeBSD 支援的文件 | Ting-Wei Lan | 2014-02-27 | 4 | -2/+62 |
| | |||||
* | 移除部份雜亂的 Makefile 訊息 | Ting-Wei Lan | 2014-02-27 | 1 | -7/+1 |
| | |||||
* | 完成 README! | Ting-Wei Lan | 2014-02-27 | 2 | -2/+11 |
| | |||||
* | 加入檔名慣例與原則 | Ting-Wei Lan | 2014-02-27 | 1 | -9/+34 |
| | |||||
* | 加入簡單的 README,目前只把基本的想法寫出來而已 | Ting-Wei Lan | 2014-02-26 | 3 | -2/+67 |
| | |||||
* | 補上之前漏掉的 #ifdef WSPKG_WINDOWMAKER | Ting-Wei Lan | 2014-02-22 | 1 | -0/+2 |
| | |||||
* | 把讓 Makefile 美觀的東西移入另一個檔案 | Ting-Wei Lan | 2014-02-16 | 3 | -24/+33 |
| | |||||
* | make clean 時不要移除已編譯的可執行檔 | Ting-Wei Lan | 2014-02-16 | 1 | -2/+4 |
| | | | | | 可執行檔是工具程式,不算產生出來的檔案,所以可以重複使用。 若要移除已編譯的可執行檔,請用 make distclean。 | ||||
* | 正確偵測出失敗的狀況,避免失敗時還繼續嘗試 | Ting-Wei Lan | 2014-02-16 | 1 | -4/+6 |
| | |||||
* | 避免 ports 嘗試下載 distfiles | Ting-Wei Lan | 2014-02-16 | 1 | -0/+1 |
| | |||||
* | 支援產生 FreeBSD meta-ports | Ting-Wei Lan | 2014-02-16 | 3 | -0/+73 |
| | |||||
* | 讓 Makefile 使用時看起來更美觀 | Ting-Wei Lan | 2014-02-16 | 1 | -13/+44 |
| | |||||
* | 支援產生 Debian meta-package | Ting-Wei Lan | 2014-02-16 | 3 | -2/+65 |
| | |||||
* | freebsd.pkg: p5-DBD-mysql55 已經移除,改為 p5-DBD-mysql | Ting-Wei Lan | 2014-02-15 | 1 | -1/+1 |
| | |||||
* | freebsd.ports.sh: 處理發生錯誤的狀況 | Ting-Wei Lan | 2014-02-12 | 1 | -3/+6 |
| | |||||
* | 先前找 ports directory 的 script 效能太差,已用 C 重寫 | Ting-Wei Lan | 2014-02-12 | 3 | -29/+145 |
| | |||||
* | FreeBSD ports directory 對應表不能用 cpp 處理,因為有 - 號 | Ting-Wei Lan | 2014-02-12 | 3 | -13/+3 |
| | |||||
* | 某些沒寫好的 ports 不認識 git-subversion,所以改用 config options | Ting-Wei Lan | 2014-02-12 | 1 | -1/+1 |
| | |||||
* | 修正 ports tree 與 INDEX 不相符時的問題 | Ting-Wei Lan | 2014-02-11 | 1 | -2/+1 |
| | | | | 現在固定只取完整路徑的最後兩段。不過因為改用 sed,可能會帶來一些效能影響。 | ||||
* | local-217 處理完成! | Ting-Wei Lan | 2014-02-11 | 3 | -34/+123 |
| | |||||
* | 避免在 Linux 上 linux 被當成 macro 展開 | Ting-Wei Lan | 2014-02-11 | 1 | -0/+1 |
| | |||||
* | 修正一些小錯誤 | Ting-Wei Lan | 2014-02-11 | 3 | -4/+6 |
| | |||||
* | /mnt/freebsd/package 處理完成! | Ting-Wei Lan | 2014-02-11 | 3 | -11/+92 |
| | |||||
* | 從 /mnt/freebsd/package 加入東西,目前處理到 network | Ting-Wei Lan | 2014-02-06 | 3 | -5/+42 |
| | |||||
* | 補上剛才忘記加入的 Makefile | Ting-Wei Lan | 2014-02-05 | 1 | -0/+21 |
| | |||||
* | 完成自動產生 FreeBSD packages 至 ports 目錄對應表的 script ↵ | Ting-Wei Lan | 2014-02-05 | 5 | -10/+70 |
| | | | | (同時修正 bug) | ||||
* | 217-meta 匯入完成! | Ting-Wei Lan | 2014-02-05 | 3 | -7/+58 |
| | |||||
* | 從 217-meta 加入了許多東西,現在只差 Web 和 X11 了 | Ting-Wei Lan | 2014-02-05 | 4 | -29/+394 |
| | |||||
* | 從 217-meta 加入 interpreters 和 library | Ting-Wei Lan | 2014-02-03 | 3 | -5/+60 |
| | |||||
* | 加大縮排 | Ting-Wei Lan | 2014-02-03 | 3 | -160/+188 |
| | |||||
* | Initial commit - 匯入部份轉換好的清單 | Ting-Wei Lan | 2014-02-03 | 4 | -0/+368 |