Commit Graph

1856 Commits

Author SHA1 Message Date
espie
5bc25e411a display warnings if autoconf version differs. 2007-03-30 13:55:07 +00:00
espie
949afb38a5 like xenocara: REORDER_DEPENDENCIES has been tested enough, silence it
by default.
2007-03-30 13:44:50 +00:00
espie
c6897dc077 CHECKSUM_FILE never changes -> can be used directly 2007-03-30 13:41:44 +00:00
espie
c11b8cf59b make sha256 stuff linked as well. 2007-03-30 08:59:07 +00:00
espie
634644d8e4 tweak the way mirror-maker emits stuff, so that the Makefile contains lines
suitable for cksum -c.
2007-03-28 15:45:03 +00:00
espie
fb9fcd5fbc use cksum -c so we can get `magic' base64/hex matching. 2007-03-28 13:21:43 +00:00
espie
bc0a71b1bb remove stupid hack that makes _print-packagename display README on
subdirs. Confuse the hell out of broken dependencies, and is not
even needed.

fix typo.
2007-03-19 21:32:35 +00:00
espie
23eb9fed1b reserve _kdesud 2007-03-18 17:12:16 +00:00
naddy
2c2c250df3 makesum: don't try to create distinfo if there are no distfiles; ok espie@ 2007-03-15 18:11:54 +00:00
pvalchev
3a58459afd latest 2007-03-08 22:55:17 +00:00
pvalchev
39aa16e13b tweak 2007-03-04 18:00:56 +00:00
pvalchev
c46042755b shrink 2007-03-04 08:02:23 +00:00
robert
bb78d67894 add mozilla-firefox 2007-02-26 14:27:39 +00:00
naddy
4d683b20c2 use cksum -a $CIPHER instead of $CIPHER here, too; ok espie@ 2007-02-19 20:14:50 +00:00
bernd
5183642076 Introduce -p option. This allows us to scan the ports tree for conflicts
without the need to have the packages around.

It's really easy now to check if a new package conflicts with other stuff
in the ports-tree:

$ find-all-conflicts -p /usr/ports newpkg.tgz

help & ok espie@
2007-02-19 19:50:50 +00:00
pvalchev
5214917679 vax plist 2007-02-18 07:08:52 +00:00
pvalchev
2f6ccd5571 update to what i use now.. 2007-02-17 02:29:46 +00:00
espie
b5a3fca2a6 use _CKSUMFILES in clean=dist, and recurse if we notice there are
SUPDISTFILES, so we get them as well.

This misbehavior noticed by Mikolaj Kucharski.

(the intention is obviously to regrab everything to verify whether
anything changed, and that includes SUPDISTFILES)
2007-02-16 19:08:54 +00:00
espie
3b1db2b2c1 use cksum -a $$cipher instead of $$cipher to compute crypto hashes.
Only functional change:
Add sha256 at the end of the list of supported ciphers, so that new
makesums will add the new cipher.

The rest is business as usual.
2007-02-11 11:44:17 +00:00
bernd
41bd832cdc Add missing parameter for a parse_original_plist() call in grab_all_lists(). 2007-02-07 11:24:23 +00:00
espie
2c0953c14e minor tidbit: define FULLPKGPATH based on FULLPKGPATH${SUBPACKAGE} in
the multi-packages case, as should be.

introduce _ALLPKGPATHS, and use it in show-required-by, so that
show-required-by works for multi-packages.

problem noticed by bernd@
2007-02-06 20:04:01 +00:00
espie
d0d6d56f7e allow extract-dependencies to use several seeds, which is necessary
for multi-packages ports (databases/sqlite3 == databases/sqlite3,-main).
2007-02-06 20:01:06 +00:00
espie
50ea26a11c rely on new make feature, avoid old work-around (need a current make to
work)
2007-02-03 17:09:39 +00:00
espie
fa6fc8a2f7 sometimes (not very often), config.h.in files live in any directory 2007-02-03 17:08:59 +00:00
espie
7b1ed78b46 pass -a to diff always, as it will often get confused with unicode/iso-latin
stuff.
2007-02-03 17:08:13 +00:00
steven
2e28343314 remove broken and add new sourceforge mirrors
from Jim Razmus <jim at bonetruck.org>
2007-01-18 11:21:15 +00:00
jasper
1616b919e5 zap trailing whitespace in the output 2007-01-17 19:44:19 +00:00
jasper
35713408c8 zap archive.progeny.com, it's refusing connections for some time now.
"go ahead" mbalmer@ and "nuke it!" ckuethe@
2007-01-16 20:00:42 +00:00
sturm
1cc933bba1 check build depends (currently duplicates most of check_run_deps())
ok bernd
2007-01-16 18:15:53 +00:00
espie
a7cedd9db7 add the ability to cleanly delimit embedded plist info.
will help unconfuse lib-depends-check and make-plist wrt error messages.
2007-01-15 13:43:52 +00:00
espie
f7229e2ff8 make expr less greedy 2007-01-12 21:53:31 +00:00
mbalmer
81648b584d Add the _tabled user. 2007-01-12 14:01:08 +00:00
bernd
64d1a3eb01 It's possible that the package version we get from the ports tree is
different than expected. Teach handle_dependency() how to cope with that.

Debugged with msf@ some time ago. Fix tested by msf@, sturm@ and steven@.

This also fixes the following error some people have seen:

"Can't use an undefined value as a HASH reference at
/usr/ports/infrastructure/package/check-newlib-depends line 234."

"go for it" espie@
2007-01-11 18:45:18 +00:00
jasper
dfa7b8ee47 add _gonzui
ok bernd@
2007-01-11 15:20:22 +00:00
steven
33dc528822 sync packetstorm mirrors with their official mirror list.
from Jim Razmus <jim at bonetruck.org>
2007-01-10 23:19:19 +00:00
steven
683f71c7c5 remove unused MASTER_SITE_SOURCEWARE.
from Jim Razmus <jim at bonetruck.org>
2007-01-10 23:06:41 +00:00
espie
6c505bfc6f cache mtrees read from dependencies so that we don't parse the same
dependency twice across MULTI_PACKAGES.
2007-01-10 01:41:29 +00:00
espie
98c444198b yet more special-casing: do backsubst for libnames correctly, so that
update plist correctly registers existing ones, otherwise shared libraries
with some weird names will always pop back to the main PLIST.
2007-01-09 19:40:49 +00:00
msf
0aa5a677c5 add missing entry for _puppet 2007-01-09 12:40:32 +00:00
espie
084dbff69a for shared libraries, only apply var_backsubst on the library name, leave
the version alone.
2007-01-08 18:33:37 +00:00
robert
5ddcbee4c6 add a list of sh packages i use for building; ok pvalchev@ 2007-01-04 13:34:06 +00:00
bernd
c5e1d48b7a Fix typo. This unbreaks 'make update'. 2007-01-04 11:34:14 +00:00
espie
9f019509e8 prefer subpackage-dependent version of variables for substitutions.
this lets the correct PREFIX be substituted in packages, among other things.

Problem discovered in php5-extensions
2006-12-31 13:12:35 +00:00
ajacoutot
39aa7e7766 Add _hiawatha (www/hiawatha) 2006-12-31 10:34:26 +00:00
jakob
fff5ab39a3 wrong uid/gid; noted by antoine 2006-12-29 13:37:24 +00:00
jakob
cd342c4462 add _mrtg user 2006-12-29 13:08:14 +00:00
espie
8b31dd60d8 use a simple perl script to compute initial pkgpaths... Cwd can replace
pwd -P, and we select the longest prefix from PORTSDIR_PATH.

This lets mystuff-like dirs get stripped from PKGPATH correctly, as long
as PORTSDIR_PATH is set correctly.
2006-12-26 15:00:24 +00:00
espie
6a1241ecdc don't insist on matching subpackage names, anything goes... 2006-12-19 10:03:22 +00:00
espie
1ef1f2940b let check-newlib-depends use the new targets 2006-12-18 12:53:09 +00:00
espie
5efd6b68e4 duplicate the print-plist targets, add a version -with-depends, which is
slower, but shows dependency lines as well...

Also fix target evaluation to work like it does elsewhere
2006-12-18 12:52:34 +00:00
robert
1ba388a915 add _openvpn 2006-12-16 11:58:21 +00:00
espie
25c626b21e activate our pkg-config. 2006-12-16 11:53:46 +00:00
bernd
12d8350649 Output beautification. One chunk from sturm@, two chunks by myself.
ok sturm@
2006-12-15 11:19:46 +00:00
sturm
e4f1e2c985 don't check build dependencies for now, these have to be compared against
indirect run dependencies which needs a little more code
2006-12-15 09:58:55 +00:00
deanna
3610da9e52 _apache2 for www/apache-httpd
ok robert@, dlg@
2006-12-14 07:10:48 +00:00
espie
86a95eb2d8 filter prefix early, in preparation of more changes to come. 2006-12-11 17:17:25 +00:00
espie
b3ba10ebac repair pkg_mklocatedb from src 2006-12-11 15:52:14 +00:00
steven
e3820f5171 DEPPATHS per subpackage, ok espie 2006-12-11 14:01:03 +00:00
espie
468c67ec44 zap extra parse_args. 2006-12-11 13:51:14 +00:00
espie
c89eab44fc pass all subpackage information to make-plist.
Adapt make-plist to use the same code as pkg_create to deduce fragment
names, remove some old special cases that should no longer matter.

Zap directories from dependencies in a way depending on the dependency.
Far from perfect yet, as directories should be registered multiple times
in packages that do not depend on each other, and could also be used to
figure out where to put new files...
2006-12-11 13:36:06 +00:00
espie
9d1d088f4c missed a few = signs.
Avoid writing anything when no libspecs.
2006-12-11 11:05:43 +00:00
sturm
0bcaa0f861 reduce the amount of direct dependencies by pointing out those which
are pulled in as indirect dependencies

ok espie@
2006-12-10 17:34:41 +00:00
espie
5792254153 Add proper "Returning to build of..." to unconfuse the logger in the case
of FORCE_UPDATE.   Also break out in case update fails (otherwise the old
installed package would be enough to continue building).

Sprinkle REPORT_PROBLEM to know more precisely what stuff is breaking.

replace some
if eval cmd; then
with
if (eval exec cmd); then

because if eval... seems to break early, even with the test guard, thus
giving a chance to REPORT_PROBLEM to do stuff instead of having to wait.

(Note: a trap would probably be simpler ?)
2006-12-09 14:56:41 +00:00
espie
1afd447f95 wrap calls for _print-package-args to print reliable errors (better than:
`some Makefile somewhere is broken ! find it')
2006-12-08 10:19:08 +00:00
jakob
52fb94beac add user for net/flow-tools 2006-12-07 17:11:08 +00:00
espie
a9bf5ac052 ending up with an empty SUBPACKAGE is an explicit error. 2006-12-05 19:23:42 +00:00
espie
26075e9de6 move TMPDIR to pkgpath.mk to allow its use from both bsd.port.mk and
bsd.port.subdir.mk

