Your SlideShare is downloading. ×
Empacotamento e backport de aplicações em debian
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Introducing the official SlideShare app

Stunning, full-screen experience for iPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Empacotamento e backport de aplicações em debian

189
views

Published on

Published in: Technology

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
189
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Empacotamento e Backport de aplicações em DebianAndré Ferraz - @deferraz http://blog.sysadmin.io
  • 2. Curiosity 101
  • 3. ?
  • 4. Debra Lynn +
  • 5. debian-binaryar(1) control.tar.gz data.tar.gz
  • 6. debootstrap(8) schroot(1)
  • 7. dh_make
  • 8. dh_make DEBFULLNAME=”Andre Ferraz”DEBEMAIL=”myemail@foo.com.br”
  • 9. alias dquilt="quilt --quiltrc=${HOME}/.quiltrc-dpkg"d=. ; while [ ! -d $d/debian -a `readlink -e $d` != / ]; do d=$d/..; doneif [ -d $d/debian ] && [ -z $QUILT_PATCHES ]; then # if in Debian packaging tree with unset $QUILT_PATCHES QUILT_PATCHES="debian/patches" QUILT_PATCH_OPTS="--reject-format=unified" QUILT_DIFF_ARGS="-p ab --no-timestamps --no-index --color=auto" QUILT_REFRESH_ARGS="-p ab --no-timestamps --no-index"QUILT_COLORS="diff_hdr=1;32:diff_add=1;34:diff_rem=1;31:diff_hunk=1;33:diff_ctx=35:diff_cctx=33" if ! [ -d $d/debian/patches ]; then mkdir $d/debian/patches; fifi https://gist.github.com/deferraz/4973218
  • 10. $(DESTDIR)
  • 11. $(CURDIR)/debian/tmp$(CURDIR)/debian/<package_name>
  • 12. dh_*• dh_installinit override <3• dh_autoconfigure• dh_cron• dh_shlibdeps
  • 13. Perl Packaging
  • 14. Perl Packagingdh-make-perl --cpan Mojolicious::Lite
  • 15. PHP Packaging
  • 16. PHP Packaging dh-make-pear dh-make-pecl
  • 17. Ruby Packaging
  • 18. Ruby Packagingruby-pkg-tools m4 + Shell Script gem2deb Ruby!
  • 19. Ruby Packaging gem fetch foo gem2tgz foo-1.2gem dh-make-ruby foo-1.2.tar.gz dpkg-buildpackage -uc -us
  • 20. Ruby Packaging
  • 21. Python Packaging
  • 22. Python Packaging Just setup.py !
  • 23. Backports
  • 24. *
  • 25. Unstable Stable userland source + (libs / other apps)
  • 26. Pacote possui Puxar source datodas deps ? dependencia Nova dependencia Build! gera problemas/conflitos ?
  • 27. debhelper 9Multi-Arch Supportdpkg 1.16.2 e apt 0.8.13dpkg --add-archtecture i386
  • 28. http://www.debian.org/doc/manuals/maint-guide http://developer.ubuntu.com/packaging/html/
  • 29. Perguntas ?