Commit Graph

1515 Commits

Author SHA1 Message Date
espie
9fa7c10c20 remove intervening comma, so that stuff works. 2005-10-09 23:22:41 +00:00
espie
9d61eb771b better semantics for library checking: just check the pkgspec for recursive
building, and then do one big check of all specs in LIB_DEPENDS and
wantlib. This should be faster and more accurate.
2005-10-09 13:31:50 +00:00
espie
01c2d27f64 let resolve-lib return a useful error code 2005-10-09 13:27:39 +00:00
espie
43ed8edb9c tweak the way library dependencies are resolved to speed them up.
Now, resolve-lib can take a big list of libraries with full paths,
and it can solve a big list of spec at once.
Basically, we move most of the parsing of spec paths into resolve-lib.

Since print-package-signature does build a full list of libs, let's solve
it all at once, instead of invoking a costly perl script repeatedly.

Add some caching possibilities for out-of-date. Specifically:
- store libraries for each package under the directory _PORT_LIBS_CACHE
- use the dependency cache _DEPENDS_FILE to avoid recreating dependency
chains, add a new file _DEPENDS_CACHE that will accumulate all dependencies,
and extract these with a simple script extract-dependencies.

Use echo to build libraries lists instead of ls, that's a bit simpler...

Some more clean-up will happen: it's probably simpler to parse libspecs
at once, extract the libraries needed and go fetch the corresponding libraries
just once.
2005-10-09 12:01:22 +00:00
pvalchev
046e52975e more 2005-10-08 07:22:25 +00:00
espie
21c89e0e8f overeager code cloning.
noticed by matthieu@/mbalmer@
2005-10-07 21:08:16 +00:00
alek
d87c252496 Add _sane user and group 2005-10-03 21:23:28 +00:00
espie
6ed42bc212 some clean-up + progress meter.
okay bernd@
2005-10-01 16:36:03 +00:00
bernd
f4a024d5a8 Rewrite in perl. It compares package signatures instead of package names.
This needs a lot of testing, so please test!

Suggestions and ideas from sturm@ and espie@.

ok espie@
2005-10-01 13:17:54 +00:00
espie
ef74c2c91e need to list static libraries as well.
problem reported by bernd@
2005-09-25 09:43:09 +00:00
espie
6d9e12644b tweak _print-package-args a bit.
Add internal NODEPS to turn off computing dependencies.

Write code similar to _print-package-args that is strictly ports based,
and hence really walks the wantlibs, and needs the pkg_create stuff
to get at the real ports contents.

Recode print-package-signature to refer to the ports tree contents
exclusively (pkg_info -S for the package).

Thx bernd@ for trying that out.

This should make for a slow, but accurate, out-of-date printer.
2005-09-24 19:46:56 +00:00
espie
202146d6ab add print-package-signature
suggested by bernd@
2005-09-23 08:26:21 +00:00
pvalchev
48a568fc60 change to cope with the new comment/descr package format; ok espie mjc 2005-09-21 04:52:22 +00:00
pvalchev
6befda6c28 some 3.8 updates 2005-09-20 17:59:40 +00:00
espie
715995a25c use new interface to PackageLocator 2005-09-19 21:12:27 +00:00
espie
ebfaf60b88 simplify locks 2005-09-18 12:20:00 +00:00
espie
08e7b4c048 oops 2005-09-17 14:47:40 +00:00
espie
0031945c6e Fix a buglet in bsd.port.mk where the PSEUDO_FLAVORS get encoded into
the FULLPKGPATH, thus providing changes to packing-lists which shouldn't
happen, and making update more difficult.

Accordingly, bump all pkgnames with PSEUDO_FLAVORS, and provide an
update @pkgpath for the bug for most of them (left out the ones with 3
or 4 pseudo flavors for space constraints...)
2005-09-16 09:51:25 +00:00
espie
388edd407a use new interface to Locator 2005-09-13 20:48:41 +00:00
naddy
07871fe865 don't hardcode /usr/ports, use PORTSDIR; ok espie@ 2005-09-10 18:07:47 +00:00
espie
6dc3872b96 readable error when !-d and a dependent package is needed 2005-09-10 09:48:54 +00:00
espie
1e9f0a5a06 kill mystuff 2005-09-09 08:20:37 +00:00
pvalchev
7349478a89 sync 2005-09-08 01:03:00 +00:00
espie
00ba79a06d copy new annotations over. 2005-09-07 10:40:00 +00:00
pedro
802e685b58 Add _xavante, okay jolan@ 2005-09-06 16:49:20 +00:00
pvalchev
da0e5b92cf sync 2005-09-05 17:18:32 +00:00
espie
026d4464af use PkgSpec to work on plists (since they have no def value...)
rearrange output of common-dirs to be more usable.
2005-09-05 14:39:57 +00:00
espie
9daab219eb some perl stuff installs manpages as ../man3p/manpage.3 2005-09-05 13:06:01 +00:00
espie
9fc55bc3e6 clean-up register-plist logic, so that package is uniformously deleted
if a problem occurs.
2005-09-05 12:43:07 +00:00
espie
c55945a28e merge code for find-all-conflicts and check-common-dirs, since there is
a lot of shared logic in there.
2005-09-05 10:17:05 +00:00
espie
65b60545ef protect against $OpenBSD$ expansion problems.
Allow the first argument to be a path:, so that we can archive
the packing-lists in a less haphazard way.
2005-09-05 10:13:11 +00:00
marcm
a51e4cbcac add _gpsd 2005-09-05 00:36:49 +00:00
espie
368bd09c02 cache ways more information, so that it runs at a reasonable pace for
3000 packages.
output stuff in a more readable way.

