From 2b87eafade6d8c7937eacff4539784591b307ff0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?HUC=20St=C3=A9phane?= Date: Mon, 4 Oct 2021 13:32:23 +0200 Subject: [PATCH 1/9] Fix: DATEs --- issues/_template/00_METADATA.html | 4 ++-- issues/tools/make_issue.sh | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/issues/_template/00_METADATA.html b/issues/_template/00_METADATA.html index af8610e..b779c08 100644 --- a/issues/_template/00_METADATA.html +++ b/issues/_template/00_METADATA.html @@ -2,8 +2,8 @@

OpenBSD Webzine

-
\ No newline at end of file +
diff --git a/issues/tools/make_issue.sh b/issues/tools/make_issue.sh index 9b04310..fbee01f 100755 --- a/issues/tools/make_issue.sh +++ b/issues/tools/make_issue.sh @@ -49,13 +49,15 @@ then sed -i "s/__TITLE__/issue #${issue}/g" $DESTFILENAME sed -i "s/__FILENAME__/issue-${issue}.html/" $DESTFILENAME # replace date + DATETIME="$(date -j -f "%Y-%m-%dT%H:%M:%SZ" "${PUBLISHED_DATE}" +"%xT%XZ")" 2>/dev/null HUMAN_DATE="$(date -j -f "%Y-%m-%dT%H:%M:%SZ" "${PUBLISHED_DATE}" +"%B %e, %Y")" 2>/dev/null if [ $? -ne 0 ]; then echo "err: Please fill ${DIR}/metadata.sh with ISO-8601 valid date" exit 1 else - sed -i "s/__DATE__/${HUMAN_DATE}/" $DESTFILENAME + sed -i "s/__DATETIME__/${DATETIME}/" $DESTFILENAME + sed -i "s/__HUMAN_DATE__/${HUMAN_DATE}/" $DESTFILENAME fi else # index.html changes From a7dc3661205d980cf99e256ef53493cfe41863eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?HUC=20St=C3=A9phane?= Date: Mon, 4 Oct 2021 13:43:31 +0200 Subject: [PATCH 2/9] Fix: HTML Semantic for index --- issues/_index/00_METADATA.html | 12 ++++++++---- issues/_index/20_ISSUES.html | 2 ++ issues/_index/30_INFOS.html | 2 ++ issues/_index/60_COMMUNITY.html | 26 +++++++++++++------------- issues/_index/70_CONTRIBUTE.html | 9 ++++++--- 5 files changed, 31 insertions(+), 20 deletions(-) diff --git a/issues/_index/00_METADATA.html b/issues/_index/00_METADATA.html index 408884e..409dd4b 100644 --- a/issues/_index/00_METADATA.html +++ b/issues/_index/00_METADATA.html @@ -1,8 +1,12 @@ - +
+

OpenBSD Webzine

+
diff --git a/issues/_index/20_ISSUES.html b/issues/_index/20_ISSUES.html index 56bbea7..40f11a0 100644 --- a/issues/_index/20_ISSUES.html +++ b/issues/_index/20_ISSUES.html @@ -1,4 +1,6 @@ +

Issues published

+
diff --git a/issues/_index/30_INFOS.html b/issues/_index/30_INFOS.html index b275b99..8a31684 100644 --- a/issues/_index/30_INFOS.html +++ b/issues/_index/30_INFOS.html @@ -1,5 +1,7 @@ +

Infos

This webzine is done by volunteers who are passionate about the OpenBSD project development.

Our goal is to allow people to stay informed about OpenBSD in a cool, fun and instructive way, like reading a regularly issued magazine of one's favorite hobby.

+
diff --git a/issues/_index/60_COMMUNITY.html b/issues/_index/60_COMMUNITY.html index e601b80..72fbc3e 100644 --- a/issues/_index/60_COMMUNITY.html +++ b/issues/_index/60_COMMUNITY.html @@ -1,14 +1,14 @@ +

Community

-
-

Looking to get in touch with OpenBSD users? Here are a few ways to join them.

- -
+

Looking to get in touch with OpenBSD users? Here are a few ways to join them.

+ +
diff --git a/issues/_index/70_CONTRIBUTE.html b/issues/_index/70_CONTRIBUTE.html index 5ea7506..ddbc3c5 100644 --- a/issues/_index/70_CONTRIBUTE.html +++ b/issues/_index/70_CONTRIBUTE.html @@ -1,4 +1,7 @@ +

How to contribute

-
-

If you want to contribute to the Webzine, from a simple contribution suggesting a link or a news to a large or regular contribution, we do all the work publicly with Git.

-
+

+ If you want to contribute to the Webzine, from a simple contribution suggesting a link or a news to a large or regular contribution, we do all the work publicly with Git. + +

+
From 456bc38e9f237f76eb96fb441f508ce9d6b71256 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?HUC=20St=C3=A9phane?= Date: Mon, 4 Oct 2021 13:59:52 +0200 Subject: [PATCH 3/9] Fix: HTML Semantic for issue1 --- issues/issue-1/00_METADATA.html | 9 +++++---- issues/issue-1/10_HEADLINES.html | 3 ++- issues/issue-1/20_CURRENT.html | 3 ++- issues/issue-1/30_STABLE.html | 3 ++- issues/issue-1/40_INTERVIEW.html | 7 +++++-- issues/issue-1/50_TIPS.html | 3 ++- issues/issue-1/60_COMMENTS.html | 9 ++++----- issues/issue-1/70_LINKS.html | 8 ++++++-- issues/issue-1/80_ARTWORK.html | 14 +++++++++----- issues/issue-1/90_SOCIALMEDIA.html | 7 +++++-- issues/issue-1/91_QUOTES.html | 9 +++++---- 11 files changed, 47 insertions(+), 28 deletions(-) diff --git a/issues/issue-1/00_METADATA.html b/issues/issue-1/00_METADATA.html index 8091b18..6100669 100644 --- a/issues/issue-1/00_METADATA.html +++ b/issues/issue-1/00_METADATA.html @@ -1,8 +1,9 @@ - +
+

OpenBSD Webzine

+
- diff --git a/issues/issue-1/10_HEADLINES.html b/issues/issue-1/10_HEADLINES.html index d00c062..ea15fca 100644 --- a/issues/issue-1/10_HEADLINES.html +++ b/issues/issue-1/10_HEADLINES.html @@ -1,7 +1,8 @@ - +

TL;DR

  • OpenBSD 7.0 release very soon
  • LibreSSL problem with Let's Encrypt certificates
  • First issue of this webzine!! We do have an .
+
diff --git a/issues/issue-1/20_CURRENT.html b/issues/issue-1/20_CURRENT.html index 20eca70..c863466 100644 --- a/issues/issue-1/20_CURRENT.html +++ b/issues/issue-1/20_CURRENT.html @@ -1,7 +1,8 @@ - +

Recent -current changes

  • Base system repository has been locked and tagged 7.0 and development is now continuing.
  • Ports tree is locked, meaning no ports changes are allowed to developers.
+
diff --git a/issues/issue-1/30_STABLE.html b/issues/issue-1/30_STABLE.html index bc25110..b8b1bd4 100644 --- a/issues/issue-1/30_STABLE.html +++ b/issues/issue-1/30_STABLE.html @@ -1,4 +1,4 @@ - +

6.9-stable changes

    @@ -9,3 +9,4 @@ One of the two root certificates used to sign Let's Encrypt certificates has expired. This is due to a bug in LibreSSL triggered by Let's Encrypt certificates being signed by two certificates of which one expired.
+
diff --git a/issues/issue-1/40_INTERVIEW.html b/issues/issue-1/40_INTERVIEW.html index 6f77383..1c330f8 100644 --- a/issues/issue-1/40_INTERVIEW.html +++ b/issues/issue-1/40_INTERVIEW.html @@ -1,5 +1,8 @@ - +

+ +-- END HTML Comment --> diff --git a/issues/issue-1/50_TIPS.html b/issues/issue-1/50_TIPS.html index ab8b7b3..7f5fd47 100644 --- a/issues/issue-1/50_TIPS.html +++ b/issues/issue-1/50_TIPS.html @@ -1,4 +1,4 @@ - +

Shell tips

@@ -10,3 +10,4 @@ history from that number. Use history 1 to display the complete history.

