FreeBSD ports              (1)        github      Hirohisa Yamaguchi            @umq                            2012-02-18...
•    •http://        www.netagent.co.jp    ••         *BSD       (K*BUG)    •http://www.kbug.gr.jp                        ...
FreeBSD ports•< >•                    3
github• An SNS site for us                       4
FreeBSDgithub.com/freebsd/                      5
github           ○○ FreeBSD ports                      6
7
8
• https://github.com/<user>/<project>/tarball                                                9
commit revision• https://github.com/<user>/<project>/tarball/ <revision>/<project>-<revision>.tar.gz                      ...
• tinytinyhttpd github.com/mattn/tinytinyhttpd• www/tinytinyhttpd       ports tree                                       11
mattn              vim hackerVim http://gihyo.jp/book/2011/978-4-7741-4795-6                           12
https://gist.github.com/1857691                                  13
MASTER_SITES=!              https://github.com/${GITHUB_USER}/ ${PORTNAME}/tarball/${GITREVISION}/                        ...
DISTNAME=!${PORTNAME}-${GITREVISION}                             15
commit revision                           7FETCH_ARGS=!-RprGITHUB_USER=!mattnGITREVISION=!3a3a10bWRKSRC=!! ${WRKDIR}/${GIT...
pre-configure:!cd ${WRKSRC} ; !${SH} ./autogen.sh                      17
18
• https://github.com/<user>/<project>/tarball/master                                                       19
(   ) https://gist.github.com/1857700                  1/2                                        20
2/2      21
MASTER_SITES=!              https://github.com/${GITHUB_USER}/ ${PORTNAME}/tarball/                                       22
NO_CHECKSUM= yes                   23
GIT_REPO_URL=  git@github.com:${GITHUB_USER}/ ${PORTNAME}.git                                   24
ls-remotessh                               clone                               heads/master    revesion id                ...
symlink   tarba(                   26
ports-mgmt/potupgrade-develportlint   FATAL   2                                           27
• github          ports• local port• happy hacking                          28
Upcoming SlideShare
Loading in …5
×

FreeBSD ports と暮らす(1): github 編

2,696 views

Published on

K*BUG 2012年2月研究会
http://www.zusaar.com/event/209002
での発表
補足情報を吹き出しで追加

  • Be the first to comment

FreeBSD ports と暮らす(1): github 編

  1. 1. FreeBSD ports (1) github Hirohisa Yamaguchi @umq 2012-02-18 1
  2. 2. • •http:// www.netagent.co.jp •• *BSD (K*BUG) •http://www.kbug.gr.jp 2
  3. 3. FreeBSD ports•< >• 3
  4. 4. github• An SNS site for us 4
  5. 5. FreeBSDgithub.com/freebsd/ 5
  6. 6. github ○○ FreeBSD ports 6
  7. 7. 7
  8. 8. 8
  9. 9. • https://github.com/<user>/<project>/tarball 9
  10. 10. commit revision• https://github.com/<user>/<project>/tarball/ <revision>/<project>-<revision>.tar.gz 10
  11. 11. • tinytinyhttpd github.com/mattn/tinytinyhttpd• www/tinytinyhttpd ports tree 11
  12. 12. mattn vim hackerVim http://gihyo.jp/book/2011/978-4-7741-4795-6 12
  13. 13. https://gist.github.com/1857691 13
  14. 14. MASTER_SITES=! https://github.com/${GITHUB_USER}/ ${PORTNAME}/tarball/${GITREVISION}/ 14
  15. 15. DISTNAME=!${PORTNAME}-${GITREVISION} 15
  16. 16. commit revision 7FETCH_ARGS=!-RprGITHUB_USER=!mattnGITREVISION=!3a3a10bWRKSRC=!! ${WRKDIR}/${GITHUB_USER}- ${PORTNAME}-${GITREVISION} 16
  17. 17. pre-configure:!cd ${WRKSRC} ; !${SH} ./autogen.sh 17
  18. 18. 18
  19. 19. • https://github.com/<user>/<project>/tarball/master 19
  20. 20. ( ) https://gist.github.com/1857700 1/2 20
  21. 21. 2/2 21
  22. 22. MASTER_SITES=! https://github.com/${GITHUB_USER}/ ${PORTNAME}/tarball/ 22
  23. 23. NO_CHECKSUM= yes 23
  24. 24. GIT_REPO_URL= git@github.com:${GITHUB_USER}/ ${PORTNAME}.git 24
  25. 25. ls-remotessh clone heads/master revesion id awk(1) cut(1) ${CUT} -f1 latest symlink 25
  26. 26. symlink tarba( 26
  27. 27. ports-mgmt/potupgrade-develportlint FATAL 2 27
  28. 28. • github ports• local port• happy hacking 28

×