Use absolute paths to build readmes files, based on READMES_TOP, which
can be (or not) PORTSDIR.

Generate category readmes in tmp directory as well.

minor clean-ups
2006-12-02 11:27:46 +00:00
espie
b219b82d19 move the generated readme stuff to a temporary directory, much cleaner that way. 2006-12-02 11:08:49 +00:00
espie
6f8c254c9e fix READMES again 2006-12-02 10:27:40 +00:00
espie
8fb5e71cef clean-up spacing 2006-12-02 00:10:24 +00:00
espie
1259dc14cb let license-check recurse correctly, thus we are checking ALL licences,
finally.

Remove work-around for undefined SUBPACKAGE stuff, since we're no longer
hardcoding it at the Makefile level, and thus the ERROR check works.
2006-12-01 17:56:38 +00:00
espie
5f5c120220 use the pkg-config in /usr/local preferably, until we get a decent
pkg-config in /usr/bin...
2006-12-01 17:37:15 +00:00
espie
197d308a2f remove the last redirectors, regenerate readmes on the fly... 2006-12-01 17:33:16 +00:00
espie
0e7d3606d9 make it possible to override a FULLPKGPATH if you REALLY know what you're
doing... DO NOT USE, unless you really know.
2006-12-01 11:34:04 +00:00
espie
dfa3a77ddb fix describe 2006-11-30 23:08:07 +00:00
espie
a8356d9ae2 un-recursive dump-vars, remove vars that don't make a lot of sense now. 2006-11-29 09:42:08 +00:00
espie
6d7703e824 move a large cpan mirror near the top, this one tends to have old stuff
the others forgot.
2006-11-28 23:43:54 +00:00
espie
c72f6e29fd hidden SUBPACKAGE in _register_plist: put it back into ${_PACKAGE_COOKIE${_S}} 2006-11-28 23:13:30 +00:00
espie
6d481f3f77 apply the same transformation to install/install-all 2006-11-28 20:40:55 +00:00
espie
cd97d2252c move a few things around inside one single MULTI_PACKAGES loop 2006-11-28 20:31:25 +00:00
espie
46484d5a90 fix a typo
mv some PKG_ARGS where they belong, and s/SUBPACKAGE/_S
2006-11-28 20:26:38 +00:00
espie
fe36feb551 remove a lot of redirectors, add a lot more loops, build stuff based
on internal variables mostly.
2006-11-28 20:20:25 +00:00
espie
fda8ee6238 let PKG_ARGS be SUBPACKAGE dependent, define them all 2006-11-28 19:59:15 +00:00
espie
4d572376b6 fix for xview 2006-11-28 19:13:47 +00:00
espie
0f300c1d5c big internal changes: if MULTI_PACKAGES is not defined, define it to '-',
so that the `normal' cases is MULTI_PACKAGES, (with possibly one
special '-' subpackage).

Adjust a few tests accordingly so that people don't notice the '-'
SUBPACKAGE: mostly do not print some directory changes, adjust FULLPKGPATH,
and set up PLIST- templates correctly.
2006-11-28 18:25:42 +00:00
espie
2e52dd7f15 display something when switching directories during updates 2006-11-28 18:17:57 +00:00
espie
fea2461c67 prepare to be able to have every subpackage present at once. 2006-11-28 16:28:56 +00:00
espie
1aa5f43449 explicitly duplicate stuff to SUBPACKAGE, often a nop, but make sure
people get correct information.
2006-11-28 16:24:00 +00:00
espie
b43469a3f4 unbreak xplanet for now 2006-11-27 20:29:50 +00:00
espie
8d1eecfc23 zap the last special case of PLIST, we do not use that either 2006-11-27 19:09:19 +00:00
espie
950e643e3b zap some older ways to define PLIST which we haven't used ever since
pkg_add groks fragments.
2006-11-27 17:30:18 +00:00
espie
2d838f4cc0 white space police 2006-11-27 16:08:05 +00:00
espie
926c904147 same formatting clean-up as bsd.port.mk 2006-11-27 15:38:01 +00:00
espie
6eb7a1f31c some white space and reformat (style)
make sure every variable assignement is surrounded by spaces
2006-11-27 15:28:40 +00:00
msf
9f48f41db6 +_siproxd 2006-11-27 11:18:21 +00:00
espie
3d6e1eba81 fix so that variable definitions work even in the presence of subpackage=c++ 2006-11-26 23:39:41 +00:00
espie
311d135465 minor tweaks: make internal _COMMENT and *_DEP3 depend on SUBPACKAGE,
so that subdescribe looks cool...
2006-11-26 20:02:28 +00:00
espie
251749b901 avoid recursion in subdescribe.
make things simple in *-depends-list.

fix LIB_DEP3 (this one from steven)
2006-11-26 19:46:16 +00:00
espie
7a44b164f2 repair describe 2006-11-26 19:12:20 +00:00
espie
4e9d8781c2 completely remove PACKAGING, it's no longer needed 2006-11-26 17:45:59 +00:00
espie
3fcf725ef8 all MULTI_PACKAGES are new, stop testing -main. 2006-11-26 17:36:07 +00:00
espie
598ff7edac add BASE_PKGPATH to SUBST_VARS 2006-11-25 19:47:53 +00:00
espie
33415a71e4 define BUILD_PKGPATH/BASE_PKGPATH, to document later 2006-11-25 18:31:23 +00:00
espie
c1a8fddfb8 add new define, CPAN_AUTHOR, to allow grabbing modules from the author's
nickname.

occasionally used, a few modules don't have an explicit subdirectory,
and need to be grabbed by author nick.
2006-11-25 13:14:40 +00:00
msf
297a01402e +_perdition 2006-11-25 11:01:19 +00:00
espie
4d71e0cedc repair update-plist 2006-11-24 16:49:37 +00:00
espie
d89691b16b let PLIST, DESCR, MESSAGE, UNMESSAGE be subpackage-dependent.
careful: they do not get defined to a default value unless the `main'
variable is defined, because they get set later otherwise...

