aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Polański <michal@polanski.me>2020-07-07 19:21:42 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-07-11 14:05:35 +0000
commitef200146e059abb2859cb5395f1a551325dfeb41 (patch)
treefac96adc47c85a5c6d2923350d1d2a43ce92d2ad
parentc6c7fe9f9d1752ef3c83fc0c068bbf2af84796a0 (diff)
downloadaports-ef200146e059abb2859cb5395f1a551325dfeb41.tar.gz
aports-ef200146e059abb2859cb5395f1a551325dfeb41.tar.bz2
aports-ef200146e059abb2859cb5395f1a551325dfeb41.tar.xz
community/dhcp-probe: fix conf.d file permissions
Remove the execute bit from /etc/conf.d/dhcp-probe
-rw-r--r--community/dhcp-probe/APKBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/community/dhcp-probe/APKBUILD b/community/dhcp-probe/APKBUILD
index 776c05f05e..57bc23017d 100644
--- a/community/dhcp-probe/APKBUILD
+++ b/community/dhcp-probe/APKBUILD
@@ -3,7 +3,7 @@
pkgname=dhcp-probe
_pkgname=dhcp_probe
pkgver=1.3.0
-pkgrel=5
+pkgrel=6
pkgdesc="Allows network administrators to make calculations that will assist in subnetting a network"
url="https://www.net.princeton.edu/software/dhcp_probe/"
arch="all"
@@ -21,22 +21,22 @@ prepare() {
}
build() {
- cd "$builddir"
./configure --prefix=/usr
make
}
package() {
- local f
- cd "$builddir"
make DESTDIR="$pkgdir" install
mkdir -p "$srcdir"/etc/dhcp-probe
- install -Dm755 "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
install -Dm755 "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
+ install -Dm644 "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
install -Dm755 "$builddir"/extras/dhcp_probe.cf.sample "$pkgdir"/etc/dhcp-probe/dhcp_probe.cf
+
+ local f
for f in dhcp_probe_notify dhcp_probe_notify2 mail-throttled; do
install -Dm755 "$builddir"/extras/$f "$pkgdir"/etc/dhcp-probe/$f
done
}
+
sha512sums="d643012529ee5149adbc0c1f19f8e579c55201e86de2aec9b3313be9412db4e973162f864d1baaf79fa340b7bd9a7385f0f1406d1b616e801ced3c7bb387c854 dhcp_probe-1.3.0.tar.gz
3753d6b4c5780f42a4793dfa1f23df2c9a21fa56ca42083f60d23585d720e76cb96f4f38bfeb31cb2e599f3e5659ef7decec1c7c9b3c885db5abd65c4302c63c dhcp-probe.initd
0e500c4fc58892b70a85434d5dbba45e9ca89455223ac56e8dc544d5e16539bbd4cc63795de02096669951ad7b6a8a1606660a5ee7655f3f4375fa4c4d168b73 dhcp-probe.confd"