allows looking only in a PLIST_DB directory.
2005-09-04 22:34:23 +00:00
espie
f7b78407d9 - new read-only variable, PKGNAMES.
- plist repository under PLIST_DB (optional).
- print-package-signatures shows what's used for signatures.
- make fetch shows full url you can copy/paste, simpler to look for typos
that way.
2005-09-04 22:32:37 +00:00
espie
a27436f413 new script, to register packing-list in a nice way. 2005-09-04 22:30:39 +00:00
pvalchev
d7909ac978 sync 2005-09-04 18:36:53 +00:00
pvalchev
3059521cb0 append pkglocatedb to plists; ok deraadt 2005-09-02 01:11:02 +00:00
pvalchev
23b2af5c44 sync 2005-09-01 07:53:38 +00:00
pvalchev
b175ea928c sync 2005-09-01 07:30:48 +00:00
pvalchev
def7406ca5 oops, apparently old python still 2005-08-24 21:42:19 +00:00
pvalchev
0a95e79054 tweak 2005-08-24 21:40:12 +00:00
pvalchev
c2f009f3bf python-2.4 2005-08-24 21:27:03 +00:00
pvalchev
d3c422a122 sync 2005-08-24 21:24:45 +00:00
pvalchev
4f74a44df2 gphoto2 works; robert 2005-08-16 02:04:13 +00:00
pvalchev
e6b718763f more stuff from robert 2005-08-15 00:07:02 +00:00
espie
dd7e097b7c remove duplicates, in case we're scanning the same package several times.
okay pvalchev@
2005-08-14 11:57:17 +00:00
sturm
b5851b9917 fix uids
ok pval
2005-08-14 01:10:31 +00:00
espie
3146ff3563 libraries live in the first pass. 2005-08-10 13:09:17 +00:00
mbalmer
e3a8473ecd Add uid/gid 549, _netplan:_netplan for misc/plan 2005-08-10 07:48:49 +00:00
sturm
98dc794504 move www.cpan.dk down the list as it is often not up to date 2005-08-07 21:23:19 +00:00
aanriot
a4569e8894 add _polipo:_polipo for www/polipo. 2005-08-06 21:24:04 +00:00
robert
3455b52213 add _kismet 2005-07-28 10:04:34 +00:00
pvalchev
491c9b7c8b more stuff to build 2005-07-24 03:51:59 +00:00
aanriot
7cd4e02269 add _honeyd user/group.
ok sturm@
2005-07-23 17:39:46 +00:00
sturm
4df85619a2 permit kqueue and kevent
noticed by Ray Lai <ray at cyth.net>
2005-07-09 07:29:01 +00:00
espie
97807ee9a8 remove mesh permanently, it's obvious this is NOT a maintained mirror. 2005-07-04 12:34:23 +00:00
espie
f51beaa32e distfiles with spaces ? wow... 2005-07-04 12:32:51 +00:00
espie
bbac9516f9 show a full list of existing files before exiting. 2005-07-04 10:46:05 +00:00
brad
104c67ad72 sync with CVS as of today 2005-07-03 01:00:54 +00:00
espie
a0d8f99cb8 fix wc shit. 2005-06-27 12:48:56 +00:00
espie
559bf09e60 bigger threshold, some sourceforge mirrors have 20K of html error page. 2005-06-25 22:12:09 +00:00
espie
e5b301e189 zap small files whose sizes don't match, so the next mirror gets a chance
to go at it.
2005-06-25 22:01:46 +00:00
espie
7459b5bd67 restore library check into working order, ouch... 2005-06-25 10:51:32 +00:00
espie
339259cda0 remove -v in pkg_create(1) since pkg_create is going to become
much more verbose.
2005-06-25 10:40:50 +00:00
jsg
4cba0b7457 Add mesh back to the list of sourceforge mirrors now it has been fixed. 2005-06-22 23:41:59 +00:00
kurt
7ddb5ebf43 - add java MODULE to handle some commmon java port issues
- Based on the MODJAVA_VER, MODJAVA_JRERUN, NO_BUILD
  and MACHINE_ARCH, the following things will be setup:
    ONLY_FOR_ARCHS if not already set.
    BUILD_DEPENDS on a jdk (native preferred).
    JAVA_HOME to pass on to the port build.
    RUN_DEPENDS for all jdk's and jre's that can run the port.

