Commit graph

2696 commits

Author SHA1 Message Date
rillig
f8debf1069 + SKIP_PORTABILITY_CHECK 2006-11-09 22:26:18 +00:00
tron
40e49f88e1 Update "pkg_chk" package to version 1.83:
Do *not* use "TMPDIR" variable. If the user has already set an environment
variable "TMPDIR" it well be overwritten my the path to the directory
created by the script and passed to "make". As a result it will get
compiled into certain packages (e.g. "sysutils/dbus") which will no
longer work after the directory has been removed.
2006-11-05 21:53:27 +00:00
joerg
611e7f92de Merge add/extract.c, rev 1.39:
If a plist contains @owner or @group entries and first rename failed,
  pushout was called with NULL argument. This has the semantic of using a
  working directory of "/", even though already read plist entries are
  relative to prefix. The calls to chown and chgrp therefore end up with
  the wrong arguments for the current directory. To compensate for this,
  don't pushout the first time. As plists are not supposed to have
  multiple @cwd entries anymore, this could most likely be simplified, but
  that is outside the scope of this commit.

Merge lib/plist.c, rev 1.51:
  When processing symlinks in pkg_delete and the call to readlink failed,
  it often helps to know why, so use warn instead of warnx.

Bump version to 20061103.
2006-11-03 09:35:14 +00:00
joerg
7f279c69f3 DESTDIR support. 2006-11-02 17:59:37 +00:00
joerg
5a7018c831 Add PKG_DESTDIR_SUPPORT to variable list. Bump to 4.73. 2006-11-01 09:14:45 +00:00
rillig
c57a04cdcf Added a warning that ${VARIABLES} in the DESCR file are not expanded.
(Requested in PR 34920.)

The warning about uncommitted patch files only appears when the distinfo
file is already committed.
2006-10-30 22:27:07 +00:00
erh
ea1b3e37b8 Fix pkg_tarup -a so it recurses to actually get all dependent packages.
Bump version to 1.6.6.
2006-10-29 07:50:27 +00:00
wiz
0c2e68db44 Some more HOMEPAGE/MASTER_SITES updates from Sergey Svishchev. 2006-10-28 21:29:47 +00:00
rillig
7a70e6ce93 Updated pkg_filecheck to 0.3.
Bugfix: When allocating more memory, it does not help to double the
amount if the current amount is zero.
2006-10-24 19:23:38 +00:00
rillig
89a1686950 Fixed PKGMANDIR. 2006-10-24 18:19:22 +00:00
rillig
9b4318c4ac Fixed a typo in the absolute pathname checks.
${PREFIX}/${PKGMANDIR} is preferred over ${PREFIX}/man.

{ONLY,NOT}_FOR_PLATFORM may appear multiple times in the package
Makefile.
2006-10-24 07:18:41 +00:00
abs
2486f53002 Update to 4.72: check for .tbz as well as .tgz 2006-10-23 09:19:31 +00:00
rillig
8c380e95aa Fixed a heading. 2006-10-22 05:26:41 +00:00
rillig
0e7520ad71 Absolute pathnames may appear in the form basedirvar + '/man1' in source
code.
2006-10-22 05:25:35 +00:00
rillig
a7a1d01bdf Added CHECK_FILES_SUPPORTED and some Postgres variables. 2006-10-18 20:54:22 +00:00
rillig
7b449192ed The absolute pathname /bin/sh is allowed, despite the Solaris /bin/sh.
The WRKSRC variable (among others) is checked to consist of ony one
word. The url2pkg tool had created lines like

    WRKSRC=         ${WRKDIR}/Makefile PLIST distinfo

in the past, which happened to work in most cases up to now, but really
shouldn't.
2006-10-17 21:42:46 +00:00
joerg
34eea79bcf ${MARCH_ARCH}-${LOWER_OPSYS}elf and related constructs should be fixed. 2006-10-12 13:58:48 +00:00
joerg
f75176b39c Flag a number of packages I use as supporting (user-)destdir.
apg is a bit special as it has some hardcoded ownership, so
mark that as "destdir".
2006-10-09 12:52:34 +00:00
rillig
9e1e55709c When patch files are registered in the distinfo file, but not added or
committed to CVS, a warning is printed.
2006-10-07 07:57:04 +00:00
rillig
f5f25f88de Added a check that suggests using meta-pkgs/kde3/kde3.mk instead of
hand-tuning the directories where KDE files are installed.
2006-10-06 18:58:55 +00:00
rillig
1f3af58308 Improved the heuristics for absolute pathnames. 2006-10-05 21:09:31 +00:00
rillig
0e60547a68 In package Makefiles, SITES.* should be defined right below DISTFILES.
Added an explanation for why ${DESTDIR}/foo is considered an absolute
pathname.
2006-10-05 12:25:38 +00:00
rillig
c71e131798 This package cannot use CHECK_FILES because it is one of the two that
sets PREFIX=/.
2006-10-05 08:51:59 +00:00
wiz
b6160330f7 Update MASTER_SITES and/or HOMEPAGE, from Sergey Svishchev. 2006-10-04 21:53:15 +00:00
reed
1779642046 Update PKGREVISION.
Make sure use PKG_SYSCONFDIR for the "etc" sed expression.
Also do the SUBST_SED on the configuration example file too.
2006-10-03 20:53:38 +00:00
reed
4cf5ada443 Honor PKGMANDIR insetad of hard-coded path. 2006-10-03 20:27:47 +00:00
rillig
26d41e536c Updated url2pkg to 2.1.
Changes since 2.0:

- Made the dependency detection for Perl modules work again. The code
  does not assume to be run in a special directory anymore.

- Perl modules that use the prompt() function to query the user
  interactively can be handled. All questions are assumed to be answered
  by just pressing <enter>.

