Upgrade to Pro — share decks privately, control downloads, hide ads and more …

nseg77-vol2 野良リポジトリを作る

nseg77-vol2 野良リポジトリを作る

D05b3b2abff3f73f249a01d60257bdde?s=128

hATrayflood

July 30, 2016
Tweet

Transcript

  1. 2016/7/30 NSEG Vol.77 野良リポジトリを作る by ABE Hiroki aka hATrayflood

  2. 2016/7/30 NSEG Vol.77 お前 誰︖ by ABE Hiroki aka hATrayflood

  3. 2016/7/30 NSEG Vol.77 ⾃⼰紹介 ・名前︓アベヒロキ (@hATrayflood) ・職業︓⾃宅サーバ管理者 ・URL︓rayflood.org/diary-temp/ ・地元︓東部町 by

    ABE Hiroki aka hATrayflood
  4. 2016/7/30 NSEG Vol.77 http://rayflood.org/mozilla/ とか by ABE Hiroki aka hATrayflood

  5. 2016/7/30 NSEG Vol.77 https://code.google.com/p/mozja/source/list とか by ABE Hiroki aka hATrayflood

  6. 2016/7/30 NSEG Vol.77 https://launchpad.net/~h-rayflood/+archive/llvm https://launchpad.net/~h-rayflood/+archive/gcc-upper とか by ABE Hiroki aka

    hATrayflood
  7. 2016/7/30 NSEG Vol.77 オレオレパッケージの配布 →launchpad PPA by ABE Hiroki aka

    hATrayflood
  8. 2016/7/30 NSEG Vol.77 制約 by ABE Hiroki aka hATrayflood

  9. 2016/7/30 NSEG Vol.77 フルオープン by ABE Hiroki aka hATrayflood

  10. 2016/7/30 NSEG Vol.77 ⾮公開にできない︖ やり⽅不明 by ABE Hiroki aka hATrayflood

  11. 2016/7/30 NSEG Vol.77 古いディストリには 対応してない by ABE Hiroki aka hATrayflood

  12. 2016/7/30 NSEG Vol.77 ubuntu 10.04は もうアップできない by ABE Hiroki aka

    hATrayflood
  13. 2016/7/30 NSEG Vol.77 ではここで リポジトリの 構造を探る by ABE Hiroki aka

    hATrayflood
  14. 2016/7/30 NSEG Vol.77 http://ppa.launchpad.net/h-rayflood/llvm/ubuntu/ by ABE Hiroki aka hATrayflood

  15. 2016/7/30 NSEG Vol.77 http://ppa.launchpad.net/h-rayflood/llvm/ubuntu/dists/lucid/ by ABE Hiroki aka hATrayflood

  16. 2016/7/30 NSEG Vol.77 http://ppa.launchpad.net/h-rayflood/llvm/ubuntu/dists/lucid/main/binary-amd64/ by ABE Hiroki aka hATrayflood

  17. 2016/7/30 NSEG Vol.77 http://ppa.launchpad.net/h-rayflood/llvm/ubuntu/pool/main/c/ by ABE Hiroki aka hATrayflood

  18. 2016/7/30 NSEG Vol.77 http://ppa.launchpad.net/h-rayflood/llvm/ubuntu/pool/main/c/clang-2.9/ by ABE Hiroki aka hATrayflood

  19. 2016/7/30 NSEG Vol.77 distsはディストリ ごとのメタデータ by ABE Hiroki aka hATrayflood

  20. 2016/7/30 NSEG Vol.77 poolはdebパッケージが ⼊ってるっぽい by ABE Hiroki aka hATrayflood

  21. 2016/7/30 NSEG Vol.77 この構造をまねれば できなくね︖ by ABE Hiroki aka hATrayflood

  22. 2016/7/30 NSEG Vol.77 reprepro by ABE Hiroki aka hATrayflood

  23. 2016/7/30 NSEG Vol.77 というツール があるらしい by ABE Hiroki aka hATrayflood

  24. 2016/7/30 NSEG Vol.77 https://mirrorer.alioth.debian.org/reprepro.1.html by ABE Hiroki aka hATrayflood

  25. 2016/7/30 NSEG Vol.77 初期 設定 by ABE Hiroki aka hATrayflood

  26. 2016/7/30 NSEG Vol.77 リポジトリの ディレクトリを作って 設定ファイルを書く by ABE Hiroki aka

    hATrayflood
  27. 2016/7/30 NSEG Vol.77 REPREPRO_CONF=reprepro/xenial-nseg-debian/conf mkdir -p ${REPREPRO_CONF} cat < ${REPREPRO_CONF}/distributions

    Codename: xenial Architectures: i386 amd64 source Components: main SignWith: yes Label: nseg debian test Suite: xenial Version: 16.04 EOT by ABE Hiroki aka hATrayflood
  28. 2016/7/30 NSEG Vol.77 ビルドしたパッケージの .dscを放り込む by ABE Hiroki aka hATrayflood

  29. 2016/7/30 NSEG Vol.77 reprepro -b reprepro/xenial-nseg-debian includedsc xenial nseg-debian/*.dsc by

    ABE Hiroki aka hATrayflood
  30. 2016/7/30 NSEG Vol.77 パッケージをビルドするには pbuilderで。以下略 by ABE Hiroki aka hATrayflood

  31. 2016/7/30 NSEG Vol.77 リポジトリの パッケージを 表⽰する by ABE Hiroki aka

    hATrayflood
  32. 2016/7/30 NSEG Vol.77 reprepro -b reprepro/xenial-nseg-debian list xenial xenial|main|i386: nseg-debian-test

    0.1 xenial|main|amd64: nseg-debian-test 0.1 xenial|main|source: nseg-debian-test 0.1 by ABE Hiroki aka hATrayflood
  33. 2016/7/30 NSEG Vol.77 実際のファイルを⾒る by ABE Hiroki aka hATrayflood

  34. 2016/7/30 NSEG Vol.77 ls -l reprepro/xenial-nseg-debian/ 合計 16 drwxrwxr-x 2

    h h 4096 7⽉ 29 16:15 conf drwxrwxr-x 2 h h 4096 7⽉ 30 09:59 db drwxrwxr-x 3 h h 4096 7⽉ 29 17:41 dists drwxrwxr-x 3 h h 4096 7⽉ 29 18:27 pool by ABE Hiroki aka hATrayflood
  35. 2016/7/30 NSEG Vol.77 distsの中⾝ by ABE Hiroki aka hATrayflood

  36. 2016/7/30 NSEG Vol.77 ls -l reprepro/xenial-nseg-debian/dists/xenial/ 合計 16 -rw-rw-r-- 1

    h h 3094 7⽉ 29 18:32 InRelease -rw-rw-r-- 1 h h 2226 7⽉ 29 18:32 Release -rw-rw-r-- 1 h h 819 7⽉ 29 18:32 Release.gpg drwxrwxr-x 5 h h 4096 7⽉ 29 17:41 main by ABE Hiroki aka hATrayflood
  37. 2016/7/30 NSEG Vol.77 poolの中⾝ by ABE Hiroki aka hATrayflood

  38. 2016/7/30 NSEG Vol.77 ls -l reprepro/xenial-nseg-debian/pool/main/n/nseg-debian-test/ 合計 20 -rw-rw-r-- 1

    h h 612 7⽉ 29 18:27 nseg-debian-test_0.1.dsc -rw-rw-r-- 1 h h 8092 7⽉ 29 18:27 nseg-debian-test_0.1.tar.xz -rw-rw-r-- 1 h h 3596 7⽉ 29 18:32 nseg-debian-test_0.1_amd64.deb -rw-rw-r-- 1 h h 3574 7⽉ 29 18:27 nseg-debian-test_0.1_i386.deb by ABE Hiroki aka hATrayflood
  39. 2016/7/30 NSEG Vol.77 よさげ by ABE Hiroki aka hATrayflood

  40. 2016/7/30 NSEG Vol.77 distsとpoolをwebサーバにアップして /etc/apt/sources.list.d/nseg-debian.list にurlを書いてapt-get update by ABE Hiroki

    aka hATrayflood
  41. 2016/7/30 NSEG Vol.77 注意 by ABE Hiroki aka hATrayflood

  42. 2016/7/30 NSEG Vol.77 launchpad ppaの署名は launchpadのもので 特別な設定は不要 by ABE Hiroki

    aka hATrayflood
  43. 2016/7/30 NSEG Vol.77 野良リポジトリは gpg署名が.deb作成時の 署名なので要設定 by ABE Hiroki aka

    hATrayflood
  44. 2016/7/30 NSEG Vol.77 gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-key 8606F6B4 gpg -a

    --export 8606F6B4 | sudo apt-key add - ※8606F6B4は.deb作成時のgpg by ABE Hiroki aka hATrayflood
  45. 2016/7/30 NSEG Vol.77 実際にある 野良リポジトリ by ABE Hiroki aka hATrayflood

  46. 2016/7/30 NSEG Vol.77 http://rayflood.org/ubuntu/gcc-upper/ by ABE Hiroki aka hATrayflood

  47. 2016/7/30 NSEG Vol.77 おまけ by ABE Hiroki aka hATrayflood

  48. 2016/7/30 NSEG Vol.77 launchpad ppa for ubuntu by ABE Hiroki

    aka hATrayflood
  49. 2016/7/30 NSEG Vol.77 https://launchpad.net/~h-rayflood/+archive/ubuntu/nseg-debian by ABE Hiroki aka hATrayflood

  50. 2016/7/30 NSEG Vol.77 dput ppa:h-rayflood/nseg-debian *_source.changes by ABE Hiroki aka

    hATrayflood
  51. 2016/7/30 NSEG Vol.77

  52. 最近の愛読書 2016/7/30 NSEG Vol.77 steam版 by ABE Hiroki aka hATrayflood

  53. by ABE Hiroki aka hATrayflood 2016/7/30 NSEG Vol.77 ・リンク集 twitter

    @hATrayflood http://twitter.com/hATrayflood debian reprepro https://mirrorer.alioth.debian.org/reprepro.1.html LLVM/clang PPA : hATrayflood: https://launchpad.net/~h-rayflood/+archive/llvm GNU GCC PPA (upper version) : hATrayflood: https://launchpad.net/~h-rayflood/+archive/gcc-upper GNU GCC PPA (upper version for obsolete): http://rayflood.org/ubuntu/gcc-upper/ by ABE Hiroki aka hATrayflood
  54. 2016/7/30 NSEG Vol.77 ビッグコミックスピリッツ 王様達のヴァイキング http://spi-net.jp/weekly/comic008.html アルファポリス ゲート ⾃衛隊 彼の地にて、斯く戦えり

    http://www.alphapolis.co.jp/manga/viewOpening/138000030 Steam︓FINAL FANTASY XIII http://store.steampowered.com/app/292120/?l=japanese by ABE Hiroki aka hATrayflood