Commit graph

40 commits

Author SHA1 Message Date
joerg
876987c960 Fix a number of buffer overflows in OpenMotif's UIL implementation.
For non-propolice systems this might be exploitable when the
user-provided data (e.g. certain filenames) or the locale files are
manipulated.

Mostly-found-by: xfocus, see [xfocus-SD-051202] on VulnWatch. Some
additional cases are handled which have the same impact.
Bump revision.
2006-01-07 21:08:12 +00:00
joerg
cd73234257 Update OpenMotif to 2.2.3. Too many changes to list here, but most
importantly no more imake usage.
2005-12-12 19:55:41 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
wiz
486cf4cf3b Add DragonFly support (untested). Provided by Jörg Sonnenberger
in PR 30258.

While here, clean up pkglint warnings.
2005-06-27 14:08:15 +00:00
jlam
95fd1f6ec9 Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.
Several changes are involved since they are all interrelated.  These
changes affect about 1000 files.

The first major change is rewriting bsd.builtin.mk as well as all of
the builtin.mk files to follow the new example in bsd.builtin.mk.
The loop to include all of the builtin.mk files needed by the package
is moved from bsd.builtin.mk and into bsd.buildlink3.mk.  bsd.builtin.mk
is now included by each of the individual builtin.mk files and provides
some common logic for all of the builtin.mk files.  Currently, this
includes the computation for whether the native or pkgsrc version of
the package is preferred.  This causes USE_BUILTIN.* to be correctly
set when one builtin.mk file includes another.

The second major change is teach the builtin.mk files to consider
files under ${LOCALBASE} to be from pkgsrc-controlled packages.  Most
of the builtin.mk files test for the presence of built-in software by
checking for the existence of certain files, e.g. <pthread.h>, and we
now assume that if that file is under ${LOCALBASE}, then it must be
from pkgsrc.  This modification is a nod toward LOCALBASE=/usr.  The
exceptions to this new check are the X11 distribution packages, which
are handled specially as noted below.

The third major change is providing builtin.mk and version.mk files
for each of the X11 distribution packages in pkgsrc.  The builtin.mk
file can detect whether the native X11 distribution is the same as
the one provided by pkgsrc, and the version.mk file computes the
version of the X11 distribution package, whether it's built-in or not.

The fourth major change is that the buildlink3.mk files for X11 packages
that install parts which are part of X11 distribution packages, e.g.
Xpm, Xcursor, etc., now use imake to query the X11 distribution for
whether the software is already provided by the X11 distribution.
This is more accurate than grepping for a symbol name in the imake
config files.  Using imake required sprinkling various builtin-imake.mk
helper files into pkgsrc directories.  These files are used as input
to imake since imake can't use stdin for that purpose.

