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
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
omni
aports
Commits
ddc76976
Commit
ddc76976
authored
4 years ago
by
omni
Committed by
omni
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
testing/chasquid: new aport
parent
1bbad1b2
No related branches found
No related tags found
No related merge requests found
Pipeline
#74414
passed
4 years ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
testing/chasquid/APKBUILD
+53
-0
53 additions, 0 deletions
testing/chasquid/APKBUILD
with
53 additions
and
0 deletions
testing/chasquid/APKBUILD
0 → 100644
+
53
−
0
View file @
ddc76976
# Maintainer: omni <omni+alpine@hack.org>
pkgname
=
chasquid
pkgver
=
1.6
pkgrel
=
0
pkgdesc
=
"SMTP server with focus on simplicity, security, and ease of operation"
arch
=
"all"
url
=
"https://blitiri.com.ar/p/chasquid/"
license
=
"Apache-2.0"
makedepends
=
"go"
#checkdepends="bash python3 util-linux msmtp" # test script dependencies
subpackages
=
"
$pkgname
-doc"
source
=
"
$pkgname
-
$pkgver
.tar.gz::https://github.com/albertito/chasquid/archive/v
$pkgver
.tar.gz"
export
GOFLAGS
=
"
$GOFLAGS
-trimpath -mod=readonly -modcacherw"
build
()
{
go build
-v
.
go build
-v
./cmd/chasquid-util/
go build
-v
./cmd/smtp-check/
go build
-v
./cmd/spf-check/
go build
-v
./cmd/mda-lmtp/
go build
-v
./cmd/dovecot-auth-cli/
}
check
()
{
go
test
-v
./...
# https://blitiri.com.ar/p/chasquid/tests/
#setsid -w ./test/run.sh
#setsid -w ./test/stress.sh
#setsid -w ./cmd/chasquid-util/test.sh
#setsid -w ./cmd/mda-lmtp/test.sh
#setsid -w ./cmd/dovecot-auth-cli/test.sh
}
package
()
{
install
-Dm755
-t
"
$pkgdir
"
/usr/bin/
$pkgname
\
"
$pkgname
"
\
"
$pkgname
"
-util
\
smtp-check
\
mda-lmtp
install
-Dm0644
-t
"
$pkgdir
"
/etc/chasquid
\
etc/chasquid/README
\
etc/chasquid/chasquid.conf
install
-Dm0644
-t
"
$pkgdir
"
/etc/chasquid/hooks
\
etc/chasquid/hooks/post-data
install
-dm0755
"
$pkgdir
"
/etc/chasquid/domains
install
-Dm0644
-t
"
$pkgdir
"
/usr/share/man/man1 docs/man/
*
.1
install
-Dm0644
-t
"
$pkgdir
"
/usr/share/man/man5 docs/man/
*
.5
install
-Dm0644
-t
"
$pkgdir
"
/usr/share/doc/
$pkgname
docs/
*
.md
install
-Dm0644
-t
"
$pkgdir
"
/usr/share/licenses/
$pkgname
LICENSE
}
sha512sums
=
"97a02a5c0fb000a0293bdd7b67e619b57d01c7d32e5f8a56036a55a20be114f94a970f07315c1c309e0c5786a4fb301bb5a8d005f04ec0a4f3feb15374dfebd3 chasquid-1.6.tar.gz"
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