Commit Graph

1867 Commits

Author SHA1 Message Date
jasper
59bcd5d77c sync a bit with reality..
ok espie
2006-10-20 09:45:21 +00:00
bernd
1db3e02224 Teach register-plist how to deal with the case where the recorded
plist in PLIST_DB misses the last line.

found & debugged by sturm@
ok sturm@, espie@
2006-10-19 00:15:46 +00:00
sturm
458d2c4d2a don't throw an error in fetch, when no distinfo file exists
but error out in _internal-checksum, when there should be one

ok espie
2006-10-18 16:53:04 +00:00
espie
d1257184f9 special case: if PKGPATH is the LIB_DEPENDS base, then it means we're
building a subpackage, and then we definitely want the `current' stuff,
not the stuff that's already installed.

Allows shared libs updates in MULTI_PACKAGES to proceed gracefully without
having to uninstall stuff.

(we do not do this stuff in general, because in other cases, builds are
`staggered', e.g., a port is built against the existing base, not the stuff
in other WRKDIRS)
2006-10-18 11:09:30 +00:00
espie
713799f4a1 put no-arch into a variable, so that people can override it. 2006-10-18 10:51:39 +00:00
steven
2e1df7fb99 remove ftp.is.co.za, not up to date for months
from Jim Razmus <jim at bonetruck.org>
2006-10-18 10:42:54 +00:00
espie
4e4da07c8f let peek-ftp cd ${FULLDISTDIR} first.
Add a message to that effect so that users don't get confused.
(specifically, make itself does not change dirs, so if you do ^Z,
you're not where you think you are...)
2006-10-17 22:32:45 +00:00
steven
deb58fb886 typo 2006-10-16 14:08:00 +00:00
espie
2c05ea7a55 protect against further bugs, refuse to build the _PACKAGE_COOKIE if we
end up there with PACKAGING not set.
We do not try to `fix it' ourselves, because PACKAGING not set may have
some non obvious issues, like PKG_ARCH or PERMIT_PACKAGE_* not set correctly
at all.
2006-10-16 10:39:40 +00:00
espie
2c2e81c154 say goodbye for FAKE=no, for real. 2006-10-15 19:29:06 +00:00
espie
a80884552e Allows calling print-plist from main Makefile 2006-10-15 09:48:05 +00:00
espie
55c0fd4b29 moved to ports/databases/sqlports 2006-10-15 09:42:17 +00:00
espie
b913b285a7 -Q implies -q, anyways. 2006-10-15 09:22:49 +00:00
espie
748da30a4f also mention -n along -q on `print-plist' commands.
I've started documenting it, and having -q do things on its own
is quirky...
2006-10-15 09:20:53 +00:00
espie
dff6979a7a oops, forgot to commit FULLPKGNAME.
From Serge Basterot
2006-10-14 09:03:23 +00:00
espie
1eec9cb87b quick-fix for make install, as reported by stevens@ and naddy@.
Need more thinking about...
2006-10-12 08:45:56 +00:00
espie
ee211dd2c2 cheat a bit: make sure the right variables are used for MULTI_PACKAGES. 2006-10-09 18:11:38 +00:00
espie
07c292fb8d minor cosmetic changes: do not strip packages twice.
check for empty .info files.
2006-10-07 10:04:09 +00:00
jasper
ba41f43450 add SHARED_ONLY, MODULES and SHARED_LIBS
latter one reminded by nikns at secure dot lv

ok espie
2006-10-05 14:55:56 +00:00
espie
ccb088f096 let register-plist show stuff in a format ready for copy-paste.
Suggestion from alek@, took it one step further...
2006-10-02 18:48:01 +00:00
espie
984b811337 oops, do not unset SUBPACKAGE
Move BULK_COOKIE for package to the redirector, so that we do not
clean in subpackage cases, but instead wait for all the packages to be built.

Also, introduce FORCE_UPDATE=hard: with signatures, -F installed is
most often not necessary...
2006-10-02 17:26:34 +00:00
espie
a4caf29eed fix FETCH_PACKAGES: create a real target (packages/arch/cache/pkgname.tgz)
and link to it from elsewhere.

Fixes the no-arch case, and makes it ways easier to find out what was
retrieved through the cache.
2006-10-02 09:37:14 +00:00
steven
86a869bc04 permit semaphore related syscalls; this allows building dk-milter and
dkim-milter with systrace.

ok sturm@
2006-09-30 22:31:20 +00:00
espie
4906160e3c more fixes for new issues: let the update cookie depend on the `full'
package cookie, so that an update will get all subpackages built.

And a fix for an old issue: let make update proceed to update ALL subpackages,
as seems the most natural. Create a subupdate target if one specifically
wants to update a single package (and use it as dependency in the FORCE_UPDATE
case).
2006-09-27 10:09:34 +00:00
espie
2091ad987e Fix install, as noticed by fgs: just do a partial depend on the package
cookies, and also insist on running make package, which is necessary to
make sure all MULTI_PACKAGES get built.

Repair make clean=packages: make sure all packages get named using the same
scheme as other multi-packages targets (that way, arch-indep subpackages
get cleaned properly)
2006-09-23 09:40:06 +00:00
bernd
4334413aa5 Don't error out if 'unset PACKAGING' returns false. Unbreaks 'make install'.
Noticed by many.
2006-09-21 11:31:33 +00:00
espie
7b016d7ff5 readmes is yet another target that should recurse. 2006-09-19 20:10:40 +00:00
espie
459cc17047 unset PACKAGING before iterating from PACKAGE_COOKIE.
This forces BIN_PACKAGES=Yes always, probably a good thing.
2006-09-19 19:54:14 +00:00
espie
ce2d5a3369 fix update: now that we no longer recurse at the cookie level, we have
to recurse higher.
2006-09-19 11:25:17 +00:00
espie
6372292fc7 split things exactly like make does, avoid a few spurious error messages
from sqlite.
2006-09-19 09:57:58 +00:00
espie
cf58da0397 typo, found by Mikolaj Kucharski <eth0@o2.pl> 2006-09-18 18:17:30 +00:00
espie
aaa9a0cd63 remove hack to recognize .0.0. 2006-09-18 12:56:22 +00:00
espie
a7c0d256e1 also zap .n as a final. 2006-09-18 11:30:08 +00:00
espie
03409d0fb5 zap .n.m suffix, just keep .0.0 as a special case for now. 2006-09-18 11:27:47 +00:00
espie
06b500682c fix describe/dump-vars 2006-09-18 08:16:19 +00:00
espie
703a485b6a somewhat big change: zap the package-link/package-unlink stuff, turn these
into real targets.

- now make package will create missing ftp/cdrom links when PERMIT says so.
- PKG_ARCH=* packages get built into packages/no-arch, and linked from
elsewhere.

Everything gets based off PACKAGE_REPOSITORY, PKGREPOSITORYBASE and friends
get ditched.

All `package' targets go through the same routine: iterate through every
subpackage with PACKAGING set.

This includes describe, lib-depends-check, package, dump-vars, install-all,
which will iterate through subdescribe, sublib-depends-check, subpackage,
subdump-vars, and install.
(names are subject to change).

Much simpler logic, plus hey, you get an install-all target !

Might be some minor breakage, most stuff appear to work just fine...
2006-09-17 22:08:19 +00:00
espie
964e69a2f9 more generic protection against multiple locking: instead of one
_MASTER_LOCK, we keep a list of _LOCKS_HELD by one port builder in
an env variable, and we don't relock stuff that's already locked.

This allows us to, e.g., have fake depend on regress without issue
(even though, internally, it's more efficient to use the _internal-*
targets to avoid testing locks).
2006-09-17 19:08:59 +00:00
pvalchev
31484c74ac add 2006-08-29 19:16:07 +00:00
pvalchev
b4916c8c3a sync 2006-08-28 23:08:55 +00:00
pvalchev
96dd5567f6 sync 2006-08-28 22:09:28 +00:00
pvalchev
0b8d976303 sync 2006-08-22 22:04:00 +00:00
pvalchev
79ee02e406 python/2.4 2006-08-22 20:27:05 +00:00
pvalchev
66d584c457 sync 2006-08-22 20:25:35 +00:00
espie
ffc269451b let fake not touch the WRKDIR, since it's an `install' type target. 2006-08-07 08:57:18 +00:00
espie
2c4e42e413 remove special meaning of fake in dependencies so that it can be used
correctly for regress depends targets.

problem pointed out by nikolay.
2006-08-07 08:47:28 +00:00
espie
fcd6aa7f50 add missing quote, fix WANTLIB fuck-up 2006-08-04 23:29:47 +00:00
alek
dde86eb9bf Add MASTER_SITE_BERLIOS; ok sturm@, naddy@ 2006-08-01 17:19:50 +00:00
espie
b160c64929 tweak for PKGPATH, name it correctly as FULLPKGPATH, and add a subsidiary
table to map FULLPKGPATH to PKGPATH, e.g.,

SELECT DISTINCT PKGPATH, VALUE FROM Wantlib,Paths WHERE Wantlib.FULLPKGPATH=Paths.FULLPKGPATH ORDER BY PKGPATH
2006-08-01 16:22:22 +00:00
espie
fe3a0bfbff handle new lib specs 2006-08-01 11:01:15 +00:00
espie
100b45279f convert a few libspecs to new style.
Note: no package bump, those are only BUILD dependencies,
the pkg_create code will create the correct wantlib specs.
2006-08-01 10:50:19 +00:00
espie
2bf397a8e6 allows >= for lib-specs, needs some quoting for shell... 2006-08-01 10:00:54 +00:00
jakob
f8eabcdc28 add user/group for mail/dkim-milter 2006-07-31 15:41:02 +00:00
jakob
bc940bcd4c add user/group for upcoming mail/milter-greylist 2006-07-31 12:32:58 +00:00
jakob
a7c527e106 add user/group for upcoming mail/dk-milter 2006-07-31 12:32:05 +00:00
espie
23741bf7ee unless style is old, also set mandir and infodir explicitly, to cope with
recent gnu standards as noticed by naddy@.
2006-07-17 22:08:41 +00:00
jcs
509ac5b0e8 add _tor user/group for net/tor 2006-07-17 19:22:25 +00:00
espie
46c41e9259 guards preventing out-of-bound access 2006-07-17 16:51:53 +00:00
steven
47dcb91917 remove MASTER_SITE_LOCAL which is no longer used.
ok espie@
2006-07-17 16:23:14 +00:00
steven
fcb3f32809 peek only in real ftp sites.
ok espie@
2006-07-13 14:43:25 +00:00
espie
7d211a2885 tweak it a bit to ignore changes in number of generated info files. 2006-07-12 08:11:28 +00:00
espie
f1676ec4d2 move modules reading ways higher, after checking it doesn't affect a bulk
build.
2006-07-11 06:34:32 +00:00
espie
893cc09231 CONFIGURE_ARGS holds values that look like --with-cxxflags="-O2 -pipe"
deal with split/quotes correctly.
2006-07-10 15:19:52 +00:00
espie
80448819a5 Handle CONFIGURE_ARGS as a list, e.g.,
SELECT DISTINCT VALUE FROM ConfigureArgs
makes sense.
2006-07-10 14:34:01 +00:00
espie
64feab316c Really process SHARED_LIBS 2006-07-10 11:44:30 +00:00
espie
15cecfd126 +CONFIGURE_ARGS 2006-07-10 10:52:08 +00:00
espie
413a0547de add AUTOCONF/AUTOMAKE_VERSION 2006-07-10 10:35:50 +00:00
espie
aebeb16b58 put the guessdirs loop at the shell level so that it's evaluated later. 2006-07-10 10:12:05 +00:00
bernd
34a129ce4f Fix typos and do some cleanup.
'go ahead' espie@
2006-07-10 08:01:08 +00:00
espie
92759b023b avoid committing empty entries in space separated lists. 2006-07-09 20:59:57 +00:00
espie
3b1cddbff9 do not commit empty libspecs.
keep rowid around, since the key does not change for every iteration.
2006-07-09 20:56:48 +00:00
ckuethe
857210df82 Fix comment describing usage.
ok espie
2006-07-09 17:39:34 +00:00
espie
8dd6a28c5f also dump SUPDISTFILES
do not store empty values which are always defined, but can be empty.
2006-07-09 11:23:50 +00:00
espie
dd168a8754 introspection mechanism: dump-vars 2006-07-09 11:10:16 +00:00
espie
1aecbb09e3 Example script to convert values from the ports tree into an sqlite database.
Discussed with robi/bernd/steven.
2006-07-09 11:00:53 +00:00
espie
ee210c3e4e move REPORT_PROBLEM to pkgpath.mk so that we can use it from bsd.port.mk
as well.

Add the target to the default problem reporter.
Report problems while building dependencies.
2006-07-08 09:20:30 +00:00
djm
0b9ffa2f00 +_pfflowd 2006-07-07 08:56:57 +00:00
aanriot
8d1768734b add misc/dtach .
"go ahead" pvalchev@
2006-07-05 12:11:57 +00:00
jasper
5f52e49817 new MASTER_SITE_SOURCEFORGE_JP
ok espie
2006-07-04 22:20:44 +00:00
sturm
2af5e948e3 permit rename() from /tmp to /var/tmp, used by latex 2006-07-02 19:17:34 +00:00
espie
82ba15cff7 convenience target for porters: peek-ftp connects to the first MASTER_SITES
and leaves you at the ftp prompt in the directory where stuff is fetched
from.

(I find myself using this quite often to figure out which version of stuff
exists, especially for CPAN).
2006-07-01 11:08:05 +00:00
aanriot
3c35f4973c add _prelude:_prelude for incoming security/prelude . 2006-06-26 17:55:34 +00:00
espie
c78f7b5f9c check on PKGPATH, more reliable than module name (in case someone
decides to create a p5-Module-Build-Something).
2006-06-25 09:45:05 +00:00
sturm
532daeb3d6 add another machine 2006-06-19 23:04:27 +00:00
sturm
a1fe8792f9 protect patch targets with systrace as well
no objection from espie, looks good steven
2006-06-18 10:10:04 +00:00
jakob
4b78108efb allocate user for mail/postgrey 2006-06-18 08:27:26 +00:00
sturm
8809fa14f4 substitute variables in a port's systrace.filter file as well 2006-06-16 18:48:58 +00:00
jakob
10c54806e9 add user for net/smokeping (_smokeping) 2006-06-14 08:34:27 +00:00
espie
2a1183f992 fed up of merge errors in dependency makefiles, output a decent error
message if cd dir && make print-pkgname does not work.
2006-06-04 14:56:10 +00:00
alek
9ef1081f11 Add _rbldns user and group 2006-05-23 05:56:29 +00:00
steven
c40c3c524a oops, remove duplicate dotsrc.org 2006-05-22 18:50:01 +00:00
steven
b6a5262bb1 replace 3 GNU mirrors with more reliable ones.
from Jim Razmus, with one correction from mk@
2006-05-22 18:48:39 +00:00
steven
e6d6381816 swap two defunct KDE mirrors with working ones.
from Jim Razmus <jim at bonetruck.org>
2006-05-20 08:08:34 +00:00
bernd
80ff99b551 Add _mpd for audio/mpd. 2006-05-13 09:54:27 +00:00
steven
8c8cd0ffe1 take out failing mirrors and introduce new ones for CPAN and GNU.
from Jim Razmus <jim at bonetruck.org>, thanks!
2006-05-07 09:23:51 +00:00
pedro
8a993bd020 Permit __getcwd, noticed by uwe@, okay sturm@ 2006-05-02 19:14:37 +00:00
pvalchev
dcff4ccc1e add ion; aanriot 2006-04-30 11:45:17 +00:00
sturm
a4f1fe758e exchange two cpan mirrors which are missing quite a few modules
from jim razmus
2006-04-28 19:37:03 +00:00
steven
1fcff20daa fix horde mirror path, jim razmus had it right. 2006-04-21 21:03:14 +00:00
steven
ad1bd3b405 update and fix MASTER_SITE_HORDE mirrors.
from Jim Razmus <jim at bonetruck.org>
2006-04-21 06:51:10 +00:00
sturm
0948aaa6c9 fix maradns entry
allocate id for _freeradius
2006-04-16 12:51:55 +00:00
sturm
e099f40583 remove dead mirrors from MASTER_SITE_GCC and _SUNSITE
fix some pathes

from Jim Razmus
2006-04-05 04:42:58 +00:00
sturm
ad113fc45b fix urls for windowmaker ports
from jim razmus
2006-04-05 04:37:00 +00:00
sturm
3c85bd3cdc add mknod() and a little cleanup 2006-04-03 21:12:06 +00:00
espie
279c5d5732 detect more stuff that probably does not belong in PLISTs, based on the
filenames (vim .swp and emacs ~ files)

Found out by Andreas Kahari
2006-04-03 13:53:43 +00:00
sturm
bfd3fed3c2 use a consistent set of paths whereever possible
this denies more manipulations outside the build area
2006-04-02 15:10:42 +00:00
sturm
58b010adf7 don't log accept()/listen()
mkfifo() is in fswrite
add quotactl
2006-04-02 15:02:06 +00:00
sturm
24b325fb3d fix cpan mirrors
from jim razmus
2006-04-02 10:53:45 +00:00
sturm
cedc471ed8 forgot to remove this one
reminded by Jim Razmus <jim at bonetruck.org>
2006-04-01 05:22:20 +00:00
sturm
d54dbbc2ce remove a few dead mirrors and fix a few names/paths
from Jim Razmus <jim at bonetruck.org>
2006-03-31 16:33:47 +00:00
pvalchev
9b1657d4df typo; jim@bonetruck.org 2006-03-28 03:23:51 +00:00
espie
c4e1612c34 fix size test finally (|| > |)
check that MULTI_PACKAGES do begin with -.
2006-03-24 19:28:13 +00:00
espie
c5101965f7 remove erroneous optimization 2006-03-04 13:02:04 +00:00
pvalchev
0fad5abdbe sync 2006-02-28 17:11:38 +00:00
pvalchev
2b3a991f3c chau 2006-02-26 04:53:13 +00:00
pvalchev
2b0a2ad0e7 sync 2006-02-26 04:51:13 +00:00
pvalchev
6487223aec add teTeX 2006-02-16 00:10:46 +00:00
jolan
42b25062b3 the first sourceforge mirror listed is super slow so switch to a faster
one
2006-02-15 16:35:21 +00:00
espie
5d80851387 cache even more stuff.
avoid half the computation in conflicts.

allows to specify packing-lists directly.
2006-02-12 16:33:35 +00:00
aanriot
0854d47f03 add _ipfreely:_ipfreely.
ok alek@ niallo@
2006-02-11 14:40:51 +00:00
steven
de2c6ae7cb fix mirror paths and remove broken mirrors for X contrib 2006-02-10 09:36:57 +00:00
espie
fd27df373d oops, avoid IO::Scalar, which is a local module.
perl 5.8.0 does scalars directly.
2006-02-09 12:03:55 +00:00
espie
ab8eafb0a7 deal transparently with changing CVS tags or mystuff addition/removal. 2006-02-09 11:39:02 +00:00
espie
1a551c8008 use a much smarter comparator: check each element independently.
This finally allows us to transparently update old registered plists
for new elements.

For instance, let's store md5 for constant elements, like DESC, DISPLAY, etc.
2006-02-09 10:49:13 +00:00
steven
b258872e48 fix typo in target name.
ok espie@
2006-02-06 22:01:48 +00:00
jolan
aef34ea50d pass -o to unzip so it doesn't prompt when overwriting a file
ok espie@
2006-02-06 17:09:08 +00:00
david
df1d5f5415 correct path to package/check-dependencies and install/create-user is gone
ok sturm@
2006-02-06 04:23:04 +00:00
steven
af8c97547e remove broken mirror ovh.dl.sourceforge.net
ok sturm@
2006-02-05 13:56:19 +00:00
steven
0a7b11484d kill MASTER_SITE_TCLTK which is now no longer used
ok naddy@
2006-02-04 23:54:57 +00:00
david
d9861dc5fe +_nrpe and _snort 2006-02-04 13:21:27 +00:00
david
2bb1368a21 postgresql,-server user is not noauto; ok mbalmer@
exim user is also not noauto; no response from MAINTAINER
2006-01-25 03:36:35 +00:00
steven
bfb96f89cc remove unavailable packetstorm mirrors and add new working ones
based on diff by Jim Razmus <jim at bonetruck.org>
2006-01-19 19:53:21 +00:00
steven
bbb11e4395 fix path to CPAN modules on mirrors.dotsrc.org
from Jim Razmus <jim at bonetruck.org>
2006-01-18 21:23:14 +00:00
steven
fb5173869b correct path to CPAN modules on sunsite.org.uk
from Jim Razmus <jim at bonetruck.org>, thanks!
2006-01-18 17:43:14 +00:00
sturm
35d53e2c3d remove unreachable mirrors
fix cpan.dk

from Jim Razmus <jim at bonetruck.org>
2006-01-16 21:03:27 +00:00
naddy
db1a7a5bc4 instruct configure scripts not to use our legacy malloc.h; ok espie@ 2006-01-13 15:34:06 +00:00
espie
5387da2262 remove autodetection of some headers until the dust settles. 2006-01-10 18:31:02 +00:00
brad
b3ceff88e7 this patch has been part of our X for over 5 years. 2006-01-08 02:54:22 +00:00
brad
3db4a36f91 remove unused libtool 1.3 patches 2006-01-08 02:48:34 +00:00
espie
c3796c9e9a prepare to pass stuff over to libtool. 2006-01-05 19:33:17 +00:00
espie
7c0d5b76c2 don't bother checking symlinks, they point at a bogus location anyways. 2005-12-30 14:09:47 +00:00
espie
09d0bdfe32 set LIBname_LTVERSION=-version-info <major>:<minor>:0
in MAKE_ENV/MAKE_FLAGS/FAKE_FLAGS if USE_LIBTOOL=Yes.
2005-12-29 12:48:04 +00:00
naddy
94284f6400 Avoid confusing quote nesting: For MODGNU_SHARED_LIBS, since we
typically quote the flags part of the (name, flags) tuple already,
don't put it into another level of single quotes.

ok espie@
2005-12-26 21:29:41 +00:00
bernd
abab1f6055 Display lib version in "unregistered shared lib" warning.
okay espie
2005-12-26 19:29:34 +00:00
sturm
7caae7d3d8 indentation 2005-12-24 20:11:03 +00:00
bernd
d73c3d3e79 Display warnings for unregistered shared libs only once per lib.
Less chatty now.

ok espie@
2005-12-23 13:30:05 +00:00
espie
9416bb604f get make-plist aware of the version number variables. 2005-12-23 12:48:59 +00:00
espie
75c9fbaa3f basic framework to have control over shared libs numbers:
SHARED_LIBS enumerates the libraries like so:
SHARED_LIBS=	foo 1.0 \
		zop 2.5 \
		tag 3.0

This just defines LIBfoo_VERSION=1.0, LIBzop_VERSION=2.5, LIBtag_VERSION=3.0
and adds these to SUBST_VAR, further tweaks must be done, usually at the
MAKE_FLAGS/MAKE_ENV level.

For gnu ports that use automake, the supplementary MODGNU_SHARED_LIBS
variable can be used like this:
MODGNU_SHARED_LIBS=	foo	'-no-undefined'

and it will define libfoo_la_LD_FLAGS=--version-info 1:0:0 -no-undefined

Some gnu ports have weird variable names for libraries. For instance,
the libORBit-2 is set using libORBit_2.
LIBORbit-2_ALIAS=ORBit_2
will make sure the correct name is used.

much feedback from bernd@
2005-12-23 12:41:37 +00:00
jolan
a64ec6720a _akpop3d 2005-12-14 05:59:47 +00:00
pvalchev
00403e42cc non-static flavors for all 2005-12-12 23:32:22 +00:00
espie
f755566506 be more specific about conflict handling: conflicts can be registered at
any level in the dependency tree, but we shouldn't mark as conflicting packages
that do depend on each other or that have common dependencies.

Issue noticed by alek@ on plone vs. zope.
2005-12-12 13:37:21 +00:00
pvalchev
c9a0010d14 +bash,tcsh 2005-12-11 00:57:14 +00:00
kurt
d72c55ffe0 remove some old or non-responsive MASTER_SITE_APACHE mirrors 2005-12-07 18:57:07 +00:00
ian
edc8f04975 Minor clarification of message, ok espie@ 2005-12-06 17:15:38 +00:00
pvalchev
274fea4a25 some more 2005-11-30 21:23:30 +00:00
sturm
ae0ccee5c8 _avenger, reminded by maintainer 2005-11-30 06:27:33 +00:00
robert
386a54c081 add xmms, xmms-tremor, xmms-mad and wesnoth-tinygui 2005-11-28 05:52:22 +00:00
pvalchev
d22d69bb02 sync 2005-11-28 01:12:29 +00:00
espie
f5747f689b move comment accordingly 2005-11-27 12:31:18 +00:00
sturm
60029f4c1d don't duplicate code, use _fetch_packages_fragment and
_pkgrepository_fragment instead
copy packages in local components of PKG_PATH to ${PKGREPOSITORY}

feedback and ok espie@
2005-11-27 12:15:59 +00:00
espie
e67b8501b3 now that pkg_add does the right thing when confronted with stuff that's
already installed, use it directly for updates.
2005-11-15 18:14:56 +00:00
sturm
b2f6cad60f WANTLIB
suggested by Moritz Grimm <mlist at scapa.dnsalias.net>
2005-11-12 00:07:22 +00:00
espie
be8564fbad tweak the depends clean recursion, so that it does not recurse into
the main directory... since pseudo-flavors are not entered as pkgpath,
this is necessary to ensure the top-level directory gets cleaned up
correctly...

Problem reported by Moritz Grimm.
2005-11-11 11:31:53 +00:00
naddy
f3521c1b69 propagate name change of loop variable to shell fragment 2005-11-10 15:11:12 +00:00
espie
a7f7af295a more error checking.
reported by Simon Kuhle
2005-11-06 09:34:20 +00:00
espie
013cbc8524 zap old test that's no longer needed since 2001. 2005-11-05 23:54:53 +00:00
espie
77f80ebb46 touch -f ? what's that ? 2005-11-05 23:41:36 +00:00
espie
9ab4bf2440 comment to /targets 2005-11-05 23:39:51 +00:00
espie
eae1e7329e move DIFF_ARGS around 2005-11-05 11:38:46 +00:00
espie
57949a8f52 better naming, discussed with nikolay 2005-11-05 11:16:17 +00:00
espie
8d272b5a9e introduce new macros to make things more readable.
Kill really old stuff: LD_CONFIG,
that's no longer used.
2005-11-05 11:11:17 +00:00
sturm
85a647f74b better tests when looking for packages in $PKG_PATH
use ${ECHO_MSG} where applicable

ok espie@
2005-11-05 10:35:02 +00:00
espie
9486605a21 zap unneeded FLAVOR=
prompted by a question from sturm@
`why do we need to set this ?'

answer: we don't. ;)
2005-11-04 09:40:30 +00:00
sturm
44e59f0eb1 try fetching missing packages from PKG_PATH, activated by setting
FETCH_PACKAGES

set PKG_PATH consistently when calling pkg_add

idea, help and ok espie
2005-11-04 09:34:50 +00:00
david
6da28d9613 check the correct exit code which fetching non-existent files; ok bernd@ 2005-11-03 22:33:04 +00:00
espie
94f6ed8d7c alek@-friendly error messages. 2005-11-03 19:32:25 +00:00
espie
fea5203c2e duh. found by naddy@ 2005-11-03 17:23:30 +00:00
espie
4135e14535 error out in case we can't write files.
found out by bernd@
2005-11-02 21:39:43 +00:00
espie
005b234dc8 streamline flavor_fragment after trying to explain it to sturm@.
it makes more sense to have a subdir variable as input, split it
into toset and dir as output, and to unsetenv FLAVOR SUBPACKAGE along
the lines.

End result should be equivalent, but slightly more readable.

no objection from my neighbors either...
2005-11-02 20:30:12 +00:00
espie
7dd96b3b55 * move the dependency computation out of PKG_ARGS, so that we can check
for errors (and get rid of _NODEPS since it's not needed any more)
* set check  to Failed in *libresolve_fragment, so that we can test
for it and report properly.

guys here have no objection...
2005-11-02 20:28:11 +00:00
espie
7cd73e7f11 complain when dependent packages are not found, and stripping won't happen
correctly...
2005-11-02 18:58:44 +00:00
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
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