Review and feedback nikolay@, ian@.
2005-06-17 14:59:27 +00:00
mbalmer
16b499a863 Failed retrieval of a ports distfiles can leave a file containing
an ampersand in its name in ${DISTDIR}.  Escape the ampersand in
the generated script.

ok espie@
2005-06-04 22:53:03 +00:00
pvalchev
70cd8f0b74 sort list of pkgs properly; ok and tweak espie 2005-05-17 22:08:13 +00:00
pvalchev
d237bab01d ignore "pkglocatedb.gz" in the listing as well 2005-05-17 16:17:50 +00:00
pvalchev
58a2b77280 - print pathname of file in case of error
- fix up comment
2005-05-17 16:17:00 +00:00
pvalchev
1d1a81e90d missed mips64, also update osrev=3.7 2005-05-13 17:35:19 +00:00
pvalchev
251ff517f0 update list of all arches 2005-05-13 17:34:19 +00:00
jcs
ffb3030fae _asterisk user and group, for telephony/asterisk
ok jolan@
2005-05-09 16:46:02 +00:00
jakob
6e1b8dacea add _openldap 2005-05-02 12:16:14 +00:00
alek
a130ae3cff Add LIBTOOL to FAKE_FLAGS.
ok sturm@, espie@
2005-04-30 10:43:55 +00:00
pvalchev
873f8ea57b add list of arm packages i use for building; this location is
normally for CD sets, but it is most appropriate
2005-04-30 00:08:27 +00:00
espie
63ee44468c missed test.
found out (more or less) by alek@.
2005-04-24 18:02:45 +00:00
espie
70fcebe40f fiddle a bit with LD_LIBRARY_PATH: allow mixed fake/non-fake.
and create a _set_ld_library_path internal, so that bzip2 can be installed
only as a dependency.
2005-04-23 15:24:49 +00:00
espie
b6e98c5d70 fake case is special, directly check if the exact package is already installed
(avoid errors in multiple installs of the same dependency)
2005-04-23 15:12:19 +00:00
espie
8ae9d49345 allows a mode FAKE=all where BUILD_DEPENDS get also installed under
DEPDIR.
2005-04-23 14:31:38 +00:00
alek
c798bedc18 Do not check if SEPARATE_BUILD is defined but check what is its value
(defaults to No)

help & blessing from espie@, ok naddy@
2005-04-21 01:44:50 +00:00
mjc
16ccc57067 correct type for ac_cv_func_accept_arg3
ok espie@
thanks to naddy@ for the smart testing on this
2005-04-20 22:18:04 +00:00
espie
d9e6141a26 need to use a default target for fake=lib. gettext->=0.10.38 is not an
installable package name...
2005-04-19 09:21:42 +00:00
espie
26181a5f81 add REPORT_PROBLEM_LOGFILE, okay naddy@ 2005-04-19 08:55:32 +00:00
espie
5e16b36748 look in the correct place if FAKE=lib
found out by naddy while working on xloadimage.
2005-04-17 22:51:16 +00:00
espie
b84fda0759 use both DEPBASE and LOCALBASE in PORTSPATH since we don't fake everything yet. 2005-04-17 18:31:58 +00:00
espie
5d3475bf46 move BUILD_DEPENDS outside of FAKE=lib scope, because it's really hard
to convince autoconf to work...

Also, ln -sf -> ln -sfh
2005-04-17 13:21:14 +00:00
espie
fc68a339fe Add DEPBASE for dependencies.
Add USE_FAKE_LIB to turn on FAKE=LIB for ports that have been converted.

Tweak buil/lib depends and LD_LIBRARY_PATH in FAKE=lib case.
2005-04-17 10:10:07 +00:00
jsg
4a0f22b68b Update the list of sourceforge mirrors, remove mesh and unc as they
don't seem to be up to date.
2005-04-14 01:23:33 +00:00
espie
0c80ed6d5d take @endfake into account: mark when items are before/after @endfake,
and run two passes if necessary to put stuff before/after @endfake.

For now, extra stuff always gets moved after @endfake...