remove the .if defined(MULTI_PACKAGES) guards as they don't serve any purpose.

Simplify the PLIST tests to make them more uniform.

Move SED_PLIST to the list of obsolete variables instead of giving it special
treatment.
2006-11-24 00:10:00 +00:00
kili
42eb3262c7 Fix dependency checks for automake.
"go for it", espie@
2006-11-23 16:31:46 +00:00
espie
93006f30a0 no need to generate an intermediate mtree.spec 2006-11-22 12:40:50 +00:00
espie
714428c327 filter out the current PKGPATH in fetch_makefile, prevents infinite
recursion.
2006-11-22 08:20:20 +00:00
espie
e7bba25064 avoid weird error if we run this without patches 2006-11-21 11:18:34 +00:00
bernd
60457f98c3 Disallow "nasm::devel/nasm" pkgspecs for BUILD, RUN and REGRESS_DEPENDS again.
All _DEPENDS should be correct now.

'go for it' espie@
2006-11-21 10:32:51 +00:00
steven
cc62c9b52c a few small additions, which were tested but not in tree yet 2006-11-20 23:21:38 +00:00
steven
277615a529 enable config.x11.site if USE_X11 is set.
ok espie@
2006-11-20 23:18:25 +00:00
espie
6223466710 make sure the right version of autoconf/automake is installed.
bug-report from jolan@
2006-11-20 20:52:28 +00:00
espie
9d9d40e8e6 kludge make-plist to work with new multi packages 2006-11-20 13:56:37 +00:00
espie
e0e5780e0e allows PREFIX and CATEGORIES to be subpackage dependent 2006-11-20 13:50:16 +00:00
espie
5cf40c9a72 re-allow BUILD_DEPENDS=nasm::devel/nasm temporarily.
until this gets killed... we haven't used the front part of : for a very
long time now !
2006-11-20 12:34:52 +00:00
espie
3d0bde7b9b zap duplicate specs 2006-11-20 12:13:43 +00:00
espie
b7c78d5d16 typo 2006-11-20 12:04:40 +00:00
espie
15375beded fix NO_SHARED_LIBS case, found out by bernd@ 2006-11-20 11:15:39 +00:00
espie
32322a6cfa clone LIB_DEPENDS${SUBPACKAGE}/WANTLIB${SUBPACKAGE} as expected. 2006-11-20 11:11:38 +00:00
espie
cb87b66c0b let LIB_DEPENDS and WANTLIB depend on the SUBPACKAGE.
Build a special list of _BUILDLIB_DEPENDS, so that separate subpackages
can depend on each other without making an infinite loop...
2006-11-20 10:49:22 +00:00
espie
15be4f88b2 forgot one DEPRUNLIBS 2006-11-20 10:38:31 +00:00
espie
b46318f8f6 distinguish between _BUILDLIB_DEPENDS and LIB_DEPENDS, and _BUILDWANTLIB
and WANTLIB.

