[arch-commits] Commit in rfc/repos (4 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 17:03:22 UTC 2020


    Date: Tuesday, July 7, 2020 @ 17:03:22
  Author: felixonmars
Revision: 659523

archrelease: copy trunk to community-staging-any

Added:
  rfc/repos/community-staging-any/
  rfc/repos/community-staging-any/PKGBUILD
    (from rev 659521, rfc/trunk/PKGBUILD)
  rfc/repos/community-staging-any/license
    (from rev 659521, rfc/trunk/license)
  rfc/repos/community-staging-any/mirror-to-arch.sh
    (from rev 659521, rfc/trunk/mirror-to-arch.sh)

-------------------+
 PKGBUILD          |   43 ++++++++++++++++++++++++++++++++++
 license           |   64 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 mirror-to-arch.sh |    7 +++++
 3 files changed, 114 insertions(+)

Copied: rfc/repos/community-staging-any/PKGBUILD (from rev 659521, rfc/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-07-07 17:03:22 UTC (rev 659523)
@@ -0,0 +1,43 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Peter Simons <simons at cryp.to>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=rfc
+pkgver=20190827
+pkgrel=2
+pkgdesc="RFCs from rfc-editor.org"
+arch=('any')
+url="https://www.rfc-editor.org/"
+license=("custom:as-is")
+options=('docs')
+source=(https://sources.archlinux.org/other/community/rfc/rfc-index-$pkgver.txt
+        https://sources.archlinux.org/other/community/rfc/RFC-all-$pkgver.tar.gz
+        license)
+sha256sums=('5e1d60910b21628b5f3faa7e9328bd6fc4317c17a516db49fbff23c32c5c7dc4'
+            '38913b589cf9e4b871641451128dff5eed18707427a3de97e5053f0f6462ddbb'
+            'ac9cd91c2e15b0840b6ecd4f7d30d6d12c49e18b4f9eb383a0ce05a64901624e')
+
+package() {
+    cd "$srcdir"
+
+    mkdir -p "$pkgdir/usr/share/doc/rfc"
+    cp rfc-index-$pkgver.txt "$pkgdir/usr/share/doc/rfc/rfc-index.txt"
+    rm -f rfc-index-$pkgver.txt
+
+    tar xf rfc1305.tar
+    rm -f rfc1305.tar
+    for n in ntpv3*; do
+      mv "$n" "rfc1305-$n"
+    done
+
+    for fmt in txt ps pdf; do
+      mkdir -p "$pkgdir/usr/share/doc/rfc/${fmt}"
+      mv *.${fmt} "$pkgdir/usr/share/doc/rfc/${fmt}/"
+    done
+
+    cd "$pkgdir/usr/share/doc/rfc"
+    find . -type f -exec chmod 444 {} \;
+    find . -type d -exec chmod 555 {} \;
+    chown -R root:root .
+    install -D -m0644 "$srcdir"/license "$pkgdir"/usr/share/licenses/$pkgname/license
+}

Copied: rfc/repos/community-staging-any/license (from rev 659521, rfc/trunk/license)
===================================================================
--- community-staging-any/license	                        (rev 0)
+++ community-staging-any/license	2020-07-07 17:03:22 UTC (rev 659523)
@@ -0,0 +1,64 @@
+The Request For Comments (RFC) documents are intended to have wide
+distribution.
+
+1.  Copying and distributing the whole RFC without any changes:
+
+1a.  The copying and free redistribution are generally encouraged.
+
+1b.  The inclusion of RFCs in other documents and collections that are
+distributed for a fee is also encouraged, though in this case it is a
+courtesy (i) to ask the RFC author and (ii) provide the RFC author
+with a copy of the final document or collection.  Anyone can takes
+some RFCs, put them in a book, copyright the book, and sell it.  This
+in no way inhibits anyone else from doing the same thing, or inhibits
+any other distribution of the RFCs.
+
+2.  Copying and distributing the whole RFC with changes in format,
+font, etcetera:
+
+2a.  The same as case 1 with the addition that a note should be made
+of the reformatting.
+
+3.  Copying and distributing portions of an RFC:
+
+3a.  As with any material excerpted from another source, proper credit
+and citations must be provided.
+
+4.  Translating RFCs into other languages:
+
+4a.  Since wide distribution of RFCs is very desirable, translation
+into other languages is also desirable.  The same requirements and
+courtesies should be followed in distributing RFCs in translation as
+would be followed when distributing RFCs in the original language.
+
+
+Newer RFCs are under the following copyright:
+
+
+"Full Copyright Statement
+
+   Copyright (C) The Internet Society (1998).  All Rights Reserved.
+
+   This document and translations of it may be copied and furnished to
+   others, and derivative works that comment on or otherwise explain it
+   or assist in its implementation may be prepared, copied, published
+   and distributed, in whole or in part, without restriction of any
+   kind, provided that the above copyright notice and this paragraph are
+   included on all such copies and derivative works.  However, this
+   document itself may not be modified in any way, such as by removing
+   the copyright notice or references to the Internet Society or other
+   Internet organizations, except as needed for the purpose of
+   developing Internet standards in which case the procedures for
+   copyrights defined in the Internet Standards process must be
+   followed, or as required to translate it into languages other than
+   English.
+
+   The limited permissions granted above are perpetual and will not be
+   revoked by the Internet Society or its successors or assigns.
+
+   This document and the information contained herein is provided on an
+   "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
+   TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
+   BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
+   HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
+   MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE."

Copied: rfc/repos/community-staging-any/mirror-to-arch.sh (from rev 659521, rfc/trunk/mirror-to-arch.sh)
===================================================================
--- community-staging-any/mirror-to-arch.sh	                        (rev 0)
+++ community-staging-any/mirror-to-arch.sh	2020-07-07 17:03:22 UTC (rev 659523)
@@ -0,0 +1,7 @@
+#!/bin/bash -x
+
+source PKGBUILD
+wget https://www.rfc-editor.org/rfc/tar/RFC-all.tar.gz
+wget https://www.rfc-editor.org/rfc/rfc-index.txt
+scp RFC-all.tar.gz repos.archlinux.org:/srv/sources/other/community/rfc/RFC-all-$pkgver.tar.gz
+scp rfc-index.txt repos.archlinux.org:/srv/sources/other/community/rfc/rfc-index-$pkgver.txt



More information about the arch-commits mailing list