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