aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authortmpfile <tmpfile@users.noreply.github.com>2017-05-14 13:08:52 -0300
committerNatanael Copa <ncopa@alpinelinux.org>2017-06-09 13:09:33 +0000
commit9c2d3b2f6b2eb35dc349ef1eeafac6bedef96ec0 (patch)
tree56caf0d90bb1097d4f0a1077b19cd0e3383f8d5e /main
parent69432e05a1443d3b51603979f78a27f6cdebf15b (diff)
downloadaports-9c2d3b2f6b2eb35dc349ef1eeafac6bedef96ec0.tar.bz2
aports-9c2d3b2f6b2eb35dc349ef1eeafac6bedef96ec0.tar.xz
main/sysklogd: modernize abuild
Diffstat (limited to 'main')
-rw-r--r--main/sysklogd/APKBUILD51
1 files changed, 6 insertions, 45 deletions
diff --git a/main/sysklogd/APKBUILD b/main/sysklogd/APKBUILD
index cb698de403..8472266e58 100644
--- a/main/sysklogd/APKBUILD
+++ b/main/sysklogd/APKBUILD
@@ -7,9 +7,8 @@ url="http://www.infodrom.org/projects/sysklogd/"
arch="all"
license="GPL BSD"
subpackages="$pkgname-doc"
-depends=
+depends=""
makedepends="linux-headers"
-install=
source="http://www.infodrom.org/projects/$pkgname/download/$pkgname-$pkgver.tar.gz
sysklogd.logrotate
sysklogd.daily
@@ -24,27 +23,15 @@ source="http://www.infodrom.org/projects/$pkgname/download/$pkgname-$pkgver.tar.
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
-}
-
+builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$srcdir"/$pkgname-$pkgver
- make CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE" \
- || return 1
+ cd $builddir
+ make CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE"
}
package() {
- cd "$srcdir"/$pkgname-$pkgver
- make INSTALL="install -D" prefix="$pkgdir" install || return 1
+ cd $builddir
+ make INSTALL="install -D" prefix="$pkgdir" install
install -D -m644 "$srcdir"/sysklogd.logrotate \
"$pkgdir"/etc/logrotate.d/sysklogd
@@ -57,32 +44,6 @@ package() {
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
-md5sums="c70599ab0d037fde724f7210c2c8d7f8 sysklogd-1.5.1.tar.gz
-6bc1d1c65076b104a8f78d0fb4f21db7 sysklogd.logrotate
-db996d562606318fec093b289a601d8a sysklogd.daily
-aae8ebc0812302335d2cd9f572ab6dbc 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="5166c185ae23c92e8b9feee66a6e3d0bc944bf673112f53e3ecf62e08ce7c201 sysklogd-1.5.1.tar.gz
-603fa42348264aba7bc6e3306582523248a7841a0b02f101af0028e8db14a22a sysklogd.logrotate
-a4530de4906d1e7a433a0d3c8184f91ecc4279c753882f2653e0ce207c616440 sysklogd.daily
-e7c2910501a6bcba844060776cd4c1ab685f2bbf7a52191444271a530fb77cad 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="a72196a1a172d25be1c4791ef6256fe71fa2ba8c1383d230e646e93f8a65c3a57c535189726325da4c792fdb2e9cb119bba43c878816a8e78e78189fd32b12b7 sysklogd-1.5.1.tar.gz
d82caedfa61bfefc0162e5c416ff75a5cd8f60abe1cf8a3c5c4e7775aeb7bb64e712c783031659d3793378c8753578adf73ef79aac6a0e7cfbc5bbba5a74bd81 sysklogd.logrotate
87a95d612b9841a022c91a219ff4f69f57badb7f84178f06fc8abec242df948540582f27146b34c6ce730a451ddfc5195b24237cd70c70896ef040148789dd20 sysklogd.daily