This will change when I find `useful' examples.
2005-04-11 11:39:12 +00:00
espie
9351cdeeb5 more kde interdependencies handling. Checked through a full build. 2005-04-09 10:48:31 +00:00
pvalchev
00a8e6fa8c no x86_64 now; ok/from brad & kettenis 2005-04-09 07:38:27 +00:00
alek
e45ec51caf - sunsite.dk is now called mirrors.dotsrc.org and it also hosts GNU and CTAN
archives
- Remove cpan.shellhung.org

Partially from Michael Knudsen <e@molioner.dk>

ok naddy@, sturm@
2005-04-05 20:10:53 +00:00
jolan
3c4985fe84 add humppa64 to lp64_archs 2005-04-01 15:55:36 +00:00
espie
32484a6016 let RUN_DEPENDS register itself in built package as stem-* if no pkgspec
has been requested.

Simplifies package updates a great deal, needs porters to be more careful.

okay naddy@
2005-03-30 08:14:01 +00:00
alek
8c8dc073fd Add _cyrus user used by mail/cyrus-imapd 2005-03-27 18:05:47 +00:00
espie
23f2ba46c9 don't strip the version number from wantlib in reporting issues.
will help people figure out why an incorrect library version is enough
to get lib-depends-check to holler.
2005-03-26 11:52:58 +00:00
pvalchev
f73dcd1282 shrink 2005-03-18 20:21:28 +00:00
pvalchev
6e09b60b9f shrink 2005-03-18 08:25:40 +00:00
pvalchev
19a6d37362 shrink 2005-03-18 07:45:22 +00:00
pvalchev
1760cc0625 shrinkage 2005-03-18 07:28:30 +00:00
espie
418b297b54 allow WANTLIB to be / something, to cater to expat.
okay pvalchev@
2005-03-13 22:51:34 +00:00
pvalchev
4639adff76 remove proctools, pgrep/pkill are in base; from david 2005-03-12 04:19:32 +00:00
pvalchev
ca3b94d064 add tiny things 2005-03-12 04:18:22 +00:00
pvalchev
b16d9789c3 er, should not have removed this 2005-03-11 22:36:24 +00:00
espie
fd12478f2d move targets around so they get handled gracefully in BROKEN case. 2005-03-09 15:40:37 +00:00
espie
78d9a2035a Finally rephrase what's going on. 2005-03-09 15:21:07 +00:00
espie
1621329450 trace dependencies. 2005-03-07 11:15:33 +00:00
espie
ebf45d12c9 let check-newlib-depends diagnose simple missing LIB_DEPENDS.
(will diagnose complicated WANTLIB by walking the dependency path
and checking that the library is indeed reachable soon).
2005-03-06 12:05:11 +00:00
espie
8542abc56d inform newlib-depends-check about the repository location
(needs RECENT newlib-depends-check).
2005-03-06 12:03:58 +00:00
espie
7394586952 start looking closer at library origin: report system libs differently.
(dependency walk and caching not finished yet).
2005-03-05 11:36:26 +00:00
sturm
041ba74bae fix cleanup code
noticed by pval@
2005-03-03 21:08:03 +00:00
jakob
aada117edb add _flowd for pending net/flowd 2005-03-03 07:04:03 +00:00
espie
60aaac2918 libs found inside package itself can be marked as used directly.
Reporting these as `Extra' is obviously a bug...
2005-03-02 20:45:37 +00:00
pvalchev
7d1be9c589 not needed anymore 2005-03-01 17:36:11 +00:00
espie
b66eb54e50 don't cache termcap shit, unbreak bash. 2005-03-01 00:03:20 +00:00
espie
4e8bcfc35e oops, Wantlib needs special treatment, removes bogus warnings. 2005-02-26 13:21:58 +00:00
pvalchev
5b72450bce close quote; janjaap@stack.nl 2005-02-25 23:08:16 +00:00
espie
0b49fb825d add quite a few settings. Went through a full ports build... 2005-02-24 11:38:36 +00:00
espie
124935d487 switch to gcc 3.3.5 2005-02-20 01:22:52 +00:00
espie
280a05428f framework to save configuration caches, for auditing and updating of
config.site.
2005-02-07 12:22:28 +00:00
brad
7f5084b430 for amd64 2005-02-06 04:58:45 +00:00
espie
00f97d0a5e emit PLIST when a shared fragment is seen.
Fix long-standing buglet reported by various people, I just needed to
sit down long enough to reproduce the issue...
2005-02-05 11:40:31 +00:00
espie
6d2313be65 flag for a.out 2005-01-31 10:12:24 +00:00
espie
19e4c12467 support a.out by calling ldd with a format that passes as objdump output. 2005-01-31 10:09:42 +00:00
espie
a6de3cd707 remove source-based lib-depends-check. We always check the package now. 2005-01-31 09:58:22 +00:00
espie
36eae15c85 switch to package checking for newlib-depends.
let force update force depends as well.
2005-01-31 09:52:53 +00:00
espie
ce81b410e6 do not look at simple modules. 2005-01-31 09:51:32 +00:00
sturm
b0bb1cbbbb - remove lockfiles when a host dies or dpb is killed (the ports don't do
it in these cases)
- remove an unused variable
- clean up warning messages
2005-01-30 12:37:32 +00:00
sturm
182d8ff4d8 tear down the ssh master session only after killing all node sessions
this solves the problem of ports being marked "built" after the node
building it was lost
2005-01-30 10:07:36 +00:00
mbalmer
08040b9348 Enter uid/gid for print/cups. 2005-01-16 13:19:33 +00:00
espie
3edf27f16d pkg_add -f -> pkg_add -F prior to killing the old option. 2005-01-13 11:54:55 +00:00
jakob
f5d448568c add _dspam for mail/dspam 2005-01-11 16:02:27 +00:00
sturm
89b57603d8 some automake bits
ok espie@
2005-01-11 07:14:36 +00:00
brad
62a14d75b6 simplify OpenBSD case by using arch(1) and sed to grab
the machine architecture. We now output amd64 instead
of x86_64 as it should be.

