resolve package dependencies before send
cleanup P5M_INT[23]
remove help comments from template

they're mostly in the way :)
remove "myapp" from template
ignore build logs
Remove references to obsolete fix_permissions function.
remove proto from dlmirror (thus allowing ftp)
support auto-stubbing out a temporary repo
integrate pkglint
change pkgrepo path
fix NOSCRIPTSTUB
mv scripts instead of cp when NOSCRIPTSTUB enabled
bump to r151006
preserve=renamenew for files in etc/ by default
use gcc-4.7.2
allow DEPENDS_IPS to override auto-resolved deps
Merge remote-tracking branch 'omnios/template'

Conflicts:
	lib/functions.sh
do MY_MOG_FILE before pkgdepend

Otherwise pkgdepend will end up generating dependencies like
"pkg:/${PKGE}.p5m.int.3" since it doesn't know the package name. This
means another temp file...
truncate MANUAL_DEPS before appending to it
fix manual deps logic