diff options
author | ScrumpyJack <scrumpyjack@st.ilet.to> | 2016-06-27 10:17:05 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-07-04 11:42:28 +0200 |
commit | 2ff62bbb9f7b2c82a826d7b159c1bc482aa8f0bd (patch) | |
tree | 97c60fb3221dfe78cd7ccfda5db6125c81d5f676 /community/at | |
parent | 00e8ff605f1c4f6386596f35f2a5287ff9b8bc55 (diff) | |
download | aports-2ff62bbb9f7b2c82a826d7b159c1bc482aa8f0bd.zip |
testing/[various]: move packages to community
Moves the packages listed below from the testing to the community
repository after successfully testing of said packages.
asciinema
at
calcurse
cmus
compton
cpio
dvd+rw-tools
fortune
fvwm
geary
h2o
heirloom-mailx
leafpad
nedit
nmh
rover
tor
torsocks
urlview
vdesk
w3m
wbar
xcalc
xclock
xeyes
xkill
Diffstat (limited to 'community/at')
-rw-r--r-- | community/at/10-Makefile.in-1.patch | 11 | ||||
-rw-r--r-- | community/at/10-parsetime.l-1.patch | 11 | ||||
-rw-r--r-- | community/at/10-parsetime.y-1.patch | 14 | ||||
-rw-r--r-- | community/at/APKBUILD | 76 | ||||
-rw-r--r-- | community/at/at.allow | 1 | ||||
-rw-r--r-- | community/at/at.pre-install | 6 | ||||
-rw-r--r-- | community/at/atd.initd | 27 |
7 files changed, 146 insertions, 0 deletions
diff --git a/community/at/10-Makefile.in-1.patch b/community/at/10-Makefile.in-1.patch new file mode 100644 index 00000000000..3381e18f853 --- /dev/null +++ b/community/at/10-Makefile.in-1.patch @@ -0,0 +1,11 @@ +--- Makefile.orig.in ++++ Makefile.in +@@ -12,7 +12,7 @@ + man1dir = $(mandir)/man1 + man5dir = $(mandir)/man5 + man8dir = $(mandir)/man8 +-docdir = $(prefix)/doc ++docdir = $(prefix)/share/doc + atdocdir = $(docdir)/at + etcdir = @ETCDIR@ + systemdsystemunitdir = @systemdsystemunitdir@ diff --git a/community/at/10-parsetime.l-1.patch b/community/at/10-parsetime.l-1.patch new file mode 100644 index 00000000000..61009e6436c --- /dev/null +++ b/community/at/10-parsetime.l-1.patch @@ -0,0 +1,11 @@ +--- parsetime.orig.l ++++ parsetime.l +@@ -32,6 +32,8 @@ + } while(0) + %} + ++%option noyywrap ++ + %% + + now { COPY_TOK ; return NOW; } diff --git a/community/at/10-parsetime.y-1.patch b/community/at/10-parsetime.y-1.patch new file mode 100644 index 00000000000..9e8a33234e2 --- /dev/null +++ b/community/at/10-parsetime.y-1.patch @@ -0,0 +1,14 @@ +--- parsetime.orig.y ++++ parsetime.y +@@ -17,6 +17,11 @@ + extern int yylex(); + + int add_date(int number, int period); ++ ++#ifndef __isleap ++#define __isleap(year) ((year) % 4 == 0 && ((year) % 100 != 0 || (year) % 400 == 0)) ++#endif ++ + %} + + %union { diff --git a/community/at/APKBUILD b/community/at/APKBUILD new file mode 100644 index 00000000000..c61cdabda64 --- /dev/null +++ b/community/at/APKBUILD @@ -0,0 +1,76 @@ +# Contributor: Alexander Belkov <msun00@yandex.ru> +# Maintainer: Alexander Belkov <msun00@yandex.ru> +pkgname=at +pkgver=3.1.18 +pkgrel=2 +pkgdesc="AT and batch delayed command scheduling utility and daemon" +url="http://packages.qa.debian.org/a/at.html" +arch="all" +license="GPL" +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 + 10-parsetime.y-1.patch + 10-Makefile.in-1.patch + at.allow + atd.initd + " + +_builddir=${srcdir} +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p0 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + LEXLIB=-lfl \ + ./configure --prefix=/usr \ + --sbindir=/usr/sbin \ + --runstatedir=/var/run \ + --with-daemon_username=at \ + --with-daemon_groupname=at \ + --with-jobdir=/var/spool/atd \ + --with-atspool=/var/spool/atd || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + + /usr/bin/install -D -o root -g at -m 640 "$srcdir"/at.allow \ + "$pkgdir"/etc/at.allow || return 1 + + make IROOT="$pkgdir" install || return 1 + + /usr/bin/install -m 755 -D "$srcdir"/atd.initd \ + "$pkgdir"/etc/init.d/atd || return 1 +} + +md5sums="f67a7aab557cd5b4a1311079a08acebe at_3.1.18.orig.tar.gz +a1b7536d7f88f509644d10f8220d518c 10-parsetime.l-1.patch +5195f745ccd42582032a433928a88ed5 10-parsetime.y-1.patch +fe699a9c3d437f3ab1b57736501bb940 10-Makefile.in-1.patch +74cc1c60799e0a786ac7094b532f01b1 at.allow +86fec213b2337300ea6641de9098d57a atd.initd" +sha256sums="dbd5c8cb8edd53ef467363c3af0391c08769f1dbbd4d5002c59a4cd4cac11d52 at_3.1.18.orig.tar.gz +b2cb905962f1b9021faf7aa5d612a6b4a4920abb659936d79b9ebdf33eb2f981 10-parsetime.l-1.patch +7086395b7710c18e0954fcb7ab9472d91b2ca07c3935e705b4caf2427e39136b 10-parsetime.y-1.patch +615af791025de65594d639f521d2636721329bbb29b5b3cc56f7cb37251454fa 10-Makefile.in-1.patch +53175bcc0524f37b47062fafdda28e3f8eb91d519ca0a184ca71bbebe72f969a at.allow +3e29a0e5495309dc4c59c66de03b49b2690d1b9748867ca9329370b7b91f5f1a atd.initd" +sha512sums="5ec7512663461ffa1922cef0d99c3cc4882defbea7b1ab855b05bb83e9d3817535db73db74413bcc8af005c956032ec3dc7c83ac16fde96bb315094dae654042 at_3.1.18.orig.tar.gz +1dffcaa1a2c9e469ffdee9b204d4a28f0e2f03e37b28b954406d41279b472686b6b7c4bcc454a2e830992cc60be2bf5b81e2e6f0093e0f674ab38a75c2a254ec 10-parsetime.l-1.patch +306f8ed99b70956e01e76f4b8aa336978c3bbe8600ff52ad99c7fbcc0a7d8107e7f3cd4ebdad265df0c30663665715e73416fe7ac7436b5d13f07dda78f3eafa 10-parsetime.y-1.patch +26db0489d011f2e7834fe3fe217f058e20dd6882edb470f09c859883c064a1422f4a7775fe35992176004292632e40e0f17eb6e05f2724983ea1bf17d7da732f 10-Makefile.in-1.patch +21e1bc024bd76c76b68e04614c6def5b03fd4b658e59bfde065b464b520f463711b795455e3a5c81a8a1946b2bca2f83d6c19300a4d3326ce17959a7cbc0846a at.allow +fe5c075566ef1955e0eb4b4446fe1ea401940df6e0f29e4e2f1baf93e231214db58c707e99b16bb3a3c8c288a05fc390a44c6f09fde50d31f0ac631a98d86c2d atd.initd" diff --git a/community/at/at.allow b/community/at/at.allow new file mode 100644 index 00000000000..d8649da39dd --- /dev/null +++ b/community/at/at.allow @@ -0,0 +1 @@ +root diff --git a/community/at/at.pre-install b/community/at/at.pre-install new file mode 100644 index 00000000000..78aa4bcf1cd --- /dev/null +++ b/community/at/at.pre-install @@ -0,0 +1,6 @@ +#!/bin/sh + +addgroup -S at 2>/dev/null +adduser -S -D -H -s /bin/false -G at -g at at 2>/dev/null + +exit 0 diff --git a/community/at/atd.initd b/community/at/atd.initd new file mode 100644 index 00000000000..733e5d04dd0 --- /dev/null +++ b/community/at/atd.initd @@ -0,0 +1,27 @@ +#!/sbin/openrc-run + +# init.d file for atd (command scheduling daemon) + +command="/usr/sbin/$SVCNAME" +pidfile="/var/run/$SVCNAME.pid" + +depend() { + after localmount +} + +start() { + ebegin "Starting command scheduling daemon ${SVCNAME}" + start-stop-daemon --start --quiet \ + --pidfile ${pidfile} \ + --exec ${command} + eend $? +} + +stop() { + ebegin "Stopping command scheduling daemon ${name}" + start-stop-daemon --stop --quiet \ + --pidfile ${pidfile} \ + --exec ${command} + eend $? +} + |