Revision bump, with patch to fix bug #89537. Assigned to mobile-phone herd.
authorMichele Noberasco <s4t4n@gentoo.org>
Thu, 29 Sep 2005 10:20:50 +0000 (10:20 +0000)
committerMichele Noberasco <s4t4n@gentoo.org>
Thu, 29 Sep 2005 10:20:50 +0000 (10:20 +0000)
Package-Manager: portage-2.0.51.22-r2

app-pda/p3nfs/ChangeLog
app-pda/p3nfs/Manifest
app-pda/p3nfs/files/digest-p3nfs-5.18-r1 [new file with mode: 0644]
app-pda/p3nfs/files/p3nfs-5.18-fix-defines.patch [new file with mode: 0644]
app-pda/p3nfs/metadata.xml
app-pda/p3nfs/p3nfs-5.18-r1.ebuild [new file with mode: 0644]

index 4b6837a86f09943d3413c2f26b3a16d5a9e5767d..e1e8daba3586be45902317a872aa28a9f05f1832 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for app-pda/p3nfs
 # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-pda/p3nfs/ChangeLog,v 1.8 2005/07/08 11:19:01 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-pda/p3nfs/ChangeLog,v 1.9 2005/09/29 10:20:49 s4t4n Exp $
+
+*p3nfs-5.18-r1 (29 Sep 2005)
+
+  29 Sep 2005; Michele Noberasco <s4t4n@gentoo.org> +p3nfs-5.18-r1.ebuild:
+  Revision bump, with patch to fix bug #89537. Also added some magic
+  to make it honour Gentoo CFLAGS. Assigned to mobile-phone herd.
 
   08 Jul 2005; <brix@gentoo.org> metadata.xml:
   Removed myself from metadata.xml as I no longer have a supported Symbian
index 752a58c9f275f229cc8643ba2c2ae1c7f81cd83c..8bd0b0be45ff6825c0e34dc1041fd50ff96567ed 100644 (file)
@@ -1,4 +1,7 @@
 MD5 f4698a98dcc477289c62cc823f409b52 p3nfs-5.18.ebuild 1002
-MD5 600492a1ffb4dba2dafbc88928f11cf8 ChangeLog 984
-MD5 dffd46174e78b327c834fc3e4b1cf848 metadata.xml 160
+MD5 7ce63a60c25347f6be229f04035b4212 p3nfs-5.18-r1.ebuild 1176
+MD5 7691da36c3decc309a52259cd8ac5760 ChangeLog 1226
+MD5 8e1fd49c29f85eea8da87d6e7de450c6 metadata.xml 165
 MD5 55b43797336e7303a88760e90d49510c files/digest-p3nfs-5.18 62
+MD5 3bdbb7197570b2dcdca1dbd03d4aca3f files/p3nfs-5.18-fix-defines.patch 303
+MD5 55b43797336e7303a88760e90d49510c files/digest-p3nfs-5.18-r1 62
diff --git a/app-pda/p3nfs/files/digest-p3nfs-5.18-r1 b/app-pda/p3nfs/files/digest-p3nfs-5.18-r1
new file mode 100644 (file)
index 0000000..f4d3468
--- /dev/null
@@ -0,0 +1 @@
+MD5 93207a9959804cca0b7f68f441da3fcf p3nfs-5.18.tar.gz 262240
diff --git a/app-pda/p3nfs/files/p3nfs-5.18-fix-defines.patch b/app-pda/p3nfs/files/p3nfs-5.18-fix-defines.patch
new file mode 100644 (file)
index 0000000..60a0595
--- /dev/null
@@ -0,0 +1,10 @@
+--- mp_mount.c 2005-09-29 12:04:12.000000000 +0200
++++ mp_mount.c.new     2005-09-29 12:04:23.000000000 +0200
+@@ -60,7 +60,6 @@
+ #include <rpc/rpc.h>
+ #ifdef linux
+ #define _LINUX_SUNRPC_MSGPROT_H_
+-#define __KERNEL__            /* define nfs_fh for nfs_mount_data */
+ #include "nfs_prot.h"
+ #undef __KERNEL__
+ #else
index 20ce219711a216eaa20be442ca81038e341bf5ce..6c47f761d50692683c736259b82b6173d8d81d73 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<herd>no-herd</herd>
+<herd>mobile-phone</herd>
 </pkgmetadata>
diff --git a/app-pda/p3nfs/p3nfs-5.18-r1.ebuild b/app-pda/p3nfs/p3nfs-5.18-r1.ebuild
new file mode 100644 (file)
index 0000000..129eb48
--- /dev/null
@@ -0,0 +1,49 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-pda/p3nfs/p3nfs-5.18-r1.ebuild,v 1.1 2005/09/29 10:20:50 s4t4n Exp $
+
+inherit eutils flag-o-matic
+
+DESCRIPTION="Symbian to Unix and Linux communication program"
+HOMEPAGE="http://www.koeniglich.de/p3nfs.html"
+SRC_URI="http://www.koeniglich.de/packages/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+IUSE=""
+DEPEND="net-nds/portmap
+       >=sys-apps/sed-4"
+
+src_unpack() {
+       unpack ${A}
+       cd ${S}/nfsd
+
+       #Patch to fix bug #89537
+       epatch ${FILESDIR}/${P}-fix-defines.patch
+}
+
+src_compile() {
+       append-ldflags -Wl,-z,now
+       sed -i "s:\$(LDFLAGS):${LDFLAGS}:" ${S}/nfsd/Makefile.in
+
+       econf || die "econf failed"
+       emake CFLAGS="${CFLAGS} -Wall -I." || die "emake failed"
+}
+
+src_install() {
+       emake DESTDIR=${D} install || die "emake install failed"
+
+       dodoc CHANGES README TODO
+}
+
+pkg_postinst() {
+       einfo
+       einfo "You need to install one of the nfsapp-*.sis clients on your"
+       einfo "Symbian device to be able to mount it's filesystems."
+       einfo
+       einfo "Make sure to have portmap running before you start the"
+       einfo "p3nfsd server."
+       einfo
+}