- Made url2pkg more robust when interpreting the output of MakeMaker.pm.
  Many Perl modules write additional things to stdout during the
  generation of the Makefile.

- The language for the *.f files is "fortran", not "f".

- Fixed the regular expression for prdownloads.sourceforge.net links, so
  that the distfile name is properly extracted.
2006-10-02 19:39:24 +00:00
abs
dd11e141d0 Update pkgtools/pkglint to 4.71 - lintpkgsrc changes:
- Handle 'badly named' patch files
  - In the event of a distint checksum mismatch, report the affected file
    as well as package
  - If we need to call out to make to parse a makefile and it returns any
    errors, ensure we prefix the error output with the Makefile path
  - run through perltidy. Ugly, but consistent
2006-10-02 19:35:43 +00:00
rillig
19beef2685 Took over maintainership from Hubert.
Rewrote url2pkg in Perl, enhancing it in several ways:

- Packages for Perl modules using MakeMaker can be generated almost
  completely. The only thing that usually needs to be filled out after
  running url2pkg is the DESCR file.

- USE_LANGUAGES is filled automatically.

- After generating the initial Makefile, the editor is run to let the
  user edit the Makefile. These changes are preserved as much as
  possible. (This had not been the case before.)

- Extending url2pkg has been made much easier by splitting the tasks that
  do the "magic" into small subroutines and by adding a detailed
  description of what these routines are supposed to do.

Set the version number to 2.0.
2006-10-02 16:49:30 +00:00
dmcmahill
317622f197 On solaris use MANINSTALL=none instead of MANINSTALL=
This avoids problem where the plist-man.awk script sees the empty
value for MANINSTALL and sets it to the default of 'maninstall catinstall'.

Fixes install/packaging problems on solaris.
2006-10-02 16:21:33 +00:00
abs
83f9f1a996 Update pkgtools/pkg_chk to 1.82:
- Is '*' is passed to -U, unset all tags
    - Implement -p, to display all the pkgdirs for a given set of tags
2006-10-02 07:33:38 +00:00
rillig
c8293c56a2 Removed a leading "e". 2006-10-01 15:09:05 +00:00
rillig
5d92c31672 SITES.* may be used in package Makefiles. 2006-10-01 14:38:07 +00:00
dillo
de144fc2d1 This man page is in section 8, make the title say so.
From fgudin at nerim.net, thanks.
2006-09-28 09:36:44 +00:00
joerg
af88d32662 Copy XFree86 logic from x11/XFree86-libs to pkgtools/x11-links to
unbreak build of x11-links.
2006-09-27 16:41:20 +00:00
joerg
3675902ba1 Remove XFree86. 2006-09-27 15:18:12 +00:00
joerg
1f696545c6 De-recognise XFree86. Update to 4.70. 2006-09-27 15:10:45 +00:00
rillig
189adf6411 MAKEFILE has been deprecated in September, not November. 2006-09-20 23:10:54 +00:00
abs
edf8891025 Update pkg_chk to 1.81 - Add support for PKG_SUFX = .tbz - from Aleksey Cheusov in PR/34453 2006-09-20 21:54:13 +00:00
rillig
3968e0d090 Fixed the path to the manual page. Adjusted CHECK_INTERPRETER_SKIP. 2006-09-20 13:00:02 +00:00
rillig
f4a2bba0c2 It's pkg_alternatives(8), not (1). 2006-09-20 12:53:21 +00:00
rillig
4e7da9df67 Added a check for tools that are used but not mentioned in USE_TOOLS.
Since many package fail to build in exotic environments because of that,
it is worth having this check even though we are currently in a freeze.

Improved the detection of absolute pathnames once more.
2006-09-19 21:33:30 +00:00
rillig
60ec4cf0e2 Fixed a huge memory leak in pkglint. Checking the complete pkgsrc tree
took about 300 MB of memory. Now it takes 27 MB, which is still much,
but quite better.

The cause for the memory leak was that I wrote

	my ($result) = @_;

instead of

	my ($result) = ($1);

after successfully matching a regular expression. That way, pkglint
created some cyclic data structures, and since Perl does not have
garbage collection, these didn't get cleaned up.

Added some checks so that this cannot easily happen again. Also fixed
some other instances where @_ appeared in the source code.
2006-09-18 10:07:21 +00:00
rillig
bf5a09954a Updated pkglint to 4.69.
Changes since 4.68:
- Improved the checks for BUILD_DEFS.
- Improved the shell word parser.
- Improved the heuristics for detecting absolute pathnames.
- The :M* operator is only required with GNU configure scripts.

Committed during the freeze to have a unique version number that includes
the features from the last days.
2006-09-16 15:43:01 +00:00
wiz
6541dc8557 Xref pkglint. Use HTML macros. Bump date. 2006-09-16 06:37:40 +00:00
rillig
da6d93f876 The :M* operator is only needed when the package has a GNU-style
configure script.
2006-09-15 12:31:49 +00:00
jmmv
45be3f9c7a Update to 1.4:
- Sort dependencies properly so that, e.g., 2.10 is considered newer than 2.8.
  This is still a hack and might fail in some cases, but is hopefully much
  better than before.
2006-09-14 15:35:46 +00:00
ginsbach
aa846abc8c Fix typo in previous revision. 2006-09-13 18:18:53 +00:00
ginsbach
0b2cff8307 Don't try to rename pkg-comment if it does not exist. Ports no longer
use pkg-comment but have a COMMENT= in the Makefile.
2006-09-13 17:33:20 +00:00
ginsbach
a19a1eff3b Use pkgsrc-users as default MAINTAINTER. 2006-09-13 17:22:55 +00:00