Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Commits
cd420a68
Verified
Commit
cd420a68
authored
2 years ago
by
alice
Browse files
Options
Downloads
Patches
Plain Diff
main/djbdns: replace egrep with grep -E
parent
342207d7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
main/djbdns/APKBUILD
+5
-3
5 additions, 3 deletions
main/djbdns/APKBUILD
main/djbdns/dnscache.monthly
+1
-1
1 addition, 1 deletion
main/djbdns/dnscache.monthly
with
6 additions
and
4 deletions
main/djbdns/APKBUILD
+
5
−
3
View file @
cd420a68
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname
=
djbdns
pkgver
=
1.05
pkgrel
=
4
8
pkgrel
=
4
9
pkgdesc
=
"Excellent high-performance DNS services"
url
=
"http://cr.yp.to/djbdns.html"
arch
=
"all"
...
...
@@ -87,7 +87,8 @@ dnscache() {
"
$subpkgdir
"
/etc/periodic/monthly/dnscache-hints-refresh
}
sha512sums
=
"20f066402801d7bec183cb710a5bc51e41f1410024741e5803e26f68f2c13567e48eba793f233dfab903459c3335bc169e24b99d66a4c64e617e1f0779732fa9 djbdns-1.05.tar.gz
sha512sums
=
"
20f066402801d7bec183cb710a5bc51e41f1410024741e5803e26f68f2c13567e48eba793f233dfab903459c3335bc169e24b99d66a4c64e617e1f0779732fa9 djbdns-1.05.tar.gz
41cca597dba971010b9844071e0349d3a4b25cc4b144e12721b0bc8250589fb374e40ece8908f1081762597048179b1177e88b9a5f97be0b47b63e3183e654bb djbdns-1.05-test25.diff.bz2
be4c9aea40c737364a56f188ad2276d90deac0dffb73ba4b659490836c0fe92ffb65ccf23c6724b913b2d6354336727004be0cf5b43ebc47abe7004700dfe1e8 headtail.patch
0cd97d833e0aaee2b82ed27b56ce183e9ab9806ff1e77bc61b7f38ae3168aa7310b12d2ed330713c4da97e60881ee339f6af449142cc29823865d87270733211 dnsroots.patch
...
...
@@ -100,4 +101,5 @@ af7c0a0a2f519ec16ac2a937664b7984aafeb19d04fbd6e0fd0afa5482f3cb0b4ac5cf6a846d574a
31b52bd4dd0f78ff63e105ff3937fb9bf582628fe7a04bfcba91195d4fc4b55b60869f993a42ef55a228892647af07ed7ea22cfff72812430c7b8207debdd8f1 tinydns.confd
31bf58ed6a049e02210ce1cbbea00b62e2fe92339cd861eb3ee35f16186a3904e85fcd2f056e2d788b8a284068d83a3767cef01519a6d0152f1958be8e418956 dnscache.initd
1b281a4892c1c9ad39a15c95d0fbd14b0ada69b31723250e33d96946bd19f3edc4b36ec90fb9b6b884d7907b7e86cc3980f116f16fe35fb7496feffd728b1ffa dnscache.confd
70d3431db407d02f145cb1521d563559b536e89a6a88f50cf853036b2833d78b594398df30cc33c17debea23aa6a7112614741e13f8ec5d1429fad075273a9f6 dnscache.monthly"
19dcd0880a4e43657d05916b96c1ce075e4ba0a9dc0f7085408e92e087e5a9386ff760e76f81c509fe7402aa6fd9580817f590d5a062dca6bf813d73e0e1b95c dnscache.monthly
"
This diff is collapsed.
Click to expand it.
main/djbdns/dnscache.monthly
+
1
−
1
View file @
cd420a68
...
...
@@ -28,7 +28,7 @@ for ZONEFILE in $ZONES; do
# Refresh zone info
dnsqr ns
$ZONE
|
awk
'/^answer: ./ { print $5 }'
|
sort
-u
| xargs dnsip
>
$TMPF
if
e
grep
-q
'[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+'
$TMPF
;
then
if
grep
-E
-q
'[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+'
$TMPF
;
then
cmp
-s
$ZONEFILE
$TMPF
if
[
"
$?
"
!=
0
]
;
then
NEEDRESTART
=
yes
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment