summaryrefslogtreecommitdiffstats
path: root/main/aiccu/APKBUILD
blob: 0be1074e4954730055223dbf48378f6fd3075f1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Contributor: <xmingske@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=aiccu
pkgver=20070115
pkgrel=3
pkgdesc="Automatic IPv6 Connectivity Client Utility"
url="https://www.sixxs.net/"
arch="all"
license="SixXS"
depends="iproute2"
makedepends="gnutls-dev linux-headers"
source="https://www.sixxs.net/archive/sixxs/aiccu/unix/${pkgname}_${pkgver}.tar.gz
	musl_does_not_have_res_ninit.patch
	fix_linking.patch
	gnutls-3.4.0.patch
	aiccu.initd
	"
subpackages="${pkgname}-doc"

_builddir="$srcdir"/${pkgname}

prepare() {
        local pf
        cd "${_builddir}"
        for pf in ${srcdir}/*.patch; do
                patch -p1 -i ${pf} || return 1
        done
}

build() {
	cd "${_builddir}"
	make -C unix-console HAVE_SYSTEMD=0 || return 1
}

package() {
	cd "${_builddir}"
	install -D -m0755 "${_builddir}"/unix-console/aiccu ${pkgdir}/usr/sbin/aiccu || return 1
	install -D -m0755 "${srcdir}"/aiccu.initd ${pkgdir}/etc/init.d/aiccu || return 1
	install -D -m0644 "${_builddir}"/doc/aiccu.conf ${pkgdir}/etc/aiccu.conf || return 1
	install -D -m0644 "${_builddir}"/doc/HOWTO ${pkgdir}/usr/share/doc/aiccu/HOWTO || return 1
	install -D -m0644 "${_builddir}"/doc/README ${pkgdir}/usr/share/doc/aiccu/README || return 1
	install -D -m0644 "${_builddir}"/doc/changelog ${pkgdir}/usr/share/doc/aiccu/changelog || return 1
}
md5sums="c9bcc83644ed788e22a7c3f3d4021350  aiccu_20070115.tar.gz
54a0045d766a1f0696c46800a39a8d92  musl_does_not_have_res_ninit.patch
cb9060144aa68e3e2be394427a10f39f  fix_linking.patch
592de37319b62e6a85129735a5dab564  gnutls-3.4.0.patch
ea69e2ba73bde0229c26a39f0d80e61a  aiccu.initd"
sha256sums="2260f426c13471169ccff8cb4a3908dc5f79fda18ddb6a55363e7824e6c4c760  aiccu_20070115.tar.gz
f748e1df9ec8381709d983f60282c9dde839bd00eb3db551e45578e155e6772c  musl_does_not_have_res_ninit.patch
df7820a873e720badefe6bc71b658ce8e0c1c5ac2c16f04e5174f3a7d27b5053  fix_linking.patch
babc7016d964510df33e006ec806384a205f4385ee5c228296a4e4e139a423da  gnutls-3.4.0.patch
4c2687699b7e50d48ba3fe5eb42acbb5cd769edd80adac19e2c2f2cf468ad774  aiccu.initd"
sha512sums="15b2f0dab51843e58abbd8a0cc13139e492057ee348e368e1b65476bb2760119e88982cd03ffc6ec2cb563a1b7a061e1f66a98861eaad15972d486ac17b7bc78  aiccu_20070115.tar.gz
a13a112eb8bffe125cff9452f9643d516ba4d7168c23e2e15280da9c21e7fa373b8f40cbbf52d353a556820db6b528309055b3a67efc4366e914e4d8e0717aec  musl_does_not_have_res_ninit.patch
c131ec6d79caa38d315ac938718d0752c62dee148fe7200eb7ea908d2911ff2e99814505552207b676f0a6e25e36d3ecaa9e4ada59310e150cc3faa603662821  fix_linking.patch
f127cf5ba3a2e636fb1ef412a4a00ba4c02ad14cdd1fb1ffe09c5b68e627a6acafad6992ff18de2eede39ace8717a6fccddeb8cf0311b13927d1a69e7a6dd14a  gnutls-3.4.0.patch
57bf05b69b404b0cefc7c9c8dfc1de670c5eb70b5b47570c20e4306734c361f217330f0ce891df5f83085d1b76d2e6436b890165b74cf0323c5a2341c0739128  aiccu.initd"