]> git.sev.monster Git - aports.git/commitdiff
testing/motd: new aport
authorsev <git@sev.monster>
Sat, 9 May 2020 09:21:13 +0000 (04:21 -0500)
committersev <git@sev.monster>
Mon, 28 Oct 2024 21:47:52 +0000 (16:47 -0500)
.gitignore [new file with mode: 0644]
testing/motd/APKBUILD [new file with mode: 0644]
testing/motd/COPYING [new file with mode: 0644]
testing/motd/motd [new file with mode: 0755]

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..e24cce0
--- /dev/null
@@ -0,0 +1,3 @@
+src/
+build/
+pkg/
diff --git a/testing/motd/APKBUILD b/testing/motd/APKBUILD
new file mode 100644 (file)
index 0000000..8766e15
--- /dev/null
@@ -0,0 +1,21 @@
+# Contributor: sev <sev@sev.monster>
+# Maintainer: sev <sev@sev.monster>
+pkgname=motd
+pkgver=1.0.0
+pkgrel=0
+pkgdesc="Write the result of \`uname -a' to /etc/motd daily"
+url="https://git.sev.monster/~sev/alpine-local"
+arch="noarch"
+license="WTFPL"
+subpackages="$pkgname-doc"
+source="motd COPYING"
+options="!check"
+
+package() {
+       # Replace with proper package command(s)
+       install -Dm644 motd "$pkgdir"/etc/periodic/daily/motd
+       install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}
+
+sha512sums="e109f378b89fc6a61e72ce53101867976996a5643e1e68acc7a5b1666f073d34e40a91d6223bed20c8f17a62314acdae670385aa26c6887e6d74e15df2d09bcb  motd
+9af1142d329fc79e9bc947435d572f82c67827bc9f267b6d253561331c3a3b6dabdc72ceeab91be0683678245376d91d48f7f1902d733d9db8d80434e1e5a3a9  COPYING"
diff --git a/testing/motd/COPYING b/testing/motd/COPYING
new file mode 100644 (file)
index 0000000..77dea88
--- /dev/null
@@ -0,0 +1,15 @@
+            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
+                    Version 2, December 2004
+
+ Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
+
+ Everyone is permitted to copy and distribute verbatim or modified
+ copies of this license document, and changing it is allowed as long
+ as the name is changed.
+
+            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+  0. You just DO WHAT THE FUCK YOU WANT TO.
+
+
diff --git a/testing/motd/motd b/testing/motd/motd
new file mode 100755 (executable)
index 0000000..8e4a51d
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/sh
+uname -a > /etc/motd
This page took 0.046485 seconds and 4 git commands to generate.