aboutsummaryrefslogtreecommitdiffstats
path: root/main/busybox-initscripts/APKBUILD
blob: 167159189bcc61c8dea095ded155db43c6cc9fbe (plain) (blame)
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=busybox-initscripts
pkgver=2.2
pkgrel=24
pkgdesc="Init scripts for busybox daemons"
url="http://git.alpinelinux.org/cgit/aports/tree/core/busybox-initscripts"
arch="noarch"
license="GPL-2"
depends="busybox"
makedepends=
install=$pkgname.post-install
subpackages=
replaces="alpine-baselayout openntpd"
source="acpid.initd cron.initd dnsd.initd httpd.initd inetd.initd klogd.initd 
	mdev-mount.initd mdev.initd ntpd.initd rdate.initd syslog.initd
	watchdog.initd cron.confd klogd.confd ntpd.confd rdate.confd syslog.confd
	watchdog.confd mdev.conf dvbdev ide_links usbdev usbdisk_link xvd_links
	default.script
	"

build() {
	return 0
}

package() {
	local i
	cd "$srcdir"

	mkdir -p "$pkgdir"/etc/conf.d "$pkgdir"/etc/init.d "$pkgdir"/lib/mdev\
		"$pkgdir"/etc/acpi/PWRF
	for i in *.initd; do
		install -m755 "$srcdir"/$i "$pkgdir"/etc/init.d/${i%.*} || return 1
	done
	for i in *.confd; do
		install -m644 "$srcdir"/$i "$pkgdir"/etc/conf.d/${i%.*} || return 1
	done
	install -m644 mdev.conf "$pkgdir"/etc
	install -m755 dvbdev ide_links usbdev usbdisk_link xvd_links "$pkgdir"/lib/mdev/

	# poweroff script for acpid
	cat >"$pkgdir"/etc/acpi/PWRF/00000080 <<EOF
#!/bin/sh
poweroff
EOF
	chmod +x "$pkgdir"/etc/acpi/PWRF/00000080

	# script for udhcpc
	install -Dm755 "$srcdir"/default.script \
		"$pkgdir"/usr/share/udhcpc/default.script || return 1

}

