plasma-desktop paketleri 2

This commit is contained in:
cakarsu committed 2023-11-15 20:05:35 +03:00
1 parent 929fc723bb
commit 960a294102
11 files changed
+350

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
# Configuration file for /etc/init.d/smartd
# Path to the configuration file.
#cfgfile=/etc/smartd.conf
# Additional options to pass to smartd.
#command_args=
# Uncomment to use process supervisor.
#supervisor=supervise-daemon
+31
View File
@@ -0,0 +1,31 @@
#!/sbin/openrc-run
name=smartd
description="Daemon to monitor the S.M.A.R.T. system built into storage devices"
description_reload="Reload configuration without exiting"
extra_started_commands="reload"
: ${cfgfile:="/etc/smartd.conf"}
command=/usr/sbin/smartd
command_args="--configfile=$cfgfile --no-fork ${command_args:-$SMARTD_OPTS}"
command_background="yes"
pidfile="/run/$RC_SVCNAME.pid"
required_files="$cfgfile"
depend() {
need localmount
after bootmisc
}
reload() {
ebegin "Reloading $name configuration"
if [ "$supervisor" ]; then
$supervisor "$RC_SVCNAME" --signal HUP
else
start-stop-daemon --signal HUP --pidfile "$pidfile"
fi
eend $?
}
+38
View File
@@ -0,0 +1,38 @@
#!/usr/bin/env bash
name='smartmontools'
release='1'
version='7.4'
url='http://smartmontools.sourceforge.net/'
description='Control and monitor S.M.A.R.T. enabled ATA and SCSI Hard Drives'
email='akarsu@protonmail.com'
maintainer='akarsu'
license=('GPLv3')
source=("https://downloads.sourceforge.net/sourceforge/smartmontools/smartmontools-${version}.tar.gz"
"smartd.initd"
"smartd.confd")
depends=()
makedepends=(linux-headers)
md5sums=('178d31a6ff5256c093227ab45a3f52aa' 'SKIP' 'SKIP')
group=(sys.apps)
uses=()
arch=('x86_64')
cd $name-$version
setup () {
./configure --prefix=/usr \
--libdir=/usr/lib64/ \
--sysconfdir=/etc
}
build () {
make $jobs
}
package () {
make DESTDIR="$DESTDIR"/ install
install -Dm755 ../smartd.initd "$DESTDIR"/etc/init.d/smartd
install -Dm644 ../smartd.confd "$DESTDIR"/etc/conf.d/smartd
}