add post install script target
update depends check
add go
add other notes
add partial support for flavors.
fix a few bugs with paths
more fixes
update some depends
remove dead code
reorder the targets so that all the other defines happen first. this should fix the problem where some targets are not picked up
fix the white space
fix the white space
add erlang handler
Implement target ordering similarly to the method used in FreeBSD ports. This allows us some flexibility in how we handle ports that need to inject custom targets.
add meson
no longer need to check the osversion for cpe. it has been supported since 0.6.
update cross toolchain and os reported during builds.
Add LLD_UNSAFE to force use of ld.bfd when ld is lld By default the compiler will find /usr/bin/ld for the linker. If a port sets LLD_UNSAFE and /usr/bin/ld is ld.lld, then add -fuse-ld=bfd to force the use of the binutils BFD linker (from the base system, if available, or by setting USE_BINUTILS).
Remove LIBDIR from build env variable This is leaking LIBDIR information (which is defined in base share/mk/*) to the build environement with a value which is not really suitable for ports (/usr/lib) which may have an impact on some build system forcing the maintainer to override the value.
we no longer support midnightbsd 0.4. update this for modern versions
remove openssl extension in favor of ssl.mk
add mport command
add ssl module
add zope
support sed for substitutions.
fix cpe data
add samba config
add groff
skip the python extension as it freaks out with USE_PYTHON and USES=python:3 at the same time.
add pear
revert back to versioning.
try pkgbase
temporarily go back to new version
very old school
revert to original
remove duplicate code
change dependencies again.
experiment with changing the dependency graph detection for packages. This will include the entire list rather than one level which violates the original mport package design but fixes a few outlier issues.
fixup the path if the new syntax is used for installing LIB depends that are missing.
end fi
refactor var handling, use sinclude
add additional broken checks
osrel and arch combo broken
move clean depends to a script
remove cd mount support
remove useless @
migrate all-depends-list to a script
since we are still on fmake for 0.8, define the historical USE_FOO style for testing in pathfix.mk
attempt to add group blacklist
blacklist _ntp
add ypldap to list
suck in Makefile.local if it exists in curdir.
export several OS related vars
use the new _LIB_RUN_DEPENDS var
remove useless var
avoid useles dirname call
make wayland a valid category.
Use a loop to export vars. This also fixes adding duplicates to .MAKEFLAGS with fmake, which was a bug present before recent changes.
fix a syntax bug
remove + from botched patch
replace COPYTREE_SHARE and COPYTREE_BIN with faster versions.
disable silent rules with configure
include default versions always
add timestamp
attempt to teach bsd.mport.mk to require /usr/mports prefix on dependencies.
remove legacy depends target
go to NO_MANCOMPRESS
add mono extension
add kde4 handler from freebsd for the lumina port
load qt extension for USE_QT5 syntax
remove old ghostscript hack
add fetch-specials target. This gives us an approach to get distfiles for jails with no network capability. Obtained from: FreeBSD
support alternate configure commands. (for use with waf / python)
attempt to fix the sub make fetch issue
try deleting these crazy soft depends
remove A flag from fetch calls
drop freebsd compatibility with destdir. this gets in the way of our fake system
fix wrksrc
revert the last change and fix wrksrc instead
reality
disable chroots for now. we are not actively using this feature
patch gstreamer support to load the extension when gstreamer1 is referenced.
add tk extension to list
add libarchive extension
update all ext list
add gssapi extension to master list
add jpeg extension
change behavior to more closely mimick freebsd ports. When using USES, set the extension_ARGS var to whatever is passed in. Then check in extensions for rather than defined to know when to skip things.
remove fpc from ports
ad objc extension
fix bug in patch fetching where it never thinks the patch was downloaded correctly
explicitly remove config.sub/guess and replace with ours.
switch to @dir
support conflicts detection
fixup
refactor extract sequence
refactor fetching
rework how we get the hashes
add retry back
simplify logic for making checksums
get rid of soft make args on makesum target
remove IGNOREFILES
add keywords section
add fonts and metaport extensions from freebsd
rename HASH_FILE -> DISTINFO_FILE as it is more specific. We went to HASH_FILE when we dropped MD5
add partial handling of github distnames
remove the complex ignore logic and just die. This seems to work with postgres at least
pass long libs when using HAS_CONFIGURE
add tex extension
fix typo
support silent patches. Add LIBS to make environment. Also, support USES_POST compatiblity with FreeBSD ports system.
support overriding configure shell or make shell
disable debug before ssp handling.
tweak ldap loads
add openldap extension
add disable describe
use a var for the _TARGETS list
add indexinfo
dont worry about deprecation
drop soft make flags from pretty print target
cleanup more names and minimize diff
update category names
load commands earlier.
remove duplicate lines
drop soft makeflags. refactor os version check
set some env vars
remove testing comment
refactor libtool handling so that patch-libtool is called properly. this solves an issue with the textproc/jade port
add gettext tools/runtime to extensions list
only inclue cpe if its defined
add support for cpe if defined to package
ugh.. swore this worked last time.. took much sake
revert the PKG_IGNORE_DEPENDS change to fix the grep error we see. Print a nice message when package create fails. Also, remove the package cookie so we can re-run the target without issue
add sanity to break out checks. drop kde support for now.
drop ul compat
switch to :tu
refactor x dependencies
move fam into its own file
always load x extension on xorg cat
add destdir support
switch to tu and tl from :U and :L modifiers
add execinfo.mk
make USE_MOTIF also work.
add extension
add desthack.
drop kde
change backup site
this is not working right with tar:xz
move compatibility hack above loading of extensions
add uses approach to downloads
add a fake-man-compress target that pre-compresses all our man pages if they're not already compressed. This allows us to put man pages in the plist now like FreeBSD does.
Team lib depends to like libfoo.so rather than foo: or foo.1
remove legacy check license
add libtool extension
add display extension
remove old checksum types
check the license
move license-list target to external file.
start work on importing FreeBSD license framework with our own mport license system. They have a few features that we do not from the experience of planning after we and openbsd did this.
add a site config for GNU configure.
add CONFIG_SITE to configure environment
remove picobsd category
add mate category
move some things around
rework patch fetching
remove comment support
man stage compatibility with FreeBSD ports
move ldap and openal to separate modules. update desktop categories list. reorder module load to be alphabetical for items we probably can do this with.
remove mbone category. most of these ports don't work well on newer midnightbsd releases anyway and it's stale.
add uidfix
all in
add new meta category for MidnightBSD infrastructure ports. "core"
add ssp and kmod modules
introduce compiler.mk from FreeBSD ports.
explicitly set make command. Due to order of loading commands.mk, we need to force this when using gmake or fmake. As we're not always using USE_GMAKE anymore, just use one path for run-build target. USES=gmake was not working properly.
switch over to MAKE_CMD for freebsd compatibility and add an fmake port
upgrade desktop file format
load options before metadata so describe-yaml has everything ready
fixup some properties.
migrate bison to extension
add gmake extension that's compatible with USES= and EXTENSIONS.
Drop support for releaes prior to mport tools. Another words, 0.2 won't work anymore and 0.3 will not work without using the new mport tools.
aha! catch the new config options so we run make config when we want to
ldap was bumped.. why isn't this an extension?
MAKE JOBS SAFE is default now.
Move linux compat mtree to templates just like we did with localbase so we can update it when needed and it's indepenedant of a linux compat base port.
Switch to new localbase file.
change the extract command. this fixes php extraction
fix typo in comment.
add imake extension
add fuse depends handling
Uses directives must be loaded AFTER extensions so that extensions can includes USES.
add more uses crap
fix control character in dos2unix as it wasnt escaped
include the extension using a separate mechanism until we get this sorted
fix typo
add pkgconfig to the list
load qt4 extension when USE_QT4 is turned on.
Update extensions for various ports. This will break things before it gets better.
freebsd compatibility with USES
add charsetfix from freebsd.
pathfix
make some changes for cmake. introduce *_REL directories for plists and cases we need relative paths to DOCS, DATA, ... directories.
drop trailing .sh on rc.d scripts installed by mports
fix dos2unix substitution. cleanup options.mk
fix osrel
Turn on random master sites for magus.
1. add binutils from ports 2. add users and groups management infrastructure.
improve dos2unix
bump ghostscript
Refactor bsd.mport.mk to include man pages stuff rather than embedding it in this file.
clean up format of extensions for display on console
fix broken package depends list line. this took awhile to track down.
Make a ton of changes including dropping X11BASE, speeding up pkgconf selection, removing some cruft and fixing some bugs.
os version detection hack
sort some of the licenses, new pkgconf port structure
Force clean on a depends install. This loses something in the cached case, but it's necessary. It should only happen when a depends is actually missing.
add clean on the depends target
use limited clean depends so we don't have to go through useless cleaning that is slow
drop portobjformat
format fixes, add CPPFLAGS< LDFLAGS CPP to make env, kill some legacy stuff like INSTALLS_SHLIB
introduce USE_SSP. When defined and not no it will enable stack protector for the given port.
change the behavior of CONFIGURE_TARGET. It will try to use it with --build now if it's a recent autotools setup
add openal USE_OPENAL to simplify ports using this
add INSTALL_LIB shortcut
Don't include xz for recent versions.. direction is backwards.
This is part of our problem with package names.. suffix was not included.
Introduce linux_apps extension similar to freebsd's bsd.linux-apps.mk
Default to fedora 8 libs
Don't use MD5 as the check for distfiles anymore.
MD5_FILE -> HASH_FILE.. this is the path to the distinfo file for a port. Remove md5 hash algorithm from distinfo files. Only use sha256 and rmd160 now. This speeds up "verification" slightly for distinfo files and md5 isn't exactly secure anyway.
Turn on mport tools by default for osversion 4004+
Don't include xz dependancy when os version is greater than 4003 when we introduced it in the base.
alright use a dns name
Doh! It was .endif!
security chekcs can be fun
Forgot the \
add epl and owl licenses
Enable private dist files for magus.
Fix LIB_DEPENDS when library name contains a plus sign. (pattern change) Add -32 via _LDCONFIG_FLAGS for 32bit libraries. Also add the path substitution for lib32 for mports.
Add glew depends for USE_GL
USE_XPM is replaced with USE_XORG+= xpm
Reorder licenses. Put the "special" cases on the last row. Add several additional GNU style licenses to the list.
enable fortran virtual include module.
add lua category.
Add mport.list and mport.info utilities.
Remove icc hack.
Set a USE_XZ up to use the lzma format for compression with some ports.
change default os version we lie about to 7.0 for current.
bump openldap 2.4 version
fix the patch depends
USE_UNZIP should look in localbase.
subversion license.
Fix regression where the default values where add to FAKE_MAKEARGS too late, preventing ports from appending their own overrides.
fix typo
Implement new USE_CSTD flag that ads --std=value to CFLAGS. This allows us to force a C standard like c89 on a port in the event we (or the user) want to use alternate compilers. If we decide to go with llvm + clang someday or a newer GCC this will be quite useful.
What did intel call it? Multiplexity? Yeah... Execute multiple make jobs in parallel within a single port. This uses make -jX where X is the number of CPUs on ports that have this feature enabled to make use of those fancy multicore CPUs. By default ports are built as they always have been. Use DISABLE_MAKE_JOBS to turn this off globally (make.conf) FORCE_MAKE_JOBS turns it on for everything in make.conf except those ports with explicit MAKE_JOBS_UNSAFE set. Finally port maintainers will use MAKE_JOBS_SAFE to mark a port as "OK" with this feature. Ports can use make or gmake with this option. This is similar to the feature introduced in FreeBSD ports last year; in fact it's based on their approach. Since this is used at compile time, it should not have a bearing on our faking or other features. It's local to the wrksrc only!
In the debug case, deal with no strict aliasing and debug flags
add WWWDIR and ETCDIR shortcuts. WWWDIR is the location to store the packages web files. ETCDIR is the diretory to store the packages etc files. Also document them in the pod file
Add first cut of update.
Pull in the old package tools right before fake.mk, this will give the various extensions time to twiddle things before we setup the depends targets.
make the libglut shared lib change to go with the version update.
change default openldap to 2.4
Modify the copytree macros to deal with copying files properly and avoid some problems we were seeing. Note this is not an mksh patch. That may come later.
Add a third hash algorithm to the fray. New distinfo files will contain and check rmd160 in addition to md5/sha256. Tested on ports with and without rmd160 present. Also remove check for ancient ports. This was a very old method of describing ports that we've never used. While it might be vaguely useful when basing ports on those from openbsd, etc. it doesn't makes sense for most cases.
fix regression with Module::Build perl ports.
move variables needed by package stuff to the right place.
Make sure that the metadata for the old tools is defined before we run the old tools.
include old package tools before the comps. This fixes various breakages.
break maintainer targest into a comp. Add new plist_sub reverse thing.
move fake into a component
Let's switch everything to freebsd6.1 'faking'. It's closer to the truth on 0.2 and we'll have to do something clever for current down the road.
remove some mport.query debugging that shouldn't have gotten into cvs.
add ilm license type
add kld as valid category. This is for kernel modules.
workaround bug where prefix is already set before extensions are loaded. This should fix ports that have USE_LINUX_RPM set, but are installed in LOCALBASE.
Display the various stage messages in bold.
Change OSVERSION to refer to the MidnightBSD version, not the FreeBSD version. Don't check for param.h in src, it could be version that isn't at all related to the actual system. Check param.h in /usr/include, and if that fails, use sysctl.
Various fixes. Add ocaml. Move KDE4 to 4.1.3. Make sure that PREFIX is defined before we load extensions. s/PKGSUBNAME/PKGBASE/g
Remove double handling of USE_XLIB.
Move all the documentation at the top to docs/bsd.mport.mk.pod.
Load autotools before gnome, so the gnome libtool hack stuff works.
Fix bug with PERL_CONFIGURE and PERL_MODBUILD.
add EXTENSIONS variable, for loading extensions only. No extension uses this as an instruction to do something, so this is only for loading the extension. Usage: EXTENSIONS= qt perl5 python
Add support for bsd.mport.options.mk. Make sure you have bsd.mport.options.mk in /usr/share/mk. (it is in source for 0.2, will be in current soon).
Use the new extension loading stuff. This should be backwards compatable, but regressions are certainly possible. All extensions are in extensions/ now, and all components in components/
Have USE_GECKO autoload bsd.gecko.mk
add bsd.cmake.mk for kde 4
use PKGBASE is the home install warning.
Add new var FATAL_LICENSE_CHECK. Useful for scripting.
Update zip to 3.0. * Add infozip license type and place the license in Licenses. * Set the license in zip port. * Use new sourceforge mirror
add bzip2 license.
Document USE_XFCE. Catch a case we missed earlier.
Add bsd.kde4.mk and bsd.xfce.mk for their respective environments. Add them to bsd.mport.mk and remove qmail options as we don't do qmail.
Suck in bsd.qt.mk for QT4 ports.
tkstep80 was removed from mports.
Redhat's got a special license for this based on the GPLv2. The FSF approved of the license, but it is not the GPL. Create a special license type for this.
Remove ia64 checks. We don't support the itanic.
Add @rmtry and @stopdaemon to plist generation These should probably be handled like @dirrmtry eventually in the pkg_install tools. (or mport)
Add support for NOPORTEXAMPLES and NOPORTDATA in plists.
add lgpl3 and opera license types. All ports using lgpl v3 should use lgpl3. lgpl v2 and v2.1 should continue to use lgpl
add cddl license.
Remove openldap 2.2 reference. We've never had a port with that version.
Add openldap 2.8 license type.
bump ldap version
Make changes for possible later include of QT4. This needs more testing (magus run?)
Add mport.inc directory. This directory contains logical units that together form the bsd.mport.* makefiles. metadata.mk and commands.mk have been created so far. In the furture there will be a ext directory for things like the xorg or perl extensions.
Switch to tk and tcl generic categories.
Add tk and tcl generic categories. Remove zope and a few others we don't need.
Fix bug in check-license.
Put install-desktop-entires in the right spot (with the rest of the install-) targets. Fix some FreeBSD stupidity.
Operation hack job. When we went to fake, we lost the install-desktop-entries target. A few Java ports use this to generate .desktop files so freedesktop friendly environments know about the apps. This also makes the ${PREFIX}/share/applications directory automagically.
INDEXING is dead. Long live PACKAGE_BUILDING. Cleanup bsd.java.mk, don't shotgun variables, fix logic so that system doesn't check for installed jdk when PACKAGE_BUILDING is set.
Doh. Fix a bug with the new bison code.
protect against a dependant port being null, resulting in the entire category being depended on.
Add INSTALL_KLD for "some" compatibility with FreeBSD ports. It's basically INSTALL_SCRIPT
Document what i did to bison!
Switch to Bison 2. This gives us build, run and both (for build depends, run depends and both) Use this instead of yes. yes currently implies build.
Since we only support xorg, why the hell bother with testing for it!
Slight tweak on HTML file generation
Fix preserve owner on tar extract Add some fixes for cases where we're using -02 and GCC 4
USE_XPM now uses USE_XORG so no xlib automatically. USE_LDCONFIG now works right with linux ports. OSVERSION takes tabs or spaces.
accidenently lost the PKGBASE definition.
Final version of the code for libmport support. Minimal versions are now fully supported. mport.check-fake is now used to check fakes. This commit may cause regressions, testing on the cluster is needed. Also, the delete logic willc change once all the package names have been made unique.
clean up the package depends stuff for the mport tools side.
add indexing variable.
We need gccmakedep with imake usage too.
Add explicit depends on xorg-cf-files port when using Imake. Many ports including imake need this anyway.. This unbreaks a lot of things.
Add the MIT license.
Add support for USE_MPORT_TOOLS.
Removed the skip for packlists from bsd.perl.mk. It didn't work anyways. Make sure that man3's for perl modules don't end up in gen-plist.
Add other license type. This should be used when the license is known, but not one of our categories. Unknown is for when the license cannot be found.
makeplist will now run make fake without the fake checking. This way if you have a bad plist, you can use makeplist to get a good one.
Add agpl, the GPLv3 web license. This license limits the use of GPL'd software on websites such that any modifications must be present on the website. This could have large implications with our ports tree + web applications with local patches.
Make sure that DOCSDIR and MANPREFIX are also corrected when trueprefix is set.
Broke the common commands into bsd.commands.mk. Documentation fixes. The docs in the begining of bsd.mport.mk now reflect reality. Added SKIP_FAKE_CHECK. A list of files that aren't checked to see if they contain the fake destdir. Perl now adds the packlist to this automatically. Replaced TARGETDIR with PREFIX in many places. This is a continuation of work to restrict the use of DESTDIR to install-package. USE_XORG now works properly with pre/post.port.mk.
Add run-configure and run-build targets. These targets are run by do-configured and do-build respectfully (the do-targets are thin wrappers). This allows you to override do-build, do something, and the then run the normal build process without having to reproduce it in your port makefile. Broke the fake process out of the monolithic fake-install target into several smaller targets. This allows the port maintainer to override the do-fake target if needed. These changes are protential unstable. I believe there to be no regressions, but until a run magus run can be done, be wary.
NO_INSTALL now skips fake, not install. This way, the fake installed isn't attempted. Ports that have no files will have an empty plist. The package will be installed, but no files come from the package. This way the package installation is still in the package database. This may cause some instability in ports, but it is the correct behavior.
add is_interactive to the yaml description.
OK this could break things. Remove that damn NO_FILTER_SHLIB hack for a.out stuff. This will make GNUstep ports work much easier.
add a few things to make magus's life easier.
don't check USE_GCPIO until after the pre-includes are included. This fixes the problem with USE_LINUX_RPM not implying USE_GCPIO. Use the perl version of checkfake if perl is installed. The perl version is an order of magnitude faster than the shell version. A few minor cleanups to makeplist.
add x11-drivers category.
USE_GL does not imply USE_XLIB in the xorg 7 world.
Fix check-license for empty LICENSE. Add agg (agragate) license type.
Include the rcs tag in generated plists.
Add sgi license.
Add xorg 7 framework. (Imported from fbsd with changes to suit our neededs). New variable PKGSUBNAME. This is the final name of the package without the version number. Various cleanups to targets under developement. test-mport target added. If you have libmport and the mport.create binary installed, you can create a mport package with this target. You can't use the package yet though - stay tuned.
Use the new shell version of chkfake.
Added COPYTREE_* macros from FreeBSD. CPIO is now set to /usr/bin/cpio by default, and to /usr/local/bin/gcpio if USE_GCPIO is defined.
Don't automatically add infodir or mandir to CONFIGURE_ARGS if CONFIGURE_ARGS already has the relevent variable. This fixes the bug with lang/gcc42.
--infodir and --mandir are now set for gnu configure scripts, provided the script supports the arguments. new FAKE_OPTS option: prefixhack. This implements the common idium of overiding prefix when make install is called in the wrksrc. It makes sure to override infodir and mandir, as this are now explicitly set and no longer $prefix relative. plists generated by makeplist (gen-plist) now use @dirrm instead of @dirrmtry. Continuing changes to describe-yaml, as this is still a moving target.
Add MidnightBSD ftp server to backup list.
Fix CD mount points to work with Distfiles not distfiles. Cleaned up describe-yaml some.
Add LICENSE to individual port readmes (HTML)
add bsd 4 clause (damn NetBSD)
Fix the MAKE_FLAGS bug properly this time. At port.post.mk include time any instance of -f is removed from MAKE_FLAGS and -f is appended to the end. Care is taken to not break things like '-fno-strict-aliasing'.
Added a start for the describe-yaml target, which is not used be anything at the moment. Ldconfig files were being installed for standard library locations in some situations. Fixed.
Introduce new USE_GCPIO option. This must be set to use ${CPIO} in a makefile. It sets an extract dependancy on the new archivers/gcpio port. This is needed to fix the linux ports as they rely on GNU style -- features.
check-license stopping make was so annoying that MPORT_MAINTAINER_MODE wasn't being used. Changed to sleep for 5 seconds instead. The package-recursive target was broken for the new port build process. Updated to the new reality.
Cleaned up bugs in new prefix handling. This should fix problems with gnustep ports.
The last commit broke make package's dependancy on make fake. Fixed.
Removed reference to unsed variable USE_GETOPT_LONG. Fixed fake bug in portdocs. Added unknown license type. Changed how check-fake works. It no longer depends on fake, but now make fake will run the check if MPORT_MAINTAINER_MODE is defined.
Added modula3 license. removed some extra noise from the check-license target.
Added support for the LICENSE variable. The current list of valid licenses can be found with the license-list target. This list is incomplete and will probably change. Renamed check_fake to check-fake to be more consistant with similar targets.
Added MPORT_MAINTAINER_MODE. This variable will turn on checks at points in the process to insure correct behavior. NOTE: YOU MUST INSTALL PERL WITH THIS UNSET BEFORE USING IT.
Added check_fake target.
If PREFIX has been set directly, make sure that TRUE_PREFIX is set to match.
Put MAKE_ARGS at the begining of FAKE_MAKEARGS, so that things can be overridden for fake.
Fix USE_LDCONFIG to work properly with USE_LINUX_PREFIX. INSTALLS_SHLIB is now just a wrapper around USE_LDCONFIG. Consider INSTALLS_SHLIB moved from deprecated to /really/ deprecated.
Various cleanups. bsd.perl.mk should now work with post/pre properly. Fixed an edge case in cached-install where the PKGFILE didn't exist but the package cookie did.
Fix a typo that broke USE_PERL5.
Moved all the perl stuff into a seperate bsd.perl.mk. Fixed a bug where add-plist-docs wasn't fake-aware. A debugging line in fix-fake-symlinks crept into cvs, removed.
Fake fixes for php extensions. I love it when you can fix 15 ports in one commit.
Make FAKE_SETUP a public variable. It should be considered read-only, but it is useful if you need to execute make from a *-install target.
Prepare for lua support.
Removed more cruft. Much remains, and this still has years of FreeBSD backwards compatibility which we do not need. makeplist should work better when NO_MTREE is in effect.
Put creation of the tmpplist in the exact same spot that fbsd's bsd.port.mk had it, fixing several edge cases with ports that generate their $PLIST. Removed several targets that are no longer used. fix-fake-symlinks was making some extra noise: redirected to /dev/null. Make sure to fix symlinks everywhere when a port installs to both LOCALBASE and LINUXBASE.
fix-fake-symlinks failed when there where no symlinks in the fake dir: fixed.
Various improvements. When installing dependancies, an attempt is now made to install the package ${PKGFILE}. If that file is not in ${PACKAGES}, then the port is built as per usual. At the end of fake sequence, any symlinks in ${FAKE_DESTDIR} that point to a file via an absolute path into ${FAKE_DESTDIR} are fixed to point to the correct file. Various cleanups and bug fixes. refake no longer complains if fake was never run.
Fix bugs with USE_LINUX. It was set to a run depend, but it should be a build depend. Fix .ORDER for parallel builds.
Stomp out another USE_LDCONFIG bug. Both cases are now tested to work correctly.
Move makeplist to the end so that all the vars are defined. Update MTREE_LINUX_FILE to the new location. USE_LINUX no longer implies NO_MTREE, as we are going to have an mtree file for each linux-base.
Rip out a bunch of checks for old versio of freebsd.
Fixed and cleaned up ldconfig configuration file magic. Added refake target.
pre-su-install was being done before pre-install, which is wrong. Fixed. A bit more cookie cleanup cleanup.
Add KMODDIR to the variables faked.
Run pre-su-install as well as pre-install. Warn that pre-su-install is deprecated.
Make sure that PREFIX is still twiddled with for {pre,post}-install if the trueprefix FAKE_OPT is set. Don't delete the package cookie on make deinstall.
USE_IMAKE now implies USE_X_PREFIX. imake ports seem to be hardwired. A few other cleanups.
Added new options for FAKE_OPTS: trueprefix. This is for ports that let you override both DESTDIR and PREFIX. Most ports don't do this, but if something is trying to install to $DESTDIR$PREFIX, and you get silly long paths, this is the option you need.
Bug fix. Some ports expect the temp packing list to be present during {pre,post}-install. We were doing it before 'package', which caused problems. The temp plist is now made in the begining of the 'fake' sequence.
Fixed RC scripts. Minor bug fix where MAKEARGS wasn't propogated to FAKE_MAKEARGS.
Fix the man symlink issue properly.
Fixes for MANCOMPRESSED. This needs to get refactored more.
Symlink fixes for makeplist. Turned down the noise some for fake-install.
Added makeplist target. This is currently undocumented, and missing several features, notably symlink support.
Various cleanups.
FAKE_TARGET was hard wired to install, it should be ${INSTALL_TARGET}. Fixed.
Added FAKE_OPTS, for common things like "I need to talk to the port's libs during fake", or "I need the binaries" Fixed info. Fixed SUB_FILES. Various tweaks.:
Various bug fixes. imake now works properly. linux ports now see /compat/linux in their fake dirs. you can now move FAKE_INSTALLDIR upwards from $WRKDIR, and make clean will still delete it.
Fix a couple comments. (s/^.*#/#/)
make install now creates the package that make package built. This is the first alpha version.
A few minor cleanups. PKGFILE is now ALWAYS in /usr/mports/Packages/All (unless you're silly enough to override it of course...)
reworked fake system. Somewhat similar to Open's now. Most ports should build correctly into their fake dirs now, though we'll have to check all the ports... make install is not yet up to speed with the changes, so users are still advised to use bsd.port.mk.
Added new variable: NO_STACK_PROTECTOR. If set then propolice stack smashing protection is disabled. Changed many of the TMPDIR names to FAKE so OpenBSD folks can pretend to know what's going on.
Fixed a nasty bug that broke pkg_delete. Our tmp prefix wasn't recognized as one of the "standard" prefixes, so the packing list was setup to delete the prefix. Only problem is that the prefix for the package itself is the default prefix, which is something like /usr/local or /usr/X11R6.
package target now no longer installs the port onto the system. Instead the port is installed in $PORTDIR/$TMP_INSTALLDIR, and a package is made from that. Note that this code is probably not the final version, but care has been taken to make the changes small, as to not reinvent the wheel. New wheels are so bugy. All ports /must/ honor PREFIX for this to work.
The very begining of bsd.mport.mk. Right now there is very little difference between this and bsd.port.mk. There is a new target, tmpdir-install, that instals the port in a temporary directly. make package depends on this now, but given that the package target hasn't been updated to work with the tmp dir, make package is broken. Also, TMP_INSTALLDIR needs to be moved up to the top, with the rest of the vars. The port makefile in general needs to be refactored. It is close to 6000k lines long, and real bitch to work with.
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.