CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2020/02/07 02:58:54

Added files:
        usr.bin/dig    : COPYRIGHT Makefile dig.1 dig.c dig.h dighost.c 
                         host.1 host.c nslookup.1 nslookup.c 
        usr.bin/dig/lib/dns: Makefile.inc byaddr.c callbacks.c 
                             compress.c dns_log.c dns_result.c 
                             dns_time.c dst_api.c dst_internal.h 
                             dst_openssl.h dst_parse.c dst_parse.h 
                             dst_result.c gen.c hmac_link.c key.c lib.c 
                             masterdump.c message.c name.c 
                             openssl_link.c rcode.c rdata.c rdatalist.c 
                             rdatalist_p.h rdataset.c tsig.c ttl.c 
        usr.bin/dig/lib/dns/include/dns: byaddr.h callbacks.h cert.h 
                                         compress.h ds.h dsdigest.h 
                                         fixedname.h keyflags.h 
                                         keyvalues.h lib.h log.h 
                                         masterdump.h message.h name.h 
                                         opcode.h rcode.h rdata.h 
                                         rdataclass.h rdatalist.h 
                                         rdataset.h rdatatype.h result.h 
                                         secalg.h secproto.h time.h 
                                         tsig.h ttl.h types.h 
        usr.bin/dig/lib/dns/include/dst: dst.h result.h 
        usr.bin/dig/lib/dns/rdata: rdatastructpre.h rdatastructsuf.h 
        usr.bin/dig/lib/dns/rdata/any_255: tsig_250.c tsig_250.h 
        usr.bin/dig/lib/dns/rdata/ch_3: a_1.c a_1.h 
        usr.bin/dig/lib/dns/rdata/generic: afsdb_18.c afsdb_18.h 
                                           avc_258.c avc_258.h caa_257.c 
                                           caa_257.h cdnskey_60.c 
                                           cdnskey_60.h cds_59.c 
                                           cds_59.h cert_37.c cert_37.h 
                                           cname_5.c cname_5.h 
                                           csync_62.c csync_62.h 
                                           dlv_32769.c dlv_32769.h 
                                           dname_39.c dname_39.h 
                                           dnskey_48.c dnskey_48.h 
                                           doa_259.c doa_259.h ds_43.c 
                                           ds_43.h eui48_108.c 
                                           eui48_108.h eui64_109.c 
                                           eui64_109.h gpos_27.c 
                                           gpos_27.h hinfo_13.c 
                                           hinfo_13.h hip_55.c hip_55.h 
                                           ipseckey_45.c ipseckey_45.h 
                                           isdn_20.c isdn_20.h key_25.c 
                                           key_25.h keydata_65533.c 
                                           keydata_65533.h l32_105.c 
                                           l32_105.h l64_106.c l64_106.h 
                                           loc_29.c loc_29.h lp_107.c 
                                           lp_107.h mb_7.c mb_7.h md_3.c 
                                           md_3.h mf_4.c mf_4.h mg_8.c 
                                           mg_8.h minfo_14.c minfo_14.h 
                                           mr_9.c mr_9.h mx_15.c mx_15.h 
                                           naptr_35.c naptr_35.h 
                                           nid_104.c nid_104.h 
                                           ninfo_56.c ninfo_56.h ns_2.c 
                                           ns_2.h nsec3_50.c nsec3_50.h 
                                           nsec3param_51.c 
                                           nsec3param_51.h nsec_47.c 
                                           nsec_47.h null_10.c null_10.h 
                                           nxt_30.c nxt_30.h 
                                           openpgpkey_61.c 
                                           openpgpkey_61.h opt_41.c 
                                           opt_41.h proforma.c 
                                           proforma.h ptr_12.c ptr_12.h 
                                           rkey_57.c rkey_57.h rp_17.c 
                                           rp_17.h rrsig_46.c rrsig_46.h 
                                           rt_21.c rt_21.h sig_24.c 
                                           sig_24.h sink_40.c sink_40.h 
                                           smimea_53.c smimea_53.h 
                                           soa_6.c soa_6.h spf_99.c 
                                           spf_99.h sshfp_44.c 
                                           sshfp_44.h ta_32768.c 
                                           ta_32768.h talink_58.c 
                                           talink_58.h tkey_249.c 
                                           tkey_249.h tlsa_52.c 
                                           tlsa_52.h txt_16.c txt_16.h 
                                           unspec_103.c unspec_103.h 
                                           uri_256.c uri_256.h x25_19.c 
                                           x25_19.h 
        usr.bin/dig/lib/dns/rdata/hs_4: a_1.c a_1.h 
        usr.bin/dig/lib/dns/rdata/in_1: a6_38.c a6_38.h a_1.c a_1.h 
                                        aaaa_28.c aaaa_28.h apl_42.c 
                                        apl_42.h dhcid_49.c dhcid_49.h 
                                        kx_36.c kx_36.h nsap-ptr_23.c 
                                        nsap-ptr_23.h nsap_22.c 
                                        nsap_22.h px_26.c px_26.h 
                                        srv_33.c srv_33.h wks_11.c 
                                        wks_11.h 
        usr.bin/dig/lib/isc: Makefile.inc app_api.c assertions.c 
                             base32.c base64.c buffer.c bufferlist.c 
                             error.c event.c hash.c heap.c hex.c 
                             hmacmd5.c hmacsha.c inet_aton.c lex.c log.c 
                             md5.c netaddr.c netscope.c parseint.c 
                             refcount.c regex.c region.c result.c safe.c 
                             serial.c sha1.c sha2.c sockaddr.c 
                             socket_api.c symtab.c task.c task_p.h 
                             timer.c timer_p.h 
        usr.bin/dig/lib/isc/include/isc: app.h assertions.h base32.h 
                                         base64.h boolean.h buffer.h 
                                         bufferlist.h errno.h error.h 
                                         event.h eventclass.h 
                                         formatcheck.h hash.h heap.h 
                                         hex.h hmacmd5.h hmacsha.h 
                                         ipv6.h lang.h lex.h lib.h 
                                         list.h log.h magic.h md5.h 
                                         msgs.h netaddr.h netscope.h 
                                         parseint.h refcount.h regex.h 
                                         region.h result.h resultclass.h 
                                         safe.h serial.h sha1.h sha2.h 
                                         sockaddr.h socket.h stdio.h 
                                         symtab.h task.h timer.h types.h 
                                         util.h 
        usr.bin/dig/lib/isc/unix: Makefile.inc app.c errno.c 
                                  errno2result.c errno2result.h net.c 
                                  socket.c socket_p.h stdio.c stdtime.c 
                                  strerror.c time.c 
        usr.bin/dig/lib/isc/unix/include/isc: net.h stdtime.h strerror.h 
                                              time.h 
        usr.bin/dig/lib/isccfg: Makefile.inc namedconf.c parser.c 
        usr.bin/dig/lib/isccfg/include/isccfg: cfg.h grammar.h 
                                               namedconf.h 
        usr.bin/dig/lib/lwres: Makefile.inc lwconfig.c 
        usr.bin/dig/lib/lwres/include/lwres: lwres.h result.h 

Log message:
Move dig(1) and needed DNS libraries into it's own source directory in
usr.bin/dig.

>From the beginning when we started to remove unneeded nameserver code,
it was our goal to extract dig functionality from the bind sources,
for everyone's benefit as this is easier to reason about.

In total we removed about 2/3 or over 300.000 lines of code.

We kept the lib/ subdirectory layout but moved the content of bin/ to
the top from the old bind source directory.

Previous sources and history can be found in the src/usr.sbin/bind
Attic.

With & OK deraadt
Proposed directory layout sounds good to sthen

Reply via email to