diff options
Diffstat (limited to 'net/alfis/pkg')
| -rw-r--r-- | net/alfis/pkg/DESCR | 10 | ||||
| -rw-r--r-- | net/alfis/pkg/PLIST | 18 | ||||
| -rw-r--r-- | net/alfis/pkg/alfis.rc | 13 |
3 files changed, 41 insertions, 0 deletions
diff --git a/net/alfis/pkg/DESCR b/net/alfis/pkg/DESCR new file mode 100644 index 0000000..8ed3a4f --- /dev/null +++ b/net/alfis/pkg/DESCR @@ -0,0 +1,10 @@ +This project represents a minimal blockchain without cryptocurrency, +capable of sustaining any number of domain names in a bunch of original +alternative zones. It provides a very small and peer-to-peer synchronized +database of domain names. The consistency of this database is based on +blockchain technology, that prevents retroactive changing of data, +and has strict cryptographical consensus. +Also it comes with a DNS server with cache, like you have in your +Internet-router. It resolves the domains from database and forwards +all regular DNS-requests to some other resolver - your router, Google DNS, +Cloudflare DNS, or AdGuard DNS (if you want to block ads and trackers). diff --git a/net/alfis/pkg/PLIST b/net/alfis/pkg/PLIST new file mode 100644 index 0000000..83797ba --- /dev/null +++ b/net/alfis/pkg/PLIST @@ -0,0 +1,18 @@ +@newgroup _alfis:1103 +@newuser _alfis:1103:_alfis::Alfis User:/var/alfis:/bin/sh +@rcscript ${RCDIR}/alfis +@bin bin/alfis +@mode 0750 +@owner _alfis +@group _alfis +@sample ${SYSCONFDIR}/alfis/ +@mode +@owner +@group +share/alfis/ +@mode 0750 +@owner _alfis +@group _alfis +share/alfis/alfis.toml +@sample ${LOCALSTATEDIR}/alfis/ +@sample ${SYSCONFDIR}/alfis/alfis.toml diff --git a/net/alfis/pkg/alfis.rc b/net/alfis/pkg/alfis.rc new file mode 100644 index 0000000..f15ad10 --- /dev/null +++ b/net/alfis/pkg/alfis.rc @@ -0,0 +1,13 @@ +#!/bin/ksh + +daemon="${TRUEPREFIX}/bin/alfis" +daemon_flags="-c ${SYSCONFDIR}/alfis/alfis.toml" +daemon_user="_alfis" +daemon_logger="daemon.info" + +. /etc/rc.d/rc.subr + +rc_bg=YES +rc_reload=NO + +rc_cmd $1 |
