FYI, the overcomplicated and nearly useless DESTDIR functionality has
been rewritten as my SoC 2007 project and the new implementation has
been committed into CVS. This one does not require individual ports to
be modified, so it is much simpler to use. It utilizes chroot(1) and
mount_nullfs(1) to build packages for a jail. It is implemented in a new
Makefile, called bsd.destdir.mk. You can refer to the header of this
file if you need a documentation.
At the same time, another new Makefile has been introcuded:
bsd.commands.mk. All the variable definitions that cover the command
line tools, e.g. MKDIR has been extracted, because it simplifies the
structure of the infrastructure Makefiles and it can be reused later
within the infrastructure.
Thanks goes to Andrew Pantyukhin (sat@) for providing important and
useful suggestions and a lot of support as my SoC mentor.
Regards,
--
Gabor Kovesdan
FreeBSD Volunteer
EMAIL: [EMAIL PROTECTED] .:|:. [EMAIL PROTECTED]
WEB: http://people.FreeBSD.org/~gabor .:|:. http://kovesdan.org
--- Begin Message ---
gabor 2007-08-04 11:37:24 UTC
FreeBSD ports repository
Modified files:
. CHANGES UPDATING
Mk bsd.emacs.mk bsd.gnome.mk bsd.mail.mk
bsd.openssl.mk bsd.port.mk
bsd.port.subdir.mk bsd.python.mk
bsd.ruby.mk
Tools/scripts security-check.awk
Added files:
Mk bsd.commands.mk bsd.destdir.mk
Log:
- Extract command variable definitions from bsd.port.mk, they are now stored
in
bsd.commands.mk and can be easily reused within the infrastructure.
- Revert old DESTDIR implementation.
- Add a new, fully chrooted DESTDIR implementation as bsd.destdir.mk.
Sponsored by: Google Summer of Code 2007
Approved by: portmgr (pav)
Revision Changes Path
1.77 +17 -1 ports/CHANGES
1.1 +99 -0 ports/Mk/bsd.commands.mk (new)
1.1 +222 -0 ports/Mk/bsd.destdir.mk (new)
1.68 +3 -3 ports/Mk/bsd.emacs.mk
1.143 +8 -8 ports/Mk/bsd.gnome.mk
1.3 +3 -3 ports/Mk/bsd.mail.mk
1.35 +7 -7 ports/Mk/bsd.openssl.mk
1.578 +168 -450 ports/Mk/bsd.port.mk
1.71 +35 -40 ports/Mk/bsd.port.subdir.mk
1.99 +2 -2 ports/Mk/bsd.python.mk
1.163 +3 -3 ports/Mk/bsd.ruby.mk
1.3 +10 -40 ports/Tools/scripts/security-check.awk
1.532 +18 -1 ports/UPDATING
--- End Message ---
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"