Packages that need network in build

From ParabolaWiki
Jump to: navigation, search

Some packages require network during build(). The most common use of this is "git clone". After discussing this on IRC, mtjm and lukeshu agreed that needing network during build() and package() is bad.

  • If it is using "git clone", then it likely predates makepkg 4.1, which supports git:// URLs directly. ~lukeshu

Changing this suggests some hacking of the pacman package:

  • Change the examples in /usr/share/pacman/PKGBUILD-*.proto
    • The examples in /usr/share/pacman are largely junk, and have been for a long time. There's a lot of outdated stuff there. ~lukeshu
  • Hack makepkg to
    • act like it is passed the --holdver flag
    • add the --mksource flag, for which it
      • does what it currently does if you don't pass --holdver
      • run mksource()
    • This has been done, sort of. Look at `man librefetch`. ~lukeshu

Here's a quick grep to try to find maybe-violating packages:

$ grep -rlE '_(bzr|cvs|darcs|git|hg|svn)root' .
./~fauno/transmission-remote-cli/PKGBUILD
./social/opentracker/PKGBUILD
./social/diaspora-git/PKGBUILD
./extra/storage-fixup/PKGBUILD
./extra/vim/PKGBUILD
./community/csfml/PKGBUILD
./community/cairo-compmgr/PKGBUILD
./community/elinks/PKGBUILD
./community/sfml/PKGBUILD
./community/fusion-icon/PKGBUILD
./community/emacs-w3m-cvs/PKGBUILD
./community/go/PKGBUILD
./community/mplayer2/PKGBUILD
./community/notion/PKGBUILD
./community/conkeror-git/PKGBUILD
./libre/libretools/PKGBUILD