31a699e0ff
pkgdb: - Make the dependency guesser rather more intelligent and show a score when suggesting a candidate to the user. - Check for the pkgdb directory ownership before starting to fix it. pkg_deinstall: - Emit a warning if none matches given patterns. pkg_glob: - Do not sort package names in dependency order but in alphabetical order. (see pkg_sort(1) below) pkg_sort: - This is a new command to sort given lines of package names in dependency order. portversion: - Fix the portversion -c output again. misc.: - Fix typos in the zsh compdef's: PKGDBDIR -> PKG_DBDIR.
50 lines
1.7 KiB
Text
50 lines
1.7 KiB
Text
etc/rc.d/000.pkgtools.sh
|
|
@exec /bin/mkdir -p %D/lib/compat/pkg
|
|
@unexec /bin/rmdir %D/lib/compat/pkg 2>/dev/null || true
|
|
sbin/make_describe_pass1
|
|
sbin/make_describe_pass2
|
|
sbin/pkg_deinstall
|
|
sbin/pkg_fetch
|
|
sbin/pkg_glob
|
|
sbin/pkg_sort
|
|
sbin/pkgdb
|
|
sbin/portcvsweb
|
|
sbin/portinstall
|
|
sbin/ports_glob
|
|
sbin/portsclean
|
|
sbin/portsdb
|
|
sbin/portupgrade
|
|
sbin/portversion
|
|
%%RUBY_SITELIBDIR%%/pkg.rb
|
|
%%RUBY_SITELIBDIR%%/pkgdb.rb
|
|
%%RUBY_SITELIBDIR%%/pkginfo.rb
|
|
%%RUBY_SITELIBDIR%%/pkgmisc.rb
|
|
%%RUBY_SITELIBDIR%%/pkgtools.rb
|
|
%%RUBY_SITELIBDIR%%/pkgversion.rb
|
|
%%RUBY_SITELIBDIR%%/portinfo.rb
|
|
%%RUBY_SITELIBDIR%%/ports.rb
|
|
%%RUBY_SITELIBDIR%%/portsdb.rb
|
|
%%RUBY_SITELIBDIR%%/tsort.rb
|
|
@unexec if cmp -s %D/etc/pkgtools.conf %D/etc/pkgtools.conf.sample; then rm -f %D/etc/pkgtools.conf; fi
|
|
etc/pkgtools.conf.sample
|
|
@exec [ ! -f %B/pkgtools.conf ] && cp %B/%f %B/pkgtools.conf
|
|
share/zsh/site-functions/_pkg_deinstall
|
|
share/zsh/site-functions/_pkg_fetch
|
|
share/zsh/site-functions/_pkg_glob
|
|
share/zsh/site-functions/_pkg_sort
|
|
share/zsh/site-functions/_pkgdb
|
|
share/zsh/site-functions/_portsclean
|
|
share/zsh/site-functions/_portsdb
|
|
share/zsh/site-functions/_portupgrade
|
|
share/zsh/site-functions/_portversion
|
|
@unexec rmdir %D/share/zsh/site-functions 2>/dev/null || true
|
|
@unexec rmdir %D/share/zsh 2>/dev/null || true
|
|
%%PORTDOCS%%share/examples/pkgtools/bash/complete.sample
|
|
%%PORTDOCS%%@dirrm share/examples/pkgtools/bash
|
|
%%PORTDOCS%%share/examples/pkgtools/tcsh/complete.sample
|
|
%%PORTDOCS%%@dirrm share/examples/pkgtools/tcsh
|
|
%%PORTDOCS%%@dirrm share/examples/pkgtools
|
|
%%PORTDOCS%%share/doc/pkgtools/ChangeLog
|
|
%%PORTDOCS%%share/doc/pkgtools/README
|
|
%%PORTDOCS%%@dirrm share/doc/pkgtools
|
|
@exec rm -f /var/db/pkg/pkgdb.byfile.db
|