aboutsummaryrefslogtreecommitdiffstats
path: root/main/gross
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-04-17 06:16:24 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-04-17 06:18:07 +0000
commit16198c30f7c35c14f19c357886d10d1cc088a352 (patch)
tree62d7bbbfeb2a72fded05e0746a22fba42bbb026d /main/gross
parent47a19e6e28bec5f55d215bf352490dbf878f7b1f (diff)
downloadaports-16198c30f7c35c14f19c357886d10d1cc088a352.tar.bz2
aports-16198c30f7c35c14f19c357886d10d1cc088a352.tar.xz
main/gross: create directory for pidfile in init.d script
ref #2840
Diffstat (limited to 'main/gross')
-rw-r--r--main/gross/APKBUILD10
-rw-r--r--main/gross/gross.post-install2
-rw-r--r--main/gross/grossd.initd1
3 files changed, 6 insertions, 7 deletions
diff --git a/main/gross/APKBUILD b/main/gross/APKBUILD
index 2075327126..c6d4fd8d39 100644
--- a/main/gross/APKBUILD
+++ b/main/gross/APKBUILD
@@ -2,14 +2,14 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gross
pkgver=1.0.2
-pkgrel=6
+pkgrel=7
pkgdesc="Greylisting of suspicious sources"
url="http://code.google.com/p/gross/"
arch="all"
license="BSD"
depends=
makedepends="c-ares-dev autoconf automake libtool sed"
-install="$pkgname.pre-install $pkgname.post-install $pkgname.pre-upgrade
+install="$pkgname.pre-install $pkgname.pre-upgrade
$pkgname.post-upgrade"
subpackages="$pkgname-doc $pkgname-dev"
source="http://gross.googlecode.com/files/$pkgname-$pkgver.tar.gz
@@ -58,19 +58,19 @@ package() {
}
md5sums="cb88d88553161c01e9bed7a74c3e9263 gross-1.0.2.tar.gz
-6e8a2626c0c9f0e98e950a67a55a7040 grossd.initd
+562b4e6abd4eb1b611608761732e67ad grossd.initd
5ca1c6e51c3243236e6564480b20279b grossd.confd
7c504b653c71dcf7b192bc487b3516fd gross-1.0.1-default-conf.patch
47aaeb75a7dc7bd5a05a27287bd88c32 gross-grey_tuple.patch
f88e39538dffe9a6f63516c88b7e2a39 fix-shadow-declaration.patch"
sha256sums="8443b9ba46537ed6470bda60109df68d40d3dd11b9f5a07c9180cb01af7147f9 gross-1.0.2.tar.gz
-e75e383fc0d35b498699b24167c9c9ebe28c2d16eafcb247e275aeaa4e1bc078 grossd.initd
+9f68a44a81ed566677537a6216f712e86c3b5f067bcd0c234d24102603ab7811 grossd.initd
aa170becd70ad79118683b924dd95d1d38d793cc4a4e5fc7bd84c57fff7aa7b3 grossd.confd
8a2a0ea9473a08184d947aa34dab27d77e3dd357f98507b89fe861deb40fbdd7 gross-1.0.1-default-conf.patch
d3d3589c57f58fafdb9d46b91d0866a58006fdaf6f92cdeb71a42022d6f7bcda gross-grey_tuple.patch
f99657beab15b6f0808c6b820a12f055c3c8a54ba364ab6d4d90f9d7326ea2cb fix-shadow-declaration.patch"
sha512sums="fefeef9ec37747c7cbab8323aa4761e36352641bf314fd8fd98ac4e4d5890c5cf7c0858207d7d35a197cc0cad645a12e22b356575dd5f2c4eb4eac033636a2d2 gross-1.0.2.tar.gz
-7dc5317d044f05bd226c96b08fe1f7fd47e5d2864bc60244a0a16d9bf7db68522573d03d884747923b4e8b44ed951d9e5cf1e76417e030cae2645b856e9eea79 grossd.initd
+59b738691ffe088286bab5e9286414fb6635c65c6d641d01fa03fb033cd75a9bacf2b684fb890e6de566d8c4b7a5ed04d86b165fdefaac5056f02a9a0417ebcd grossd.initd
d9f8b74d13e0d3f0e2dfe20e1b7a6e50e91e81c9769d3e1afe3370edf66da5827d3b24f369216370f426a0a242a797a470408831b2cf4e880d4f17d1611a065d grossd.confd
90d80c1a68f71f671c19187dccaee9d475d92925a947d25e68c277b0c52f43e0e4b37c1d8f063a2ef155daa93d8f60fc19e3692f0193a9662670d47e425f37d4 gross-1.0.1-default-conf.patch
5561d46da4848b56d9bb38aa857fe584d7c35a0c432005430b25a2280ca320c70ae8a92bb2718243198345d2919d8eb3d04fb24056c404a648a17a9a6b564c94 gross-grey_tuple.patch
diff --git a/main/gross/gross.post-install b/main/gross/gross.post-install
deleted file mode 100644
index df06670a41..0000000000
--- a/main/gross/gross.post-install
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/sh
-chown -R gross:gross /var/run/gross
diff --git a/main/gross/grossd.initd b/main/gross/grossd.initd
index c300ac4982..b427a2023b 100644
--- a/main/gross/grossd.initd
+++ b/main/gross/grossd.initd
@@ -21,6 +21,7 @@ check_config() {
start() {
check_config || return 1
+ checkpath --directory --owner gross:gross ${pidfile%/*}
ebegin "Starting ${NAME}"
start-stop-daemon --start --quiet --pidfile ${pidfile} \
--exec ${DAEMON} -- \