Commit graph

1584 commits

Author SHA1 Message Date
dillo
8785e1e286 Welcome to 0.115
- fix errors in extracting patched file's name from old patch files
- keep header (RCS Id and comment) from old patch files
- silence perl -w
2004-10-10 09:56:37 +00:00
jlam
17c3aafac1 * Make PKGSRC_TOPDIR a private variable by renaming it to _PKGSRC_TOPDIR,
as it's only used internally by bsd.prefs.mk.

* Make _PKGSRCDIR a public variable by renaming it to PKGSRCDIR.
  Also, generate its value from ${_PKGSRC_TOPDIR} so it's less fragile
  than the old method of stripping off the last two components of
  ${.CURDIR}.  PKGSRCDIR may now be used after bsd.prefs.mk is defined.

* Change all references to _PKGSRCDIR to PKGSRCDIR.
2004-10-07 02:01:37 +00:00
erh
c76d7fdec0 Make sure to grab the +PRESERVE file too. Bump version to 1.6.3. 2004-10-06 15:27:28 +00:00
erh
08a2194bc1 PR pkg/23719: allow a pkg_install package to be created so a system can be
updated using entirely binary packages.
2004-10-05 21:08:32 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
reed
ccd22e151d Improved DESCRiption (as discussed with maintainer). 2004-10-01 03:00:47 +00:00
wiz
bd73e6e4e2 Capitalize first letter of COMMENT. 2004-09-30 12:43:57 +00:00
wiz
959e52f5a6 Fix typo. 2004-09-27 12:55:00 +00:00
rh
ca4f429d6f Update createbuildlink to 3.7. Properly escape '@exec ${MKDIR}' patterns
now that 'make print-PLIST' handles this.
2004-09-27 00:31:30 +00:00
rh
07e104452d Update createbuildlink to 3.6. This adds a '-p' option to automatically
create PLIST awk substitution patterns for directories created by the
current package.  This is particularly useful for base packages that
create a directory structure that is then used by subsequent (dependent)
packages.
2004-09-26 23:48:09 +00:00
wiz
8510a511d9 3.91:
- added options for enabling/disabling specific checks
- added options for enabling/disabling specific warnings
- improved the --help message
and corresponding man page updates.
From Roland Illig with slight fixes by me.
2004-09-24 15:33:26 +00:00
reed
a4728d7583 Capitalize first letter of COMMENT. 2004-09-23 15:57:40 +00:00
cube
4d10573263 Correct typo. From PR 27010 by Cesar Catrian C. 2004-09-21 07:11:30 +00:00
jlam
0f727aa721 Bump build dependency to latest libnbcompat. 2004-09-11 19:05:16 +00:00
jlam
436503fdba Update pkgtools/libnbcompat to 20040911. Changes from version 20040822
include fixing fgetln() to account for \0 characters due to implementing
it using fgets() (analysis provided by Urban Boquist).  Also add a
definition for __restrict if not present since it is used in the regex
implementation code from src HEAD.

This has been tested to work correctly on:

	FreeBSD-4.8/i386
	NetBSD-1.6.2/i386
	Solaris 9
2004-09-11 19:01:36 +00:00
seb
e3417f07c9 Update to version 3.90. Lintpkgsrc package version comparison bug fix.
When comparing two version numbers vector the shorter one needs to be
extended with 0. Cf. src/usr.sbin/pkg_install/lib/str.c:vtest().

Previously lintpkgsrc considered that 'png-1.2.6', which version vector is
[1,0,2,0,6], is "less" than 'png-1.2.6rc1', which version vector is
[1,0,2,0,6,-1,1]. No wonder lintpksrc -V considered the package png-1.2.6
being vulnerable wrt the 'png<1.2.6rc1' entry in pkg-vulnerabilities files.

While here teach lintpkgsrc about the 'alpha' and 'beta' version elements.
2004-09-05 23:12:36 +00:00
abs
797098bfe4 Update pkg_chk to 1.51:
Rather than leaving -- as the only argument and checking for one argument,
shift it away and check for zero remaining arguments.
2004-09-03 10:19:17 +00:00
jlam
4315850032 Change the way that we disable unwanted code regions... just #undef _LIBC. 2004-08-31 17:55:17 +00:00
jlam
eecdcc3e52 Don't use .PHONY, which isn't understood by every make. Split out the
"all" target as the first one so that a bare "make" will build the "all"
target by default.  This should fix problems seen on AIX 5.1.
2004-08-31 17:40:41 +00:00
grant
b6a26574d9 extract OPSYS, OS_VERSION and MACHINE_ARCH from pkgsrc so the values
are consistent with pkgsrc. welcome to pkg_chk 1.50.
2004-08-28 23:10:34 +00:00
gavan
43dd935ff8 Add pkg_regress, a regression testing system for the pkgsrc infrastructure.
Tests are found in pkgsrc/regress, tests are run by executing pkg_regress.