The fifth major change is in how packages note that they use X11.
Instead of setting USE_X11, package Makefiles should now include
x11.buildlink3.mk instead.  This causes the X11 package buildlink3
and builtin logic to be executed at the correct place for buildlink3.mk
and builtin.mk files that previously set USE_X11, and fixes packages
that relied on buildlink3.mk files to implicitly note that X11 is
needed.  Package buildlink3.mk should also include x11.buildlink3.mk
when linking against the package libraries requires also linking
against the X11 libraries.  Where it was obvious, redundant inclusions
of x11.buildlink3.mk have been removed.
2005-06-01 18:02:37 +00:00
jlam
163b6e6c2b Remove USE_TBL from pkgsrc and replace with USE_TOOLS+=tbl. 2005-05-22 21:04:41 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
wiz
4c441c2ed3 Add patch to fix CAN-2005-0605. Bump PKGREVISION. 2005-03-10 16:00:31 +00:00
minskim
601eea5fc3 Enable pkgviews installation. 2004-12-25 22:22:00 +00:00
tron
fd63287501 Fix vulnerabilities reported in CAN-2004-0687 and CAN-2004-0688 by
applying a patch based on ICS's patch for OpenMotif 2.2.3.
2004-12-18 00:39:31 +00:00
wiz
6e02d7ee41 Rename ALL_TARGET to BUILD_TARGET for consistency with other *_TARGETs.
Suggested by Roland Illig, ok'd by various.
2004-12-03 15:14:50 +00:00
drochner
0ed83abfac just require "tbl", not necessarily the whole groff 2004-07-22 17:04:28 +00:00
drochner
3c718a82b3 depend on groff and use ${TBL} for tbl,
fixes PR pkg/23010 by Jeremy C. Reed
2004-07-09 12:34:53 +00:00
xtraeme
e9d9e77dca bl3ify 2004-04-11 18:21:32 +00:00
xtraeme
5f58933408 Same libraries were not installed in FreeBSD, so use PLIST_SUBST to
make the precompiled package.
2004-02-02 23:10:29 +00:00
agc
24a46ed346 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:28:26 +00:00
heinz
214f735e4d use 'test -d' for directories to improve portability (solves problem in http://mail-index.netbsd.org/tech-pkg/2003/11/19/0000.html) 2003-11-20 11:13:51 +00:00
martti
6e809ce2d4 Use GNU make in Linux 2003-09-09 12:23:28 +00:00
jlam
b2677a2cb0 Add definitions for DEINSTALL_EXTRA_TMPL and INSTALL_EXTRA_TMPL if
USE_PKGINSTALL is "YES".  bsd.pkg.install.mk will no longer automatically
pick up a INSTALL/DEINSTALL script in the package directory and assume that
you want it for the corresponding *_EXTRA_TMPL variable.
2003-08-30 22:51:11 +00:00
grant
eb46275523 improve COMMENT. 2003-08-08 09:25:16 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +00:00
jmmv
f1446ddf2b Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
cjep
d7551b1053 Whitespace fix 2003-04-21 20:31:31 +00:00
jmmv
0916498c1b Place WRKSRC where it belongs, to make pkglint happy; ok'ed by wiz. 2003-03-29 12:40:00 +00:00
jmmv
d63bbf356c Install missing header file BaseClassI.h. Bump PKGREVISION to 2.
Requested in PR pkg/20341 by Marc Recht.
2003-02-23 13:11:24 +00:00
jlam
d7f69e47ce Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES".  This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile.  Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
2003-01-28 22:03:00 +00:00
jlam
e2afa97f51 Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.  This provides sufficient
buildlink2 infrastructure to start merging other packages from the
buildlink2 branch that have already been converted to use the buildlink2
framework.
2002-08-25 18:38:05 +00:00
jlam
06fa2131c5 Update openmotif to 2.1.30nb1. Changes from version 2.1.30 are that we
no longer install all of the demo programs with openmotif (which are
largely just bloat), and we use bsd.pkg.install.mk to replace some of the
bloat in the package Makefile.
2002-01-10 12:10:45 +00:00
jlam
034112c3cd Copy some of the code from xpkgwedge's DEINSTALL/INSTALL scripts so that
if ${PREFIX}/lib/X11/config/host.def doesn't exist, it will be created
correctly nonetheless.
2001-09-28 08:54:56 +00:00
jlam
f79573370a Mechanical changes to 375 files to change dependency patterns of the form
foo-* to foo-[0-9]*.  This is to cause the dependencies to match only the
packages whose base package name is "foo", and not those named "foo-bar".
A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net.  Also
change dependency examples in Packages.txt to reflect this.
2001-09-27 23:17:41 +00:00
jlam
46ab1d5f06 Fix OpenMotif package to not overwrite X11R6 files when installed without
xpkgwedge.  Also, OpenMotif can actually be installed into ${LOCALBASE}
if xpkgwedge is installed.  Use x11.buildlink.mk and mark as
USE_BUILDLINK_ONLY, and add a buildlink.mk file for use by other package
Makefiles.
2001-09-08 20:03:43 +00:00
hubertf
d32e698de6 Cleanup MKDIR usage => INSTALL_*_DIR
XXX need to teach pkglint to be more picky about this
2001-02-25 04:17:35 +00:00
wiz
a486f11406 Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:06:11 +00:00
dmcmahill
3fda7e8771 mark as BROKEN. this package nukes some system files (makedepend, host.def, etc).
can be marked un-BROKEN when these are fixed.

also remove $'s from around free/openbsd ID's
2000-12-26 19:49:55 +00:00
mjl
39606e8dd4 Farm out some set-up into a do-configure target as it's conceptually
more a configure than a patch.

Also make this really compile -- it's imake voodoo, doing different
things depending on obscure definitions in one or the other of three
dozen files.
2000-10-31 01:13:14 +00:00
mjl
2e2c1ce77f Add conflict openmotif<->lesstif, as noted by tron@netbsd.org. 2000-10-30 10:13:56 +00:00
mjl
64ad9e76d9 Move distfiles to separate subdir. 2000-10-29 23:16:46 +00:00
mjl
cac32e3e50 Initial import of OpenMotif 2.1.30. Based on the FreeBSD and OpenBSD
packages, with some adaptations to our pkg framework.
2000-10-29 16:17:13 +00:00