blob: d45aeb1b24061cc3f27e3265a61fd79e20833284 (
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
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=sysklogd
pkgver=1.5
pkgrel=17
pkgdesc="System and kernel log daemons"
url="http://www.infodrom.org/projects/sysklogd/"
arch="all"
license="GPL BSD"
subpackages="$pkgname-doc"
depends=
makedepends="linux-headers"
install=
source="http://www.infodrom.org/projects/$pkgname/download/$pkgname-$pkgver.tar.gz
sysklogd.logrotate
sysklogd.daily
sysklogd.initd
sysklogd.confd
sysklogd-1.4.2-caen-owl-klogd-drop-root.diff
sysklogd-1.4.2-caen-owl-syslogd-bind.diff
sysklogd-1.4.2-caen-owl-syslogd-drop-root.diff
sysklogd-1.5-build.patch
ksym-fclose-fix.diff
fix-includes.patch
syslog.conf
LICENSE"
prepare() {
cd "$srcdir"/$pkgname-$pkgver
for i in $source; do
case "$i" in
*.patch|*.diff)
msg "Applying $i..."
patch -p1 -i "$srcdir"/$i || return 1
;;
esac
done
}
build() {
cd "$srcdir"/$pkgname-$pkgver
make CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE" \
|| return 1
}
package() {
cd "$srcdir"/$pkgname-$pkgver
make INSTALL="install -D" prefix="$pkgdir" install || return 1
install -D -m644 "$srcdir"/sysklogd.logrotate \
"$pkgdir"/etc/logrotate.d/sysklogd
install -D -m755 "$srcdir"/sysklogd.daily \
"$pkgdir"/etc/periodic/daily/sysklogd
install -D -m755 "$srcdir"/sysklogd.initd "$pkgdir"/etc/init.d/sysklogd
install -D -m644 "$srcdir"/sysklogd.confd "$pkgdir"/etc/conf.d/sysklogd
install -D -m644 "$srcdir"/syslog.conf "$pkgdir"/etc/syslog.conf
install -D -m644 "$srcdir"/LICENSE \
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
md5sums="e053094e8103165f98ddafe828f6ae4b sysklogd-1.5.tar.gz
6bc1d1c65076b104a8f78d0fb4f21db7 sysklogd.logrotate
db996d562606318fec093b289a601d8a sysklogd.daily
6ac5b2a358c0ffdaff05e9666b279827 sysklogd.initd
e25d7b583b7e4bd8be503b89e1771e90 sysklogd.confd
3b7ba3aa6519f96f11165a7d5900a8b1 sysklogd-1.4.2-caen-owl-klogd-drop-root.diff
4715e1dd2deb7a9ac137e004210e3154 sysklogd-1.4.2-caen-owl-syslogd-bind.diff
6c0a416e40a678cf99c454b0e98185c9 sysklogd-1.4.2-caen-owl-syslogd-drop-root.diff
c71826d1a4f3f7e8ffa57adbfc24f1ce sysklogd-1.5-build.patch
8e70cdf98cce9defae0c28a3d2db4410 ksym-fclose-fix.diff
fee8beb8c17f8ff8bbf6523fbb1c627f fix-includes.patch
16019757e6af519be8cf3398b97e0f1b syslog.conf
7930f7ff5038e1318511624e348581cc LICENSE"
sha256sums="6169b8e91d29288e90404f01462b69e7f2afb1161aa419826fe4736c7f9eb773 sysklogd-1.5.tar.gz
603fa42348264aba7bc6e3306582523248a7841a0b02f101af0028e8db14a22a sysklogd.logrotate
a4530de4906d1e7a433a0d3c8184f91ecc4279c753882f2653e0ce207c616440 sysklogd.daily
ef2e1e49b08b1ce7d9109c446bda65860feb8f79ceaeaa7a91a73bf28737b721 sysklogd.initd
11a1eeb9edd09639d5143227bada137945822b23c5abb88fec5ebaef064b991d sysklogd.confd
f316586561ec40eb185bb83b6e785185b9e33b8290767336cdab626767f88060 sysklogd-1.4.2-caen-owl-klogd-drop-root.diff
1818aee4cb0d501542721468199e376b73c71d8635b178b6a8d7bd6aff49aa9d sysklogd-1.4.2-caen-owl-syslogd-bind.diff
0105d924d9451531645a9957ec7d40228cf2a1cb4ccdf3d89ff255dfec0841b9 sysklogd-1.4.2-caen-owl-syslogd-drop-root.diff
29fbfc607580a8bed0dc1ae598ddd175fda46dca79f528bc5a5b92c155e1e99b sysklogd-1.5-build.patch
7a34ec8ae1d396bb366f07c0375bb1e34cec565e01d7d8b8cc30e801c2df117e ksym-fclose-fix.diff
fd235a445a2fb0100cd84e201b7a0a14e515517b74106cf4dcfd8d820af7bc21 fix-includes.patch
f438fd0f85eb6796289421aa0339d54d5c1cb0a5524df4c866c009a05223bf70 syslog.conf
5d15a27dc7c6183a61a0e44fa5559b6d53a9f1591767c2322dd797f717c5eb8d LICENSE"
sha512sums="19ef104c03a8c87ea30c811fe54bb30e7c73a2834a83c8720841f0d553d41508dbf052d4e3dd9ea929eedff31e9fbb79f8c05546f48005b74f01ebf2a57e48f7 sysklogd-1.5.tar.gz
d82caedfa61bfefc0162e5c416ff75a5cd8f60abe1cf8a3c5c4e7775aeb7bb64e712c783031659d3793378c8753578adf73ef79aac6a0e7cfbc5bbba5a74bd81 sysklogd.logrotate
87a95d612b9841a022c91a219ff4f69f57badb7f84178f06fc8abec242df948540582f27146b34c6ce730a451ddfc5195b24237cd70c70896ef040148789dd20 sysklogd.daily
4b598713f531d436cb2b666136464ce519eb17ad66061aa58cbb2ab4383f97e62170ae5efe0e2455b33f8f59509809a553625827a1ef8d65ab54a61f937f8e4c sysklogd.initd
4553d85e93fb07e7d4a6ed0b47a3ea2044a5605adaac05223724c32a60bb8ae96d99ca95965c3931640beef234e976c1141b83f603aa8c6e8aca1dec20ca807c sysklogd.confd
1a5cf4a5dec3ecaa8258110820b64d6a8e1e768e841a3f0ade8d7827b91e73c2d8a49a9d8b74566373133627af88dd46d14e83ae1940a0b2e6cd6fe8710a7e7a sysklogd-1.4.2-caen-owl-klogd-drop-root.diff
995c240fc54681445f68f7681173e1e1860aaab309edc8ac3531881c63c8889f009a7fd622d37145e80fe187410b80c28554140d6a6660134ca87a1c8d13570d sysklogd-1.4.2-caen-owl-syslogd-bind.diff
87865e069f9c78990660cf29a37ba1ded7cc078ea8f05af63fc6068c470d1881181387477dccb830d96af05f352959181619380d61afccf3a11d213372e68852 sysklogd-1.4.2-caen-owl-syslogd-drop-root.diff
ab979b36f091c62ada916246723cd75a71319a6c3687c034167b9caafc53807e6d224e0d6c836bc4b81b61c1d02ec21a1cb19477396a416c62f097d4b9ccc678 sysklogd-1.5-build.patch
ceb1f7cb70f526dd285fc8bad5511cdef603fc1296f69cc0e7ec4901f11685fae083d028687765b233ca074dfbe0cdafa921de6c80a5cbced94de1059d9761ee ksym-fclose-fix.diff
0208662a0158ecb6b0a387bd1bf467c866105dac02767209aeaaaeb02762d6c2b814a2707315f8f6cd40f46c4b7744b74653e30973c31354998c27cd7c966dbd fix-includes.patch
49f73b8a16b92d0cda56db9cfc16d5322e797590dfc998282a62560d54205042af953837f5f94b45a3de403fdf5f63efe65d72e9908c7185a2cd5941275abf33 syslog.conf
7b3de1d38b50df14ceaada900f2e8f23b0d5035278c9eacb06d2578ccdcf64ffc44bbb76ed6a10d80f4b883bf36a3ecd2bf60897321e4eae7aed7d8a5a36d86c LICENSE"
|