With input from millert@, drahn@ and kettenis@
2005-01-10 07:25:38 +00:00
mbalmer
85b377a1c7 Added uid/gid 539 for security/clamav.
ok alek@
2005-01-09 17:12:03 +00:00
espie
8e15a36e97 fix a stupid bug where some expr don't match, use extended expressions
to simplify things.
2005-01-08 00:05:16 +00:00
espie
22ca2cf370 switch to right directory before checking. 2005-01-06 19:30:34 +00:00
espie
4c869b16b9 let fetch check the size of the retrieved file, if this is recorded in
distinfo.

This allows ftp to skip files which return 404 error files and other
such nonsense...

(note that if you want to really grab a file with the wrong size, you
can just say CHECKSUM_FILE=/dev/null)


with input from by xsa, sturm, ian..
2005-01-04 20:44:45 +00:00
couderc
65e3096063 MODULES is prefered to CONFIGURE_SCRIPT, undo last changes, asked by espie@ 2005-01-02 23:33:09 +00:00
couderc
0b2a9ae196 add pmk config style support. 2005-01-02 20:54:02 +00:00
pvalchev
0eecd57502 add zaurus 2005-01-02 20:47:21 +00:00
espie
edaa7db625 forgot to commit: we have proper get*_r functions. 2004-12-31 12:47:25 +00:00
jsg
7bbf31fb24 Move voxel from the top to the bottom of the list of sourceforge
mirrors as it takes too long to mirror things.
2004-12-31 00:56:39 +00:00
naddy
63a801eb39 use double quotes to permit expansion of shell variable in message 2004-12-29 14:30:53 +00:00
espie
3393c1c5be let @sysctl tag long.
problem noticed by sturm@
2004-12-27 00:00:27 +00:00
sturm
6e890a965a in parse_dependency_file() make sure, we really read port specs and
not some gibberish like error messages or so
2004-12-26 07:48:46 +00:00
espie
bd19cd4c90 kill very old stuff 2004-12-22 14:09:37 +00:00
espie
b8fb5135f6 forgot clean=force, reminded by msf. 2004-12-21 20:56:54 +00:00
espie
af5c4c5437 verify the spelling of clean options. 2004-12-19 12:20:12 +00:00
espie
059ae7b0b6 make sure libraries contained in a package are not reported as missing... 2004-12-11 14:35:05 +00:00
espie
13d53957be minimal wantlib checker. 2004-12-11 14:27:57 +00:00
kurt
1ca9d5c443 make update-patches deal with spaces in paths (ok espie@ sturm@) 2004-12-02 19:50:17 +00:00
espie
7933d3b132 must run objdump through sudo as well... 2004-11-28 11:44:00 +00:00
espie
8ea77ff002 kill code that is no longer used. 2004-11-27 14:07:19 +00:00
espie
a60ebd295b still need to look in the default package for multi-package cases.
use -K that we now have...
2004-11-27 12:36:14 +00:00
sturm
44bbe01a92 set maximum length of command line arguments to 128k in order to reduce
systrace warnings
2004-11-27 12:01:16 +00:00
sturm
7c92ca48c2 deny writing empty filenames on the spot 2004-11-27 11:59:25 +00:00
espie
a9268b2f4a switch to using @wantlib and @depends, say byebye to libdepends and newdepends.
(this will break your machine if you don't have reasonably current pkg_add)
2004-11-27 09:59:35 +00:00
pvalchev
bcfc0034d3 sync, let qt3 get pulled as dependency 2004-11-24 00:05:08 +00:00
espie
2113d6fce1 strip /usr/local/lib path 2004-11-23 11:54:55 +00:00
espie
8710bf432e report on libraries that don't get used as well. 2004-11-23 11:17:59 +00:00
espie
a56c20faa7 use SharedLibs look-up to find libraries we don't know about. 2004-11-23 11:13:20 +00:00
espie
48aa65b693 ready-to-go switch to @wantlib/@depend 2004-11-21 15:59:25 +00:00
sturm
95b2d10495 restrict link() and symlink() 2004-11-21 11:38:04 +00:00
espie
45ac58f0f3 newlib-depends-check recurses as well 2004-11-21 11:28:31 +00:00
espie
01ac39ce91 newlib-depends-check that takes the semantics-to-be into account. 2004-11-21 11:26:22 +00:00
espie
15f18a36d5 typo 2004-11-21 11:18:37 +00:00
espie
646a985497 allow for LIB_DEPENDS or WANTLIB to not be defined 2004-11-21 11:17:47 +00:00
espie
dd6c1654d5 fix stupid typo.
introduce WANTLIB.
2004-11-21 11:06:38 +00:00
espie
5982ed59bb new support routine _print-package-args, that prints new-style package
dependencies.
_syslib_resolve_fragment that can resolve system libs.
2004-11-21 10:43:48 +00:00
espie
b8dfc30a1a don't report false positives for libraries with similar names 2004-11-21 10:39:24 +00:00
sturm
ec0870206a use TRUEPREFIX locally
sort SYSTRACE_SUBST_VARS while here
2004-11-19 22:12:28 +00:00
espie
723c37630f can't depend on WRKDIR unconditionally, throws update off when
UPDATE_COOKIES_DIR is set.
2004-11-17 11:09:44 +00:00
mbalmer
bce2473cd5 Added uid/gid _vilter for mail/smtp-vilter.
ok naddy@, alek@
2004-11-17 10:45:25 +00:00
espie
3979adeb86 add missing stuff around update so that BULK works for it too. 2004-11-17 10:38:37 +00:00
espie
65134e9f73 only pass FULLPKGPATH, PERMIT_PACKAGE_CDROM, PERMIT_PACKAGE_FTP to
pkg_create, and quote the later properly...
2004-11-16 02:08:59 +00:00
espie
1b8f6e0f0c Pass PERMIT_PACKAGE_CDROM, PERMIT_PACKAGE_FTP, FULLPKGPATH as parameters
to pkg_create... This should allow the automatic generation of ExtraInfo
without needing to do it manually.
2004-11-15 16:31:28 +00:00
espie
e39dc1ae33 mark update as .PHONY target, necessary with UPDATE_COOKIES_DIR ;-) 2004-11-15 13:53:43 +00:00
espie
147d3cf94a industrial-strength updates:
- separate UPDATE_COOKIES_DIR, unless set to empty.
Makes for easier management.
- FORCE_UPDATE variable, that makes certain packages are updated when
a dependency is run, and that forces the replacement of packages that are
already there.  Still uses the update cookie, so that this update occurs
just once unless you wipe out yur UPDATE_COOKIES_DIR (which justifies putting
update cookies in a separate directory).
2004-11-15 13:52:03 +00:00
espie
54a74ef157 use pkg_info -q -e instead of pkg dependencies check now that it does
what it should.

