Commit Graph

39 Commits

Author SHA1 Message Date
Dan Church 85d9a5feca
Configure Getopt::Long with better options 2024-04-22 10:17:45 -05:00
Dan Church 7d9188c6fa
Require Perl 5.12
Fix some postfix 'if' statements too.
2023-09-04 10:50:30 -05:00
Dan Church 133b271208
Combine GetOpt::Long options 2023-09-04 10:08:36 -05:00
Dan Church 41ba29d218
Remove Perl 4 sigils (PBP) 2023-09-04 10:08:00 -05:00
Dan Church dc38b1a376
Remove unused variable 2023-07-11 12:55:25 -05:00
Dan Church 942465cc22
Remove 'set -e'
Makes scripts less able to handle errors properly.
2023-07-11 12:54:22 -05:00
Dan Church 06e9f59489
Remove vim modelines
We have .editorconfig for that.
2023-07-11 12:51:51 -05:00
Dan Church cc52e56e47
Fix uninitialized string warning 2023-07-11 11:54:52 -05:00
Dan Church 637c4a1b81
Release v0.2.0 2023-06-19 13:45:06 -05:00
Dan Church afa73e31f6
Fix blocklist permissions on first generation 2022-12-15 11:54:02 -06:00
Dan Church 8fbca993fa
Add CHANGELOG 2022-12-14 10:35:50 -06:00
Dan Church 9fe8323432
Clear custom ad domains list
Effectively removes 11 domains from the block list, since there was one
double-listed domain, 'syndication.realserv.com'.
2022-12-14 10:22:20 -06:00
Dan Church 934cdd7f03
Use '::' as for the IPv6 blocked address
See https://docs.pi-hole.net/ftldns/blockingmode/
2022-12-13 12:08:42 -06:00
Dan Church a8f0b510a3
Add suggested 'bogus-priv', 'domain-needed' options
Also alphabetize options.
2022-12-13 11:51:03 -06:00
Dan Church 663885a568
Add IPv6 address of Google's global DNS server
While "dig @8.8.8.8 example.com" gives AAAA records, this feels wrong;
we must move move toward using IPv6 only.
2022-12-13 11:28:17 -06:00
Dan Church 9b4ee564d6
Fix AdroitAdorKhan-EnergizedProtection
Lock the repo to a commit right before things started breaking.
2022-12-08 14:25:01 -06:00
Dan Church ef7f08b396
Remove unused submodule entry
Added by mistake. Never affected any clones, though, as the submodule
path wasn't committed.
2022-12-08 14:13:53 -06:00
Dan Church 1a97ec8365
Add support for allowlists 2022-11-25 16:17:54 -06:00
Dan Church fd8061714f
Use a common method of reading lines
Adds comment support for domain lists.
2022-11-25 15:40:20 -06:00
Dan Church 59ef0fd513
Limit file clobbering during update
Don't clobber files in-place unless there's actual changes.
2022-11-25 14:58:27 -06:00
Dan Church 65ade612e7
Replace Slackware-specific dnsmasq restart 2022-11-12 12:01:03 -06:00
Dan Church 6f86038404
Clean up update.cfg 2022-11-12 11:27:01 -06:00
Dan Church 881debf6bb
Add documentation for URL, OUT arrays 2022-11-12 11:27:01 -06:00
Dan Church a46ad0e943
Update gitignore 2022-11-12 11:27:01 -06:00
Dan Church 89e4dfebe5
Fix markdown formatting 2022-11-12 10:27:52 -06:00
Dan Church e80b115e74
Replace working directory guess with FindBin 2022-11-11 17:09:32 -06:00
Dan Church f8c4c19dcd
Add missing instruction 2022-11-11 17:01:26 -06:00
Dan Church 2a67e47cde
Add README, CONTRIBUTING, LICENSE
And all the other explanatory bits needed to push this out into a
proper Open Source Project(TM).
2022-11-11 16:59:14 -06:00
Dan Church 3e3e0d48f2
Also block IPv6 address lookups 2022-11-11 16:47:56 -06:00
Dan Church 6784ea96c0
Recommend keeping shallow clones of blocklist repos
These repositories contain massive changes to massive text files, and
this means hundreds of megabytes for a full clone.
2022-11-11 16:47:56 -06:00
Dan Church b77bcfdb89
Add configuration defaults
Don't depend on update.cfg being there.

Move existing hard-coded config to example config.
2022-11-11 16:47:56 -06:00
Dan Church 00b114c85a
Use a temporary directory 2022-11-11 16:47:56 -06:00
Dan Church 5cbc6f6158
Integrate AdroitAdorKhan/EnergizedProtection 2022-11-11 16:47:56 -06:00
Dan Church 2496f5c5a9
Make make-block.pl's output more flexible 2022-11-11 16:47:56 -06:00
Dan Church 2000a11c71
Add list of custom ad domains 2022-11-11 16:47:56 -06:00
Dan Church b19f858cd2
Update gitignore 2022-11-11 16:47:56 -06:00
Dan Church c03f0c8d37
Replace elaborate wget with git repo 2022-11-11 16:47:53 -06:00
Dan Church d1edd1d520
Fix to make update.sh runnable from anywhere 2022-11-11 16:47:39 -06:00
Dan Church c6f800c04a
Initial commit 2022-11-11 16:47:36 -06:00