Commit graph

54 commits

Author SHA1 Message Date
rillig
329aab50ee Fixed some pkglint warnings. 2007-01-06 16:45:17 +00:00
joerg
d26cf36e57 - fine grained X11 dependencies for packages which have either USE_IMAKE
or USE_X11BASE set, but don't include mk/x11.buildlink3.mk directly or
  via buildlink3.mks
- introduce BUILDLINK_PREFIX.libXpm as alias for BUILDLINK_PREFIX.xpm
  in the !modular case
- fix some cases where the check for libX11 couldn't work at all by using
  C++ for compilation without including the proper headers

Verified using a full X11_TYPE=xorg bulk build without additional
breakage. Discussed with salo@, wiz@ and send to packages@ for feedback.
2006-12-27 13:37:35 +00:00
joerg
f18d8b4ddd Conflict with libXpm. Bump revision. 2006-12-18 10:13:38 +00:00
wiz
0c2e68db44 Some more HOMEPAGE/MASTER_SITES updates from Sergey Svishchev. 2006-10-28 21:29:47 +00:00
wiz
f5b8945cb9 Update MASTER_SITES and/or HOMEPAGE, from Sergey Svishchev. 2006-10-04 21:35:58 +00:00
schwarz
78eea6f509 make sure libXpm.so.4.11 is built with the correct name on IRIX 5 2006-09-10 13:42:32 +00:00
schwarz
6042af91ca added support for IRIX 5 2006-09-09 20:32:40 +00:00
wiz
776a05be72 Reset maintainer for people who lost their commit bit. 2006-09-03 00:56:28 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
rillig
5946936ffc Replaced "# defined" with "yes" in Makefile variables like GNU_CONFIGURE,
NO_BUILD, USE_LIBTOOL.
2005-09-28 20:52:18 +00:00
dmcmahill
512941eabf make sure that we put -L../lib at the beginning so we find our
local libXpm.  Fixes linking problems on solaris.
2005-08-11 22:46:05 +00:00
jlam
f705b2b3cc Apply fixes derived from the HEAD branch of X.Org (6.8.99) to address
problems noted in CAN-2004-0914:

    Multiple vulnerabilities in libXpm for 6.8.1 and earlier, as
    used in XFree86 and other packages, include (1) multiple integer
    overflows, (2) out-of-bounds memory accesses, (3) directory
    traversal, (4) shell metacharacter, (5) endless loops, and (6)
    memory leaks, which could allow remote attackers to obtain
    sensitive information, cause a denial of service (application
    crash), or execute arbitary code via a certain XPM image file.

Bump PKGREVISION to 4.  Since this is a security-related fix, also
bump the BUILDLINK_RECOMMENDED version for this package.
2005-06-14 18:10:37 +00:00
jlam
d92c5003fc Include bsd.prefs.mk to define OPSYS. 2005-06-01 19:31:17 +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
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
wiz
dfb826be85 Add patch to fix CAN-2005-0605. Bump PKGREVISION. 2005-03-10 15:23:10 +00:00
minskim
6ace1de1d8 Incorporate security fixes of X.Org X11R6.8.1.
Bump PKGREVISION.
2004-09-16 15:09:01 +00:00
grant
f93be2da98 use PKGBASE instead of PKGNAME if we detect builtin xpm. 2004-05-15 06:03:11 +00:00
minskim
ba6619e087 Enable pkgviews installation. 2004-04-22 23:52:19 +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
jlam
326169077a USE_BUILDLINK3 must be set to "yes" or "no", not defined/undefined. 2004-03-23 04:40:59 +00:00
jlam
964efcc465 Catch up with removal of BUILDLINK_{IS,USE}_BUILTIN. 2004-03-10 18:35:32 +00:00
jlam
9850029667 Remove comment I accidentally left in this file during bl3ification that
enabled me to test this on a NetBSD system.
2004-01-21 11:18:44 +00:00
jlam
6ff48e076b bl3ify 2004-01-05 11:53:39 +00:00
seb
72c7c9e329 Indent a bit. It's a bit clearer this way, isn't it? 2003-08-11 13:28:08 +00:00
grant
0155927c43 s/netbsd.org/NetBSD.org/ 2003-07-17 21:41:05 +00:00
jschauma
dc33f9f43e IRIX has it's own xpm. 2003-06-12 15:42:04 +00:00
jschauma
d8f9938d2c Use new IMAKE_MAN_PATH variables in PLISTs to make these packages more
portable.  Bump PKGREVISION accordingly.
2003-03-02 19:47:23 +00:00
schmonz
0a1bd5acad Replace IGNORE with PKG_FAIL_REASON or PKG_SKIP_REASON as appropriate. 2002-12-07 02:38:52 +00:00
tron
df0b4367aa The "Xpm" library is distributed with Solaris 9. Handle this case like
XFree86 4.x and don't install the package.
2002-09-01 15:13:41 +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
wiz
1c3e1f954c Update MASTER_SITES, inspired by pkg/13828 by Kevin Lo. 2001-08-30 11:11:24 +00:00
jlam
73d2f0ca37 Packages that USE_IMAKE shouldn't set USE_BUILDLINK_ONLY, as they don't
satisfy the condition of being "strongly-buildlinked" (see
http://mail-index.netbsd.org/tech-pkg/2001/08/20/0005.html for the
definition).  This is in response to the recent change to bsd.pkg.mk to
not use buildlink-x11.
2001-08-22 17:38:56 +00:00
jlam
3b682b6b3a Mark as USE_BUILDLINK_ONLY. 2001-08-08 07:15:03 +00:00
tron
ffac0bf198 Install "Xpm.h" to "include/X11" instead of "include/X11/X11" under
OpenWindows to avoid build lossage in several packages.
2001-07-06 21:11:33 +00:00
jlam
8d8c3630b3 Make check for Xpm in XFree86 look like the checks for Mesa and freetype2. 2001-07-02 08:02:33 +00:00
tron
2937ea4319 Fix path of include files on systems using OpenWindows. 2001-06-08 21:30:35 +00:00
wiz
a2a4d06c6f Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-16 15:22:13 +00:00
tron
3c047bfa62 Create missing softlink "libXpm.so.4" manually under Solaris. 2001-01-14 13:46:09 +00:00
tron
daecc883f7 Optimize last change a bit. 2000-11-25 08:42:04 +00:00
tron
e105ef1c1f Don't build the "xpm" package on systems with XFree86 4.0 or newer
installed because it includes the "Xpm" library.
2000-11-25 08:38:03 +00:00
hubertf
2a95ad9c6b Fix CONFLICTS (remove redundancy, mostly) 1999-02-20 22:48:24 +00:00
tsarna
6bd0d65c65 The Grand Homepagification:
- New, optional Makefile variable HOMEPAGE, specifies a URL for
	  the home page of the software if it has one.
	- The value of HOMEPAGE is used to add a link from the
	  README.html files.
	- pkglint updated to know about it.  The "correct" location for
	  HOMEPAGE in the Makefile is after MAINTAINER, in that same
	  section.
1998-08-20 15:16:34 +00:00
agc
583dcca5f3 Use automatic shared object handling 1998-07-15 10:51:16 +00:00
mycroft
5e99946b2c Update to 3.4k. 1998-07-04 09:14:52 +00:00
agc
5aa5bdafe4 Update package Makefiles for automatic manual page handling. 1998-06-22 12:32:17 +00:00
agc
258b808c9f Use the bsd.pkg.mk and bsd.pkg.subdir.mk files in the pkgsrc tree.
Remove redundant (and sometimes erroneous) comments.
1998-04-15 10:38:15 +00:00
hubertf
f6fc8a8a9e Remove -m argument from ldconfig calls, require the system to
have ${PREFIX}/lib in ld.so.conf instead. This ensures things
even work after a reboot.
1998-02-02 08:58:13 +00:00
hubertf
403cfa3d46 Introduce TRUE?=/usr/bin/true, and use it. 1998-02-02 08:10:41 +00:00
hubertf
3dafebc608 portlint: fix RCS Id, add MAINTAINER, ldconfig||true 1998-01-24 05:30:35 +00:00