Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Johannes Müller
aports
Commits
d5b08cc2
Commit
d5b08cc2
authored
15 years ago
by
Leonardo Arena
Browse files
Options
Downloads
Patches
Plain Diff
testing/amavisd-new: post-install fixed
parent
0eabaf34
Loading
Loading
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
testing/amavisd-new/APKBUILD
+7
-1
7 additions, 1 deletion
testing/amavisd-new/APKBUILD
testing/amavisd-new/common_vars
+0
-8
0 additions, 8 deletions
testing/amavisd-new/common_vars
testing/amavisd-new/post-install
+6
-1
6 additions, 1 deletion
testing/amavisd-new/post-install
with
13 additions
and
10 deletions
testing/amavisd-new/APKBUILD
+
7
−
1
View file @
d5b08cc2
...
@@ -17,7 +17,12 @@ source="http://www.ijs.si/software/amavisd/$pkgname-$pkgver.tar.gz"
...
@@ -17,7 +17,12 @@ source="http://www.ijs.si/software/amavisd/$pkgname-$pkgver.tar.gz"
build
()
{
build
()
{
cd
"
$srcdir
/
$pkgname
-
$pkgver
"
cd
"
$srcdir
/
$pkgname
-
$pkgver
"
.
../../common_vars
HOME
=
/var/amavis
QUARANTINE
=
$HOME
/quarantine
USER
=
amavis
GROUP
=
amavis
DIRS
=
"
$HOME
$HOME
/tmp
$HOME
/var
$HOME
/db
$HOME
/home
$QUARANTINE
"
CONFIG
=
/etc/amavisd.conf
for
dir
in
$DIRS
for
dir
in
$DIRS
do
do
...
@@ -36,3 +41,4 @@ build() {
...
@@ -36,3 +41,4 @@ build() {
}
}
md5sums
=
"02b0bd38b40258841c60479603dc6842 amavisd-new-2.6.3.tar.gz"
md5sums
=
"02b0bd38b40258841c60479603dc6842 amavisd-new-2.6.3.tar.gz"
This diff is collapsed.
Click to expand it.
testing/amavisd-new/common_vars
deleted
100644 → 0
+
0
−
8
View file @
0eabaf34
#!/bin/sh
HOME
=
/var/amavis
QUARANTINE
=
$HOME
/quarantine
USER
=
amavis
GROUP
=
amavis
DIRS
=
"
$HOME
$HOME
/tmp
$HOME
/var
$HOME
/db
$HOME
/home
$QUARANTINE
"
CONFIG
=
/etc/amavisd.conf
This diff is collapsed.
Click to expand it.
testing/amavisd-new/post-install
+
6
−
1
View file @
d5b08cc2
#!/bin/sh
#!/bin/sh
.
../../common_vars
HOME
=
/var/amavis
QUARANTINE
=
$HOME
/quarantine
USER
=
amavis
GROUP
=
amavis
DIRS
=
"
$HOME
$HOME
/tmp
$HOME
/var
$HOME
/db
$HOME
/home
$QUARANTINE
"
CONFIG
=
/etc/amavisd.conf
addgroup
$USER
addgroup
$USER
adduser
-h
$HOME
-s
/bin/false
-G
$GROUP
-D
$USER
adduser
-h
$HOME
-s
/bin/false
-G
$GROUP
-D
$USER
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment