Last change
on this file since 371 was 365, checked in by Rick van der Zwet, 13 years ago |
Let's see if this is a better/faster way of upgrading packages and ports.
|
File size:
886 bytes
|
Rev | Line | |
---|
[365] | 1 | module PkgConfig
|
---|
| 2 | ENV['PORTSDIR'] ||= '/usr/ports'
|
---|
| 3 | ENV['PACKAGES'] ||= ENV['PORTSDIR'] + '/packages'
|
---|
| 4 | ENV['PKG_PATH'] ||= ENV['PACKAGES'] + '/All'
|
---|
| 5 | ENV['PKG_BACKUP_DIR'] ||= ENV['PKG_PATH']
|
---|
| 6 | SANITY_CHECK = true
|
---|
| 7 | IGNORE_CATEGORIES = [
|
---|
| 8 | ]
|
---|
| 9 | EXTRA_CATEGORIES = [
|
---|
| 10 | ]
|
---|
| 11 | ALT_INDEX = [
|
---|
| 12 | ]
|
---|
| 13 | ALT_MOVED = [
|
---|
| 14 | ]
|
---|
| 15 | HOLD_PKGS = [
|
---|
| 16 | 'bsdpan-*',
|
---|
| 17 | ]
|
---|
| 18 | IGNORE_MOVED = [
|
---|
| 19 | 'devel/bison',
|
---|
| 20 | ]
|
---|
| 21 | USE_PKGS = [
|
---|
| 22 | ]
|
---|
| 23 | USE_PKGS_ONLY = [
|
---|
| 24 | ]
|
---|
| 25 | ALT_PKGDEP = {
|
---|
| 26 | }
|
---|
| 27 | MAKE_ARGS = {
|
---|
| 28 | }
|
---|
| 29 | MAKE_ENV = {
|
---|
| 30 | }
|
---|
| 31 | BEFOREBUILD = {
|
---|
| 32 | }
|
---|
| 33 | BEFOREDEINSTALL = {
|
---|
| 34 | '*' => proc { |origin|
|
---|
| 35 | cmd_stop_rc(origin)
|
---|
| 36 | },
|
---|
| 37 | }
|
---|
| 38 | AFTERINSTALL = {
|
---|
| 39 | '*' => proc { |origin|
|
---|
| 40 | cmd_start_rc(origin)
|
---|
| 41 | },
|
---|
| 42 | }
|
---|
| 43 | PKG_SITES = [
|
---|
| 44 | pkg_site_mirror(),
|
---|
| 45 | ]
|
---|
| 46 | PORTUPGRADE_ARGS = ENV['PORTUPGRADE'] || \
|
---|
| 47 | '-v -D -l /var/tmp/portupgrade.results ' + \
|
---|
| 48 | '-L /var/tmp/portupgrade-%s::%s.log' + \
|
---|
| 49 | ' --batch'
|
---|
| 50 | end
|
---|
Note:
See
TracBrowser
for help on using the repository browser.