summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD16
2 files changed, 16 insertions, 17 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 115cb43bb38..fd1d387971d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,20 +1,19 @@
pkgbase = netplug
pkgdesc = A Linux daemon that manages network interfaces in response to network cables being plugged in and out
pkgver = 1.2.9.2
- pkgrel = 3
- url = http://www.red-bean.com/~bos/
+ pkgrel = 4
+ url = https://www.red-bean.com/~bos/
arch = i686
arch = x86_64
license = GPL2
depends = iproute2>=2.4.7
backup = etc/netplug.d/netplugd.conf
backup = etc/netplug.d/netplug
- source = http://www.red-bean.com/~bos/netplug/netplug-1.2.9.2.tar.bz2
- source = http://pkgs.fedoraproject.org/rpms/netplug/raw/master/f/netplugd.service
- source = http://pkgs.fedoraproject.org/rpms/netplug/raw/master/f/netplug-1.2.9.2-man.patch
- md5sums = 1d6db99536bdf875ce441f2c0e45ebf2
- md5sums = 4482ef8c71bfb0b0335e9426d2852056
- md5sums = 7c44d211426ef68af4b4896b2b870882
+ source = https://www.red-bean.com/~bos/netplug/netplug-1.2.9.2.tar.bz2
+ source = http://src.fedoraproject.org/rpms/netplug/raw/main/f/netplugd.service
+ source = http://src.fedoraproject.org/rpms/netplug/raw/main/f/netplug-1.2.9.2-man.patch
+ sha256sums = 5180dfd9a7d3d0633a027b0a04f01b45a6a64623813cd48bd54423b90814864e
+ sha256sums = 44a7891fb8b322e51019220edafa9255ca18591867469ade554fefe2a93d6a40
+ sha256sums = 656a2bebd65ce5f929def9196223b8a9b2876031f5348972cfd5d92fb1a41cd4
pkgname = netplug
-
diff --git a/PKGBUILD b/PKGBUILD
index b9122239d79..5a2e39cdb3f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,19 +1,19 @@
pkgname=netplug
pkgver=1.2.9.2
-pkgrel=3
+pkgrel=4
pkgdesc="A Linux daemon that manages network interfaces in response to network cables being plugged in and out"
arch=('i686' 'x86_64')
-url="http://www.red-bean.com/~bos/"
+url="https://www.red-bean.com/~bos/"
license=('GPL2')
depends=('iproute2>=2.4.7')
backup=("etc/$pkgname.d/${pkgname}d.conf"
"etc/$pkgname.d/$pkgname")
source=("$url$pkgname/$pkgname-$pkgver.tar.bz2"
- "http://pkgs.fedoraproject.org/rpms/$pkgname/raw/master/f/${pkgname}d.service"
- "http://pkgs.fedoraproject.org/rpms/$pkgname/raw/master/f/$pkgname-$pkgver-man.patch")
-md5sums=('1d6db99536bdf875ce441f2c0e45ebf2'
- '4482ef8c71bfb0b0335e9426d2852056'
- '7c44d211426ef68af4b4896b2b870882')
+ "http://src.fedoraproject.org/rpms/$pkgname/raw/main/f/${pkgname}d.service"
+ "http://src.fedoraproject.org/rpms/$pkgname/raw/main/f/$pkgname-$pkgver-man.patch")
+sha256sums=('5180dfd9a7d3d0633a027b0a04f01b45a6a64623813cd48bd54423b90814864e'
+ '44a7891fb8b322e51019220edafa9255ca18591867469ade554fefe2a93d6a40'
+ '656a2bebd65ce5f929def9196223b8a9b2876031f5348972cfd5d92fb1a41cd4')
prepare() {
cd "$pkgname-$pkgver"
@@ -35,7 +35,7 @@ package() {
# Replace default sysvinit script with a systemd unit
rm -r "$pkgdir/"etc/rc.d
- install -D -m644 {"$srcdir","$pkgdir/"usr/lib/systemd/system}/${pkgname}d.service
+ install -Dp -m644 {"$srcdir","$pkgdir/"usr/lib/systemd/system}/${pkgname}d.service
}
# vim: set ft=sh ts=4 sw=4 noet: