logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git

gen.lua (1872B)


  1. cflags{
  2. '-I $dir',
  3. '-I $srcdir',
  4. '-isystem $builddir/pkg/bearssl/include',
  5. }
  6. pkg.deps = {
  7. 'pkg/bearssl/headers',
  8. }
  9. exe('unbound', [[
  10. daemon/(
  11. acl_list.c daemon.c
  12. stats.c unbound.c
  13. worker.c
  14. )
  15. util/shm_side/shm_main.c
  16. sldns/(
  17. keyraw.c sbuffer.c wire2str.c parse.c parseutil.c rrdef.c
  18. str2wire.c
  19. )
  20. util/(
  21. edns.c
  22. config_file.c
  23. configparser.c
  24. configlexer.c
  25. as112.c
  26. timehist.c
  27. log.c
  28. locks.c
  29. tube.c
  30. fptr_wlist.c
  31. netevent.c
  32. regional.c
  33. ub_event.c
  34. net_help.c
  35. rtt.c
  36. mini_event.c
  37. tcp_conn_limit.c
  38. rbtree.c
  39. data/(
  40. msgparse.c
  41. msgencode.c
  42. dname.c
  43. msgreply.c
  44. packed_rrset.c
  45. )
  46. storage/(
  47. slabhash.c
  48. lruhash.c
  49. dnstree.c
  50. lookup3.c
  51. )
  52. alloc.c
  53. random.c
  54. module.c
  55. )
  56. iterator/(
  57. iter_utils.c
  58. iter_resptype.c
  59. iter_hints.c
  60. iter_fwd.c
  61. iter_delegpt.c
  62. iterator.c
  63. iter_scrub.c
  64. iter_priv.c
  65. iter_donotq.c
  66. )
  67. dns64/dns64.c
  68. respip/respip.c
  69. services/(
  70. rpz.c
  71. view.c
  72. outside_network.c
  73. authzone.c
  74. outbound_list.c
  75. modstack.c
  76. listen_dnsport.c
  77. cache/(dns.c rrset.c infra.c)
  78. mesh.c
  79. localzone.c
  80. )
  81. validator/(
  82. autotrust.c
  83. validator.c
  84. val_anchor.c
  85. val_secalgo.c
  86. val_sigcrypt.c
  87. val_nsec.c
  88. val_nsec3.c
  89. val_utils.c
  90. val_kentry.c
  91. val_kcache.c
  92. val_neg.c
  93. )
  94. $builddir/pkg/bearssl/libbearssl.a
  95. ]])
  96. file('bin/unbound', '755', '$outdir/unbound')
  97. for _, name in ipairs{'unbound.8', 'unbound.conf.5'} do
  98. build('sed', '$outdir/'..name, '$srcdir/doc/'..name..'.in', {
  99. expr={
  100. [[-e 's/@date@/Dec 10, 2021/']],
  101. [[-e 's,@version@,1.14.0,']],
  102. [[-e 's,@ub_conf_file@,/etc/unbound/unbound.conf,']],
  103. [[-e 's,@UNBOUND_CHROOT_DIR@,/etc/unbound,']],
  104. [[-e 's,@UNBOUND_USERNAME@,unbound,']],
  105. [[-e 's,@UNBOUND_RUN_DIR@,/etc/unbound,']],
  106. [[-e 's,@UNBOUND_PIDFILE@,,']],
  107. [[-e 's,@DNSTAP_SOCKET_PATH@,,']],
  108. },
  109. })
  110. man{'$outdir/'..name}
  111. end
  112. fetch 'git'