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
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