Ask HN: Template for Software License agreement

Any ideas where I can get a good template for a software license agreement?

  • what kind of licence? Like The GNU Licence, MIT licence, Apache Licence? or a Proprietary licence?