[arch-commits] Commit in rustypaste/repos/community-x86_64 (10 files)
Orhun Parmaksiz
orhun at gemini.archlinux.org
Sun Mar 13 18:52:14 UTC 2022
Date: Sunday, March 13, 2022 @ 18:52:14
Author: orhun
Revision: 1151194
archrelease: copy trunk to community-x86_64
Added:
rustypaste/repos/community-x86_64/PKGBUILD
(from rev 1151193, rustypaste/trunk/PKGBUILD)
rustypaste/repos/community-x86_64/rustypaste.env
(from rev 1151193, rustypaste/trunk/rustypaste.env)
rustypaste/repos/community-x86_64/rustypaste.service
(from rev 1151193, rustypaste/trunk/rustypaste.service)
rustypaste/repos/community-x86_64/rustypaste.sysusers
(from rev 1151193, rustypaste/trunk/rustypaste.sysusers)
rustypaste/repos/community-x86_64/rustypaste.tmpfiles
(from rev 1151193, rustypaste/trunk/rustypaste.tmpfiles)
Deleted:
rustypaste/repos/community-x86_64/PKGBUILD
rustypaste/repos/community-x86_64/rustypaste.env
rustypaste/repos/community-x86_64/rustypaste.service
rustypaste/repos/community-x86_64/rustypaste.sysusers
rustypaste/repos/community-x86_64/rustypaste.tmpfiles
---------------------+
PKGBUILD | 109 +++++++++++++++++++++++++-------------------------
rustypaste.env | 4 -
rustypaste.service | 62 ++++++++++++++--------------
rustypaste.sysusers | 2
rustypaste.tmpfiles | 2
5 files changed, 90 insertions(+), 89 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-13 18:51:58 UTC (rev 1151193)
+++ PKGBUILD 2022-03-13 18:52:14 UTC (rev 1151194)
@@ -1,54 +0,0 @@
-# Maintainer: Frederik Schwan <freswa at archlinux dot org>
-
-pkgname=rustypaste
-pkgver=0.6.4
-pkgrel=1
-pkgdesc='A minimal file upload/pastebin service'
-arch=('x86_64')
-url='https://github.com/orhun/rustypaste'
-license=('MIT')
-depends=('gcc-libs')
-makedepends=('cargo')
-backup=('etc/rustypaste/config.toml')
-options=(!lto)
-source=(https://github.com/orhun/rustypaste/archive/refs/tags/v${pkgver}.tar.gz
- rustypaste.service
- rustypaste.env
- rustypaste.sysusers
- rustypaste.tmpfiles)
-b2sums=('050b322aa2803576fe2d303ce7e5a8136c516aa077e6a898283ff669308befb71a87ad03c2395177560d50611633ee7d17a732889d94d8af1b28b987a5fe97bc'
- '0a97e61cc4bbe00d7e395bbee1893ae21444559dc01a1598144c9e20b198ed4b467aa72c2989449b0d055bab9c5d8d75ecb06f874332d8e444a4b0580915b359'
- '540a8523154c1847c93b9332da2a1ce84336ca043bc551540649a2dfab4bb2bee42ef11d25d9287ac1b256c3862f703b3302e36b11e627a45ff72a10ff5f9a8e'
- '47dd34688a8cfab88f6be13830e3030445f0378247a69f8efc8c54d221d28b871a6226920b12c7fcb1e1bf1659c7e0aa2df691dbbfa0ff64e58c7680149027ee'
- 'f08a802529a7afb77950496d500a12b1332b6b56202db60e4d76765cca79d8b44ce658f433294221696172a8c34ceac0121c75673b9b9de72a873f451617d0c0')
-
-prepare() {
- cd ${pkgname}-${pkgver}
- cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
-}
-
-build() {
- cd ${pkgname}-${pkgver}
- export RUSTUP_TOOLCHAIN=stable
- export CARGO_TARGET_DIR=target
- cargo build --release --frozen
-}
-
-check() {
- cd ${pkgname}-${pkgver}
- export RUSTUP_TOOLCHAIN=stable
- cargo test --frozen
-}
-
-package() {
- cd ${pkgname}-${pkgver}
- install -Dm755 target/release/${pkgname} -t "${pkgdir}"/usr/bin
- install -Dm644 config.toml -t "${pkgdir}"/etc/rustypaste
- install -Dm644 README.md -t "${pkgdir}"/usr/share/doc/${pkgname}
- install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
-
- install -Dm644 "${srcdir}"/rustypaste.env -t "${pkgdir}"/etc/rustypaste
- install -Dm644 "${srcdir}"/rustypaste.service -t "$pkgdir"/usr/lib/systemd/system/
- install -Dm644 "${srcdir}"/rustypaste.sysusers "${pkgdir}"/usr/lib/sysusers.d/rustypaste.conf
- install -Dm644 "${srcdir}"/rustypaste.tmpfiles "${pkgdir}"/usr/lib/tmpfiles.d/rustypaste.conf
-}
Copied: rustypaste/repos/community-x86_64/PKGBUILD (from rev 1151193, rustypaste/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-03-13 18:52:14 UTC (rev 1151194)
@@ -0,0 +1,55 @@
+# Maintainer: Frederik Schwan <freswa at archlinux dot org>
+# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
+
+pkgname=rustypaste
+pkgver=0.6.5
+pkgrel=1
+pkgdesc='A minimal file upload/pastebin service'
+arch=('x86_64')
+url='https://github.com/orhun/rustypaste'
+license=('MIT')
+depends=('gcc-libs')
+makedepends=('cargo')
+backup=('etc/rustypaste/config.toml')
+options=(!lto)
+source=(https://github.com/orhun/rustypaste/archive/refs/tags/v${pkgver}.tar.gz
+ rustypaste.service
+ rustypaste.env
+ rustypaste.sysusers
+ rustypaste.tmpfiles)
+b2sums=('d0cdd1afa85e9ca96bdd79bcf174e3fa4c771b872d3582efbe9813c5d4f33757d964c31c749a0cd0814579c95b4d480f90e848c48e773f9363f3f63225b0f9b8'
+ '0a97e61cc4bbe00d7e395bbee1893ae21444559dc01a1598144c9e20b198ed4b467aa72c2989449b0d055bab9c5d8d75ecb06f874332d8e444a4b0580915b359'
+ '540a8523154c1847c93b9332da2a1ce84336ca043bc551540649a2dfab4bb2bee42ef11d25d9287ac1b256c3862f703b3302e36b11e627a45ff72a10ff5f9a8e'
+ '47dd34688a8cfab88f6be13830e3030445f0378247a69f8efc8c54d221d28b871a6226920b12c7fcb1e1bf1659c7e0aa2df691dbbfa0ff64e58c7680149027ee'
+ 'f08a802529a7afb77950496d500a12b1332b6b56202db60e4d76765cca79d8b44ce658f433294221696172a8c34ceac0121c75673b9b9de72a873f451617d0c0')
+
+prepare() {
+ cd ${pkgname}-${pkgver}
+ cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
+build() {
+ cd ${pkgname}-${pkgver}
+ export RUSTUP_TOOLCHAIN=stable
+ export CARGO_TARGET_DIR=target
+ cargo build --release --frozen
+}
+
+check() {
+ cd ${pkgname}-${pkgver}
+ export RUSTUP_TOOLCHAIN=stable
+ cargo test --frozen
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ install -Dm755 target/release/${pkgname} -t "${pkgdir}"/usr/bin
+ install -Dm644 config.toml -t "${pkgdir}"/etc/rustypaste
+ install -Dm644 README.md -t "${pkgdir}"/usr/share/doc/${pkgname}
+ install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
+
+ install -Dm644 "${srcdir}"/rustypaste.env -t "${pkgdir}"/etc/rustypaste
+ install -Dm644 "${srcdir}"/rustypaste.service -t "$pkgdir"/usr/lib/systemd/system/
+ install -Dm644 "${srcdir}"/rustypaste.sysusers "${pkgdir}"/usr/lib/sysusers.d/rustypaste.conf
+ install -Dm644 "${srcdir}"/rustypaste.tmpfiles "${pkgdir}"/usr/lib/tmpfiles.d/rustypaste.conf
+}
Deleted: rustypaste.env
===================================================================
--- rustypaste.env 2022-03-13 18:51:58 UTC (rev 1151193)
+++ rustypaste.env 2022-03-13 18:52:14 UTC (rev 1151194)
@@ -1,2 +0,0 @@
-# To enable basic HTTP auth, set the AUTH_TOKEN
-AUTH_TOKEN=""
Copied: rustypaste/repos/community-x86_64/rustypaste.env (from rev 1151193, rustypaste/trunk/rustypaste.env)
===================================================================
--- rustypaste.env (rev 0)
+++ rustypaste.env 2022-03-13 18:52:14 UTC (rev 1151194)
@@ -0,0 +1,2 @@
+# To enable basic HTTP auth, set the AUTH_TOKEN
+AUTH_TOKEN=""
Deleted: rustypaste.service
===================================================================
--- rustypaste.service 2022-03-13 18:51:58 UTC (rev 1151193)
+++ rustypaste.service 2022-03-13 18:52:14 UTC (rev 1151194)
@@ -1,31 +0,0 @@
-[Unit]
-Description=Rustypaste server
-After=network-online.target
-Wants=network-online.target systemd-networkd-wait-online.service
-
-[Service]
-User=rustypaste
-Group=rustypaste
-ExecStart=/usr/bin/rustypaste
-ReadWritePaths=/var/lib/rustypaste
-ReadOnlyPaths=/etc/rustypaste
-
-WorkingDirectory=/var/lib/rustypaste
-Environment="CONFIG=/etc/rustypaste/config.toml"
-EnvironmentFile=/etc/rustypaste/rustypaste.env
-
-# Hardening options
-CapabilityBoundingSet=
-AmbientCapabilities=
-NoNewPrivileges=true
-ProtectHome=true
-ProtectSystem=strict
-ProtectKernelTunables=true
-ProtectKernelModules=true
-ProtectControlGroups=true
-PrivateTmp=true
-PrivateDevices=true
-LockPersonality=true
-
-[Install]
-WantedBy=multi-user.target
Copied: rustypaste/repos/community-x86_64/rustypaste.service (from rev 1151193, rustypaste/trunk/rustypaste.service)
===================================================================
--- rustypaste.service (rev 0)
+++ rustypaste.service 2022-03-13 18:52:14 UTC (rev 1151194)
@@ -0,0 +1,31 @@
+[Unit]
+Description=Rustypaste server
+After=network-online.target
+Wants=network-online.target systemd-networkd-wait-online.service
+
+[Service]
+User=rustypaste
+Group=rustypaste
+ExecStart=/usr/bin/rustypaste
+ReadWritePaths=/var/lib/rustypaste
+ReadOnlyPaths=/etc/rustypaste
+
+WorkingDirectory=/var/lib/rustypaste
+Environment="CONFIG=/etc/rustypaste/config.toml"
+EnvironmentFile=/etc/rustypaste/rustypaste.env
+
+# Hardening options
+CapabilityBoundingSet=
+AmbientCapabilities=
+NoNewPrivileges=true
+ProtectHome=true
+ProtectSystem=strict
+ProtectKernelTunables=true
+ProtectKernelModules=true
+ProtectControlGroups=true
+PrivateTmp=true
+PrivateDevices=true
+LockPersonality=true
+
+[Install]
+WantedBy=multi-user.target
Deleted: rustypaste.sysusers
===================================================================
--- rustypaste.sysusers 2022-03-13 18:51:58 UTC (rev 1151193)
+++ rustypaste.sysusers 2022-03-13 18:52:14 UTC (rev 1151194)
@@ -1 +0,0 @@
-u rustypaste - "Minimal file upload/pastebin service" /var/lib/rustypaste
Copied: rustypaste/repos/community-x86_64/rustypaste.sysusers (from rev 1151193, rustypaste/trunk/rustypaste.sysusers)
===================================================================
--- rustypaste.sysusers (rev 0)
+++ rustypaste.sysusers 2022-03-13 18:52:14 UTC (rev 1151194)
@@ -0,0 +1 @@
+u rustypaste - "Minimal file upload/pastebin service" /var/lib/rustypaste
Deleted: rustypaste.tmpfiles
===================================================================
--- rustypaste.tmpfiles 2022-03-13 18:51:58 UTC (rev 1151193)
+++ rustypaste.tmpfiles 2022-03-13 18:52:14 UTC (rev 1151194)
@@ -1 +0,0 @@
-d /var/lib/rustypaste 0750 rustypaste rustypaste
Copied: rustypaste/repos/community-x86_64/rustypaste.tmpfiles (from rev 1151193, rustypaste/trunk/rustypaste.tmpfiles)
===================================================================
--- rustypaste.tmpfiles (rev 0)
+++ rustypaste.tmpfiles 2022-03-13 18:52:14 UTC (rev 1151194)
@@ -0,0 +1 @@
+d /var/lib/rustypaste 0750 rustypaste rustypaste
More information about the arch-commits
mailing list