FreeBSD ports と暮らす(1): github 編
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

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

on

  • 2,787 views

K*BUG 2012年2月研究会

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

Statistics

Views

Total Views
2,787
Views on SlideShare
2,787
Embed Views
0

Actions

Likes
1
Downloads
1
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

CC Attribution-NoDerivs LicenseCC Attribution-NoDerivs License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

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

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