+
diff --git a/issues/issue-1/60_COMMENTS.html b/issues/issue-1/60_COMMENTS.html index fc7f5a6..ec1c01b 100644 --- a/issues/issue-1/60_COMMENTS.html +++ b/issues/issue-1/60_COMMENTS.html @@ -1,7 +1,6 @@ - +

Reader comments

-
-

I love the idea of a webzine! - many people after showing the Webzine mockup

-

Please, make an RSS feed! - anonymous

-
+

I love the idea of a webzine! - many people after showing the Webzine mockup

+

Please, make an RSS feed! - anonymous

+
diff --git a/issues/issue-1/70_LINKS.html b/issues/issue-1/70_LINKS.html index d4f0457..61da465 100644 --- a/issues/issue-1/70_LINKS.html +++ b/issues/issue-1/70_LINKS.html @@ -1,8 +1,12 @@ - + diff --git a/issues/issue-1/80_ARTWORK.html b/issues/issue-1/80_ARTWORK.html index 572d9b0..b651282 100644 --- a/issues/issue-1/80_ARTWORK.html +++ b/issues/issue-1/80_ARTWORK.html @@ -1,11 +1,15 @@ - +

Artworks of the moment

-

+

+ A drawing featuring a city viewed from some altitude with many characters looking like the OpenBSD mascot. + -
- Artwork originally found . -

+
+

Artwork originally found .

+
+
+
diff --git a/issues/issue-1/90_SOCIALMEDIA.html b/issues/issue-1/90_SOCIALMEDIA.html index 5011b23..196c23e 100644 --- a/issues/issue-1/90_SOCIALMEDIA.html +++ b/issues/issue-1/90_SOCIALMEDIA.html @@ -1,6 +1,9 @@ - + + +-- END HTML Comment --> diff --git a/issues/issue-1/91_QUOTES.html b/issues/issue-1/91_QUOTES.html index aa0cac7..592ebfe 100644 --- a/issues/issue-1/91_QUOTES.html +++ b/issues/issue-1/91_QUOTES.html @@ -1,13 +1,14 @@ - +

Quote

-
    +
    • if you want something conceptualy less broken, give plan9 a try
    • if you want something more polished, give vim+coreutils a try
    • if you want something convivialist, obenbsd is the best trade off i seen (you can also give try to sbase or 9base)
    • if you want something more consistent, let's start our project :)
    • if you want something perfect, let it go :)
    • -
    - — Marc Chantreux on misc@ +
+ — Marc Chantreux on misc@
+
From 0574d3fd8d267a3aa5428fdbff428553dc043317 Mon Sep 17 00:00:00 2001 From: Solene Rapenne Date: Mon, 4 Oct 2021 18:31:09 +0200 Subject: [PATCH 4/9] add many informations about 7.0 --- issues/issue-2/20_CURRENT.html | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/issues/issue-2/20_CURRENT.html b/issues/issue-2/20_CURRENT.html index 2b2c060..7783282 100644 --- a/issues/issue-2/20_CURRENT.html +++ b/issues/issue-2/20_CURRENT.html @@ -1,6 +1,15 @@ -

Recent -current changes

+

New 7.0 release changes

    -
  • Packages commits will flow after three weeks of locked ports tree. Some breakages could happen.
  • +
  • doas is now asking password again on failure
  • +
  • better hardware support (AMD, docks)
  • +
  • faster (un)hibernate (ZZZ)
  • +
  • faster wifi speed
  • +
  • xterm has unveil
  • +
  • base gcc removed on amd64
  • +
  • bsd-reconfig to have a KARL compatible modified kernel
  • +
  • new dhcpleased and resolvd superseeding dhclient (now default for new installs). After upgrade you can switch to it: replace dhcp by autoconf in your network hostname.if file then enable and start the two services
  • +
  • performance improvements for heavy loads on many cores
  • +
From df1f49f5cf2c75acbd58ce2ce5844c1080c81461 Mon Sep 17 00:00:00 2001 From: Solene Rapenne Date: Mon, 4 Oct 2021 18:32:58 +0200 Subject: [PATCH 5/9] Make 7.0 section more understandable --- issues/issue-2/20_CURRENT.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/issues/issue-2/20_CURRENT.html b/issues/issue-2/20_CURRENT.html index 7783282..b01157c 100644 --- a/issues/issue-2/20_CURRENT.html +++ b/issues/issue-2/20_CURRENT.html @@ -1,6 +1,6 @@ -

