Commit graph

1971 commits

Author SHA1 Message Date
dmcmahill
1e48a03c4b add a -S,--save-database option which doesn't delete the database files
after the run.  Useful for debugging since this preserves the intermediate
result of the most time consuming portion of the script.
2002-11-13 11:12:04 +00:00
dmcmahill
429e45ec44 only update the README-IPv6.html file if it has changed 2002-11-13 10:14:04 +00:00
dmcmahill
6415f887e0 - replace & with &amp; _before_ replacing < with &lt; and > with &gt; when
escaping html output.

- properly escape the URL in the link and the displayed URL in the vulnerability
  list to handle the '&' character in URL's.
2002-11-13 01:05:03 +00:00
dmcmahill
afa9aa5dd4 start warning output on a new line to make it easier to read 2002-11-13 00:59:35 +00:00
dmcmahill
54a10c8ebb - added progress meter when extracting database. Useful for those of us
with slow machines.

- fix minor bug which left some temp files laying around in /tmp/mkreadme.
2002-11-12 13:45:36 +00:00
dmcmahill
e533139410 add definition for HTML_PKGNAME used by the readme generation 2002-11-12 13:42:50 +00:00
dmcmahill
1629f82b0b add timestamp to output messages 2002-11-12 02:17:58 +00:00
dmcmahill
3d2524d328 add scripts for generating the README.html files in a much more efficient
way than the previous recursive make approach.  The 'mkreadme' script is
the top level script.  'mkreadme -h' or 'mkreadme --help' for complete
documentation on its use.  Generates README.html files more than two orders
of magnitude faster than the recursive make approach by only calling make(1)
once per pkg.
2002-11-11 21:51:04 +00:00
dmcmahill
696790b4ca add a print-summary-data target which will be used by the new bulk
README.html generation script.  This target gives all information
needed by the README.html file in 1 make call.
2002-11-11 21:46:51 +00:00
hubertf
d019306132 rename BINPKG_SITE to BINPKG_SITES
Adresses PR pkg/19004 by tv@pobox.com
2002-11-10 18:20:44 +00:00
grant
f07e00c1f9 add MASTER_SITE_MOZILLA for Australia. 2002-11-10 12:17:31 +00:00
seb
ca66a9af3a Take care of -current's /lib and /libexec.
Noted by Julio Merino <jmmv at menta dot net> in PR pkg/18968, I had this
in my trees for weeks and I forgot about it...
2002-11-08 10:26:51 +00:00
dillo
03a99c0834 Add a test target to bsd.pkg.mk:
It runs pre-test, do-test, and post-test.  The default pre-test and
post-test targets are empty; the default do-test target runs
TEST_TARGET (in each TEST_DIRS (defaults to BUILD_DIRS)) if it is set
and does nothing otherwise.  Thus the test target defaults to doing
nothing.

  The usual way to use this is to set TEST_TARGET to the target to run
(e.g. TEST_TARGET=check for GNU packages).

  If PKGSRC_RUN_TEST is set to yes (in mk.conf, defaults to no),
the test target is run before install.

(approved by agc)
2002-11-07 04:22:29 +00:00
hubertf
a536eabe59 Actually pass CVS_FLAGS propperly to the su'd "cvs update" 2002-11-03 22:59:21 +00:00
jlam
3ea1f6abe7 When "make install" su's to root, su is invoked with the "-l" option, which
causes the shell environment to be discarded.  This also discards
OBJMACHINE or OBJHOSTNAME, which causes WRKDIR_BASENAME to be different
between the "non-root" and "root" make targets and leads to the breakage
seen in pkg/18879 by Simon Burge.  Fix this by saving the OBJHOSTNAME or
OBJMACHINE setting in MAKEFLAGS so that it is seen even after we "su -l" to
root.
2002-11-01 06:29:23 +00:00
jlam
6bbf080d53 Whitespace and minor cosmetic fixes. 2002-11-01 06:19:47 +00:00
jlam
b954670051 Bump the pth dependency to pth>=1.4.1nb5, which ensures that we have the
latest set of fixes and changes to pth to make it look more like a real
pthreads package.
2002-11-01 06:09:36 +00:00
jlam
730e9ae62a Copy the x11-links tree into ${BUILDLINK_X11PKG_DIR} (${BUILDLINK_DIR})
if the package uses X11 and merge the BUILDLINK_X11PKG_DIR and
BUILDLINK_X11_DIR variables into a single variable: BUILDLINK_X11_DIR.
This creates a one-to-one mapping between X11BASE and BUILDLINK_X11_DIR,
instead of X11BASE mapping to both BUILDLINK_X11_DIR and to
BUILDLINK_X11PKG_DIR.

Remove the now unused II and LL parts of the BUILDLINK_TRANSFORM language.
Add a new "static" keyword to the mini-language and fix building
statically-linked binaries when building with libtool.
2002-10-31 22:14:08 +00:00
agc
d099fcaaac Fix an oversight noticed by the eagle eyes of Nick Hudson - thanks, Nick! 2002-10-31 14:33:50 +00:00
agc
091606dcbc Diffs to support the Wasabi port of the SuperH 5 evaluation board
(sh5el), from Steve Woodford
2002-10-31 13:51:20 +00:00
seb
b641d6bb2d BUILDLINK_X11_DIR also need to be protected. 2002-10-30 14:07:53 +00:00
seb
b2fbdd84be Fix typo:
{II,LL}:src:dst1,dst2 -> {II,LL}:src:dst1:dst2
2002-10-30 11:06:55 +00:00
rh
c60effffcc Add PKGCONFIG_OVERRIDE to get rid of tons of unnecessary patches.
PKGCONFIG_OVERRIDE may contain a list of ".pc.in" pkgconfig template files
that require the addition of -Wl,-R in the pre-configure stage.
2002-10-30 02:25:29 +00:00
jlam
f0f05619c5 Move the sed command in _BLNK_{,UN}TRANSFORM_SED into a sed command files
.transform.sed and .untransform.sed that are generated by a new
gen-transform.sh shell script.  This avoids all of the silliness with
exceeding the length of the value of a make variable that brought about
breaking the original _BLNK_TRANSFORM_SED into _BLNK_TRANSFORM_SED.[1-4].
It's also vastly easier to understand the gen-transform.sh script as
opposed to the juxtaposition of make and sed regular expressions, a.k.a.
massive eyesores, that were in bsd.buildlink.mk.

Also fix the directory protection scheme so that it might actually work
if the pkgsrc directory is a subdirectory of /usr/pkg (${LOCALBASE}).

Lastly, filter out /usr/X11R6 (${X11BASE}) if the package doesn't define
USE_X11.  This should catch packages that use X11 without announcing it,
and avoids one way you can circumvent buildlink2.
2002-10-30 00:23:00 +00:00
bouyer
def1bf2f39 Revert previous. There are extra quotes in COMMENT files created by make
package on NetBSD.
Need to find another way to fix this.
2002-10-28 18:53:37 +00:00
bouyer
ec2b8065fc Add quotes around ${COMMENTS} for PKG_ARGS_COMMON. This is needed for
Solaris's /bin/sh and doesn't do anything bad for NetBSD's /bin/sh.
2002-10-28 17:36:04 +00:00
bouyer
d522c87431 Use ${LOCALBASE}/bin/gtar if it exists. 2002-10-27 18:27:11 +00:00
jlam
36571484d7 Remove comment about filtering out libtool archives that applied to
buildlink1 but is no longer true with buildlink2.
2002-10-23 19:07:56 +00:00
jlam
84c2d05213 Actually glib/buildlink.mk still uses this. Thanks wiz! 2002-10-23 17:50:40 +00:00
jlam
416feb0be7 Unless PKG_RCD_SCRIPTS=YES and RCD_SCRIPTS is non-empty, don't create
${RCD_SCRIPTS_DIR} as it's not used at all.
2002-10-23 17:43:16 +00:00
wiz
b56fb57bf8 Remove USE_LIBINTL and _DO_LIBINTL_CHECKS, which have been replaced
by devel/gettext-lib/buildlink2.mk.
2002-10-23 12:21:29 +00:00
jlam
eb37e4bb5f Only create RCD_SCRIPTS_DIR if RCD_SCRIPTS is defined and non-empty in
the package Makefile.
2002-10-23 01:16:41 +00:00
jlam
a6b9c0d3c0 x11.buildlink.mk is no more so remove checks for X11_BUILDLINK_MK. 2002-10-22 22:57:56 +00:00
jlam
0ebae1a37f Have USE_IMAKE imply USE_X11BASE imply USE_X11. Now we can just check if
USE_X11 is defined instead of USE_X11 || USE_X11BASE || USE_IMAKE.
2002-10-22 22:54:07 +00:00
jlam
ad1b0af1a4 Unused. 2002-10-22 22:08:19 +00:00
wiz
4281bb0656 Remove share/locale per PR 18649 by Lubomir Sedlacik. 2002-10-22 12:53:19 +00:00
seb
fc6bb7b338 Grep for 'Make' in ${GMAKE} --version output for recording its version.
Compare...

$ gmake --version
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for i386--netbsdelf
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
        Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

Report bugs to <bug-make@gnu.org>.

to...

$ gmake --version
GNU Make 3.80
Copyright (C) 2002  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
2002-10-21 21:58:59 +00:00
jlam
4d0aee253b Move X11BASE setting for Solaris to a more appropriate place now that we
don't need to worry about USE_XPM.
2002-10-21 21:46:00 +00:00
wiz
555b0a21c7 Purge unused USE_XPM (use graphics/xpm/buildlink2.mk instead). 2002-10-21 13:58:14 +00:00
wiz
144d00183a Remove traces of now unused USE_XAW. 2002-10-21 01:40:56 +00:00
wiz
022dd28384 Remove (currently unused) USE_LTDL code -- use libtool/buildlink2.mk instead. 2002-10-21 01:23:03 +00:00
wiz
6b9d47990b USE_GLX has been obsoleted a long time ago -- remove it here too. 2002-10-21 01:18:55 +00:00
wiz
16407c1798 Remove USE_MESA -- now unused. 2002-10-21 01:17:11 +00:00
jlam
c2431016c7 Document RPM_DB_PREFIX:
# Used in the rpm package to note the prefix of the path to the RPM
# databases.  The RPM databases are stored in ${RPM_DB_PREFIX}/lib/rpm.
# Possible: any valid location, e.g. ${LOCALBASE}
# Default: /var/pkg
2002-10-20 23:12:50 +00:00
wiz
c56722e180 Use :Q to quote COMMENT. Proposed by Alan Barrett. 2002-10-20 22:19:22 +00:00
jlam
8d07e4003b SAMBA_WITH_MSDFS is no longer needed...samba always builds with MSDFS
support now.
2002-10-20 19:52:29 +00:00
jlam
980f9a3271 SETUID_ROOT_PERMS is a convenience definition to note an executable is
meant to be setuid-root, and should be used as follows:

	SPECIAL_PERMS+= /path/to/suidroot ${SETUID_ROOT_PERMS}
2002-10-20 18:01:47 +00:00
seb
7bb88e29b0 Gmake's configure does not support anymore --disable-nsec-timestamps.
So remove it and associated variable.
2002-10-20 16:45:04 +00:00
wiz
accb9cb69d Remove obsolete USE_FREETYPE2 support; all users have been converted to use
freetype2's buildlink2.mk.
2002-10-20 11:47:04 +00:00
jlam
8f33914f7c Generate the INSTALL/DEINSTALL scripts at post-build time, and use proper
make dependencies to ensure that the actual scripts are up-to-date if the
sources are changed.
2002-10-20 09:10:42 +00:00