Use the exact same rules for checking LIB_DEPENDS that will later be used
to build the package itself, e.g., add the pkg dependency check.
2004-11-15 11:49:05 +00:00
espie
b6797baf63 don't try to register anything that isn't at least a FileObject...
Found out by alek@
2004-11-14 19:42:04 +00:00
sturm
78074d531a add _maradns 2004-11-14 11:59:31 +00:00
sturm
7a4d2974e7 sparc64.p -> localhost 2004-11-14 11:56:07 +00:00
sturm
0148b33be9 improved SMP handling
- automatically detect number of cpus per host
- differentiate between hosts and nodes
  => each cpu is its own node
  => ports are build on nodes now
  => multiple host entries are no longer necessary for smp machines
2004-11-14 11:46:15 +00:00
sturm
9dca1f7475 a little cleanup in preparation for improved SMP handling
print() -> warn() where useful
2004-11-14 11:25:53 +00:00
espie
f4978ac9af synch with changes 2004-11-13 11:49:48 +00:00
espie
e7dd701872 synch with packing-list changes 2004-11-13 11:49:03 +00:00
espie
8af46cc105 fix cwd issues.
try harder to resolve links
2004-11-13 11:25:31 +00:00
alek
0caade6762 User and group _xcept are now created automagically.
looks good pvalchev@
2004-11-13 01:52:25 +00:00
espie
5dc2fdab3a tell all big analyzers they can forget about the packing-list. 2004-11-11 15:38:02 +00:00
espie
d9536a7ac4 rename _UPDATE_COOKIE to always be defined (wilfried) and to have a name
changing when the FULLPKGNAME changes.
2004-11-10 23:40:42 +00:00
espie
f2ae2fd4b7 allows it to recurse. 2004-11-10 10:23:42 +00:00
espie
eb3edb001b Add a simple update target, that relies on pkg_info -e pkgpath to know
if there is something to update...
2004-11-10 10:16:41 +00:00
espie
1c062c3c2e allows for updates 2004-11-10 10:15:42 +00:00
pvalchev
0a88d9c9c2 amd64.ports is now SMP 2004-11-07 18:32:01 +00:00
espie
e94445485e provide a simple locking command in perl. 2004-11-07 10:09:35 +00:00
pvalchev
68c791bb78 add mips64 to LP64_ARCHS 2004-10-26 06:16:53 +00:00
jolan
1ae09c843d sync sourceforge mirrors with the list on their site, omitting two out of
sync mirrors
2004-10-24 18:21:09 +00:00
sturm
bc39f7be50 new option -c for "clean builds", i.e. remove all installed packages
before building a new one; don't use this when building multiple packages
on one host
2004-10-24 14:16:38 +00:00
espie
8c4d857d3d allow us to specialize DEPENDS_TARGET depending on whether this is
a LIB/RUN/BUILD/REGRESS_DEPENDS.
2004-10-23 10:02:51 +00:00
espie
97804eddfe switch FAKE's test from == "yes" to != "no" 2004-10-23 09:58:13 +00:00
espie
0d09be0752 shared fragment in need of recording.
found by wilfried@
2004-10-23 06:51:54 +00:00
espie
63f4447086 avoid more get*_r functions until we decide upon an API... 2004-10-21 20:47:38 +00:00
robert
cba5c3b7b6 Missing support for a module should be a fatal error. So don't continue
the build if you miss a module.

