diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-25 15:26:24 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-25 15:26:24 +0200 |
commit | b6af1e02efe594039707cd882517663d5370f375 (patch) | |
tree | ff9c2d55873e051e82972ba64c017352d3a75d34 /unmaintained/regina-rexx | |
parent | a71346b7acebc600960a98c84fb32cfd72fe864b (diff) | |
download | aports-b6af1e02efe594039707cd882517663d5370f375.tar.bz2 aports-b6af1e02efe594039707cd882517663d5370f375.tar.xz |
testing/[multiple]: move unmaintained packages
This moves all packages from testing to unmaintained which have not been
updated for atleast 6 months. If you are affected by this commit please follow
this proceddure:
* make sure your packages build on all architectures
* move your pacakge(s) back to testing
* if you want to keep this package and can maintain it (or find somebody to
maintain it for you) for a minimum of 6 months ask it to be moved to community
Diffstat (limited to 'unmaintained/regina-rexx')
-rw-r--r-- | unmaintained/regina-rexx/APKBUILD | 55 | ||||
-rw-r--r-- | unmaintained/regina-rexx/llong.patch | 22 | ||||
-rw-r--r-- | unmaintained/regina-rexx/regina-rexx.initd | 28 |
3 files changed, 105 insertions, 0 deletions
diff --git a/unmaintained/regina-rexx/APKBUILD b/unmaintained/regina-rexx/APKBUILD new file mode 100644 index 0000000000..4dea475167 --- /dev/null +++ b/unmaintained/regina-rexx/APKBUILD @@ -0,0 +1,55 @@ +# Contributor: +# Maintainer: +pkgname=regina-rexx +_pkgname=Regina-REXX +pkgver=3.7 +pkgrel=0 +pkgdesc="Regina is an implementation of a Rexx interpreter." +url="http://regina-rexx.sourceforge.net/" +arch="" +license="LGPL" +depends= +depends_dev= +makedepends="" +install="" +subpackages="$pkgname-doc" +source="regina-rexx.initd + http://downloads.sourceforge.net/regina-rexx/$_pkgname-$pkgver.tar.gz + " + +_builddir="$srcdir"/$_pkgname-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --libdir=/usr/lib \ + || return 1 + make -j1 || return 1 +} + +package() { + cd "$_builddir" + make -j1 DESTDIR="$pkgdir" install || return 1 + rm -rf "$pkgdir"/usr/etc + install -m755 -D "$srcdir"/$pkgname.initd \ + "$pkgdir"/etc/init.d/$pkgname || return 1 +} + +md5sums="d798859c38eb61088f1ca20b16e78639 regina-rexx.initd +276235e489f7f8596cb9c6e00f8a61f3 Regina-REXX-3.7.tar.gz" +sha256sums="cad62b61b57b109d619467302e72092ebb83ede166aa9e60adafded791bd3eb3 regina-rexx.initd +133c9e0fd9e09f9adfc4108f43b727e191e4c4c01711cfa26416799d21d1e7fe Regina-REXX-3.7.tar.gz" +sha512sums="1d4955ab4d1d5ef46fffecf2e3ebddf889d2108683bc41d2eb04c988ec416c48ae061d349705fc7018a22ff23a92fe1be7328a68f2145292a4d511bfa82b7b70 regina-rexx.initd +5ae88611baa43fbc3325cb814c9cb4cedc454f36c1f9a18cdf82c755bb75531ab9bd5d0088f340808790959feac691e4bf72c69b33f1fe554e9d26eb880dfc4a Regina-REXX-3.7.tar.gz" diff --git a/unmaintained/regina-rexx/llong.patch b/unmaintained/regina-rexx/llong.patch new file mode 100644 index 0000000000..37c3cef3dd --- /dev/null +++ b/unmaintained/regina-rexx/llong.patch @@ -0,0 +1,22 @@ +--- Regina-REXX-3.7.orig/gci/gci_convert.linux.i86 ++++ Regina-REXX-3.7/gci/gci_convert.linux.i86 +@@ -43,8 +43,8 @@ + #define GCI_I_4m INT_MIN + #define GCI_I_4M INT_MAX + #define GCI_I_8 signed long long +-#define GCI_I_8m LONG_LONG_MIN +-#define GCI_I_8M LONG_LONG_MAX ++#define GCI_I_8m LLONG_MIN ++#define GCI_I_8M LLONG_MAX + + #define GCI_Ur strtoull + #define GCI_Uw(s,v) sprintf( s, "%Lu", v ) +@@ -55,7 +55,7 @@ + #define GCI_U_4 unsigned + #define GCI_U_4M UINT_MAX + #define GCI_U_8 unsigned long long +-#define GCI_U_8M ULONG_LONG_MAX ++#define GCI_U_8M ULLONG_MAX + + #define GCI_Fr strtold + #define GCI_Fw(s,v) sprintf( s, "%.*LE", LDBL_MANT_DIG/3, v ) diff --git a/unmaintained/regina-rexx/regina-rexx.initd b/unmaintained/regina-rexx/regina-rexx.initd new file mode 100644 index 0000000000..a3e1847805 --- /dev/null +++ b/unmaintained/regina-rexx/regina-rexx.initd @@ -0,0 +1,28 @@ +#!/sbin/runscript + +# Sample init.d file for alpine linux. + +name=rxstack +daemon=/usr/bin/$name + +depend() { + need net + after firewall +} + +start() { + ebegin "Starting ${name}" + start-stop-daemon --start --quiet \ + --pidfile /var/run/${name}.pid \ + --exec ${daemon} -- -d + eend $? +} + +stop() { + ebegin "Stopping ${name}" + start-stop-daemon --stop --quiet \ + --pidfile /var/run/$name.pid \ + --exec ${daemon} + eend $? +} + |