Get the rules for the LIBSPECS_COOKIES out of the loop that dictates their
usage.

Introduce *DEP3 variables, to keep *-depends-list compatible with old stuff.

Use _BUILDLIB_DEPENDS and _BUILDWANTLIB everywhere this makes sense.
2006-11-20 10:36:13 +00:00
espie
a0b5fa8262 simplify xxx-dir-depends: only rely on _BUILD_DEP/_RUN_DEP.
Fold _ALWAYS_DEP.
2006-11-20 09:59:11 +00:00
espie
076413b410 remove extra subpackage that crept in 2006-11-20 09:46:56 +00:00
sturm
50a78e8f73 add sh to NO_SHARED_ARCHS for now 2006-11-19 19:52:03 +00:00
espie
2238471bc2 rephrase dependency evaluation without $$dep.
Also, more error checking, check specifically for which dependency targets
are allowed.
2006-11-19 18:20:01 +00:00
espie
6d0da43bdc Now that all dependencies are evaluated in the same way, build the cookies
in one single loop, based on _DEPLIST.

Extract dependencies off the loop.
2006-11-19 18:07:38 +00:00
espie
eb86c17946 remove confusing FAKE=lib scaffolding that's not finished, and that won't
work in that way in any case...
2006-11-19 18:01:44 +00:00
espie
2b06f42b4a avoid redefining the same dependency cookie twice 2006-11-19 17:52:32 +00:00
espie
b7ae3ba7bb simplify dep cookies names. Since we no longer use the dep part, let
it vanish completely.

Also, stop converting . to -, as it's useless and makes for less readable
names.
2006-11-19 17:48:14 +00:00
espie
299af1fa5b also defaults to stem-* for build depends, thus simplifying code a bit... 2006-11-19 17:40:35 +00:00
espie
2d34234cec oops typo. make sure lib depends are done 2006-11-19 17:39:15 +00:00
espie
37bfbe6e97 start making a big distinction between lib depends evaluated at build time
and at `run(packaging)' time.
2006-11-19 16:39:41 +00:00
espie
c5bed01d12 also use RUN_DEPENDS${SUBPACKAGE} in the simple parts. 2006-11-19 12:37:55 +00:00
espie
13a468ef7b add an extra level of indirection for dependency lists: _xxx_DEPLIST.
allows us to get rid of some NO_DEPENDS tests later, also allows for
RUN_DEPENDS to become indexed on SUBPACKAGE.

LIB_DEPENDS and WANTLIB are going to need more surgery, since they need
to be checked during build and packaging...
2006-11-19 12:32:53 +00:00
espie
138ff85a86 rename more internal stuff to make it less visually confusing:
_DEPlibs_COOKIE => _DEPWANTLIB_COOKIE
_DEPlibs_COOKIES => _DEPLIBSPECS_COOKIES
2006-11-19 12:11:30 +00:00
espie
cde96256b8 rename some internal variables: _DEPlib_COOKIES -> _DEPLIB_COOKIES.
simplify some
.if defined(A)
.  for i in $A
      ...
.  endfor
.endfor

into

.for i in $A
      ...
.  endfor
.endfor

since empty loops work just fine.
2006-11-19 12:05:10 +00:00
espie
6c3789ee8b start of multi-packages simplification: if MULTI_PACKAGES contains -main,
consider it to be the main package, and do some equal treatment for each
package.

(to do: add subpackage where needed to WANTLIB, RUN_DEPENDS, LIB_DEPENDS
and act on them accordingly).

Also define _DONE_FILES for _fetch-makefile to avoid blocking if it's
not invoked from a higher level target.
2006-11-18 00:15:33 +00:00
espie
b500ceff5d allows one to short-circuit PKG_ARCH=* in the build process
by setting NO_ARCH to MACHINE_ARCH/all
2006-11-17 17:16:16 +00:00
espie
759b3af1dc index PKG_ARCH, PERMIT_PACKAGE_FTP, PERMIT_PACKAGE_CDROM on SUBPACKAGE name. 2006-11-13 14:14:57 +00:00
espie
1ef50b337c avoid ignoring ports while running a `describe' target.
triggered by setting DESCRIBE_TARGET=Yes in bsd.port.subdir.mk
2006-11-13 13:55:10 +00:00
steven
666f31d371 forgot to comment one 2006-11-12 12:57:28 +00:00
steven
f27e97d635 remove/comment freetype and Xaw related items for now;
suggestion from espie
2006-11-12 12:17:33 +00:00
espie
0b6d91b275 move PKG_ARCH after MODULES 2006-11-12 10:52:59 +00:00
espie
6a9f2056f7 more tweaks 2006-11-12 10:48:17 +00:00
espie
47a8fcf5fc tweaks so it works 2006-11-12 10:45:40 +00:00
espie
41a9dbf299 a small cpan module that takes care of most common things there 2006-11-12 10:29:15 +00:00
steven
5cc8db10f7 some more 2006-11-11 22:57:41 +00:00
espie
0a20eb70a6 Top-level redirectors which recurse for multi-packages should display where
they are. This does unconfuse pkg_mklocatedb
2006-11-11 16:32:12 +00:00
espie
7564143ca2 shorten dependency names, so that regress and run can share.
add print-plist-all, for better introspection (to be used by pkg_mklocatedb).
2006-11-11 16:10:36 +00:00
steven
d637fde153 start at a config site file for X11 stuff, to be enabled later 2006-11-11 15:10:22 +00:00
steven
4b7f617b1b take out X11 related stuff, to be included in new file 2006-11-11 15:01:19 +00:00
espie
ea00df0a25 allows grabbing the packing-list from the ports tree.
suggestion from bernd
2006-11-11 13:11:45 +00:00
espie
321aced247 rename function for future change.
avoid re-reading the same plist for getting the same info (which doesn't
work anyways, so this avoids looking up a package for nothing).
let depwalk stash the pkgpath away for future use.
2006-11-11 12:44:26 +00:00
steven
d3786bb3e7 add more functions, headers, and errno values (tested in a bulk build)
okay espie@
2006-11-10 17:29:38 +00:00
espie
a2beb10ca4 zap uses of ${SH} 2006-11-09 08:29:47 +00:00
espie
6b60ddeb78 remove the dependency of make-plist on dependent packages: instead, go
directly use `make print-plist' to find these lists in the ports tree.
2006-11-09 08:16:22 +00:00
espie
a000f1d8ec Stripping dir: shorter diagnostic when package is not found. 2006-11-06 16:35:20 +00:00
alek
d7666e8882 Add _dbus user & group that will be used by x11/dbus port 2006-11-06 00:57:40 +00:00
espie
adbf2219c0 have _internal-regress depend on the _BUILD_COOKIE, so that build is
performed before regress dependencies.
2006-11-05 20:20:28 +00:00
espie
7be15550f4 add regress-dir-depends/full-regress-depends, similar mechanism to
run-depends, only the basic test changes.
2006-11-05 15:46:51 +00:00
espie
19abee34c6 revert. called from bsd.port.subdir.mk as well, which doesn't define
TMPDIR.
Noticed by steven@
2006-11-03 23:19:42 +00:00
espie
aa88a7693f bye, bye SCRIPTS_ENV,
bye, bye SCRIPTDIR
2006-11-03 17:03:28 +00:00
mbalmer
685154777d Add a userid, _courier, for the courier mailsystem. 2006-11-03 15:13:46 +00:00
alek
3ac5febb0b Add _mdefang user and group 2006-11-01 14:56:58 +00:00
espie
ac93b5a9b2 zap a few non relevant lines, make _ALL_VARIABLES* internal.
Use TMPDIR in pkgpath.mk
2006-11-01 12:41:34 +00:00
sturm
bac70079bd match sockaddr for sendmsg() 2006-10-29 19:25:29 +00:00
sturm
f85df68c82 permit symlinks to non-existing files (might happen when extracting an
archive)
2006-10-29 19:23:28 +00:00
steven
6dcd897f59 add various new functions and a few headers.
tested in a full build.

"go ahead" espie@
2006-10-28 18:59:10 +00:00
pvalchev
ea93d319d1 4.0 2006-10-26 00:41:45 +00:00
pvalchev
db68c59fd2 update list of architectures 2006-10-26 00:40:46 +00:00
david
c309e4359f fix comment: this is for sparc64, not sparc 2006-10-24 16:42:10 +00:00
espie
d7d4e5e79a generic BULK_DO fragment that can do anything, invoked right before clean.
can be used to run targets that may fail without impacting further stuff,
or to collect stats on anything.
For instance

BULK_DO= mkdir -p ${PORTSDIR}/config/${FULLPKGPATH}; \
	cp -f ${WRKBUILD}/config.{log,status} ${PORTSDIR}/config/${FULLPKGPATH} || true; \
	cd ${PACKAGE_REPOSITORY}/${MACHINE_ARCH}/all && perl ${PORTSDIR}/infrastructure/package/check-modes ${PKGNAMES} || true
2006-10-23 14:33:01 +00:00
espie
936808b05a fix a bunch of issues:
- make sure locks happen when they should, including for lib-depends-check.
- make sure various targets set PACKAGING as they should.
- let BULK=Yes be invoked only from make package.

Fix for the BULK_COOKIE and UPDATE_COOKIE issue. They can no longer depend
on PACKAGE_COOKIES, since this needs to get built with PACKAGING set. So
instead, simply remove the cookies when we create a new package succesfully.

By any kind of reasoning, both bulk and update are `reset' when a new
package appears, so this seems to be the right semantics in most cases.