ok espie@
2004-10-18 15:17:17 +00:00
espie
b5445b3596 forgot to copy @newgroup and @newuser items over.
noticed by nikolay.
2004-10-17 09:20:06 +00:00
espie
4ddb942744 getservbyname_r doesn't work/ doesn't have a prototype/ will vanish soon
from libc.

Make sure we don't pick it up in the interim.
2004-10-13 17:23:38 +00:00
jolan
c20baa5bed +_nostromo 2004-10-13 06:29:22 +00:00
espie
1bbdaa1cbd UNMESSAGE 2004-10-11 10:32:04 +00:00
sturm
8511b00703 add TRUEPREFIX to SYSTRACE_SUBST_VARS 2004-10-08 19:58:30 +00:00
espie
b71495c6f2 use base classes more 2004-10-05 20:40:11 +00:00
espie
3b550a0182 config.site support 2004-10-03 09:51:21 +00:00
espie
dfe26ec92e prime autoconf scripts with useful stuff.
okay naddy@
2004-10-03 09:50:44 +00:00
jolan
df8ad03ef6 scanlogd is auto now 2004-09-28 01:57:51 +00:00
sturm
82dfd19593 add 'patch' to handled targets 2004-09-26 09:59:14 +00:00
naddy
1db4c1063b Changes for symon 2.65 - 2.67:
- removed netiso depends
- _symon uid 535, 525 never made it into ports/infrastructure/db/user.list
- ntp clockadjusts no longer trigger extra measurements
- daemon parts ported to freebsd/netbsd/linux

From: Willem Dijkstra <wpd@xs4all.nl>
2004-09-21 16:44:04 +00:00
espie
e4b643ad88 don't create patches for Oops.rej 2004-09-21 09:27:15 +00:00
sturm
ea2b00d80a $OpenBSD$ 2004-09-20 20:17:33 +00:00
sturm
1f2b8ae4df - use sh on localhost* and don't check_host() on these
=> you have an SMP machine, use localhost0, localhost1, ...
- for remote sessions, use ssh multiplexing, this speeds up a dpb
  restart by about 1/4 - 1/3
- new option '-s', which starts building in cwd
  => use 'dpb -s' instead of 'make package'
  => mostly useful for SMP machines or if you have your cluster powered
     on all the time
- '-b' now forces creation of the dependency file, if it doesn't exist,
  it is created automatically
- check signals on returning ssh sessions to notice which ones really
  succeeded and which ones where killed
2004-09-20 18:57:53 +00:00
pvalchev
be6617f5f7 change CDROM_SITE to default to empty; ok espie 2004-09-19 09:00:15 +00:00
espie
784afb2649 kill old check-libs script, after checking the new one handles a.out
just fine.

