diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-03-01 14:03:38 -0600 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-03-01 14:03:38 -0600 |
commit | 310cf7494aa5e7d20c5944c9d0ee02c1081c7de1 (patch) | |
tree | 4d2bbcddd5977d96277167e4a5d26c317d6f0c23 /community/at | |
parent | 49c27de966b7f0a2b9ef462fa0f43c44f7ef94e9 (diff) | |
download | aports-310cf7494aa5e7d20c5944c9d0ee02c1081c7de1.tar.bz2 aports-310cf7494aa5e7d20c5944c9d0ee02c1081c7de1.tar.xz |
community/at: modernise, mark no tests, fix license
Diffstat (limited to 'community/at')
-rw-r--r-- | community/at/APKBUILD | 32 |
1 files changed, 10 insertions, 22 deletions
diff --git a/community/at/APKBUILD b/community/at/APKBUILD index 30ec875ae9..93d8df248e 100644 --- a/community/at/APKBUILD +++ b/community/at/APKBUILD @@ -2,15 +2,15 @@ # Maintainer: Alexander Belkov <msun00@yandex.ru> pkgname=at pkgver=3.1.20 -pkgrel=1 +pkgrel=2 pkgdesc="AT and batch delayed command scheduling utility and daemon" url="https://packages.qa.debian.org/a/at.html" arch="all" -license="GPL" +options="!check suid" # No test suite. +license="GPL-2.0+" makedepends="ssmtp flex-dev byacc" depends_dev="" install="${pkgname}.pre-install" -options=suid subpackages="at-doc" source="http://http.debian.net/debian/pool/main/a/at/at_$pkgver.orig.tar.gz 10-parsetime.l-1.patch @@ -23,8 +23,8 @@ source="http://http.debian.net/debian/pool/main/a/at/at_$pkgver.orig.tar.gz builddir="$srcdir/$pkgname-$pkgver" prepare() { - default_prepare || return 1 - update_config_guess || return 1 + default_prepare + update_config_guess } build() { @@ -36,31 +36,19 @@ build() { --with-daemon_username=at \ --with-daemon_groupname=at \ --with-jobdir=/var/spool/atd \ - --with-atspool=/var/spool/atd || return 1 - make || return 1 + --with-atspool=/var/spool/atd + make } package() { cd "$builddir" install -D -o root -g at -m 640 "$srcdir"/at.allow \ - "$pkgdir"/etc/at.allow || return 1 - make IROOT="$pkgdir" install || return 1 + "$pkgdir"/etc/at.allow + make IROOT="$pkgdir" install install -m 755 -D "$srcdir"/atd.initd \ - "$pkgdir"/etc/init.d/atd || return 1 + "$pkgdir"/etc/init.d/atd } -md5sums="e7bd7b785b2cbb17e133d6bdc0fb099e at_3.1.20.orig.tar.gz -71a6de8c84ad7348ee3055cfdae53101 10-parsetime.l-1.patch -44688f4e4e814cb628f86e4b3b139aa4 10-parsetime.y-1.patch -ce269fa90d320b9398f3f96f0e0de332 10-Makefile.in-1.patch -74cc1c60799e0a786ac7094b532f01b1 at.allow -86fec213b2337300ea6641de9098d57a atd.initd" -sha256sums="0871923cab73050b98ace020664eb2ddc1e669e4166b5abb64d864d02fcefab9 at_3.1.20.orig.tar.gz -e8ab94bc947918b913b82f12f517a92fd4b7e5f1af1e6ce9171299c6870e8acb 10-parsetime.l-1.patch -dd81811bc80ee15c83241b4ec785d4327889ed24939b6ec7778ba92b32c4d4f9 10-parsetime.y-1.patch -f2060a65d703b08d8fdf57897aa2ccd15d55f36e5f5700ee1c3a1a02a5cda26f 10-Makefile.in-1.patch -53175bcc0524f37b47062fafdda28e3f8eb91d519ca0a184ca71bbebe72f969a at.allow -3e29a0e5495309dc4c59c66de03b49b2690d1b9748867ca9329370b7b91f5f1a atd.initd" sha512sums="20a13512a86f988728f590712f5bf8a23f4dc44f4b42521a4dd4783dc1ba7ac2016ee87b4c2c14f2346a5839168a983d99c3195e947014aea3096a3db16d176f at_3.1.20.orig.tar.gz ec24581fd59de62a93a5914f57b811baaf00fcc8fe969a4c8d0eb0cb2fd939762871725fec406eb127763935ab95ea10e23f314144a5d08ede78ba3bcf231e4a 10-parsetime.l-1.patch 9c06a4e92f3820a85ba75be8c14cb02762f6a5d4f0182bb2faafe51f5de2e35b0ce91e7e81f6e5b3127732c36c8e23e276a103aa0419661a602df93df274f855 10-parsetime.y-1.patch |