diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2019-05-06 17:24:20 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-05-06 17:32:31 +0000 |
commit | 05811c2c809d49ffaaa0e3047eee03a90c2a074e (patch) | |
tree | 81894abead7cf24bdaeae4d443b3bd0836905967 /testing | |
parent | 145a4f50eed17c1f3776a9ba77ea45fd38a620ed (diff) | |
download | aports-05811c2c809d49ffaaa0e3047eee03a90c2a074e.tar.bz2 aports-05811c2c809d49ffaaa0e3047eee03a90c2a074e.tar.xz |
main/amavisd-milter: promote from testing
fixes #10218
Diffstat (limited to 'testing')
-rw-r--r-- | testing/amavisd-milter/APKBUILD | 47 | ||||
-rw-r--r-- | testing/amavisd-milter/amavisd-milter.confd | 10 | ||||
-rw-r--r-- | testing/amavisd-milter/amavisd-milter.initd | 20 |
3 files changed, 0 insertions, 77 deletions
diff --git a/testing/amavisd-milter/APKBUILD b/testing/amavisd-milter/APKBUILD deleted file mode 100644 index 0e5f850c8e..0000000000 --- a/testing/amavisd-milter/APKBUILD +++ /dev/null @@ -1,47 +0,0 @@ -# Contributor: Elias Werberich <elias@werberich.de> -# Maintainer: -pkgname=amavisd-milter -pkgver=1.6.1 -pkgrel=1 -pkgdesc="sendmail milter for amavisd-new using the AM.PDP protocol" -url="http://amavisd-milter.sourceforge.net/" -arch="all" -license="BSD" -depends="amavisd-new libmilter" -makedepends="libmilter-dev" -subpackages="$pkgname-doc" -source=" - https://downloads.sourceforge.net/amavisd-milter/amavisd-milter/amavisd-milter-1.6.1/amavisd-milter-1.6.1.tar.gz - amavisd-milter.initd - amavisd-milter.confd - " -builddir="$srcdir/${pkgname}-${pkgver}" - -build() { - cd "$builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --target="" \ - --prefix=/usr - make -} - -check() { - cd "$builddir" - make check -} - -package() { - cd "$builddir" - make DESTDIR="$pkgdir" install - - install -Dm755 "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname - install -Dm644 "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname - - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -sha512sums="28f505a8e130e67decc6c6ff8526f82db24b1b27a11e69f1a112e3e6103f303d333743c2ceaf12bad86979c987cde64f41afb4794c1ca1222cf11a2c3b03c8a5 amavisd-milter-1.6.1.tar.gz -3e45a8766f6b5bbb089bcb508efe99d17f107d544b2d50d12437a6b7103e2ce143eef9c6ecc0e2a9ced37b153d122e1eb8f171e4000e4e56a7f2a210587c2d68 amavisd-milter.initd -f44ab528c65050e23a2e78dafd937dae5bc73bd83ff780d7a193d47744674f3991c9d1ae99c4fb8ce1762c50ed6ca5fb604eb2c4cf69fe2e27e8a4076b6f2eec amavisd-milter.confd" diff --git a/testing/amavisd-milter/amavisd-milter.confd b/testing/amavisd-milter/amavisd-milter.confd deleted file mode 100644 index 053d53b5ab..0000000000 --- a/testing/amavisd-milter/amavisd-milter.confd +++ /dev/null @@ -1,10 +0,0 @@ -# amavisd-milter conf.d - -user="amavis" -group="amavis" - -socket_amavis="/var/amavis/amavisd.sock" -socket_milter="/var/amavis/amavisd-milter.sock" - -workdir="/var/amavis/tmp" -connections=2 diff --git a/testing/amavisd-milter/amavisd-milter.initd b/testing/amavisd-milter/amavisd-milter.initd deleted file mode 100644 index c76cd259ef..0000000000 --- a/testing/amavisd-milter/amavisd-milter.initd +++ /dev/null @@ -1,20 +0,0 @@ -#!/sbin/openrc-run - -pidfile="/var/amavis/amavisd-milter.pid" - -name=amavisd-milter -command="/usr/sbin/$name" -command_args="-f -B -w $workdir -s $socket_milter -S $socket_amavis -m $connections" -command_background="yes" - -start_stop_daemon_args="--user $user:$group" - -depend() { - need amavisd - need net - after firewall -} - -start_post() { - chmod 0770 "$socket_milter" -} |