Update package version to 9.21.18
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
# Ignore BPM archives and signatures
|
||||
*.bpm
|
||||
*.bpm.sig
|
||||
@@ -1,9 +1,11 @@
|
||||
name: bind
|
||||
description: A complete, highly portable implementation of the Domain Name System (DNS) protocol
|
||||
version: 9.21.17
|
||||
version: 9.21.18
|
||||
revision: 1
|
||||
url: https://www.isc.org/bind/
|
||||
license: MPL2
|
||||
maintainers:
|
||||
- [email protected]
|
||||
architecture: any
|
||||
type: source
|
||||
depends:
|
||||
@@ -22,14 +24,17 @@ depends:
|
||||
- liburcu
|
||||
- libuv
|
||||
- libxml2
|
||||
- lmdb
|
||||
- openssl
|
||||
- readline
|
||||
- sysusers
|
||||
- xz-utils
|
||||
- zlib
|
||||
make_depends:
|
||||
- meson
|
||||
- python-sphinx
|
||||
downloads:
|
||||
- url: https://ftp.isc.org/isc/bind9/${BPM_PKG_VERSION}/bind-${BPM_PKG_VERSION}.tar.xz
|
||||
extract_to: ${BPM_SOURCE}
|
||||
extract_strip_components: 1
|
||||
checksum: 3cefdbc795f6347aff11af478dded6f036ff7b3a00f9ca3c9d0e80f0deeb0d05
|
||||
checksum: b2a5f01ed7fedcb84b9df4ae78208ed51ceed1733f37fb9ea649026ec83d9f59
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
@ 1D IN SOA localhost. root.localhost. (
|
||||
42 ; serial (yyyymmdd##)
|
||||
3H ; refresh
|
||||
15M ; retry
|
||||
1W ; expiry
|
||||
1D ) ; minimum ttl
|
||||
|
||||
1D IN NS localhost.
|
||||
|
||||
1.0.0.127.in-addr.arpa. 1D IN PTR localhost.
|
||||
@@ -0,0 +1,10 @@
|
||||
@ 1D IN SOA localhost. root.localhost. (
|
||||
42 ; serial (yyyymmdd##)
|
||||
3H ; refresh
|
||||
15M ; retry
|
||||
1W ; expiry
|
||||
1D ) ; minimum ttl
|
||||
|
||||
1D IN NS localhost.
|
||||
|
||||
1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa. 1D IN PTR localhost.
|
||||
@@ -0,0 +1,11 @@
|
||||
@ 1D IN SOA localhost. root.localhost. (
|
||||
42 ; serial (yyyymmdd##)
|
||||
3H ; refresh
|
||||
15M ; retry
|
||||
1W ; expiry
|
||||
1D ) ; minimum ttl
|
||||
|
||||
1D IN NS localhost.
|
||||
|
||||
localhost. 1D IN A 127.0.0.1
|
||||
localhost. 1D IN AAAA ::1
|
||||
@@ -0,0 +1,57 @@
|
||||
// vim:set ts=4 sw=4 et:
|
||||
|
||||
options {
|
||||
directory "/var/named";
|
||||
pid-file "/run/named/named.pid";
|
||||
|
||||
// Uncomment these to enable IPv6 connections support
|
||||
// IPv4 will still work:
|
||||
// listen-on-v6 { any; };
|
||||
// Add this for no IPv4:
|
||||
// listen-on { none; };
|
||||
|
||||
allow-recursion { 127.0.0.1; ::1; };
|
||||
allow-transfer { none; };
|
||||
allow-update { none; };
|
||||
|
||||
version none;
|
||||
hostname none;
|
||||
server-id none;
|
||||
};
|
||||
|
||||
zone "localhost" IN {
|
||||
type master;
|
||||
file "localhost.zone";
|
||||
};
|
||||
|
||||
zone "0.0.127.in-addr.arpa" IN {
|
||||
type master;
|
||||
file "127.0.0.zone";
|
||||
};
|
||||
|
||||
zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" {
|
||||
type master;
|
||||
file "localhost.ip6.zone";
|
||||
};
|
||||
|
||||
//zone "example.org" IN {
|
||||
// type slave;
|
||||
// file "example.zone";
|
||||
// masters {
|
||||
// 192.168.1.100;
|
||||
// };
|
||||
// allow-query { any; };
|
||||
// allow-transfer { any; };
|
||||
//};
|
||||
|
||||
//logging {
|
||||
// channel xfer-log {
|
||||
// file "/var/log/named.log";
|
||||
// print-category yes;
|
||||
// print-severity yes;
|
||||
// severity info;
|
||||
// };
|
||||
// category xfer-in { xfer-log; };
|
||||
// category xfer-out { xfer-log; };
|
||||
// category notify { xfer-log; };
|
||||
//};
|
||||
@@ -0,0 +1,4 @@
|
||||
name: named
|
||||
description: Internet domain name server
|
||||
type: background
|
||||
start_cmd: /usr/sbin/named -f -u named
|
||||
@@ -0,0 +1 @@
|
||||
u named 20 "BIND DNS Server"
|
||||
@@ -14,6 +14,21 @@ build() {
|
||||
package() {
|
||||
meson install -C build --destdir="$BPM_OUTPUT"
|
||||
|
||||
# Install config files
|
||||
install -Dm644 "$BPM_WORKDIR"/named.conf "$BPM_OUTPUT"/etc/named.conf
|
||||
|
||||
# Setup named directory and zones
|
||||
install -dm770 -o 0 -g 20 "$BPM_OUTPUT"/var/named
|
||||
install -Dm640 -o 0 -g 20 "$BPM_WORKDIR"/localhost.zone "$BPM_OUTPUT"/var/named/localhost.zone
|
||||
install -Dm640 -o 0 -g 20 "$BPM_WORKDIR"/localhost.ip6.zone "$BPM_OUTPUT"/var/named/localhost.ip6.zone
|
||||
install -Dm640 -o 0 -g 20 "$BPM_WORKDIR"/127.0.0.zone "$BPM_OUTPUT"/var/named/127.0.0.zone
|
||||
|
||||
# Install sysusers file
|
||||
install -Dm644 "$BPM_WORKDIR"/sysusers "$BPM_OUTPUT"/usr/lib/sysusers.d/named.conf
|
||||
|
||||
# Install esvm service
|
||||
install -Dm644 "$BPM_WORKDIR"/named.esv "$BPM_OUTPUT"/etc/esvm/services/named.esv
|
||||
|
||||
# Install package license
|
||||
install -Dm644 "$BPM_SOURCE"/{LICENSE,COPYRIGHT} -t "$BPM_OUTPUT"/usr/share/licenses/bind/
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user