naddy
d1e3b2b512
Fix a typo that caused ports marked with FETCH_MANUALLY always to be skipped
...
for BATCH=Yes. Reported by Kurt Miller <truk@optonline.net>.
2003-08-14 15:29:20 +00:00
espie
79dfad4929
missed two readme, thanks Nick.
2003-08-13 19:41:01 +00:00
espie
08fa6014ce
advisory license-check: warns if a package is apparently built from bad
...
sources. Will returns some false positives.
2003-08-11 20:10:41 +00:00
espie
5018e3388c
make sure the site selector has an entry for each :<digit>, ensuring
...
incorrect entries will be spotted.
2003-08-11 20:07:59 +00:00
sturm
9dca62c74b
Unconditionally use do-extract and create that target in case it doesn't
...
exist with the old, regular EXTRACT_CASES stuff. This allows for systrace
protected extracts.
espie@ ok
2003-08-11 18:42:07 +00:00
espie
c75167d854
Fix INDEX building. Trickery that allows ECHO_MSG='echo 1>&2' to work again.
2003-08-08 23:56:13 +00:00
espie
7e71f84147
kill .USE, use common shell code instead.
2003-08-04 15:05:24 +00:00
espie
c07bda5739
oops, make sure SKIPPED is set immediately, otherwise it won't show.
2003-08-04 14:54:29 +00:00
espie
4fb6f7fb2a
smart recursion over clean depends.
2003-08-04 14:45:31 +00:00
espie
63adb1a923
let *-dir-depends recurse globally, with one single file.
2003-08-04 14:37:48 +00:00
espie
b8e4c98450
move _depfile_fragment to pkgpath.mk so that it can be reused more widely.
...
Fix the logic so that the file is only removed where it is set.
Add some checks to *-dir-depends for more `global situations'.
2003-08-04 14:37:10 +00:00
espie
df3c9aa7ce
zap old targets and add new ones.
2003-08-04 14:16:53 +00:00
espie
acc638c113
Use trap to remove _DEPENDS_FILE, so that it does not stay around.
...
Since all the code is now in one chunk, put it into _depfile_fragment.
2003-08-04 14:00:46 +00:00
espie
1ee70309ea
oops
2003-08-04 13:31:26 +00:00
espie
0f9ceae51e
kill old readme (useless distinction).
...
Let make clean=readmes work.
2003-08-04 13:25:36 +00:00
espie
89a58c808d
Fix SKIPDIR handling.
...
Make various variables not public.
Remove PORTSDIR definition, it's alredy in /usr/share/mk.
2003-08-02 09:58:11 +00:00
espie
9a700ec7a5
put _flavor_fragment into a separate file, that's included from both
...
bsd.port.mk and bsd.port.subdir.mk. Make sure flavors are properly
separated.
Change the way bsd.port.subdir.mk works, slightly: always set full directories.
- SKIPDIR with full paths will work.
- all dirs are displayed as full package specs.
Generate complete html files.
2003-08-02 09:53:27 +00:00
espie
2baedf3e1e
minor fixes to readme
2003-08-01 09:07:06 +00:00
espie
a46196fdcf
if cmd; then : else -> if ! cmd; then
...
suggested by naddy@
2003-08-01 09:02:42 +00:00
espie
9035370921
show libraries BEFORE testing that we already recursed in that dir.
...
Problem found by marc_m@.
2003-08-01 08:29:43 +00:00
espie
ff6ba5bcaa
too eager in unsetting FLAVOR, problem found by jolan@
2003-08-01 08:20:43 +00:00
espie
3e6da56495
get thru _clean to handle clean, since it's set in stone.
...
Add work if only depends is set.
problem found by naddy@
2003-08-01 08:07:30 +00:00
espie
be5adfc375
pull a few more targets out of user-visible space.
...
Sprinkle a few more cd ${.CURDIR} && exec
move distclean into convenience targets area.
2003-07-30 19:59:48 +00:00
espie
8d30a050aa
redo the list of phony targets, in alphabetical order
2003-07-30 19:51:11 +00:00
espie
39307efa3b
clean-up and speed-up dependency generation.
...
thanks to nikolay, naddy, and others for comments.
2003-07-30 19:31:31 +00:00
espie
d9883c9976
quote pkg to protect wildcards against shell (e.g., bzip2-*).
...
It didn't use to happen, but I just had bzip2-* matching against
bzip2-1.0.2.html
2003-07-30 10:40:43 +00:00
espie
d426e175d7
restore install
2003-07-29 22:27:09 +00:00
sturm
706f3c88e2
python module for all standard python ports
...
from Xavier Santolaria <xavier@santolaria.net>
2003-07-28 17:48:13 +00:00
sturm
16ce58292a
this makes our build infrastructure systrace aware
...
original idea from jsyn@, discussed and first tests at c2k3
Warning!
- this commit is different from all patches sent around, please remove
them before updating
- due to a few bugs in systrace this is currently not ready for the casual
porter and several ports will fail to build, you've been warned
The idea of this patch is to help a porter when developing a new port.
With systrace the configure, build and fake stages are not allowed to
open network connections or write outside some well defined directories.
This way misbehaving programs will be noticed due to logfile entries in
/var/log/messages and the port can be fixed. There is generally no need
for endusers to use this, as the checksum ensures that ports in the
future will behave the same as they did when porting. :)
To activate systrace'd port building, set USE_SYSTRACE=Yes (e.g. in
/etc/mk.conf)
tested by some people, ok espie@
2003-07-28 17:17:04 +00:00
espie
7eff30b5be
FETCH_MANUALLY
...
okay naddy
2003-07-25 12:46:26 +00:00
pvalchev
0f13a36266
patch -b is now -z
2003-07-25 02:17:51 +00:00
naddy
c516389304
protect smart recursion in clean-depends against port names that are
...
substrings of others; ok espie@
2003-07-24 12:50:38 +00:00
espie
250e5fea9d
smart recursion in clean-depends: use an extra temp file to avoid cleaning
...
up the same spec twice.
2003-07-23 22:24:24 +00:00
avsm
0b19487932
ghc module for ports that use the Haskell language
2003-07-23 18:27:09 +00:00
espie
d766877485
say goodbye to DEPENDS, MISC_DEPENDS, FETCH_DEPENDS. Okay naddy@
2003-07-23 09:58:33 +00:00
espie
0cd1e35343
switch to emacs Makefile mode, at the request of Han Boetes.
...
Kill extra ending spaces.
2003-07-18 19:02:13 +00:00
espie
4f65d45f7b
more non-existing hooks.
2003-07-18 18:54:09 +00:00
espie
f53f21e957
simplify the creation of links in the package repository.
...
ok naddy@, pval@
2003-07-18 18:34:26 +00:00
espie
bb5f00f090
kill lots of if !target.
...
Kill targets that don't apply to ports.
2003-07-18 18:18:15 +00:00
naddy
66353942fb
Introduce zope module and make zope-* ports use it.
...
From: Xavier Santolaria <xavier@santolaria.net>
2003-07-17 15:11:38 +00:00
espie
08a54a2657
remove RESTRICTED, CATn, MANn, MANPREFIX, CATPREFIX, NOCLEANDEPENDS.
...
MANCOMPRESSED, NOMANCOMPRESS.
2003-07-16 21:22:15 +00:00
espie
93157b81b3
zap motif comments
2003-07-14 14:08:57 +00:00
espie
e395afc3c0
zap stuff documented elsewhere.
2003-07-14 14:02:18 +00:00
espie
fbf7277e7b
kill tweaks that make no sense:
...
NO_DESCRIBE, NO_PACKAGE, FETCH_BEFORE_ARGS, FETCH_AFTER_ARGS, NO_WARNINGS
(is this used ?), VARNAME, FORCE_PACKAGE.
Make CKSUMFILES invisible from users.
Make sure repackage and reinstall go through normal clean targets.
Kill pre-clean, pre-distclean, pre-repackage.
Don't allow customization of distclean.
2003-07-14 13:33:04 +00:00
espie
c1ca969495
zap show VARNAME= usage.
2003-07-12 12:51:19 +00:00
espie
c0618f0f68
zap stuff that's now properly documented
2003-07-12 12:50:06 +00:00
pvalchev
31b771de82
use '|' rather than ',' for sed substitution delimiter since the comma
...
clashed with multiple names into MAINTAINER (separated with comma), now
that it is part of SUBST_VARS. '|' should be safer wrt all other
variables there; ok espie
2003-07-11 16:46:20 +00:00
espie
a29618cde1
PROBLEMS->_PROBLEMS, this shouldn't be user-visible.
2003-07-09 11:16:21 +00:00
espie
c1e3a7277c
say goodbye to obsolete comments and stuff documented in bsd.port.mk(5)
2003-07-08 22:01:23 +00:00
pvalchev
5e156c4b68
Include maintainer name in the description, this way it can be easily
...
checked by pkg_info(1), etc.; ok espie
2003-07-08 21:51:26 +00:00
avsm
f243823792
point to www/php4/core instead of www/php4/pear
2003-05-23 20:09:01 +00:00
sturm
9c77c97ed3
As "run-depends" is not recursive, only the first layer of pure RUN_DEPENDS
...
packages got created. By setting DEPENDS_TARGET=install, all layers of
pure RUN_DEPENDS are installed directly.
OK espie@, naddy@
2003-05-18 23:11:21 +00:00
espie
4e35f82f32
do not duplicate gnu in CONFIGURE_STYLE if it's already there.
...
Useful when one wants a specific CONFIGURE_STYLE order and thus specifies
gnu explicitly, e.g., CONFIGURE_STYLE=autoconf gnu imake
2003-04-06 14:34:36 +00:00
avsm
3990f2d5fb
add support for PHP pear modules
2003-04-03 10:29:35 +00:00
pvalchev
8a0d0886ea
Stop advising users to ignore wrong checksums, instead suggesting from the
...
distfiles/ directories on the OpenBSD FTP servers where a good copy is
normally carried. From Peter Hessler, ok espie lebel
2003-03-02 17:54:27 +00:00
espie
c138118a37
MODULES=gnu can be used to access MODGNU_AUTOCONF_DEPENDS without entering
...
into CONFIGURE_STYLE issues.
ok naddy, pval
2003-02-27 19:27:00 +00:00
espie
a63ca19a8c
Display something useful when a package location has been specified wrong.
2003-02-16 15:16:17 +00:00
espie
86550e7114
no longer a need to pass AUTOCONF/AUTOHEADER through MAKE_FLAGS/FAKE_FLAGS
...
found out by naddy@, should unbreak erlang.
2003-02-15 19:59:35 +00:00
espie
3c8bf6ed4f
make autoconf/automake dependencies visible through
...
MODGNU_AUTOCONF_DEPENDS/MODGNU_AUTOMAKE_DEPENDS
2003-02-15 16:38:48 +00:00
espie
7de32aba9d
switch to metaauto framework: the autoconf ports are now not quite usable,
...
and need the metaauto wrappers to work.
The metaauto wrapper does not run depend on any autoconf version, to allow
partial installations.
Tested and approved by naddy@
2003-02-15 14:06:58 +00:00
espie
39a4a543c0
make kde module visible
2003-02-08 12:38:16 +00:00
brad
770d499273
fix lib-depends-check on ELF systems to deal with libraries of the form
...
libN-X.Y.so.A.B
--
From: Lurene Grenier <lurene@daemonkitty.net>
2003-02-06 03:45:15 +00:00
espie
7014ba7264
Make WRKOBJDIR be a basis for WRKDIR when defined.
...
Do not create a symlink from CURDIR.
Based on a suggestion of Hakan, tested and approved by various ports
people.
2003-01-14 18:18:23 +00:00
espie
24f60aca49
Quote flavors, pass multi_packages as well.
2003-01-06 20:18:23 +00:00
espie
b1320b3d67
Pass more arguments to update-plist
2003-01-06 20:15:39 +00:00
espie
6d742f2c0b
revert
2002-12-08 11:04:47 +00:00
brad
3a8ee30d3c
be more flexible with the gmake version we will accept.
2002-12-08 04:17:39 +00:00
naddy
f107824102
First cut at OCaml module.
...
From: Nikolay Sturm <sturm@sec.informatik.tu-darmstadt.de>
2002-11-13 21:42:15 +00:00
pvalchev
482756a7b6
Add gcc3 module. OK espie naddy
...
MODGCC3_ARCHES should be set to use this, as addition to MODULES=gcc3
MODGCC3_LANGS accepts C++ (C default) and adds proper dependencies, etc
(more languages can be added later on eventually.)
Those will start getting splattered around the tree as time goes now
that the support is there (sparc64 & alpha can make use)
2002-11-12 03:50:56 +00:00
naddy
a152719172
Rename DUDS to SKIPDIR for consistency with the base system; ok espie@
2002-10-24 23:14:40 +00:00
naddy
dc7b8f8a72
typo; from Han Boetes <han@mijncomputer.nl>
2002-10-10 21:14:11 +00:00
espie
b7349f6e16
fix typo. sigh. this code is not used that much.
2002-09-11 19:35:21 +00:00
brad
c4ba57cd1c
fix refetch target when DIST_SUBDIR is defined. FULLDISTDIR -> DISTDIR
...
--
Problem pointed out by: Nick Nauwelaerts <nick@wanadoo.be>
Ok'd by: espie@
2002-08-30 15:06:06 +00:00
avsm
97d7fd758e
remove an unnecessary check for NetBSD
...
ok espie@
2002-08-29 18:35:40 +00:00
avsm
0d2fe0ad1c
PSEUDO_FLAVORS support
...
from/ok espie
2002-08-07 15:48:19 +00:00
pvalchev
6acee16b30
Kill NEED_VERSION, since people are now told to keep their ports
...
tree / release in sync, and strictly managing it generates a lot
of useless effort.
Note that the support for NEED_VERSION is now gone, however ports
will get that line stripped from their Makefile as time progresses
with updates, gradually; there is no emergent need for it.
ok espie and others
2002-07-06 09:24:06 +00:00
mpech
c356e917ba
/var/X11/... -> /etc/X11/... From form@.
...
lebel@, naddy@, pval@ ok
2002-06-27 12:47:23 +00:00
mpech
7273a819d5
Add -V and -m to FETCH_CMD. Idea from form@.
...
espie@ ok
2002-05-20 05:18:18 +00:00
millert
48e962fab3
'perl -p' does not seem to behave as I expected; use -n instead.
...
Fixes a problem with the perl shar filter noticed by pval@
2002-05-19 18:51:21 +00:00
espie
5d9ca1a5bf
say goodbye to MASTER_SITE_SUBDIR
2002-05-15 18:23:21 +00:00
espie
386b666f7c
Add WWW: ${HOMEPAGE} at end of DESCR if not integrated already.
...
Mark MASTER_SITES_SUBDIR obsolete.
Promote a construct taken from NetBSD indeed.
2002-05-13 00:43:42 +00:00
millert
1cb6674558
Replace _SED_FIX_SHAR with _PERL_FIX_SHAR which can deal with shar
...
archives that don't start with "#!/bin/sh"; espie@ OK
2002-05-08 18:31:49 +00:00
espie
727512ae3c
Run check of symlinks post-fake as root too.
2002-05-07 12:25:54 +00:00
espie
92531f47ed
let build of dependencies that are not 'install' or 'package' happen
...
inside a subdirectory of the working directory, instead of elsewhere.
Allows packages BULK=Yes to work correctly, and increase reproducibility
of builds.
tested by naddy@ through several incarnations.
Ports that use patch/configure/build dependencies must be adjusted for this.
Pleasingly enough, the adjusted version is often simpler.
The change uses an internal _MASTER variable to recall the list of ports
built during dependencies, for less confusion.
2002-04-24 21:29:26 +00:00
espie
9acaeefab9
double typo. Let ftp-packages and cdrom-packages be normal BULK_TARGETS.
2002-04-17 16:53:13 +00:00
espie
5c6c013651
kill bulk-packages. Use `make package BULK=Yes' instead.
...
The main advantage is that workdirs are cleaned up as soon
as package is built (or installed), not later.
2002-04-17 15:58:48 +00:00
espie
2b7c75e086
Move perl manpages where they belong, from section 3 to section 3p.
...
NOTE THAT /usr/local/man/man3p MUST EXIST FOR THIS TO WORK.
UPDATE /etc/mtree/BSD.local.dist AND RUN IT ACCORDINGLY !!!
2002-04-16 19:25:01 +00:00
espie
83d65ba969
Add variable P5SITE/P5ARCH, this will make future plists more compact.
2002-04-16 17:35:21 +00:00
espie
375850a04e
Allow for DIST_SUBDIR to be empty
2002-04-10 08:44:57 +00:00
espie
8033007ddd
Add PROTECT_MOUNT_POINTS, to help package builders spot ports that write
...
outside of the fake area.
2002-04-09 23:55:11 +00:00
espie
6eefe19bd3
fix indentation
2002-04-09 22:52:24 +00:00
espie
74c923f4c6
USE_LIBTOOL, USE_GMAKE, USE_X11 should really be Yes/No variables.
2002-04-09 13:52:58 +00:00
espie
9ad648bfbe
Let make update-plist look at dependent packages (LIB_DEPENDS and
...
RUN_DEPENDS) to create a more accurate list of @dirrm.
Minor negative side-effect: up-to-date dependent packages must be present
for this to work. Not a problem, since this is only used by maintainers.
This improves the quality of generated plists for large packages with lots
of dependencies by a large amount (e.g., kde)
reviewed by pval@
2002-04-03 15:00:30 +00:00
espie
ddaac90cab
Add a target to check that makewhatis will build correct index entries.
2002-04-02 15:55:55 +00:00
espie
6d8b4f799b
Kill files/md5 magic
2002-03-21 21:28:29 +00:00
espie
25c3970285
oops, bad exec in a combined command
2002-03-18 03:18:24 +00:00
espie
1c8f153f2e
Tsk, tsk.
2002-03-18 02:00:00 +00:00
espie
8f76f3fa33
can't set both motif and lesstif flavors at once.
2002-03-18 01:55:40 +00:00
espie
b6d50a2151
Handle ERRORS+='Fatal:...' as well
2002-03-18 01:52:46 +00:00
couderc
69ab7a3aea
Include ruby module
2002-03-17 22:34:16 +00:00