aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/nilfs-utils
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-08-25 15:26:24 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-25 15:26:24 +0200
commitb6af1e02efe594039707cd882517663d5370f375 (patch)
treeff9c2d55873e051e82972ba64c017352d3a75d34 /unmaintained/nilfs-utils
parenta71346b7acebc600960a98c84fb32cfd72fe864b (diff)
downloadaports-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/nilfs-utils')
-rw-r--r--unmaintained/nilfs-utils/APKBUILD64
-rw-r--r--unmaintained/nilfs-utils/max-input.patch12
-rw-r--r--unmaintained/nilfs-utils/rpc-types.patch11
3 files changed, 87 insertions, 0 deletions
diff --git a/unmaintained/nilfs-utils/APKBUILD b/unmaintained/nilfs-utils/APKBUILD
new file mode 100644
index 0000000000..17da71cc4b
--- /dev/null
+++ b/unmaintained/nilfs-utils/APKBUILD
@@ -0,0 +1,64 @@
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer:
+pkgname=nilfs-utils
+pkgver=2.2.2
+pkgrel=0
+pkgdesc="Utilities for managing NILFS v2 filesystems"
+url="http://nilfs.sourceforge.net"
+arch="all"
+license="GPLv2+"
+depends=""
+depends_dev=""
+makedepends="$depends_dev util-linux-dev"
+install=""
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://nilfs.sourceforge.net/download/nilfs-utils-$pkgver.tar.bz2
+ max-input.patch
+ rpc-types.patch"
+
+_builddir="$srcdir"/nilfs-utils-$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
+ update_config_sub || return 1
+}
+
+build() {
+ cd "$_builddir"
+ LDCONFIG=/bin/true \
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ --disable-static \
+ --without-selinux \
+ || return 1
+ sed -i -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
+ -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
+ libtool || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="17033394c30515c41c8ae08f83d1cbbe nilfs-utils-2.2.2.tar.bz2
+502f124b1c6def25dab791b6d56d7bb5 max-input.patch
+eeeed9b3e7485b0fb164cbbada47ece7 rpc-types.patch"
+sha256sums="14376ff6ca4e286030aa65cf09e224e02ae8aacd1352711e1cc083243c2f51f0 nilfs-utils-2.2.2.tar.bz2
+a389724e0b7c020ead9556a6e28ac1f203bae083979ed72c470c23ac25100cf1 max-input.patch
+57c6eadb917691deeeec11339d4806a89d3e8b6344c4f4d08d19d3ab60009bfa rpc-types.patch"
+sha512sums="2ac0f1f25472d8900732db9f31e6b824e7e591bf306aa18d8b55c5d93807f4f7ceb65ba7e49540a39c7f285ad63c5f4ab795d34b2a04398d91cd2beb5fc6edce nilfs-utils-2.2.2.tar.bz2
+2561be048bbe3a931d8f39073667c5f1730fb1741dc194cf3d7c89d2d8780985d15b4ac960d03fe7ad5638111ff3c4db248f899623f8fa47558c27791d9f5c53 max-input.patch
+6604102ead3ee4cb261cb71b9a1dc46c8e344061724f0a5e8a6d037f6b72ee7f5a983a21f691fbc6a66e441e982b9d727eed9499925b92cebefacd9ec9dd6ea3 rpc-types.patch"
diff --git a/unmaintained/nilfs-utils/max-input.patch b/unmaintained/nilfs-utils/max-input.patch
new file mode 100644
index 0000000000..5241ea55c0
--- /dev/null
+++ b/unmaintained/nilfs-utils/max-input.patch
@@ -0,0 +1,12 @@
+--- ./bin/rmcp.c.orig
++++ ./bin/rmcp.c
+@@ -51,6 +51,9 @@
+ #include "nilfs.h"
+ #include "parser.h"
+
++#ifndef MAX_INPUT
++#define MAX_INPUT _POSIX_MAX_INPUT
++#endif
+
+ #ifdef _GNU_SOURCE
+ #include <getopt.h>
diff --git a/unmaintained/nilfs-utils/rpc-types.patch b/unmaintained/nilfs-utils/rpc-types.patch
new file mode 100644
index 0000000000..ce55c439a2
--- /dev/null
+++ b/unmaintained/nilfs-utils/rpc-types.patch
@@ -0,0 +1,11 @@
+--- ./sbin/mount/sundries.h.orig
++++ ./sbin/mount/sundries.h
+@@ -15,7 +15,7 @@
+ #include <signal.h>
+ #include <stdarg.h>
+ #include <stdlib.h>
+-#if !defined(bool_t) && !defined(__GLIBC__)
++#if !defined(bool_t) && !defined(__GLIBC__) && HAVE_RPC_TYPES_H
+ #include <rpc/types.h>
+ #endif
+