Commit Graph

1598 Commits

Author SHA1 Message Date
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