summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
AgeCommit message (Collapse)AuthorFilesLines
1999-08-04Ignore result of ${RM} command in do-extract target - the original ${LN} -fsagc1-2/+2
command was split into two specific commands: ${RM} -f, then ${LN} -s, for Solaris ln(1) behaviour, and, as pointed out by Julian Coleman, this can have an unfortunate side-effect on read-only filesystems.
1999-07-28Don't try to fetch a file if there's a symbolic link in ${DISTDIR}.agc1-2/+2
1999-07-28Make "make readme" work on Solaris - Solaris's sed(1) can be a painagc1-10/+9
at times.
1999-07-27Actually apply any patch-local-* local patch files if there are any.agc1-15/+27
1999-07-27Don't put a // in MASTER_SITE_BACKUP if DIST_SUBDIR is empty/undefined.mycroft1-1/+7
Yes, this is a hack.
1999-07-26Re-visit the patch-sum modifications:agc1-19/+14
(a) if the patch file does not exist in the patch-sum file, then print a warning to the user, and ignore the patch file. In particular, do not exit with an error. (b) if the patch file's calculated checksum does not match the one recorded in the patch-sum file, print a warning to the user, and try the other patch files. Once all patch files have been attempted, exit with an error. Also, don't bother to check for patch-local-* files inside the checksum logic - they're already ignored at the head of the loop.
1999-07-24If there's a discrepancy between files/patch-sum and patches/*,hubertf1-5/+19
this shouldn't be silently ignored. Tell the user instead.
1999-07-23Avoid unnecessary shell variable usage.tron1-3/+3
1999-07-21Some master-sites (like the second one of the libslang package) seemhubertf1-2/+4
to return some "please see the new location"-pages instead of the requested archive, which our ftp(1) doesn't take as an error. Now, add a check here to see if ftp(1) actually got the requested file or something else. Detected by Reinoud Zandijk <zandijk@cs.utwente.nl>, talked over with Frederick Bruckman <fb@enteract.com>.
1999-07-17Update "pkglibtool" to version 1.2p2. This version makes sure that youtron1-2/+2
don't use an a.out "pkglibtool" on an ELF system and vice versa.
1999-07-14cleanup of README.html generation code, as provided in PR 7989 byhubertf1-12/+7
Jaromir Dolecek <dolecek@ics.muni.cz>. While there, mark the README.html as precious, so it doesn't get removed if the build process is interrupted.
1999-07-13Add possibility to sort the master download site list according tomjl1-3/+18
local preferences (domain suffixes or full regular expressions) by defining MASTER_SORT or MASTER_SORT_REGEX appropriately.
1999-07-13Do not include checksums of files names *.orig in files/patch-sumhubertf1-1/+2
1999-07-10Create symbolic links for ELF shared libraries without absolute directorytron1-10/+11
names so that they don't need to be adjusted later.
1999-07-09Only create a patch-sum file if there are any patches to checksumagc1-5/+5
1999-07-09Add logic to provide md5 checksums on the patch files, placing them inagc1-20/+57
a file called files/patch-sum. This has the benefit of only attempting to patch packages with official patches. This should mean that you can untar a pkgsrc.tar.gz over a previous tree, and still have it do the right thing, ignoring old patch files. Patches which have an entry in the files/patch-sum file will be applied, and then any local patches. If there are local patches to a package, these should go in patch files called patches/patch-local-* (these files are ignored when calculating the files/patch-sum file, and also when checking the patches/patch-* files). The calculation of the patch checksum ignores any NetBSD RCS Id in the patch-* files. This removes a nasty ordering dependency for developers making patches to packages. Patch file checksums will only be checked if the files/patch-sum file exists. Add a target "makepatchsum", analogous to "makesum", which makes a new files/patch-sum file.
1999-07-03Fix last commit to (also) work with disk layout different from the ftp site.hubertf1-6/+6
1999-07-02improved safety checks for README.html generationhubertf1-8/+11
1999-07-02Add a show-downlevel target, which shows output of the form:agc1-1/+15
sudo package: sudo-1.5.7p4 installed, pkgsrc version sudo-1.5.9p1 for installed packages whose version does not match that in pkgsrc. No output is produced if the package is not installed. This allows an easy overview of the packages installed on a machine which need to be upgraded.
1999-07-02Some packages use bsd-style .mk files when building, and so any manualagc1-2/+3
pages that are installed will be gzip-compressed, if MANZ is set, or not if MANZ is not set. If the package uses bsd-style .mk files, the variable MANCOMPRESSED_IF_MANZ should be set to a value of "yes" in the package Makefile. This replaces the previous method of specific inclusion of bsd.prefs.mk, followed by a check for MANZ and conditional assignment of MANCOMPRESSED. Add appropriate documentation, and change all necessary ocurrences in package Makefiles.
1999-07-02Include "old" binary packages in README.html.hubertf1-12/+25
1999-07-01enable xpkgwedge bits -- it basically works now.mrg1-9/+11
1999-06-28Add a "show-distfiles" target, used to show the distfiles and patchfilesagc1-1/+19
(including any subdir) for a package. If ${IGNORE} is set, for any reason, do not print anything. The output is relative to ${DISTDIR}. This target can be used to identify out of date distfiles and patchfiles in ${DISTDIR}, in conjunction with suitable filters.
1999-06-24Correct the full pathname of false(1) on Linux.agc1-2/+2
1999-06-23typo in the path for grepchristos1-2/+2
1999-06-23Linux bits; now the package system works on Linux too.christos1-27/+64
1999-06-14Don't recognize foo-bar-x.y as an old version already installed whenhubertf1-2/+2
installing foo-u.v. (Necessary workaround for deficiency of shell globs; works as long as version numbers start with a digit)
1999-06-04XXX XXX. Add a hack to allow "check-depends" to recurse the dependency treetv1-3/+5
and override the `on-the-fly dependency target' option.
1999-05-30Back out last commit: "pkg_install-19990529" was horribly broken.tron1-2/+2
1999-05-29Update required pkgtools version to 19990529 (required for postfix)christos1-2/+2
1999-05-27Nuke ALL_HOOK cruft. Overriding "all" is perfectly legal (as evidenced bytv1-13/+1
the .if !target(all) below), so this is unnecessary.
1999-05-26No need to validate dependencies if the package has already been extracted;tv1-2/+2
make check-depends also dependent on the (non)existence of EXTRACT_COOKIE.
1999-05-25Set NO_CHECK_DEPENDS to skip "check-depends" when fetching viatv1-2/+2
"mirror-distfiles".
1999-05-24- The comment above the _COOKIE settings says "don't change these!!", sotv1-53/+39
use = to set them, not ?=. - _DEPENDS_USE doesn't actually do any macro expansion, so save some processing time by executing it exactly once (remove the .USE operator). - Merge the IGNORE targets. Add an IGNORE target for depends and check-depends (see bottom). - Don't check for installation of a package in ${DEPENDS} when doing a "make depends". Instead, let the return code of make fall through (using && instead of ; in the last clause of each depend recursion block). - Provide a variable IGNORE_FAIL: when set, causes the ignore message to be printed (regardless of IGNORE_SILENT or ECHO_MSG setting) and the build to fail with ${FALSE}. Used with the next addition: - Add a new target, "check-depends", which is called as part of "real-fetch". This validates whether the dependencies of a pkg to be built are installed, and if not, whether those dependencies will prospectively build (will not set IGNORE directly or indirectly through the various disable options). Recurses to "depends" with a DEPENDS_TARGET of "check-depends". ...And now, it is no longer necessary to mark dependent pkgs as unusable when their dependencies are unusable thanks to an incorrect LICENSE, _FOR_PLATFORM setting, and so forth. The check-depends step will validate everything before fetching a single file.
1999-05-24Fix broken "ONLY_FOR_PLATFORM" check.tron1-2/+2
1999-05-24Change {ONLY,NOT}_FOR_{ARCH,OPSYS} format to {ONLY,NOT}_FOR_PLATFORMtv1-11/+8
pattern match format. Minor pkglint along the way.
1999-05-24Implement some parts of proposals posted to tech-pkg:tv1-104/+45
- Define OS_VERSION in bsd.prefs.mk (...if not already defined). Previously was only set in a conditional block in bsd.pkg.mk. - Define new values, MACHINE_PLATFORM and MACHINE_GNU_PLATFORM, which default to ${OPSYS}-${OS_VERSION}-${MACHINE_ARCH} and ${LOWER_OPSYS}-${LOWER_VENDOR}-${LOWER_ARCH} respectively. (Probably should nuke LOWER_ARCH and rename LOWER_VENDOR to something like MACHINE_GNU_VENDOR.) - Use ${MACHINE_GNU_PLATFORM} as the argument to `--host' in GNU_CONFIGURE packages. - Allow for ONLY_FOR_PLATFORM and NOT_FOR_PLATFORM, lists of patterns in csh(1) glob style which are matched against MACHINE_PLATFORM above and take the place of {ONLY,NOT}_FOR_{ARCHS,OPSYS}. (For now, until all pkgs are converted, provide backwards compatibility.) *Both* may be defined, in which case NOT_FOR_PLATFORM takes precedence. - Also do some significant aesthetic cleanup, based on the idea `define platform-specific overrides first, then define a generic case with the ?= operator'. Lots more of this to do yet.
1999-05-23- Move the inclusion of bsd.own.mk to bsd.prefs.mk, and multiple-includetv1-28/+2
protect bsd.prefs.mk. Now there's no multiple inclusion of mk.conf, clobbering variables modified between bsd.prefs.mk and bsd.pkg.mk, when set with VARNAME=value. - Let bsd.own.mk include mk.conf/MAKECONF; we don't need to do that manually. - Don't define BSD_PKG_MK or OPSYS in bsd.pkg.mk, as bsd.prefs.mk does precisely that just a couple lines below.
1999-05-22Commit the least intrusive parts of proposal 6a (affects no pkgs):tv1-49/+1
- remove the ${MACHINE_ARCH} and ${OPSYS} specializations for Makefile, files, pkg, scripts, patches - remove the functionality of ${MASTER_SITE_FREEBSD} (if someone *really* wants this type of function, which should be discouraged, s/he may use: MASTER_SITE_OVERRIDE=${MASTER_SITE_BACKUP})
1999-05-21Speed up the evaluation of ${CKSUMFILES} vs. ${IGNOREFILES} a little (andtv1-20/+5
make it cleaner) by replacing the shell expansion with a bmake .for loop.
1999-05-20Always add "${INSTALL_DATA}" to environment for "configure" target, too.tron1-1/+2
1999-05-20Always add "${INSTALL_SCRIPT}" to environment for "configure" target.tron1-1/+2
1999-05-17Fix broken index file creation. Patch suppled by NAKAJIMA Yoshihirotron1-2/+2
in PR pkg/7545.
1999-05-12If ${PACKAGES} does not exist, use it anyway. Allows settinsg such asabs1-15/+7
PACKAGES=${PKGSRCDIR}/packages/${OS_VERSION}/${MACHINE_ARCH} _without_ having to ensure each ${OS_VERSION}/${MACHINE_ARCH} is manually created beforehand.
1999-05-04Unless package debugging is enabled don't output commands duringtron1-2/+2
automatical registration of info files.
1999-05-02MKPICINSTALL and NOPICINSTALL have zero relevance to whether a system hastv1-3/+2
shared objects in /usr/lib (they affect installation of the _pic.a files, not the .so files).
1999-04-29Older 1.3.x releases don't have the GNU_ARCH stuff in bsd.own.mk. Addtv1-1/+13
definitions for the architectures available in those releases, set with ?=.
1999-04-29Completely turn off USE_LOCALBASE_FOR_X11 until xpkgwedge is fixed.tv1-6/+7
1999-04-24Be consistent: always use "/usr/bin/uname".tron1-2/+2
1999-04-22re-add empty MASTER/PATCH_SITE which was removed in 1.254.sakamoto1-1/+5