md5sums="8928e7df8723012df7350d40a2729b58  acpid.initd
4ff6e85fb231c9067f10d9dd446852da  cron.initd
dc825f26e9153f8f7d77162c66f7d876  dnsd.initd
35bdb64517fd0fd0d0af075a4d2122e4  httpd.initd
2bb9d1064d8b0dcceb4dac95bf8746ba  inetd.initd
659ac01170c85df2baf63c8b0286bc77  klogd.initd
6de9bac27127a7e1dbcc86acbc920521  mdev-mount.initd
8ead1e5bb37f536ca736a1e0d0cd7522  mdev.initd
3b5d3c51f5624c80dc0c62f8cb0fcfe8  ntpd.initd
c01dc869cbdd68e86e64a35ccc1e885e  rdate.initd
b4b0db90a0e341a39baf55eacbda79c2  syslog.initd
aed11322e338cb98a22b11fe71200c58  watchdog.initd
8ddb8d040c9c7a32c63039a2c80ff496  cron.confd
60bc14cc3163d76f41bcc93dc0f9984b  klogd.confd
779058fe16d8a476c165b6d0928408b3  ntpd.confd
22adbf155ffc4595206ded6daad07812  rdate.confd
77fb31a75511247bf4e3430565a276bc  syslog.confd
0bb55dde32f5e119111fa4938daaef3d  watchdog.confd
b402219e39b38c346c874a9e207d8f2d  mdev.conf
ad1556961294e4aa2abca6be52138b7c  dvbdev
5c8725b4cbdeda23b00f08124a0d20bf  ide_links
daf57f3d0372f825ddc05b00973e5afe  usbdev
30b0c85956b6701caf55309a17e537f6  usbdisk_link
826d85313ca7a4a0205d63bd58b7d01f  xvd_links
e2d8c224cf7a300ea826bfb40e25db54  default.script"
sha256sums="894bf4edd028433bcfa5863b225387a94db477e9b4319f1655dd74907366d245  acpid.initd
9e631207340e1879318ad377b9d74ad77978c5db8bcea1bb0a4871525d67a8e7  cron.initd
5e8f251a3698700bc3cc064dd3dc85f791c6a66d32d088e107de7ac71be70697  dnsd.initd
13d8c6c12fe8c3c01667e9c481f6dbc87d26190e03cb9ec991deccf78973c637  httpd.initd
efd49fa6aed1f4a7fcbdbc66bc9bfa07be88df500c95d6ee2758d9f45e2bfd3c  inetd.initd
9e3ef35638da84f7a99516f5a4363207ed1c746bbef1838f4d279bd580453480  klogd.initd
2e926542fd4e0fb16e2655ddef0d0cd752178757eff4f19ad09714509e534951  mdev-mount.initd
9d3fefb7f1e76eefd61151013da014694a6f2f74b9594b7276633db636bdcc7f  mdev.initd
ccfb4ff5552704c16a28945bc9448b83a993d498468a620337210bcdcd715d12  ntpd.initd
fe551ee6bf08b6e0e9eaea3c93edead6e0ed3aa7c9c1129ba3c503bebdbc7c25  rdate.initd
307dd78e4fc738e0a45e9d57cf895ae1e0d00f4a7a7a6f75cd0c6927ff7d348c  syslog.initd
8bbfdccb64fe94e3537b71ec2aab43b7050e8a099c4c779e00c5ee1e13dc3061  watchdog.initd
6b466c5b0e9cab7613aa56edf383e891c5c7e26ee00467e9f7913808be23a328  cron.confd
f6cd63d6e5f384dcb01a4906c9a0b6c5923794380235dfe0d79b48a686b03c5d  klogd.confd
4224e5c6b5ffeb815c15f3e9f17ddaa169d4e6b7da169dbd0939fe06dbe8914d  ntpd.confd
791d49802395861a5f788dc7436c1260ec2cd3bdea0c790952ae1b2dd518e811  rdate.confd
8a2362d6b5b1ec1d754878726392119f2cc7416c748ee4f2ab134f731d6e6198  syslog.confd
77f6f9069afdbb477a7e822aa2c7265d64fd22fdd9338bb3beb0cee901d202ce  watchdog.confd
98d7483cb1e9399a4ca3cbea0f7d102986e2745b888afe4e3016b704a65079ef  mdev.conf
ef091bb4c8943a99b9a97b556cdc15ddd20275f5afa8287e201419b08c4e71de  dvbdev
3fccc9ee437e3dcc8ac73bfe3713334a7156a112fe442e052fff4f26ff0f6a88  ide_links
dcb0c37590019bccb4c31a5372cbf7728eae6f1174d56bf0708d7504243a5fbb  usbdev
4957f6991e0cb988b263b5276b582f1757deecad19cddebe3c615b381df9f858  usbdisk_link
86ed99205050a5dcca8a27c7e8658df8c55dc85ed810db0d64b51f7c63aa140e  xvd_links
f81b6a0f04cecd131f6372ce27fdb7d2bbb9155ce2cc333c8374dfd70537b901  default.script"
sha512sums="bbd5cb45af37114a1d106e1dad6839e98c62714f94e44e480e46f7c806c6d6c434e7852980139222493fb74760f2815bbdc4bc97a683d1f3345315991056c8fa  acpid.initd
44cacb40d7e732443a3bbc550b907858b404ddba928c7c30d22dfe672c36dd060b9ffa57b11584ece6a7fd5f01c056dd8b61862a2d4e0e7a47e4181784ee4af5  cron.initd
900ca3d192b3edade80b9b8b660bfe2897522ef6f36c342ea16d6f21e6d2acc609d66fc7c77133b03239f19bee2a6227851bc75279ebcab561d6784e947b6328  dnsd.initd
7837353fa1c131a1e1494758a28f59aab81eafb2d3c998857128c3f22e1548b7156924610a39e9734e1d49e9de291690ec3ec2a0a27f29e33380f9c37adc82de  httpd.initd
e5856b6d83047a84f9332a0634de5f165e65878138298a1c737b9326be5a206d24f43227a88b5644f07bdfc7b0974b4d92881bb6236079e9c6ea267e031f8164  inetd.initd
83d978579424065ec4250ea298d41f63939bb243a3a43ca357b987f3717ae08c797bbebe0b23b7dbff1f0f67beb6ac37d64d6c7e06ca34a4226ef1d362d82837  klogd.initd
2d43f3d9fb48164b34daaa55e8f2936d6235dd14b1bb368b4bdc90bd870c595fce39accd981ecb23bacdaddf9fa2adbea4eb9ee7080e9dd2fff8e7636f5f9f16  mdev-mount.initd
2d19e8bb43c5378421934dd436ec36896883b6c35364358b3ee34f6f1fb07f3f49290e0cd32b3d3dc5b863a92a5c4dfe0942e6b62889171edde864fd0b84163c  mdev.initd
fabfa668d11dbf8ea992ebeb3345124520f22b4f2b64c0cfbdcb195ff9e40ad2ce0b49462dc593241bb954d5081afa63ea86782b2eee1aef6be599327e4e28f4  ntpd.initd
6297d604926b4f13155b8382d6713a820c48d97ce001f6571c1a66b3b96f0f5f6ec6eb684d99016d961b8f72ddd8300e30eebccb84b8064f7582aba88493a017  rdate.initd
5bd3634fe5d7a592369b164f126a56891477e22df6685ff204d1e56973fd182b209f74671378cbf6b78af9764e2788bd5bec9e7e58fbbe1314bb004c4fb445e7  syslog.initd
f4ddd0acdfff4aa1972e19e7181b363cb3d73e075acd6cc98d153d7748ab2d213a99c9be30f65c696f13bc72782cbb89ad584e3c837f10904bce295dfa79df35  watchdog.initd
49c4299eca93517f09c6af71dd6bf737fec4006dfbf72b696fc3ec3e39d61fdd63107cae1bd883b2539848d52e6f6b1ed494d0c871e92e50fc55669295f3585e  cron.confd
f9bf43b72142bbb4c0665c1268a3d91586ef8a057dfe64c53b6923815d2db1f669b8080a38311ad89cda0b783a8628700fc5414d834a21d8e48515760bb910f7  klogd.confd
b0ba67585f39d83320ed6de183d7463a0e163807b9f3dc6f0baa212236056f22aeb2c5399dfdcd54929eb5ae06a15714c2fed133b5888869ed9d9cf589cef843  ntpd.confd
3d6c4d358e226e0c0462f2003bcf0b6787f91a53f4d6b6db5bfe7748bb0dd392d7cc454058ea8a9b649e8dd2629963a5ad1257c36af04367caeb1923f954daf7  rdate.confd
330c6e6808dfdf05c75dcdec1048f17052f79b285e11513a64a97bf28fb60e023840966abe03a74fa146eb6b842c4e0e78df82918528e0b6e8f546f7f0a4e323  syslog.confd
359af0a4a1841dd6557eaf3e71d39f0d7a2687bad6a8fc6ef436eccf72a40f85c6400a3b7880c7f64d8e460b6af8a0ff3dd5ffc3a4b1aa8eb0d8f7eaf99ee3e4  watchdog.confd
8f89413990dd11923de8f4e77c5a3171e21c8c6e59cc46013c9f986de33bdfbd583ec4c35112e3f2638997e133a86e5b644795afc2f69d84f2a7b664ae125e66  mdev.conf
ebd82f935da2ca89097234dd8a8f47e179a423652c151123a1f3343f3e1e7bfaba2b8800380e988d4e8f4294545d3a9ab6708ae2e77c5b108b5f091bbce8f94a  dvbdev
0142234d0bda86ad1e5f88f1da34669e5fda46a0fd52ce507bd49ce74d2b7c12c323e8db863bccb924e6d632b568db8b243361b217c5b2e1d92a25feb6e62dec  ide_links
b2dcf0ded9264334d79fbbb05dd12d649dc3119a060db5893f0e8aeca2141323961c3ba4c822a0ffb00dba848742d5cb374dc77e776b57cecde352a3e8e30f8a  usbdev
392c40d223bdff59a624bd67907c06cff9c1b5468c25c19e10dbc3cef3208275d93966e760f140d71a86cb36ec796ea08dbaa767b40c12e9326c3c72964b28a8  usbdisk_link
5db6fa8bbb2d891212187c598cd8703277b3fcb95b5dba6628f7128eb48cc7c1bf4c53885e9d870999c8c95d2fe9cd27609b523596dc553c31b6f72a452a0118  xvd_links
b605abe0035e4ccefc6a5f6d27826caa6e62440be6add2d4140325a897d337918c79204202cc08455b7c8b122a6b744f0b6e4601a00113fd2aff4febd6f3fd90  default.script"