Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Adélie Package Tree
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Adélie Linux
Adélie Package Tree
Commits
34a8b872
Commit
34a8b872
authored
6 years ago
by
Laurent Bercot
Browse files
Options
Downloads
Patches
Plain Diff
user/netqmail: add a package() to APKBUILD, because abuild
parent
0d7d0dd6
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
user/netqmail/APKBUILD
+10
-12
10 additions, 12 deletions
user/netqmail/APKBUILD
with
10 additions
and
12 deletions
user/netqmail/APKBUILD
+
10
−
12
View file @
34a8b872
...
...
@@ -2,7 +2,7 @@
# Maintainer: Laurent Bercot <ska-adelie@skarnet.org>
pkgname
=
netqmail
pkgver
=
1.06
pkgrel
=
4
pkgrel
=
5
pkgdesc
=
"The qmail mail transfer agent (community version)"
url
=
"http://www.qmail.org/
$pkgname
/"
arch
=
"all"
...
...
@@ -13,9 +13,9 @@ depends="execline s6 s6-networking"
makedepends
=
"utmps-dev"
subpackages
=
"
$pkgname
-doc
$pkgname
-openrc"
install
=
"
$pkgname
.post-install
$pkgname
.pre-deinstall"
source
=
"http://www.qmail.org/
$pkgname
-
$pkgver
.tar.gz
\
0001-DESTDIR.patch
\
0002-qbiffutmpx-20170820.patch
\
source
=
"http://www.qmail.org/
$pkgname
-
$pkgver
.tar.gz
0001-DESTDIR.patch
0002-qbiffutmpx-20170820.patch
0003-qmailremote-20170716.patch
0004-notifyfd.patch
qmail.run
...
...
@@ -66,21 +66,19 @@ makeservicedir()
build
()
{
cd
"
$builddir
"
echo
"
gcc -O2 -pipe -W -Wall -Wextra
"
>
conf-cc
echo
"
gcc
-s -static"
>
conf-ld
echo
"
gcc -s
"
>
conf-ldi
# because fakeroot doesn't work with static programs
echo
"
$CC
$CFLAGS
"
>
conf-cc
echo
"
$CC
$LDFLAGS
-s -static"
>
conf-ld
echo
"
$CC
$LDFLAGS
"
>
conf-ldi
# because fakeroot doesn't work with static programs
echo
022
>
conf-patrn
echo
/var/qmail
>
conf-qmail
echo
255
>
conf-spawn
{
echo alias
;
echo
qmaild
;
echo
qmaill
;
echo
root
;
echo
qmailp
;
echo
qmailq
;
echo
qmailr
;
echo
qmails
;
}
>
conf-users
{
echo
qmail
;
echo
nofiles
;
}
>
conf-groups
make
}
# The following should be done in package(), but abuild only
# does it under fakeroot when it's done in build() and
# there's no package() function.
package
()
{
cd
"
$builddir
"
mkdir
-p
-m
0755
"
$pkgdir
"
/var/qmail/services
"
$pkgdir
"
/var/log/qmail
"
$pkgdir
"
/usr/bin
"
$pkgdir
"
/usr/sbin
"
$pkgdir
"
/usr/share/doc
"
$pkgdir
"
/etc/qmail/services
"
$pkgdir
"
/etc/conf.d
"
$pkgdir
"
/etc/init.d
chown
qmaill:qmaill
"
$pkgdir
"
/var/log/qmail
chmod
2700
"
$pkgdir
"
/var/log/qmail
...
...
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