Based on an idea discussed at pkgsrcCon 2004. Thanks to dillo@ for review
and refinements, and to jlam@ for review.
2004-08-28 00:26:57 +00:00
reed
dc3fff158e Slight addition: (such as rc.d startup and shutdown scripts). 2004-08-27 17:13:20 +00:00
reed
98feb89199 Add sysutils to categories. 2004-08-27 17:08:07 +00:00
jlam
ca70938428 Replace RPATH_FLAG with LINKER_RPATH_FLAG and COMPILER_RPATH_FLAG,
which are the full option names used to set rpath directives for the
linker and the compiler, respectively.  In places were we are invoking
the linker, use "${LINKER_RPATH_FLAG} <path>", where the space is
inserted in case the flag is a word, e.g. -rpath.  The default values
of *_RPATH_FLAG are set by the compiler/*.mk files, depending on the
compiler that you use.  They may be overridden on a ${OPSYS}-specific
basis by setting _OPSYS_LINKER_RPATH_FLAG and _OPSYS_COMPILER_RPATH_FLAG,
respectively.  Garbage-collect _OPSYS_RPATH_NAME and _COMPILER_LD_FLAG.
2004-08-27 06:29:06 +00:00
jlam
7dedaad0c3 Correct name of script in mtree2nbcompat. 2004-08-27 03:19:29 +00:00
jlam
d3019ed1f6 autconfiscate, and add a rcorder2nbcompat script to ease importing from
src HEAD.
2004-08-27 03:06:07 +00:00
schmonz
d60ad2662c USE_BUILDLINK3 is yes/no. 2004-08-27 02:19:44 +00:00
jlam
9236ee1248 USE_BUILDLINK3 is yes/no. 2004-08-27 02:17:05 +00:00
schmonz
a5717dd63e A more representative date is 20031013, when the most recent commit
to src/sbin/rcorder occurred.
2004-08-27 02:09:26 +00:00
schmonz
60ea83ba4a Add and enable rcorder. 2004-08-27 01:51:00 +00:00
schmonz
80c075588d Initial import of rcorder from NetBSD-current, using libnbcompat.
rcorder is designed to print out a dependency ordering of a set of
interdependent files. Typically it is used to find an execution
sequence for a set of shell scripts in which certain files must be
executed before others.
2004-08-27 01:49:15 +00:00
grant
8978d686c7 regen pkg_info.cat1 after last update to man page source.
while here, regen all catman pages on NetBSD-current w/ groff 1.19,
the output is much improved over groff 1.16.
2004-08-26 09:34:58 +00:00
wiz
6e542aebd8 Apply two patches from Roland Illig:
First two chunks of diff: Fix for perl-5.6.1; addresses PR 26718.
Remainder:
- made $category a local variable of checkfile_Makefile
- redefined the meaning of the return value of the check_* subs
(siehe Zeile 37 des Patches)

Welcome to 3.89.
2004-08-24 15:18:29 +00:00
snj
9a1b6c9803 Suck in recent minor changes made to this file. 2004-08-23 19:52:59 +00:00
cube
49b00b88c3 Pull-up -R descripion change from src tree. 2004-08-23 19:41:55 +00:00
jlam
01441c804d Fix minor problem in #if condition. 2004-08-23 03:49:05 +00:00
jlam
f8dd961144 Update pkgtools/libnbcompat to 20040822. Changes from version 20040814
include:

* Rework the way that poll() is detected so that it more closely
  follows how the rest of the replacement functions are detected.

* Split err*() and warn*() functions into separate err.c and warn.c
  files so that we can more finely isolate the objects files pulled
  in by the linker.  This should fix building textproc/nbsed on Solaris.

* Move more definitions from nbcompat.h into nbcompat/*.h.  This makes
  it more clear which NetBSD headers are expected to provide which
  function declarations and macro definitions.

* Clean out nbconfig.h by moving all of the relevant definitions into
  the correct nbcompat/*.h files.

* Update all of the library functions to the latest from src HEAD.
  Also change the way that sources are modified when imported -- we
  now include <nbcompat.h> before the first system header, include
  <nbcompat/*.h> versions of headers instead of system ones where
  available, and "#if 0" the sections that make no sense when being
  built outside of the NetBSD source tree.  This should make future
  updates from src HEAD, e.g. for security updates or bug fixes,
  easier.

* Move all private headers into a subdirectory and include the headers
  from the private directory.  This avoids any nameclashes with system
  headers with the same name.
2004-08-23 03:32:12 +00:00
jlam
d8c0df9fe5 Fix error in the use of "next"... it means to skip the line, not skip to
the next pattern.
2004-08-21 18:21:47 +00:00
jlam
a44209eeac Fix the version number of the package in the configure script, and modify
the Makefiles so that they can be built by really basic make programs.
Move the awk script in the Makefile into a separate file for clarity, and
so that really basick make programs won't choke on the continuation lines.
2004-08-21 06:36:13 +00:00
jlam
683567c435 Fix the version number of the package in the configure script, and modify
the Makefiles so that they can be built by really basic make programs.
2004-08-21 06:33:39 +00:00
jlam
088679d3e7 Alphabetize list of headers. 2004-08-21 05:12:10 +00:00
jlam
3ccb17c634 Remove checks for some never-used headers. 2004-08-21 05:09:06 +00:00
jlam
4bb76e71bf Wording nit in comments. 2004-08-21 04:17:31 +00:00
jlam
9488cfa145 Update pkgtools/mtree to 20040722 (the latest on src HEAD). Changes
from the previous version include:

- Add a mtree2nbcompat script to ease importing from src HEAD into
  pkgsrc.

* Implement -M to "merge" entries, even with different types.  This
  can be used in /etc/security to allow special.local to override
  types of entries in special (e.g, replacing a dir with a link).

* Rename Wflag to mtree_Wflag, to be more "external namespace" friendly.
2004-08-21 04:10:40 +00:00
schmonz
f97318a24f Fix a spell-o and add a strategically valuable comma. 2004-08-20 23:30:30 +00:00
jlam
5840d5f65d Deal with HAVE_NBTOOL_CONFIG_H in some sources on the HEAD. 2004-08-20 23:10:32 +00:00
jlam
7ed95560bf Add a script that imports from src HEAD to a named directory. 2004-08-20 22:27:12 +00:00
jlam
1a0833e181 Allow copying individual files instead of whole directory trees. 2004-08-20 22:22:24 +00:00
jlam
cc4b314fcf Update pkgtools/pkg_install to 20040813 (latest release from the HEAD
branch of src).  Changes from version 20040730 include:

Modify pkg_info so that it will only print information on uninstalled
binary packages in the current working directory if -. is given on
the command line. If no -. is given, pkg_info will look for its
information in the ${PKG_DBDIR}.  This addresses a long-held gripe on
the part of a number of people, including myself (agc), which completely
violated the POLS.

Add a -q switch to pkg_admin, which allows it to work in a quiet
manner.  Fixes the change request in PR 26583, but in a different
manner, preserving existing behaviour and making the new behaviour
dependent upon a command line option.
2004-08-20 20:09:53 +00:00
schmonz
d84a5f8de7 Works on Interix 3.5. 2004-08-19 22:15:31 +00:00
schmonz
3a05906cf0 Works on Red Hat Enterprise Linux 3. 2004-08-17 23:38:21 +00:00
jlam
80739d5835 Update pkgtools/libnbcompat to 20040814. Changes from version 20040813
include:

    * Adding a regex(3) implementation for those platforms that don't
      have one, e.g. IRIX 5.3.

    * Allow nbcompat.h to be included multiple times in case it's needed
      to override values of set by config.h in bootstrap packages.  This
      should fix problems with building pkg_install and pax on platforms
      that have /usr/include/glob.h.

    * Remove namespace.h, which should be a no-op since we're building
      a userland library separate from the NetBSD sources.

    * Remove HAVE_CONFIG_H checks from sources since we're always going
      to have and and we're always going to be including it.

    * Rename all inclusion guards in nbcompat/*.h to be _NBCOMPAT_*_H_ so
      that it won't get triggered by any settings in system headers.

This has been tested on:

	FreeBSD-4.8/i386	Debian Linux 3.0 (woody)
	IRIX 6.5		MacOS X 10.2.8
	MacOS X 10.3.5		NetBSD-1.6.2/i386
	NetBSD-2.0_BETA/i386	Red Hat Linux 7.3
	Solaris 7/sparc		Solaris 8/sparc
	Solaris 9/sparc
2004-08-16 17:24:42 +00:00
dillo
fc9e44fcdd mkpatches: if a patch for a file exists, give the new patch the same name
bump version to 0.114
okayed by wiz
2004-08-15 16:49:49 +00:00
jlam
e2418fd787 Convert to use libnbcompat/inplace.mk. 2004-08-14 02:33:51 +00:00
jlam
896e92919d If LIBNBCOMPAT_STYLE is set to "inplace", then build and use a local
version of libnbcompat instead of requiring libnbcompat to be installed.
This simplifies testing of bootstrap packages without root privileges
on a system that has already been bootstrapped.
2004-08-14 02:33:32 +00:00
jlam
8d575590f5 Add a Makefile fragment that can be used in place of
libnbcompat/buildlink3.mk where it is included.  This can be used to
build a bootstrap package without needing to install libnbcompat.
2004-08-13 22:34:28 +00:00
jlam
620def390e Check for very system headers used in the sources. 2004-08-13 14:56:18 +00:00
jlam
b41799e081 Typo: it's <regex.h>, not <regext.h>. 2004-08-13 14:49:59 +00:00
jlam
92b94878f8 Add checks for all of the system headers used in the sources. Also include
missing <netdb.h> in lib/ftpio.c for MAXHOSTNAMELEN definition on Solaris.
2004-08-13 14:35:24 +00:00
jlam
bf82bab34a Note working status on Solaris 2.7 (from PR pkg/26625). 2004-08-13 14:18:44 +00:00
jlam
9005f5c368 Update pkgtools/libnbcompat to 20040813. Changes from version 20040809
include working around an apparent bug in an autoconf macro defined in
aclocal.m4.  This should now cause getopt_long() to be built on systems
that are missing getopt.h.  This version of libnbcompat has been tested
on the following platforms:

	FreeBSD-4.8/i386
	MacOS X 10.2.8
	NetBSD-1.6.2/i386
2004-08-13 04:38:02 +00:00
wiz
4f830c348d Update to 0.2: also search in pkgsrc-wip.
Update from iMil via pkgsrc-wip.
2004-08-12 13:15:45 +00:00
jlam
7ed2eb6ab1 Verified to build on OpenBSD-3.3/i386. 2004-08-11 21:20:30 +00:00
wiz
3276480074 Another refactoring patch from Roland Illig:
more oop; move line functions into own module.
2004-08-11 11:53:25 +00:00
jlam
079bcd0779 Update pkgtools/libnbcompat to 20040809. Changes from version 20040805
include:

   * Re-adding a default value for pkg_use_nbcompat_vis; this was
     causing the configure script to fail on platforms that had funky
     versions of vis().  This should fix reported problems on Solaris 8
     and on IRIX 5.3.

   * Added setgroupent() and setpassent() compatibility functions so
     that pwcache.c will build without complaining about an incompatible
     pointer type assignment.

   * Remove unused tests for <arpa/nameser.h>, <netdb.h>, h_errno and
     hstrerror().  These were originally used to bootstrap lukemftp, but
     tnftp doesn't need libnbcompat to build nowadays, so we don't need
     these anymore.

   * Cleanup: in cases where we test for a function using AC_REPLACE_FUNCS,
     move the function prototype into a nbcompat header that is the
     same name as the NetBSD header that contains that declaration,
     and include that file in place of the original one within
     nbcompat.h.

This version has been tested to build on the following systems:

	FreeBSD-4.8/i386	NetBSD-1.6.2/i386
	FreeBSD-5.2.1/i386	NetBSD-2.0_BETA/i386
	IRIX 6.5		Red Hat Linux 8.0
	MacOS X 10.3.4		Solaris 8
	MacOS X 10.3.5		Solaris 9
2004-08-10 18:47:55 +00:00
wiz
a22c2cf461 Another refactoring patch from Roland Illig applied. 2004-08-10 10:07:20 +00:00
cube
1a5d6acbd1 Gross hack to prevent quoting errors when root's shell is the unfamous csh.
Should hopefully fix PR 26551, but if anyone has a better solution, or is
willing to do the necessary work to allow pkg_tarup to be run by any user,
ideas are welcomed.

Say hi to version 1.6.2.
2004-08-09 21:13:37 +00:00
jlam
52c8d0ef3c Mimic how bsd.pkg.mk calls the GNU configure script in do-configure when
configuring libnbcompat.  This adds more things to the environment, e.g.
AWK, CFLAGS, CPPFLAGS, etc.  This should fix problems building on IRIX 5.3
where the system nawk wasn't being properly found.
2004-08-09 06:21:24 +00:00
wiz
0e61bc2045 Apply patch from Roland Illig, in private mail:
- replaced literal "1" and "0" by "true" and "false" where appropriate

No functional change, thus no PKGREVISION bump.
2004-08-08 22:57:04 +00:00
jlam
fa97dd7fdd Sync with version 20040730 from src/usr.sbin/pkg_install on the HEAD:
> Re-work the code which checks the recorded build versions of a binary
> package to make pkg_add work properly when no +BUILD_INFO file exists.
>
> Modify the return value from read_buildinfo() to return 1 for success
> and 0 for failure.
>
> Use symbolic constants, rather than integers.
>
> If we can't read the build information, always tell of this fact.
>
> Bump version to 20040730
>
> Addresses PR 26429; a different version of these mods were verified to
> allow a +BUILD_INFO-less binary package to be added by Martin Husemann.
2004-08-06 16:57:03 +00:00
jlam
d80f435723 Update pkgtools/libnbcompat to 20040805. Changes from version 20040512
include:

  (1) Add a statvfs() implementation based on statfs(), and remove the
      statfs() NetBSD-compatibility implementation.  statvfs() is used
      in src/usr.sbin/pkg_install on the HEAD branch.

  (2) Add a fnmatch() implementation, needed by IRIX.  fnmatch() is used
      in src/usr.sbin/pkg_install on the HEAD branch.

  (3) Remove fseeko(), inet_ntop(), inet_pton(), sl_*() strptime(), and
      timegm() as they're not used by any of the bootstrap packages that
      require libnbcompat (pax, mtree, pkg_install).  All that's left is
      what's necessary to bootstrap those three packages.
2004-08-06 16:55:06 +00:00
schmonz
cc44d60978 This appears to work on Darwin as well. Respect RCD_SCRIPTS_DIR. 2004-08-01 08:56:10 +00:00
xtraeme
fb4351fba7 I don't know why, but using XFree86 or xorg from pkgsrc, doesn't get
the correct link flags, anyway adding ExtraLoadFlags seems to fix this.

Bump version to 1.12 (XFree86/xorg fix).
2004-07-31 01:42:06 +00:00
wiz
cd1ea8d961 Bump date for previous. 2004-07-28 11:01:18 +00:00
atatat
8e5eea93aa Teach pkgdepgraph now to understand the output of lintpkgsrc -g. This
particular data set has the current directories under ${pkgsrc} for
all known packages, unlike the location of where the package lived
when you built it.  It may have moved, you see.  This makes it
possible for pkgdepgraph to rebuild (so to speak) packages that have
moved.

And now there are 2.7.
2004-07-28 01:42:43 +00:00
agc
7aa093c24e Catch up with changes to the pathnames of postgres packages. 2004-07-27 17:59:58 +00:00
grant
9d4a06c7ba handle X.org 6.7 and treat it the same way as XFree86 4.4 for the
moment.
2004-07-24 07:00:39 +00:00
atatat
e3621ea59d Add binpatch 2004-07-23 03:41:47 +00:00
atatat
a52703912f A small package to arbitrary tiny patches to binaries (where the
source cannot otherwise be patched).
2004-07-23 03:37:26 +00:00
jmmv
2e523147e9 Fix a minor typo. 2004-07-21 22:27:35 +00:00
xtraeme
478499e6f4 Enable pkgviews installation. 2004-07-19 23:17:16 +00:00
xtraeme
9b7fd8ff8f Added pkgse-0.1 2004-07-19 23:15:45 +00:00
xtraeme
9b420f2eb8 Initial import of pkgse-0.1 from pkgsrc-wip, contributed by iMil.
pkgse is a simple perl script that fetch informations about a NetBSD package
from pkgsrc.netbsd.se website.
2004-07-19 23:13:51 +00:00
erh
85a992eb48 Fix bug in handling of wildcarded package names on the command line.
Bump version to 1.6.1
2004-07-19 17:38:36 +00:00
wiz
df7e861d9f Update to 3.88:
Fix some bugs wrt MESSAGE and PLIST checking.

From Roland Illig in private mail.
2004-07-14 17:43:43 +00:00
wiz
c736613b06 Sort options; sort SEE ALSO; new sentence,
new line; miscellaneous other fixes.
2004-07-14 16:51:05 +00:00
erh
4a08154cb6 Update pkg_tarup to 1.6.
Add several command line options to control how and where pkg_tarup creates
 packages.  pkg_tarup is now functional enough that pkg_tarup_all just runs it.
Add various bits of quoting to make packages that contain filenames with
 spaces more likely to work.
Add a man page.
2004-07-14 16:08:48 +00:00
snj
568ec1e1b3 agc says we do not want binary mode files in the pkgsrc repository, so
let's not suggest using -ko.

Welcome to 3.87.
2004-07-10 05:55:50 +00:00
hubertf
1a1af65ff9 Code cleanup, by Roland Illig. More to come.
Bump to 3.86.
2004-07-09 00:18:28 +00:00
wiz
7df01041ca buildlink2 -> buildlink3. 2004-07-06 23:39:40 +00:00
wiz
9f9244dd81 Remove support for creating buildlink2.mk files.
Make buildlink3.mk file output the default, and ignore any "-3" flags
on the command line for people who can't change their habits quickly.
Increase version to 3.5.
2004-07-06 23:18:04 +00:00
wiz
546b8ebebf Look for buildlink3 instead of 2, and complain about USE_BUILDLINK2 being
set. Welcome to 3.85!
2004-07-06 23:07:35 +00:00
wiz
a0b0e370e1 Convert to bl3. 2004-07-06 22:13:14 +00:00
cube
28792806d7 o Allow use if sysctl for MIBs shorter or longer than 2
o Instead of returning an error, pass the control to the actual call. This
  avoids a failure in make because of broken uname() when libkver is used.

OK'd by seb@.
2004-07-06 09:45:38 +00:00
abs
5e6ca54461 Update pkglint 3.84
Parse Make .{if,endif,else,elif,include} directives which
    contain a space between the . and the directive. Fix an include
    path issue which this threw up. Now 'lintpkgsrc -d' correctly
    extracts the PKGNAMEs for the gcc3 packages.
    It still doesn't understand 'dewey' versions with alpha chars, or
    some of the more interesting makefile constructs, but it looks closer
    to reality.
2004-07-01 20:14:58 +00:00
hubertf
7018e1c7fc Update pkglint to 3.83. Changes:
- made the program compile with "use strict"
- completely rewrote some subs to make the code more readable
- converted the global ("local") variables into local ("my") ones ;-)
- limited the scope of variables where possible
- added file and line number to the error messages where possible

Patch contributed by Roland Illig in private mail.
2004-06-30 18:49:36 +00:00
abs
d35589253f Update pkg_chk to 1.49:
When -v (verbose) is given with -l (list binary packages required for
    target config), display which package pulled in a particular dependency
2004-06-30 09:53:42 +00:00
hubertf
e2cc546ce5 Update to 3.82, committing yesterday's changes from Roland Illig.
Changes:
- Handle a rarely used patch format correctly
- Do not output superflouus linebreaks anymore
- Check the contents of the COMMENT field only if it exists
- Handle invalid dependency specifications correctly
- Correctly handle Makefile variables ordering
- Output complete filename of absolute filenames
- Added a new scheme for loading text files into memory so that the
  location of an error or warning can be given exactly (file + line) to
  the user.
- Refactored the checkfile_patches_patch subprogram to use the new text
  file processing and to make clearer what is checked.
2004-06-28 14:33:47 +00:00
abs
2a71890df1 Update pkglint to 3.81
- Rework undefined variable handling. Fixes issue introduces in 3.80
    - Never run a pkg_info in pkgdistdir. Avoids a serious misfeature of
      pkg_info whereby it looks for a package in the current directory
      by default.
2004-06-28 09:55:44 +00:00
abs
1283b608f0 Update pkglint to 3.80. Changes to lintpkgsrc.
- Append appropriate dirs to path - should fix pkg/23534
 - Undefined variables evaluate to blank not UNDEFINED - should fix pkg/24475
 - Handle ${C and ${S constructs that use separators other than /
 - Slightly more debugging
 - die if uname fails
2004-06-27 22:47:38 +00:00
grant
c0f5eb9d9a don't pass gcc specific flags.
XXX this is still bogus because it passes -fpic to generate pic code
to build a shared obbject which is not always desired (eg. Interix).
2004-06-27 13:40:20 +00:00
hubertf
3e7babfcb5 Update to pkglint 3.79
== functional changes ==
- prints the various "OK: ..." messages only when called with "-v".
- prints a summary after pkgsrc category checks
- fixed a bug for commented category entries (in line 1718)
- removed the option "-q". It has become unnecessary

== refactoring ==
- more consistent naming scheme for variables and functions
- replaced some "local" with "my" when possible
- clustered the variables that are processed by the ${SED} commands
- provided function prototypes for argument checking
- replaced the old perror by log_{error,warning,info}.
- Avoided the (implicit or explicit) use of $_ in many places

Patch contributed by Roland Illig via private mail.
2004-06-26 18:53:17 +00:00
hubertf
5f67629488 Commit patch from PR 25222 by Roland Illig:
* use strict mode (already found one error... hi wiz!)
 * add -q (quiet) flag
 * Identifie if patch files don't patch any or more than one file
2004-06-25 19:03:26 +00:00
xtraeme
adb7d70024 + pkgclean, pkgfind 2004-06-22 20:06:11 +00:00
xtraeme
cfa234c781 Initial import of pkgclean-20040622 from pkgsrc-wip, written by
Peter Postma.

pkgclean cleans up your pkgsrc by removing the work directories.
It's a fast alternative for ``cd /usr/pkgsrc && make clean''.
2004-06-22 20:02:41 +00:00
xtraeme
17e9870aaf Initial import of pkgfind-20040622 from pkgsrc-wip, written by
Peter Postma.

pkgfind can find packages in pkgsrc.  It tries to find packages which
matches a keyword in the package name.
2004-06-22 20:01:01 +00:00
minskim
c1bfff64bb Let xpkgwedge to create a symlink ${PREFIX}/bin/mkfontscale, which is
required to install fonts/jmk-fonts and fonts/sgi-fonts with recent X.
Suggested by Kibum Han.

Also add mkfontscale to CONFLICTS because mkfontscale installs
bin/mkfontscale.

Bump PKGVERSION to 1.11.
2004-06-15 02:27:10 +00:00
jmmv
07f6381c77 Update to 1.19 (ok'ed by agc@, as we are in a freeze):
- Ensure that the first attempt to build pkgtools/digest inside the
  chroot works by explicitly setting PKGSRC_COMPILER to gcc (pkg_comp
  assumes NetBSD in lots of places, so this assumption is acceptable).

  It was failing because it set PKGSRC_COMPILER to the empty string in
  the environment, which breaks the build.
2004-06-10 09:16:48 +00:00
schmonz
368a1c6355 Warn if a file is marked executable. Welcome to 3.77.
It's misleading to have uninstalled rc.d scripts in ${FILESDIR}
marked executable just because they were inadvertently committed
that way; they need to be processed by the install machinery in
order to work.

Since we set desired permissions at install time, it's generally
best to avoid having "executable" files in pkgsrc (with the notable
exception of pkglocate, which runs in place).

For files not yet committed, please correct the permissions before
committing. For files already in the repository, you'll need help
from an administrator.
2004-06-06 16:37:53 +00:00
wiz
2c170153bc regen. 2004-06-06 04:09:09 +00:00
wiz
a0bef6e143 Fix two xrefs, and remove trailing whitespace. 2004-06-06 04:08:18 +00:00
atatat
14b0f0140f Add "impact" as a consideration for rebuilding packages. Impact can
either indicate how involved the rebuild process is (how many
interrelated packages can be deleted/rebuilt at once) or specific
packages you do not want to impact (like...perl?).

Welcome to 2.6.
2004-06-05 06:17:37 +00:00
jmmv
2d370bcf31 s/netbsd/NetBSD/ in email address. 2004-06-04 16:17:13 +00:00
minskim
d9205a030c Import 20040601.
- Handle symlinks in a view correctly.
  - Remove superfluous escapes in BRE.

This closes PR pkg/24190.
2004-06-01 17:32:20 +00:00
minskim
2b6ee83857 Use statvfs if sys/statvfs.h is available. Based on patches provided
by Kibum Han in PR pkg/25560.

PKGVERSION will be bumped shortly when 20040601 is imported.
2004-06-01 17:29:09 +00:00
tron
d682e72d67 Update "rpm2pkg" package to version 2.1:
- Improve I/O buffer mangement.
- Don't put "@exec" and "@unexec" in the package list for symbolic links
  which point to normal files. This allows the automatic manual
  decompression to handle symbolic links to manual pages correctly.

The update fixes PR pkg/25723 by Kouichirou Hiratsuka.
2004-05-27 10:28:00 +00:00
danw
a004c74eac print "can't strip away rcs ids" message to stderr, not stdout 2004-05-23 21:55:47 +00:00
heinz
23c1021c80 Use option "-r" instead of "-e" for ${TEST} since this is not portable to some
operating systems (eg UnixWare).
2004-05-15 13:57:12 +00:00
salo
b2da799f0f Back out changes made in 3.75, it's too slow for lintpkgsrc. Make it 3.76. 2004-05-13 10:46:01 +00:00
grant
32e2857685 bump to 20040512 (another poll.h fix) 2004-05-12 21:51:08 +00:00
grant
57355eed05 don't include poll.h or sys/poll.h, but instead, undefine HAVE_POLL_H
and HAVE_SYS_POLL_H if we don't have a native poll() implementation.
prevents including of libnbcompat's poll.h as well as the system's
poll.h where we should be ignoring the system's poll.h.

fix tested by Jeff Rizzo on MacOSX 10.3.3.
2004-05-12 21:50:43 +00:00
salo
6fbe8cb2a7 Welcome to 3.75.
Use real value of PKGNAME, suppress bogus warnings when PKGNAME is created
from altering DISTNAME with make modifiers (e.g., S or C).
2004-05-10 08:53:05 +00:00
atatat
c206ac21df The existence of the kde-i18n-sr@Latn pkg makes it clear that _pkg
also needs escapement treatment so that the eval doesn't barf.  Since
_ver is the only thing left, do that one, too.  This makes 3.74.
2004-05-10 00:19:43 +00:00
wiz
83b1cb95f4 Unused. 2004-05-09 22:39:55 +00:00
abs
98d45c8b05 Update pkg_chk to 1.48
Fix awk usage for nawk in 2.0
2004-05-09 17:56:17 +00:00
jschauma
c214c1eb69 Resurrect do-extract target, following atatat's advice.
This way, sources are extracted first as any other package, allowing for
local patches.
2004-05-09 05:13:24 +00:00
grant
c50af98acb sync with src/ rev. 1.101:
fix typo.
2004-05-08 16:54:28 +00:00
jlam
fe56564bbd Import pkg_install-20040508. Fixes the -N flag to not cause the -Q
codepath to be executed by correcting the SHOW_* macro definitions.  Also
fix up some function prototypes so this builds with -Wall.  Fixes from
pkg/25494.
2004-05-08 14:51:23 +00:00
jlam
6d1d20e2c3 Import pkg_install-20040507 from src/usr.sbin/pkg_install:
Add a new flag -Q (for "query") to pkg_info(1) to query the build
information for the definitions of specific variables that were saved
from build time, e.g.

	$ pkg_info -Q PKGPATH glib
	devel/glib
	$ pkg_info -Q PROVIDES glib
	/usr/pkg/lib/libglib.so.13
	/usr/pkg/lib/libgmodule.so.13
	/usr/pkg/lib/libgthread.so.13
2004-05-07 16:40:41 +00:00
tv
36e9aa6dbf 1.10: Add a chunk of shlib override make-code to make this work on Interix,
and patch site.def (but differently from how it is patched on OpenWindows).
2004-04-30 19:44:21 +00:00
tv
930f375cd4 20040428: In pkg_add, set the umask nice and early, and remove an absolute
setting of mode in a mkdir command.
2004-04-28 15:38:17 +00:00
tv
238a2b31dc Obey additional bits of CONFIGURE_ENV when configuring libnbcompat. 2004-04-28 11:10:37 +00:00
tv
932d9603ec "${ECHO} -n" -> "${ECHO_N}" 2004-04-27 18:33:52 +00:00
dmcmahill
50af634b67 use grep >/dev/null instead of grep -q for the benefit of solaris 2004-04-27 03:51:24 +00:00
wiz
ed85bb3137 Convert to bl3. 2004-04-25 11:50:39 +00:00
grant
010b8db118 fix a sentence, fix a typo, s/netbsd.org/NetBSD.org/ 2004-04-24 10:53:03 +00:00
reed
ad63b80827 pkglint now reports if sees etc/rc.d in Makefile or PLIST.
Should use RCD_SCRIPTS mechanism (which can automatically
install to ${RCD_SCRIPTS_EXAMPLEDIR}) which automatically
registers the rc.d script(s) in the PLIST.

New version is 3.73.
2004-04-24 00:17:19 +00:00
grant
c7c360f8eb make sure we define HAVE_POLL if a usable poll() implementation is
found, and re-arrange the test a little for clarity.

fixes build on (at least) FreeBSD 5.x.
2004-04-23 11:42:46 +00:00
tv
3fa7f59e65 Sync to 20040421: fix an uninitialized array member access in pkg_add. 2004-04-21 20:11:55 +00:00
wiz
057018bdaf 1.5.2: Use proper number of dollars for variable.
Reported by Kouichirou Hiratsuka in PR 25259.
2004-04-20 16:26:07 +00:00
grant
faed5ac7c6 bump version to 20040420 (Darwin 7 poll() fix). 2004-04-20 12:14:44 +00:00
grant
5ff49d0108 workaround poll() being a compatibility function on Darwin 7
(MacOSX 10.3) by adding a custom test for _POLL_EMUL_H_ which is
defined in poll.h on some MacOSX 10.3 systems.

not all 10.3 systems have poll.h, so only do the poll() test if at
least one of the header files is found.
2004-04-20 12:13:05 +00:00
grant
89ad0dbc4e no need to test for poll() twice. 2004-04-20 10:45:48 +00:00
heinz
afc767e6bc Include limits.h if available to shut down warnings about UINT_MAX on
Unixware.
Also tested on Linux, Solaris and NetBSD.
2004-04-18 06:02:19 +00:00
seb
e29c7652a0 Update to version 3.72.
Use more portable Cwd::cwd() instead of $ENV{'PWD'}
2004-04-17 17:26:40 +00:00
heinz
0f9f9185be Use statvfs on UnixWare, similar to Solaris and IRIX. 2004-04-16 23:59:32 +00:00
heinz
e1cd632373 Introduce HAVE_FILE_FLAGS if the system declares UF_SETTABLE and SF_SETTABLE
in addition to member 'st_flags' of struct stat. Use HAVE_FILE_FLAGS instead
of HAVE_STRUCT_STAT_ST_FLAGS.
This avoids confusion on UnixWare which has 'st_flags' but does _not_ support
file flags.
2004-04-16 23:43:36 +00:00
jmmv
329d10ab29 Update to 3.71: print a fatal error if there are any direct dependencies to
the -dirs packages.  Suggest usage of USE_DIRS instead.
2004-04-15 09:41:22 +00:00
abs
82516b2772 Update pkg_chk to 1.47:
- Substitute in @SH@, to ensure we get a sane shell on Solaris
	  From Ben Secrest
2004-04-13 14:36:23 +00:00
schmonz
eab3e5b69c Convert to buildlink3 and enable pkgviews installation. 2004-04-13 02:27:46 +00:00
jmmv
c763264884 Update to 3.70: give errors if the package installs documenation files under
PREFIX/doc or if it registers configuration files in PREFIX/etc (because it
does not honour PKG_SYSCONFDIR properly).
2004-04-12 08:52:14 +00:00
salo
39edd2c1a3 Check for pkgsrc-wip remnants. Welcome to 3.69. 2004-04-12 01:02:19 +00:00
jschauma
1d366a4215 Add pre-generated .0 manpages; only regen under SunOS or AIX. 2004-04-11 21:35:21 +00:00
jschauma
72a9791f20 Add a pre-generated .0 manpage; only regen under SunOS or AIX. 2004-04-11 21:29:52 +00:00
jschauma
d94a9697a9 Add pre-formatted catman pages, so we don't rely on the OPSYS providing
nroff, nor do we need to depend on textproc/groff.
Regen .0 pages under SunOS and AIX as for audit-packages.
2004-04-11 18:29:34 +00:00
rh
c7e5425240 Update pkg_install to 20040411, pulling up the changes in the NetBSD source
tree:

Make pkg_add recognise binary packages built with ignored recommendations
(IGNORE_RECOMMENDED set in the presence of RECOMMENDED pre-requisites).
This change is fully backward-compatible: binary packages have set the
corresponding BUILD_INFO since RECOMMENDED was implemented.  Packages
built before that time will install as before.
Bump PKGTOOLS_VERSION to 20040411.
This closes PR pkg/24712 by Thomas Klausner.
2004-04-11 06:56:11 +00:00
snj
118b6ca25a Convert to buildlink3. 2004-04-11 01:54:20 +00:00
rh
9d4fdc97d6 Update url2pkg to 1.25. The only change is that this now sets
USE_BUILDLINK3 instead of USE_BUILDLINK2.
2004-04-11 00:48:51 +00:00
tv
5f8f17eb0b Merge 20040409: Parameterize the umask calls so that defs.*.mk can change
it on a per-opsys basis (and so that mk.conf can override it to match what
the pkgsrc builder is using).
2004-04-09 18:38:12 +00:00
abs
d913adcace Update pkg_chk to 1.46:
- Fix nawk issues (NetBSD-2.0 and Solaris) - Fixes PR pkg/24931
    - Fix inverted -k test when generating list of binary packages
    - Misc cleanup & removal of debugging entry
2004-04-08 18:48:53 +00:00
agc
2a8f9c23d4 Bring over a fix from main sources:
revision 1.5
date: 2004/04/06 05:56:07;  author: agc;  state: Exp;  lines: +14 -11
Fix signature verification after pkg_add and friends were changed to use
fexec() - trying to exec "gpg --verify %s" won't work with fexec, so split
up the command into separate words.
2004-04-07 22:44:23 +00:00
jmmv
e4b165c217 It's INSTALLATION_DIRS, not INSTALL_DIRS. 2004-04-07 20:16:14 +00:00
jmmv
44a715b2b3 Update to 1.18:
- Make kern-GENERIC.tgz part of the default SETS value, so that we get a kernel
  inside the chroot.  If the user removes it from the list, and no /netbsd file
  exists after extraction, create an empty /netbsd kernel.
  This fixes packages that look for a kernel during compilation, like net-snmp.
  Found by cube@.
2004-04-02 18:03:01 +00:00
jlam
88588c9c0b Use "XF86_VERSION" instead of "_XF86_VERSION" as the variable name since
we use it in several places within pkgsrc as a public variable.
2004-03-30 17:04:06 +00:00
tv
9e75df93f9 Sync with 20040330. 2004-03-30 15:28:08 +00:00
tv
225ca50407 Remove warning on Interix; OK'd by hubertf. 2004-03-29 20:28:05 +00:00
tv
b8ca4f15f3 Remove umask call and remove warning on Interix; OK'd by hubertf. 2004-03-29 20:27:46 +00:00
jlam
6d92080aa2 Match the template builtin.mk file in bsd.builtin.mk, and make the two
packages that use builtin.mk files (graphics/xpm and pkgtools/x11-links)
use the new format correctly.
2004-03-29 05:43:28 +00:00
schmonz
99681e8cde Enable pkgviews installation. 2004-03-29 03:28:49 +00:00
tv
857ccccb5d Eek, revert previous; these weren't supposed to be committed. 2004-03-29 02:25:06 +00:00
tv
1ccbfa9d6c Obey CPPFLAGS. 2004-03-29 02:24:11 +00:00
grant
f2d85b7aed add missing DESCR to DISTFILES. 2004-03-28 02:43:21 +00:00
grant
35c826f6a5 sync with ../DESCR 2004-03-28 02:42:51 +00:00
grant
c8ff9fd2ff remove NO_TOOLS. we need the tools stuff to have the .sunpro/.gcc
links created so the compiler can be found.

fixes build problem in sketch's bulk build.
2004-03-28 02:26:42 +00:00
grant
14c8d0e26d reflect pkgchk -> pkg_chk move. bump date. s/netbsd.org/NetBSD.org/ 2004-03-27 07:54:57 +00:00
grant
22aac9d309 pkg_chk now lives in pkgtools/pkg_chk, don't try to cd to pkgtoos/pkgchk 2004-03-27 07:54:34 +00:00
wiz
b9fda70719 Moved to pkg_chk. 2004-03-27 00:04:31 +00:00
wiz
41e2d22cd0 Move pkgchk to pkg_chk. 2004-03-27 00:04:02 +00:00
wiz
4bd7d8bda2 Refer to pkg_chk here too. 2004-03-27 00:03:40 +00:00
wiz
6ed5c6df1c Re-import pkgtools/pkgchk as pkg_chk so that program name, PKGNAME,
and directory path match. Addresses PR 23679.
2004-03-27 00:02:34 +00:00
wiz
a661ce60c0 PKGREVISION bump after openssl-security-fix-update to 0.9.6m.
Buildlink files: RECOMMENDED version changed to current version.
2004-03-26 02:27:34 +00:00
jlam
326169077a USE_BUILDLINK3 must be set to "yes" or "no", not defined/undefined. 2004-03-23 04:40:59 +00:00
wiz
8c2fda69bb 1.39 from usr.sbin/pkg_install/info/main.c:
Check pkgdb_open for correct return value.
From Peter Postma in PR 24863.
2004-03-22 11:44:24 +00:00
jlam
b8d88da4d9 USE_BUILDLINK3 must be "yes" or "no", not just defined/undefined. 2004-03-22 06:07:46 +00:00
grant
2549204dc2 bump to 20040321 for vis.c multiple char[] fix. 2004-03-21 01:46:02 +00:00
bouyer
d5416af48d Some compilers (e.g. Sunpro) emit one char[] per string, even when
multiple identical strings appear in a source file.
As a result, comparing char *o to the "" pointer gives the wrong result
in vis.c, as the "" pointer we're checking against isn't the same as the
"" which initialised char *o.
Use a global pointer initialised to "", and use it for MAKEEXTRALIST()
calls.
Thanks to Christos Zoulas for suggesting the right solution :)
2004-03-21 00:31:54 +00:00
jlam
3dce8fe104 Update pkgtools/createbuildlink to 3.4. Changes from version 3.3
include creating buildlink3.mk files that include other buildlink3.mk
files outside of the region that is protected against multiple inclusion.
This is required to fix a bug in properly ordering the packages listed
in BUILDLINK_PACKAGES.
2004-03-18 10:47:04 +00:00
jlam
e6bfd3c6c2 Force all of the headers and libraries to be symlinked into
${BUILDLINK_X11_DIR}, even in the "pkgviews" case.  This makes building
X11 packages work with pkgviews again after the X11_TYPE-related changes.
2004-03-17 06:01:17 +00:00
recht
b4268706cf Xrandr won't build without the X Extension library which is only present
in XFree86>=4.3; ignore it when checking dependencies or buildlinking.
Skip also randrext (Xrandr's header files) in this case.

The patch agains x11-links' builtin.mk is a slightly modified version of
the patch jlam@ posted in:
http://mail-index.netbsd.org/tech-pkg/2004/03/15/0001.html

ok'd by jlam@
2004-03-15 17:30:18 +00:00
tron
de6e90ca8f Fix recursive variable assignment. 2004-03-15 10:35:13 +00:00
jlam
cbf4f170bc builtin.mk file to hold information about the built-in X11R6
implementation.
2004-03-15 01:07:59 +00:00
jlam
fa037f0f75 Set USE_DIGEST=no to avoid checking and building a new digest package.
XXX This line should be removed once pkgsrc/bootstrap is up and running.
2004-03-13 21:00:19 +00:00
jlam
e949ebddbd Set USE_NATIVE_GCC in digest to avoid chicken-and-egg problem with
possibly depending on gcc.

XXX This should be removed after digest-handling has been changed to be
XXX done by BUILD_DEPENDS.
2004-03-13 19:38:26 +00:00
jlam
552d4662ff Solve a chicken-and-egg problem where pkgsrc uses newer features of
pkg_install, but older NetBSD installations, e.g. 1.5.3, won't support
them.  In this case, we explicitly use the native GCC compiler to
avoid problems with depending on pkgsrc GCC for building pkg_install.
2004-03-13 19:12:26 +00:00
grant
6a9f504b28 #if 0 out the __weak_alias stuff, which isn't needed here. should fix
build on OpenBSD ELF platforms.
2004-03-12 15:21:13 +00:00
reed
aaeb4475ce Add to DESCRiption: "It can be used as a file integrity checker." 2004-03-11 20:43:49 +00:00
sketch
4fa0de7b5c Solaris has fsid_t in sys/vfs.h, so include appropriately.
This gets the new pkgsrc bootstrap working on Solaris.
2004-03-11 18:35:29 +00:00
grant
95b42f0068 bump to 20040311 for Interix changes. 2004-03-11 14:11:31 +00:00
grant
e9479deda9 adding a file to cvs requires "cvs add". duh. 2004-03-11 14:11:04 +00:00
grant
8dcc56addb catch up with bootstrap-pkgsrc changes.
Just a comment doesn't seem to suffice in all cases.  For no-op commands,
use an explicit "true" invocation to avoid problems.  (A future merge of
current bmake may fix this issue.)
2004-03-11 13:33:57 +00:00
grant
361bc94452 catch up with bootstrap-pkgsrc changes.
- check for existence of fsid_t type, and typedef it if missing
- check for existence of struct statvfs.f_basetype field
- if <sys/mkdev.h> is included and makedev() is missing, try to use mkdev()
- add replacement library file for utimes() by wrappering utime()
2004-03-11 13:28:45 +00:00
grant
875ec1ebf8 catch up with bootstrap-pkgsrc changes.
Protect from multiple inclusion, in case system headers try to pull it in
(happens on Interix).
2004-03-11 13:17:34 +00:00
jlam
0190c06a95 Garbage collect USE_X11_LINKS, which was used solely to avoid
dependency loops, and which are now handled in a more general way
by bsd.buildlink3.mk.
2004-03-11 05:16:49 +00:00
jlam
d62c2888d0 Add a buildlink3.mk file for pkgtools/x11-links. This isn't meant to be
included manually by a package, but is intended for inclusion by
bsd.buildlink3.mk.  It will be used to avoid special-casing x11-links
when creating symlinks into the buildlink directory.
2004-03-11 00:50:14 +00:00
jlam
05cce146f3 Don't cat nonexistent files during the build. 2004-03-11 00:47:01 +00:00
minskim
099cdb48e5 bl3ify and enable pkgviews installation. 2004-03-10 22:54:47 +00:00
jlam
964efcc465 Catch up with removal of BUILDLINK_{IS,USE}_BUILTIN. 2004-03-10 18:35:32 +00:00
xtraeme
363fed6288 pkg_comp just works on NetBSD, so use ONLY_FOR_PLATFORM= NetBSD-*-*. 2004-03-10 13:32:39 +00:00
jlam
43fa93841c Update pkgtools/createbuildlink to 3.3. Changes from version 3.2 include
fixes to the whitespace in the generated files to more closely match the
template buildlink3.mk file.
2004-03-06 15:11:22 +00:00
jlam
50d94a7e2c Update pkgtools/createbuildlink to 3.2. Changes from version 3.1 include
creating buildlink3.mk that are in line with the template in revision 1.101
of mk/buildlink3/bsd.buildlink3.mk.
2004-03-05 19:42:06 +00:00
jlam
9ff0e10340 Reorder location and setting of BUILDLINK_PACKAGES to match template
buildlink3.mk file in revision 1.101 of bsd.buildlink3.mk.
2004-03-05 19:25:06 +00:00
jmmv
a104c813a1 Update to 1.2:
- Do not check for fnmatch(3) in the default configure script because we
  don't know beforehand if a package wants a GNU or a POSIX version of it.
  This fixes the build of, for example, diffutils.
2004-02-29 17:49:09 +00:00
jmmv
7e844bfa2c Update to 1.1:
- Fix detection of sys/mount.h in the default configure.ac script.
2004-02-24 22:00:46 +00:00
wiz
483d79750e Improve pattern matching for possible RCS Ids
to always check for a terminating dollar sign. Welcome to 3.68.
2004-02-23 12:33:29 +00:00
jmmv
369c1e3fc6 Prepend pkgtools to CATEGORIES. 2004-02-21 23:31:17 +00:00
jmmv
4a29bcb561 autoswc moved from sysutils to pkgtools. 2004-02-21 23:29:26 +00:00
jmmv
24c387b861 Reimport of autoswc, version 1.0, coming from sysutils:
autoswc is an utility that automatically generates system wide cache files
for use with configure scripts created by GNU autoconf, and specially by
those executed within pkgsrc.

Reason for the move: pkgtools' Makefile says this category is for packages
used within pkgsrc.  autoswc is specially designed to work for pkgsrc, so
it is better placed here.  And it may get more exposure ;-)
2004-02-21 23:28:32 +00:00
jmmv
c29536075d Create installation directories. Fixes PR pkg/24514. 2004-02-21 18:12:38 +00:00
jmmv
41d1ef3661 Update to 1.17:
- Recognize the PKGSRC_COMPILER variable and set it automatically in mk.conf.
- Add the REAL_CCACHE variable: if set, the directory pointed by it will be
  null-mounted inside the chroot in a place known by ccache to store the
  cache.  This is useful to keep it across rebuilds of the sandbox.
  Idea suggested by gavan@.
2004-02-21 13:08:31 +00:00
markd
8bcfe2a605 USE_LANGUAGES= # empty 2004-02-19 21:22:02 +00:00
tron
ba25819afd Update "rpm2pkg" package to version 2.0. Changes since version 1.3:
- added support for RPM archive compress with bzip2 as used by e.g.
  SuSE Linux 8.2.
- (hopefully) made portable
- rewrote ugly code for handling "-s" command line option
- converted source to KNF
2004-02-18 21:29:37 +00:00
jlam
b199b7e4d3 Update to x11-links-0.23: catch up with Xft2/buildlink3.mk changes. 2004-02-17 16:50:26 +00:00
jlam
c7ee88eb6d Update pkgtools/x11-links to 0.22. Changes from version 0.21 include
handling the built-in expat libraries and headers.
2004-02-17 08:26:25 +00:00
jlam
b4a03adcb9 Update pkgtools/x11-links to 0.21. Changes from version 0.20 include
catching up to changes to xcursor, Xrender, render, Xrandr, and randrext
by including their buildlink3.mk files.
2004-02-16 23:39:36 +00:00
wiz
389fe5621c Use more macros; fixes some warnings reported by tron. 2004-02-15 16:22:27 +00:00
simonb
9aef326f45 When checking for the <sys/mount.h> header, include <sys/param.h> if
it exists to stop a warning that comes from including <sys/mount.h> by
itself.

Fix from Love Hornquist Astrand in PR pkg/24419.
2004-02-14 04:47:13 +00:00
snj
b838585d87 s/independant/independent/ 2004-02-13 23:52:07 +00:00
abs
3b2576a43a We don' need no ... languages 2004-02-13 21:08:33 +00:00
jmmv
678d560818 Update to 1.16:
- Use WRKDIR_BASENAME instead of OBJMACHINE to get a unique name of object
  directories.  This way, multiple jails can use the same pkgsrc tree with
  write access and get the right obj links.
- Fix COPYROOTCFG.
2004-02-11 22:53:18 +00:00
grant
b03f3aa882 pass OPSYS and MACHINE_ARCH in the environmen, not CPPFLAGS. 2004-02-11 11:41:43 +00:00
grant
a680366537 just use ${OPSYS} and ${MACHINE_ARCH} from the environment. this means
we can set it in the environment if bootstrapping or have pkgsrc do it
for us.
2004-02-11 11:31:26 +00:00
jlam
145bef304a This package uses no compilers. 2004-02-10 23:53:33 +00:00
jlam
23e22dc805 This package uses no compilers. 2004-02-10 23:00:05 +00:00
jlam
1b2674fcd7 The BUILDLINK_DEPENDS.<pkg> lines should match between the buildlink3.mk
and any pre-existing buildlink2.mk files.
2004-02-10 20:45:01 +00:00
jlam
36a14d50db Update pkgtools/createbuildlink to 3.1. Changes from version 3.0 include
generating buildlink3.mk files that only append to BUILDLINK_DEPENDS.*.
2004-02-10 03:36:55 +00:00
jlam
57ec57613f PERL5_REQD is now a list of values, so append to its value instead of
setting it.
2004-02-10 02:22:49 +00:00
jlam
e72366f27c Cut-n-paste error. 2004-02-09 22:04:12 +00:00
jlam
1f2f352ee7 bsd.prefs.mk includes mk/compiler/gcc.mk indirectly, which invokes
${PKG_ADMIN}, so we need to not use "-K" with pkg_admin, too.
2004-02-09 22:01:51 +00:00
jlam
cd7f9542e7 Include bsd.prefs.mk after defining PKG_INFO so that we don't pass any
options to pkg_info while evaluating bsd.prefs.mk.
2004-02-09 04:52:10 +00:00
jlam
a1c40fc01e We no longer need to explicitly call ${BUILDLINK_*} for CC, CXX, LIBTOOL,
etc. because the bare variables will point to the correct executables.
2004-02-08 04:03:14 +00:00
grant
5addf651f7 use ${AWK} instead of awk. makes this work on Solaris. 2004-02-07 21:40:17 +00:00
grant
29fb945cb1 sync with NetBSD-current's pkg_install from 20040207. 2004-02-07 10:37:52 +00:00
wiz
5d85dac024 Fix sed call so that ${MAKE} including a path works. 2004-02-06 23:02:16 +00:00
jlam
7699290f10 If we're passing through MAKEFLAGS variables whose values may contain
spaces, use the :Q modifier instead of double-quoting the value.  This
avoids breakage when executing the just-in-time su targets.
2004-02-06 19:04:24 +00:00
abs
f7ed72c42e Remove 'USE_LANGUAGES=' as at least on my system 'make install' compiles up
something to check the shared library type.
(An entertaining way to pick up on issues seems to be to set CFLAGS to include
an argument not understood by the base compiler, such as '-march=pentium3')
2004-02-03 12:44:20 +00:00
jlam
8fb6f3f443 These packages don't use any compilers, so set USE_LANGUAGES to an empty
value.
2004-02-02 10:08:43 +00:00
jlam
c0f9cec15a This packages is just shell scripts, so set USE_LANGUAGES to an empty
value.
2004-02-02 10:06:22 +00:00
snj
e605029e68 It's "its" 2004-02-01 00:18:29 +00:00
snj
445af1efbf s/seperate/separate/; s/independantly/independently/;
s/dependancies/dependencies/
2004-02-01 00:07:56 +00:00
recht
d04d6737d8 Add missing extensions/extutil.h and bump version to 0.20.
This fixes the build of Xrandr.
ok'ed by wiz@
2004-01-31 21:58:52 +00:00