summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/mkinitcpio-nfs-utils/ChangeLog10
-rw-r--r--sys-kernel/mkinitcpio-nfs-utils/Manifest15
-rw-r--r--sys-kernel/mkinitcpio-nfs-utils/files/mkinitcpio-nfs-utils-0.3-buildsystem.patch40
-rw-r--r--sys-kernel/mkinitcpio-nfs-utils/metadata.xml9
-rw-r--r--sys-kernel/mkinitcpio-nfs-utils/mkinitcpio-nfs-utils-0.3.ebuild24
5 files changed, 98 insertions, 0 deletions
diff --git a/sys-kernel/mkinitcpio-nfs-utils/ChangeLog b/sys-kernel/mkinitcpio-nfs-utils/ChangeLog
new file mode 100644
index 000000000000..95f9cddfb98b
--- /dev/null
+++ b/sys-kernel/mkinitcpio-nfs-utils/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sys-kernel/mkinitcpio-nfs-utils
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mkinitcpio-nfs-utils/ChangeLog,v 1.1 2012/07/04 18:16:26 xmw Exp $
+
+*mkinitcpio-nfs-utils-0.3 (04 Jul 2012)
+
+ 04 Jul 2012; Michael Weber <xmw@gentoo.org> +mkinitcpio-nfs-utils-0.3.ebuild,
+ +files/mkinitcpio-nfs-utils-0.3-buildsystem.patch, +metadata.xml:
+ Initial import (thanks udeved, bug 424629)
+
diff --git a/sys-kernel/mkinitcpio-nfs-utils/Manifest b/sys-kernel/mkinitcpio-nfs-utils/Manifest
new file mode 100644
index 000000000000..2ad4969b80b3
--- /dev/null
+++ b/sys-kernel/mkinitcpio-nfs-utils/Manifest
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX mkinitcpio-nfs-utils-0.3-buildsystem.patch 819 RMD160 3ffede0525ee28a2aed8c83079be9b0283280fb6 SHA1 d90ab208c01b4db974cd3bede27094bf29e4aebd SHA256 4807dca603d9d3803b44ef4b2768f6fb82327f700fb57b7464fae0fa3549f0ce
+DIST mkinitcpio-nfs-utils-0.3.tar.gz 33159 RMD160 102491024564e7aa74ef02a12c0370b72c1edddf SHA1 08d63407d6100f0e4c0bb60526f78d881ece8ded SHA256 d290d489844fae100ca7b848b8eef40078124ff373203086bacc07329d1e8939
+EBUILD mkinitcpio-nfs-utils-0.3.ebuild 674 RMD160 1ed17e400195ba7e06970820763c9f96e469bd53 SHA1 b9e6e054d362bb8f6622cae9b0a57e5970df4b77 SHA256 263322cbf6940460238907ee72267c0ac6d64f286f584af5952158b7b2af1e5a
+MISC ChangeLog 467 RMD160 7298c15c48394c61a65508c44faa6bf5696b7836 SHA1 7e5d4f84755cba9a847b62b76493df7113822124 SHA256 1bcfc1743c8ea90866a62b3db3c56a4c12b19c302f4232a2832bd7b38da6cc4b
+MISC metadata.xml 224 RMD160 2a7e22a99ec669c5b961c3d1738a0cda58264318 SHA1 f6fd81fac4df7d7995b1600848b265fceda692f8 SHA256 f810c6de744adceee241992d3f713142db3e7025986f6cc5898cfe3c9cb2f4a7
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iF4EAREIAAYFAk/0iEgACgkQknrdDGLu8JDiXgEAjyoNvNU/BNklrjJaHz5pnD7u
+k0jNkpB8oKv52RA/Zn4BAJbAaAIU69mthEQ0btQQReV9QQsGr21sHHaWEmRIJfDZ
+=C2XY
+-----END PGP SIGNATURE-----
diff --git a/sys-kernel/mkinitcpio-nfs-utils/files/mkinitcpio-nfs-utils-0.3-buildsystem.patch b/sys-kernel/mkinitcpio-nfs-utils/files/mkinitcpio-nfs-utils-0.3-buildsystem.patch
new file mode 100644
index 000000000000..6c37ea9ad94a
--- /dev/null
+++ b/sys-kernel/mkinitcpio-nfs-utils/files/mkinitcpio-nfs-utils-0.3-buildsystem.patch
@@ -0,0 +1,40 @@
+--- mkinitcpio-nfs-utils-0.3/nfsmount/Makefile
++++ mkinitcpio-nfs-utils-0.3/nfsmount/Makefile
+@@ -7,7 +7,7 @@
+ prefix ?= /usr/lib/initcpio
+ bindir ?= $(prefix)
+
+-CFLAGS = -D_GNU_SOURCE -Wall -Os
++CFLAGS += -D_GNU_SOURCE
+
+
+ %.o: %.c
+@@ -17,7 +17,7 @@
+ all: ${PROGRAM}
+
+ $(PROGRAM): $(OBJECTS)
+- $(CC) $(CFLAGS) -o $@ $^
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^
+
+ .PHONY: clean
+ clean:
+--- mkinitcpio-nfs-utils-0.3/ipconfig/Makefile
++++ mkinitcpio-nfs-utils-0.3/ipconfig/Makefile
+@@ -7,7 +7,7 @@
+ prefix ?= /usr/lib/initcpio
+ bindir ?= $(prefix)
+
+-CFLAGS = -D_GNU_SOURCE -Wall -Os -fno-strict-aliasing
++CFLAGS += -D_GNU_SOURCE -fno-strict-aliasing
+
+
+ %.o: %.c
+@@ -17,7 +17,7 @@
+ all: ${PROGRAM}
+
+ $(PROGRAM): $(OBJECTS)
+- $(CC) $(CFLAGS) -o $@ $^
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^
+
+ .PHONY: clean
+ clean:
diff --git a/sys-kernel/mkinitcpio-nfs-utils/metadata.xml b/sys-kernel/mkinitcpio-nfs-utils/metadata.xml
new file mode 100644
index 000000000000..59acc2cc580e
--- /dev/null
+++ b/sys-kernel/mkinitcpio-nfs-utils/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+<email>xmw@gentoo.org</email>
+<name>Michael Weber</name>
+</maintainer>
+</pkgmetadata>
+
diff --git a/sys-kernel/mkinitcpio-nfs-utils/mkinitcpio-nfs-utils-0.3.ebuild b/sys-kernel/mkinitcpio-nfs-utils/mkinitcpio-nfs-utils-0.3.ebuild
new file mode 100644
index 000000000000..8c58312a394a
--- /dev/null
+++ b/sys-kernel/mkinitcpio-nfs-utils/mkinitcpio-nfs-utils-0.3.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mkinitcpio-nfs-utils/mkinitcpio-nfs-utils-0.3.ebuild,v 1.1 2012/07/04 18:16:26 xmw Exp $
+
+EAPI=4
+
+inherit eutils
+
+DESCRIPTION="ipconfig and nfsmount tools for NFS root support in mkinitcpio ported from Arch Linux"
+HOMEPAGE="http://www.archlinux.org/"
+SRC_URI="ftp://ftp.archlinux.org/other/mkinitcpio/${P}.tar.xz -> ${P}.tar.gz" # intentional, arch plz.
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+RDEPEND="sys-kernel/mkinitcpio"
+DEPEND=""
+
+src_prepare() {
+ tc-export CC
+ epatch "${FILESDIR}"/${P}-buildsystem.patch
+}