New 7.0 release changes

+

New 7.0 release highlights

  • doas is now asking password again on failure
  • better hardware support (AMD, docks)
  • From 473bc2e98a684bda6633f2a9bc63ec8abb20ea0e Mon Sep 17 00:00:00 2001 From: Solene Rapenne Date: Mon, 4 Oct 2021 20:04:35 +0200 Subject: [PATCH 6/9] new content --- issues/issue-2/00_METADATA.html | 9 +++++---- issues/issue-2/10_HEADLINES.html | 5 +++-- issues/issue-2/20_CURRENT.html | 5 +++-- issues/issue-2/30_STABLE.html | 2 +- issues/issue-2/40_INTERVIEW.html | 5 +++-- issues/issue-2/50_TIPS.html | 5 +++-- issues/issue-2/60_COMMENTS.html | 7 ++++--- issues/issue-2/70_LINKS.html | 10 +++++++--- issues/issue-2/80_ARTWORK.html | 21 ++++++++++++++------- issues/issue-2/90_SOCIALMEDIA.html | 5 +++-- issues/issue-2/91_QUOTES.html | 7 ++++--- 11 files changed, 50 insertions(+), 31 deletions(-) diff --git a/issues/issue-2/00_METADATA.html b/issues/issue-2/00_METADATA.html index 5e46279..9dc663f 100644 --- a/issues/issue-2/00_METADATA.html +++ b/issues/issue-2/00_METADATA.html @@ -1,7 +1,8 @@ - +
    +

    OpenBSD Webzine

    +
    -
    diff --git a/issues/issue-2/10_HEADLINES.html b/issues/issue-2/10_HEADLINES.html index ff8808c..ae1ed03 100644 --- a/issues/issue-2/10_HEADLINES.html +++ b/issues/issue-2/10_HEADLINES.html @@ -1,7 +1,8 @@ - -

    TL;DR

    +
    +

    TL;DR

    • OpenBSD 7.0 released!
    • No more packages updates for 6.9, syspatch will still be published
    • No more syspatches for 6.8, it is now end of life and shouldn't be used anymore
    +
    diff --git a/issues/issue-2/20_CURRENT.html b/issues/issue-2/20_CURRENT.html index b01157c..37857cc 100644 --- a/issues/issue-2/20_CURRENT.html +++ b/issues/issue-2/20_CURRENT.html @@ -1,6 +1,6 @@ - +
    -

    New 7.0 release highlights

    +

    New 7.0 release highlights

    • doas is now asking password again on failure
    • better hardware support (AMD, docks)
    • @@ -13,3 +13,4 @@
    • performance improvements for heavy loads on many cores
    +
    diff --git a/issues/issue-2/30_STABLE.html b/issues/issue-2/30_STABLE.html index 190aadd..8375bf2 100644 --- a/issues/issue-2/30_STABLE.html +++ b/issues/issue-2/30_STABLE.html @@ -1,6 +1,6 @@ -

    7.0-stable changes

    +

    7.0-stable changes

    • No syspatch yet.
    diff --git a/issues/issue-2/40_INTERVIEW.html b/issues/issue-2/40_INTERVIEW.html index 3c3e656..d2d4336 100644 --- a/issues/issue-2/40_INTERVIEW.html +++ b/issues/issue-2/40_INTERVIEW.html @@ -1,3 +1,4 @@ - +
    -

    Interview

    +

    Interview

    +
    diff --git a/issues/issue-2/50_TIPS.html b/issues/issue-2/50_TIPS.html index b8a750a..8997337 100644 --- a/issues/issue-2/50_TIPS.html +++ b/issues/issue-2/50_TIPS.html @@ -1,7 +1,8 @@ - +
    -

    Shell tips

    +

    Shell tips

    OpenBSD 7.0 comes with a new utility named timeout to run a command and stop it after an user defined time. The is available for full information. While it was possible to achieve this in shell using a child process sleeping for some time and stopping the main process if it wasn't finished yet, timeout makes this job very easy. One simple real world use case would be a lazy site-to-site synchronization using a rsync job run every night when the Internet uplink can be fully used and stop it right before people will need the network. Such a scenario can be done with timeout 8h rsync -a /data/ remote:/data/ and started from a cron job at 00h00. In this case rsync would run at midnight and timeout would stop it at 8h00 if the job is not finished.

    +
    diff --git a/issues/issue-2/60_COMMENTS.html b/issues/issue-2/60_COMMENTS.html index ff1e586..5cdbe3d 100644 --- a/issues/issue-2/60_COMMENTS.html +++ b/issues/issue-2/60_COMMENTS.html @@ -1,6 +1,7 @@ - +
    -

    Reader comments

    +

    Reader comments

    Nice! - - jcs@openbsd + - jcs@openbsd

    +
    diff --git a/issues/issue-2/70_LINKS.html b/issues/issue-2/70_LINKS.html index b59ad10..0deff23 100644 --- a/issues/issue-2/70_LINKS.html +++ b/issues/issue-2/70_LINKS.html @@ -1,6 +1,10 @@ - + diff --git a/issues/issue-2/80_ARTWORK.html b/issues/issue-2/80_ARTWORK.html index 46f8040..73418a0 100644 --- a/issues/issue-2/80_ARTWORK.html +++ b/issues/issue-2/80_ARTWORK.html @@ -1,8 +1,15 @@ - - +

    Artworks of the moment

    +
    + + + . + + +
    +

    Artwork originally published .

    +
    +
    + diff --git a/issues/issue-2/90_SOCIALMEDIA.html b/issues/issue-2/90_SOCIALMEDIA.html index bb73002..a736bc9 100644 --- a/issues/issue-2/90_SOCIALMEDIA.html +++ b/issues/issue-2/90_SOCIALMEDIA.html @@ -1,7 +1,8 @@ - + diff --git a/issues/issue-2/91_QUOTES.html b/issues/issue-2/91_QUOTES.html index 1755266..b27ad6b 100644 --- a/issues/issue-2/91_QUOTES.html +++ b/issues/issue-2/91_QUOTES.html @@ -1,7 +1,8 @@ - +
    -

    Quote

    +

    Quote

    Boredom is a powerful driving force. - — solene@openbsd + — solene@openbsd
    +
    From 0288bb35772210b2f1633aecdb43eb802c77d989 Mon Sep 17 00:00:00 2001 From: Solene Rapenne Date: Mon, 4 Oct 2021 20:04:55 +0200 Subject: [PATCH 7/9] fix semantic html madness --- issues/_common/footer | 1 - issues/_common/header | 2 +- issues/_index/00_METADATA.html | 7 +------ issues/_template/00_METADATA.html | 3 +-- issues/_template/10_HEADLINES.html | 2 +- issues/_template/15_JOBS.html | 3 +-- issues/_template/20_CURRENT.html | 2 +- issues/_template/30_STABLE.html | 2 +- issues/_template/40_INTERVIEW.html | 2 +- issues/_template/50_TIPS.html | 2 +- issues/_template/60_COMMENTS.html | 2 +- issues/_template/70_LINKS.html | 2 +- issues/_template/80_ARTWORK.html | 13 ++++++------- issues/_template/90_SOCIALMEDIA.html | 2 +- issues/_template/91_QUOTES.html | 6 +++--- issues/issue-1/00_METADATA.html | 5 ++--- issues/issue-1/10_HEADLINES.html | 2 +- issues/issue-1/20_CURRENT.html | 2 +- issues/issue-1/30_STABLE.html | 2 +- issues/issue-1/40_INTERVIEW.html | 4 ++-- issues/issue-1/50_TIPS.html | 2 +- issues/issue-1/60_COMMENTS.html | 2 +- issues/issue-1/70_LINKS.html | 8 ++++---- issues/issue-1/80_ARTWORK.html | 6 +++--- issues/issue-1/90_SOCIALMEDIA.html | 4 ++-- issues/issue-1/91_QUOTES.html | 6 +++--- 26 files changed, 42 insertions(+), 52 deletions(-) diff --git a/issues/_common/footer b/issues/_common/footer index 845a0fc..000b18e 100644 --- a/issues/_common/footer +++ b/issues/_common/footer @@ -1,4 +1,3 @@ -