summaryrefslogtreecommitdiff
path: root/pkgtools
AgeCommit message (Collapse)AuthorFilesLines
2006-11-25Fixed some typos in the pkglint documentation. Reported by OKANOrillig2-5/+5
Takayoshi in a private mail.
2006-11-22+ BSD_MAKE_ENVrillig1-1/+2
2006-11-18PKG_SKIP_REASON is marked as deprecated, since it is usually used torillig1-1/+2
mark a package as not being able to build, due to some fatal error. I don't see any reason _not_ to use PKG_FAIL_REASON in those cases.
2006-11-14DESTDIR support.joerg1-1/+2
2006-11-11Address PR pkg/34966 as suggested by Oliver Gould and apply the samejschauma4-15/+15
logic to all platforms: Some packages (such as math/gap) create wrappers based on the name of the compiler, so ${CC} should not contain any flags. Move flags into CFLAGS.
2006-11-09Variable names don't need to be quoted.rillig1-3/+3
2006-11-09Some minor tweaks; added DESTDIR.rillig1-4/+5
2006-11-09+ SKIP_PORTABILITY_CHECKrillig1-1/+4
2006-11-05Update "pkg_chk" package to version 1.83:tron2-10/+10
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-03Merge add/extract.c, rev 1.39:joerg3-8/+9
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-02DESTDIR support.joerg4-12/+16
2006-11-01Add PKG_DESTDIR_SUPPORT to variable list. Bump to 4.73.joerg2-3/+4
2006-10-30Added a warning that ${VARIABLES} in the DESCR file are not expanded.rillig1-2/+8
(Requested in PR 34920.) The warning about uncommitted patch files only appears when the distinfo file is already committed.
2006-10-29Fix pkg_tarup -a so it recurses to actually get all dependent packages.erh2-11/+17
Bump version to 1.6.6.
2006-10-28Some more HOMEPAGE/MASTER_SITES updates from Sergey Svishchev.wiz1-2/+2
2006-10-24Updated pkg_filecheck to 0.3.rillig2-7/+6
Bugfix: When allocating more memory, it does not help to double the amount if the current amount is zero.
2006-10-24Fixed PKGMANDIR.rillig1-6/+6
2006-10-24Fixed a typo in the absolute pathname checks.rillig1-4/+8
${PREFIX}/${PKGMANDIR} is preferred over ${PREFIX}/man. {ONLY,NOT}_FOR_PLATFORM may appear multiple times in the package Makefile.
2006-10-23Update to 4.72: check for .tbz as well as .tgzabs2-4/+4
2006-10-22Fixed a heading.rillig2-4/+3
2006-10-22Absolute pathnames may appear in the form basedirvar + '/man1' in sourcerillig1-1/+4
code.
2006-10-18Added CHECK_FILES_SUPPORTED and some Postgres variables.rillig1-1/+5
2006-10-17The absolute pathname /bin/sh is allowed, despite the Solaris /bin/sh.rillig1-1/+6
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-12${MARCH_ARCH}-${LOWER_OPSYS}elf and related constructs should be fixed.joerg1-1/+3
2006-10-09Flag a number of packages I use as supporting (user-)destdir.joerg1-11/+12
apg is a bit special as it has some hardcoded ownership, so mark that as "destdir".
2006-10-07When patch files are registered in the distinfo file, but not added orrillig1-8/+22
committed to CVS, a warning is printed.
2006-10-06Added a check that suggests using meta-pkgs/kde3/kde3.mk instead ofrillig1-1/+9
hand-tuning the directories where KDE files are installed.
2006-10-05Improved the heuristics for absolute pathnames.rillig1-5/+8
2006-10-05In package Makefiles, SITES.* should be defined right below DISTFILES.rillig1-24/+43
Added an explanation for why ${DESTDIR}/foo is considered an absolute pathname.
2006-10-05This package cannot use CHECK_FILES because it is one of the two thatrillig1-1/+3
sets PREFIX=/.
2006-10-04Update MASTER_SITES and/or HOMEPAGE, from Sergey Svishchev.wiz1-2/+2
2006-10-03Update PKGREVISION.reed1-2/+4
Make sure use PKG_SYSCONFDIR for the "etc" sed expression. Also do the SUBST_SED on the configuration example file too.
2006-10-03Honor PKGMANDIR insetad of hard-coded path.reed1-3/+3
2006-10-02Updated url2pkg to 2.1.rillig3-19/+36
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-02Update pkgtools/pkglint to 4.71 - lintpkgsrc changes:abs2-1380/+1538
- 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-02Took over maintainership from Hubert.rillig7-271/+534
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-02On solaris use MANINSTALL=none instead of MANINSTALL=dmcmahill1-2/+2
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-02Update pkgtools/pkg_chk to 1.82:abs3-16/+48
- Is '*' is passed to -U, unset all tags - Implement -p, to display all the pkgdirs for a given set of tags
2006-10-01Removed a leading "e".rillig1-1/+1
2006-10-01SITES.* may be used in package Makefiles.rillig1-2/+3
2006-09-28This man page is in section 8, make the title say so.dillo1-2/+2
From fgudin at nerim.net, thanks.
2006-09-27Copy XFree86 logic from x11/XFree86-libs to pkgtools/x11-links tojoerg2-2/+43
unbreak build of x11-links.
2006-09-27Remove XFree86.joerg1-4/+3
2006-09-27De-recognise XFree86. Update to 4.70.joerg2-5/+4
2006-09-20MAKEFILE has been deprecated in September, not November.rillig1-2/+2
2006-09-20Update pkg_chk to 1.81 - Add support for PKG_SUFX = .tbz - from Aleksey ↵abs2-16/+19
Cheusov in PR/34453
2006-09-20Fixed the path to the manual page. Adjusted CHECK_INTERPRETER_SKIP.rillig1-3/+5
2006-09-20It's pkg_alternatives(8), not (1).rillig1-2/+2
2006-09-19Added a check for tools that are used but not mentioned in USE_TOOLS.rillig1-20/+37
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-18Fixed a huge memory leak in pkglint. Checking the complete pkgsrc treerillig1-6/+21
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.