Commit graph

1334 commits

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