Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
aports
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
649
Issues
649
List
Boards
Labels
Service Desk
Milestones
Merge Requests
210
Merge Requests
210
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpine
aports
Commits
6cbc32e5
Commit
6cbc32e5
authored
Jul 01, 2009
by
Natanael Copa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
extra/gross: rename USER and GROUP variables in init.d script
parent
ce8d68ea
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
11 deletions
+11
-11
extra/gross/APKBUILD
extra/gross/APKBUILD
+5
-5
extra/gross/gross.initd
extra/gross/gross.initd
+6
-6
No files found.
extra/gross/APKBUILD
View file @
6cbc32e5
...
...
@@ -2,11 +2,11 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname
=
gross
pkgver
=
1.0.1
pkgrel
=
0
pkgrel
=
1
pkgdesc
=
"Greylisting of suspicious sources"
url
=
"http://code.google.com/p/gross/"
license
=
"BSD"
depends
=
"uclibc c-ares"
depends
=
makedepends
=
"c-ares-dev autoconf automake libtool sed"
install
=
"
$pkgname
.pre-install
$pkgname
.post-install"
subpackages
=
"
$pkgname
-doc
$pkgname
-dev"
...
...
@@ -45,10 +45,10 @@ build() {
}
md5sums
=
"f8f81b36850dcda30cb81799b9cee3b6 gross-1.0.1.tar.gz
37b83bd0d94f66c733d5562c0327b70f
gross.initd
b0d8635b64c4a90d72c49e868f4c4c32
gross.initd
5ca1c6e51c3243236e6564480b20279b gross.confd
bb75b119ac96b8f99831ce6df810003f gross-1.0.1-configure.ac.patch
7c504b653c71dcf7b192bc487b3516fd gross-1.0.1-default-conf.patch
16e184d59d520db565388f010cc75e83 gross-1.0.1-user.patch
4b55d1c5534167946cc11376d1b05c34 gross.post
-install
8f6e45b98888dbb9971f7681bf431f6f gross.pre
-install"
8f6e45b98888dbb9971f7681bf431f6f gross.pre
-install
4b55d1c5534167946cc11376d1b05c34 gross.post
-install"
extra/gross/gross.initd
View file @
6cbc32e5
...
...
@@ -2,8 +2,8 @@
NAME="grossd"
DAEMON="/usr/sbin/$NAME"
USER="gross"
GROUP="gross"
DAEMON_
USER="gross"
DAEMON_
GROUP="gross"
depend() {
need net
...
...
@@ -12,18 +12,18 @@ depend() {
check_config() {
if [ ! -f /var/db/gross/state ] ; then
einfo "Generating Gross database..."
install -dD -o${
USER} -g${
GROUP} /var/db/gross
${DAEMON} -Cu ${USER} > /dev/null
install -dD -o${
DAEMON_USER} -g${DAEMON_
GROUP} /var/db/gross
${DAEMON} -Cu ${
DAEMON_
USER} > /dev/null
fi
}
start() {
check_config || return 1
ebegin "Starting ${NAME}"
start-stop-daemon --start --quiet
--background
\
start-stop-daemon --start --quiet \
--exec ${DAEMON} -- \
-p /var/run/gross/grossd.pid \
-u ${USER} ${OPTS}
-u ${
DAEMON_
USER} ${OPTS}
eend $?
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment