diff options
author | Thomas Haider | 2023-07-27 21:33:19 +0200 |
---|---|---|
committer | Thomas Haider | 2023-07-27 21:33:19 +0200 |
commit | 49e067df50df5e17d817ba5260c1ef030f4c7f9a (patch) | |
tree | 3a65300d012db878d1b8dd0b8bfc7e2db153fe80 /dateformat.patch | |
parent | 36f4d8215f2a0b0f183b4030b2174711cc838f25 (diff) | |
download | aur-49e067df50df5e17d817ba5260c1ef030f4c7f9a.tar.gz |
Updated to newest version
Diffstat (limited to 'dateformat.patch')
-rw-r--r-- | dateformat.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dateformat.patch b/dateformat.patch new file mode 100644 index 000000000000..c0bf524ed95a --- /dev/null +++ b/dateformat.patch @@ -0,0 +1,13 @@ +diff --git a/dnssec-reverb b/dnssec-reverb +index ad133ad..3eafb0b 100755 +--- a/dnssec-reverb ++++ b/dnssec-reverb +@@ -160,7 +160,7 @@ sign() + EXPIRE=$EXPIRE_ABS + fi + $SIGNZONE_CMD "$_SIGN_PARAM" -e "$EXP" -o "$ZONE" -f "$ZONEFILE.signed" "$ZONEFILE.tmp" "$KEYDIR/$ZSK" "$KEYDIR/$KSK" $KSS || Fatal "failed to sign zone" && $CHECKZONE_CMD $ZONE $ZONE +- TT=$EXPIRE; date -r "$TT" '+%Y/%m/%d %H:%M:%S' > "$KEYDIR/$ZSK.expire" ++ TT=$EXPIRE; date -d "@$TT" '+%Y/%m/%d %H:%M:%S' > "$KEYDIR/$ZSK.expire" + rm "$ZONEFILE.tmp" + eval "$RELOAD_CMD" + } |