Commit graph

1334 commits

Author SHA1 Message Date
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