Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=055bfdb446f6050b36ed5f01ab6137f595c16bf1

commit 055bfdb446f6050b36ed5f01ab6137f595c16bf1
Author: DeX77 <de...@frugalware.org>
Date:   Thu Nov 7 11:18:59 2013 +0100

ethtool-3.11-1-x86_64

* version bump
+ added systemd service file

diff --git a/source/network/ethtool/FrugalBuild 
b/source/network/ethtool/FrugalBuild
index 24d1834..a2b5927 100644
--- a/source/network/ethtool/FrugalBuild
+++ b/source/network/ethtool/FrugalBuild
@@ -3,15 +3,23 @@
# Maintainer: Elentir <elen...@frugalware.org>

pkgname=ethtool
-pkgver=3.10
+pkgver=3.11
pkgrel=1
pkgdesc="A tool for setting ethernet parameters"
depends=('glibc')
groups=('network')
archs=('i686' 'x86_64' 'arm')
url="http://www.kernel.org/pub/software/network/ethtool/";
-source=(http://www.kernel.org/pub/software/network/$pkgname/$pkgname-$pkgver.tar.xz)
+source=(http://www.kernel.org/pub/software/network/$pkgname/$pkgname-$pkgver.tar.xz
 \
+       ethtool@.service)
up2date="Flasttar http://www.kernel.org/pub/software/network/$pkgname/";
-sha1sums=('50afe27a18f1ab77e25d35af0c4c1cc5af1ef643')
+sha1sums=('404bcc6bbb9911c1993c1405e7d96232acb66516' \
+          '7cb7f2f720d474c610a613e7d1209b0f6093bc4e')
+
+build() {
+       Fbuild
+       Ffile   /lib/systemd/system/ethtool@.service
+       Fmkdir  /etc/ethtool.d
+}

# optimization OK
diff --git a/source/network/ethtool/ethtool@.service 
b/source/network/ethtool/ethtool@.service
new file mode 100644
index 0000000..ffca3b2
--- /dev/null
+++ b/source/network/ethtool/ethtool@.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Ethtool configuration for %i
+
+[Service]
+EnvironmentFile=/etc/ethtool.d/ethtool@%i.conf
+ExecStart=/usr/sbin/ethtool $ETHTOOL_ARGS
+Requires=network.target
+After=network.target
+Type=oneshot
+
+[Install]
+WantedBy=multi-user.target
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to