Thanks for wilfried and nikolay for error spotting. Hoping this will be
what's needed, finally.
2006-10-23 13:42:50 +00:00
espie
3291960295 oops, fix. 2006-10-23 11:19:35 +00:00
espie
872bae539e -f: display a full listing of which binary uses what library. Useful for
figuring out dependencies in a fine way for creating multi packages.
2006-10-23 10:54:45 +00:00
aanriot
906afbb679 - remove 'noauto' and install _spamdaemon user by default.
- bump PKGNAME.
2006-10-21 19:26:14 +00:00
robert
b6dd2e7ca7 Add MODGCC4 support and use gcc 4.2;
ok espie@
2006-10-21 14:26:07 +00:00
espie
72e2164084 hint at libtool stuff for SHARED_LIBS, so that people start with a nice
basis.
2006-10-21 12:59:35 +00:00
espie
533fa4cdbe work-around for infinite recursion... gonna fix bulk stuff for real soon.
thanks nikolay
2006-10-21 12:46:09 +00:00
espie
1b169a7d4b can not depend directly on PACKAGE_COOKIES.
Found out by nikolay, fun to debug...
2006-10-21 12:10:35 +00:00
espie
508d8e05df move SHARED_LIBS_LOG into WRKBUILD 2006-10-21 11:50:48 +00:00
espie
eabc29b2cc define SHARED_LIBS_LOG for libtool (and other stuff) use 2006-10-21 11:20:36 +00:00
bernd
5e5fdfe2a4 Add libs which are reachable through dependencies to the cut&paste WANTLIB
output as well.

spotted by alek@, ok espie@
2006-10-20 18:10:25 +00:00
espie
7aa333e1ca output a simple set of WANTLIB lines you can cut&paste, by popular demand... 2006-10-20 15:09:24 +00:00
espie
992a0a28a0 sort information instead of putting it out in an haphazard way. 2006-10-20 14:40:29 +00:00
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