Kill old subst that's not used anymore as well.
2004-09-18 13:48:43 +00:00
espie
0046b33eec Strip spaces from CFLAGS everywhere.
Pass off -a to pkg_add if used to solve dependencies.
2004-09-18 13:45:23 +00:00
espie
292285c3fe clone new-style conflicts too 2004-09-18 11:03:45 +00:00
espie
fb42eebbe1 new check libs that should work with a.out, and uses the current framework
for accessing plists.
okay naddy@
2004-09-18 08:12:11 +00:00
espie
b14b123e17 WRKCONF?=${WRKBUILD} 2004-09-15 18:58:49 +00:00
espie
613aa9a6c4 remove all SED_PLIST work, since pkg_create handles it now.
defines appropriate PKG_ARG arguments instead.
Move message to -M ${MESSAGE}.
2004-09-15 18:57:31 +00:00
pvalchev
def59b4c36 update list of arches for 3.6 2004-09-15 18:57:16 +00:00
pvalchev
c862b93395 ignore "index.txt" file found in ftp directories 2004-09-15 18:53:24 +00:00
pvalchev
2a5411ff4c had to get changed 2004-09-15 18:47:47 +00:00
espie
d67be4b0b9 remove trailing spaces from CFLAGS/CXXFLAGS, to please autoconf... 2004-09-14 23:07:20 +00:00
espie
907ba20320 explicitly forbid flavors starting with [0-9]. 2004-09-14 23:06:02 +00:00
espie
eb04306537 handle -> check_common_dirs
use visit
accurate list of existing directories with Mtree.
build better results.
2004-09-14 22:31:48 +00:00
espie
67877397d3 visit in the base system. 2004-09-14 22:30:36 +00:00
espie
91d926e81f - lots of comments
- Mtree module, shared with check-common-dirs
- update list of `known' directories to match actual OpenBSD, so
that stuff outside of /usr/local will work.
- drop dead if destdir does not exist (e.g., fake got a problem)
- if a file is found in a fragment, and as a comment in the original
file, then that was a limitation of the old make-plist: don't look at
the comment.
- copy modes for @sample
- do fragments for multi-packages too.
- pass existing files around for more accurate @exec tests.
- don't copy install-info/mkdir if files/dir have been found.
- register dirrm dir as dir/, but using original object, so that it will
need to be found once to be accounted for.
- don't register extra as `files', otherwise we end up with bogus
${SYSCONFDIR}/file entries.
- classify directories and files in a unified way.
- more thorough tests for info files, more names, look at two lines context.
- ibid dir file.
- ibid subinfo.
- provide a way to erase a directory that only holds one file.
- use for .packlist, perllocal.pod.
- use perl Config to look for those in the right location.
- don't look at file dates, we always use fake.
- special case /etc/X11/app-defaults becomes /usr/local/lib/X11/app-defaults
- use plist state info to avoid extraneous mode/owner/group entries.
- sort comments that are not accounted for.
- warn about .orig files.
- man pages for linux.
- don't backsubst SYSCONFDIR except at start of line.
- handle @comment @dir like @comment @dirrm.
- respect fragment locations
- put %%SHARED%% at top by default.
- handle recursive fragments correctly (simpler code, needs pkg_add support)
- mark genuine fragments, and don't try to write empty ones, assuming
the chosen flavor doesn't hold the required information.
2004-09-14 22:24:39 +00:00
espie
438553ff5e check lib dependencies on binary packages. 2004-09-14 22:22:17 +00:00
pvalchev
5b5b01e1ba grow slightly 2004-09-02 16:58:02 +00:00
pvalchev
7930bb72d2 more tweak 2004-08-24 22:35:13 +00:00
pvalchev
15a2294e9f more tweaks, can grow this 2004-08-24 21:40:30 +00:00
sturm
1f1c3ee467 wrong order when redirecting STDOUT/STDERR
ok pval
2004-08-24 20:30:07 +00:00
pvalchev
2104c574bf no longer interactive at pkg_add * 2004-08-24 19:17:32 +00:00
sturm
0c0f93c97d raise default timeout to 1 minute
requested by pval@
2004-08-23 20:46:42 +00:00
sturm
91eb345927 improve reliability:
- don't invoke intermediate shells on exec(), allowing to actually kill children
- when we are going down, only kill remaining children, not the whole pgrp
- don't use a SIGCHLD handler, but call waitpid explicitly at the right places
- exit(1) in case of an error

others:
- a little cleanup
- new option -t <timeout>

ok pval@
2004-08-23 19:54:11 +00:00
pvalchev
dcd774811e grow 2004-08-23 07:12:34 +00:00
pvalchev
1eb61e6684 expand 2004-08-23 06:46:21 +00:00
pvalchev
fb1323e187 adjust 2004-08-17 21:03:44 +00:00
pvalchev
c508632507 sync 2004-08-14 01:15:50 +00:00
pvalchev
8c30f51213 shrink by a lot 2004-08-14 00:23:35 +00:00
pvalchev
b06c4bcaef ignore files generated by check-plist 2004-08-14 00:23:00 +00:00
pvalchev
74efe665a3 sync 2004-08-13 23:48:48 +00:00
brad
2545045f21 Side-effect of BULK=Yes: WRKDIR gets wiped out before the depend cookie
is written.

So, we simply recreate WRKDIR manually.
This is a kluge, but it should do the trick.

From espie@

ok pvalchev@ espie@
2004-08-13 23:28:40 +00:00