Commit Graph

1387 Commits

Author SHA1 Message Date
wilfried
843e07f296 Encouraging use of USE_LIBTOOL=Yes, ok espie@ 2005-11-02 17:39:06 +00:00
espie
e95b44ceed fix weird recursion lock issue... the way the rest of the file deals with
them.

`looks much cleaner to me and this one I understand' sturm@
2005-11-01 20:39:00 +00:00
pvalchev
536f4593db minor fix; 10x jlouis@mongers.org 2005-11-01 16:33:14 +00:00
espie
76e7aa6a03 set PACKAGING before computing RUN and LIB_DEPENDS, so that the needed
packages are built JIT.

noticed by sturm@
2005-11-01 14:15:01 +00:00
espie
ea90a42164 new target, show-required-by, that can give you a full list of everything
a port will affect.

name by mbalmer@
2005-11-01 14:04:21 +00:00
espie
2317992794 add comment so that we can grep for _internal-XXX-depends targets. 2005-11-01 13:56:30 +00:00
sturm
76a0bc8eef create LOCKDIR if it doesn't already exist
ok espie@
2005-11-01 10:54:42 +00:00
bernd
097bf89941 Add a quick (-q) option for the impatient people. But look out! If you
use the -q option, out-of-date looks for changed package names but not
for changed package signatures!

If you want to see ALL of you outdated packages, don't use -q.

"go ahead, commit" espie@
2005-11-01 10:11:40 +00:00
espie
f5f73908d5 more reports 2005-10-29 12:27:31 +00:00
espie
76fc40b70e fix 2005-10-29 12:14:26 +00:00
espie
3e5d6bac8a better error message for slackers who can't read perl. 2005-10-29 12:12:39 +00:00
pvalchev
145c6367de some more 2005-10-29 01:26:32 +00:00
espie
6ca140f35b copy @shell over, since there's no way to figure it out automatically. 2005-10-23 10:48:39 +00:00
espie
ce319b8661 Add -r option so that tool can be used to do more. 2005-10-22 18:05:34 +00:00
aanriot
f98128e3e2 tweak to match makeinfo's signature even with a long source filename.
better pattern and ok espie@
2005-10-18 21:05:53 +00:00
espie
8e7f909b8d Use the caching mechanism set up in bsd.port.mk to speed it up x3. 2005-10-10 22:25:06 +00:00
bernd
67538a1775 - only compute signatures if the package name doesn't change
- some error checking
- print differences between package signatures

ok espie@
2005-10-10 22:08:27 +00:00
espie
c4ced942c9 protect against cases where @ARGV == 0, which can happen very seldom... 2005-10-10 19:43:33 +00:00
espie
8089498934 don't bother building default package, just ask print-plist-contents
for its contents.

avoid dirname in print-package-signature, use sh built-ins.
2005-10-10 19:20:00 +00:00
espie
031729bf37 make sure to get ALL libs, that is, several lines in case we need pkg_info
to get the right libraries.
2005-10-10 19:04:06 +00:00
bernd
3a943e5e5d output cosmetics
ok espie@
2005-10-10 16:07:33 +00:00
espie
d939b31653 need an extra indirection: the complete wantlib cookie can easily grow
over 256 characters, so we create an extra file for each wantlib, and
depend on it. That way the full _DEPlibs_COOKIE is regenerated (and retested)
each time WANTLIB changes.
2005-10-10 00:29:38 +00:00
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