Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77603 - net-misc/miredo-0.9.4 ebuild
Summary: net-misc/miredo-0.9.4 ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard: sunrise suggested
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2005-01-11 17:15 UTC by Daniel Webert
Modified: 2010-05-03 10:01 UTC (History)
20 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
the ebuild: miredo-0.4.0.ebuild (miredo-0.4.0.ebuild,458 bytes, text/plain)
2005-02-05 09:45 UTC, Arne Mejlholm (RETIRED)
Details
0.9.4 ebuild (miredo-0.9.4.ebuild,1.08 KB, text/plain)
2006-06-22 15:30 UTC, Samuel Tardieu
Details
files/isatapd.conf (isatapd.conf,57 bytes, text/plain)
2006-06-22 15:32 UTC, Samuel Tardieu
Details
files/isatapd.rc (isatapd.rc,421 bytes, text/plain)
2006-06-22 15:32 UTC, Samuel Tardieu
Details
files/miredo.conf (miredo.conf,55 bytes, text/plain)
2006-06-22 15:32 UTC, Samuel Tardieu
Details
files/miredo.rc (miredo.rc,416 bytes, text/plain)
2006-06-22 15:33 UTC, Samuel Tardieu
Details
files/miredo-server.conf (miredo-server.conf,69 bytes, text/plain)
2006-06-22 15:33 UTC, Samuel Tardieu
Details
files/miredo-server.rc (miredo-server.rc,451 bytes, text/plain)
2006-06-22 15:34 UTC, Samuel Tardieu
Details
miredo-1.1.5.ebuild (miredo-1.1.5.ebuild,977 bytes, text/plain)
2008-10-16 20:00 UTC, Clemmitt M. Sigler
Details
files/miredo.rc (miredo.rc,646 bytes, text/plain)
2008-10-16 20:01 UTC, Clemmitt M. Sigler
Details
files/miredo.conf (miredo.conf,153 bytes, text/plain)
2008-10-16 20:02 UTC, Clemmitt M. Sigler
Details
files/miredo-server.rc (miredo-server.rc,681 bytes, text/plain)
2008-10-16 20:03 UTC, Clemmitt M. Sigler
Details
files/miredo-server.conf (miredo-server.conf,179 bytes, text/plain)
2008-10-16 20:03 UTC, Clemmitt M. Sigler
Details
files/isatapd.rc (isatapd.rc,651 bytes, text/plain)
2008-10-16 20:04 UTC, Clemmitt M. Sigler
Details
files/isatapd.conf (isatapd.conf,155 bytes, text/plain)
2008-10-16 20:05 UTC, Clemmitt M. Sigler
Details
files/miredo.rc (miredo.rc,528 bytes, text/plain)
2008-10-16 20:37 UTC, Clemmitt M. Sigler
Details
files/miredo-server.rc (miredo-server.rc,577 bytes, text/plain)
2008-10-16 20:38 UTC, Clemmitt M. Sigler
Details
files/isatapd.rc (isatapd.rc,535 bytes, text/plain)
2008-10-16 20:39 UTC, Clemmitt M. Sigler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Webert 2005-01-11 17:15:43 UTC
net-misc/miredo-0.4.0 ebuild request

Miredo is an Unix daemon program which implements the Teredo: Tunneling IPv6 over UDP through NATs Internet draft specification. The purpose of Teredo IPv6 tunneling is to provide IPv6 connectivity to users behind NAT devices, most of which do not support IPv6, and not even Proto-41 forwarding. 

http://www.simphalempin.com/dev/miredo/
Comment 1 Daniel Webert 2005-01-11 18:22:21 UTC
<very happy>
works fine and very usefull 
- configure
- make
- make install
- cp ...conf-dis ...conf
- miredo 
and u can connect to irc.ipv6.freenode.net :)
</very happy>
Comment 2 Arne Mejlholm (RETIRED) gentoo-dev 2005-02-05 09:45:06 UTC
Hi,

I've created a basic ebuild for the application, but it assumes that
no special compileflags are necessary. It compiles nicely. 

All we need to make sure is that the net-misc herd wants to maintain it and that
it is suited for portage. I'll leave that up to them :)
Comment 3 Arne Mejlholm (RETIRED) gentoo-dev 2005-02-05 09:45:54 UTC
Created attachment 50453 [details]
the ebuild: miredo-0.4.0.ebuild
Comment 4 Daniel Webert 2005-04-29 06:54:17 UTC
latest is 0.4.2 - a copy of 0.4.0.ebuild works
Comment 5 Daniel Webert 2005-04-29 07:09:26 UTC
w/ the 0.4.0 i have the following error

<snip>
dapengoo miredo # miredo -f
Chroot directory /var/lib/run/miredo: No such file or directory
</snip>
Comment 6 Daniel Webert 2006-03-04 20:41:12 UTC
latest is 0.8.0
Comment 7 Samuel Tardieu 2006-06-22 15:29:35 UTC
Latest version is 0.9.4. I'll attach an ebuild as well as six files to go into the files/ directory (/etc/rc.d and /etc/conf.d files).
Comment 8 Samuel Tardieu 2006-06-22 15:30:50 UTC
Created attachment 89852 [details]
0.9.4 ebuild
Comment 9 Samuel Tardieu 2006-06-22 15:32:00 UTC
Created attachment 89853 [details]
files/isatapd.conf
Comment 10 Samuel Tardieu 2006-06-22 15:32:24 UTC
Created attachment 89854 [details]
files/isatapd.rc
Comment 11 Samuel Tardieu 2006-06-22 15:32:54 UTC
Created attachment 89855 [details]
files/miredo.conf
Comment 12 Samuel Tardieu 2006-06-22 15:33:16 UTC
Created attachment 89856 [details]
files/miredo.rc
Comment 13 Samuel Tardieu 2006-06-22 15:33:39 UTC
Created attachment 89857 [details]
files/miredo-server.conf
Comment 14 Samuel Tardieu 2006-06-22 15:34:00 UTC
Created attachment 89858 [details]
files/miredo-server.rc
Comment 15 Samuel Tardieu 2006-07-08 11:15:21 UTC
Is there anything else that must be done for this bug to be acted upon? I've been using this port for some time know (behind public and private WiFi spots to get IPv6 connectivity) and it works just fine for me.
Comment 16 Daniel Webert 2006-08-13 21:20:12 UTC
latest is 0.9.8 w/ some updates for nat-problems
Comment 17 Pupeno 2006-10-28 17:03:27 UTC
Lattest is now miredo-1.0.4 (and Debian already has it as an unstable packages).
Comment 18 Dennis Schridde 2007-05-03 09:19:45 UTC
"8th April 2007 - Miredo hits Debian stable: Debian Etch has been released today. Miredo 1.0.4-2 is included [...]"
Latest version is 1.0.6 and neither of them is in the tree. Any reasons why Gentoo is behind Debian _stable_?
Comment 19 Jisakiel 2007-05-24 17:45:00 UTC
Just renaming the ebuild to -1.0.6 and changing SRC_URI to SRC_URI="http://www.remlab.net/files/miredo/${P}.tar.bz2" (without the former v0.9) gets it to emerge. 

I found a couple of bugs (which I will try to fix as soon as I get 20 minutes): 1st. /etc/init.d/miredo should try to modprobe both ipv6 and tun before continuing (as I didn't, it complained about the lack of /dev/net/tun and suggested me mknod'ing, not taking into account that just modprobing tun would create the entries. Not sure if the bug belongs to the original program though...). 

Also: when starting the program after modprobing, I get the following error: 

Error (cap_set_proc): Operación no permitida
That is usually an indication that you are trying to start
the program as an user with insufficient system privileges.
This program should normally be started by root.  

¿I think miredo dr'ops privileges right after starting, so no need to run it as an unprivileged user?

Anyway, I'll hack on the ebuild until I get it functioning reasonably, as I got it beautifully working in my openwrt box (and it seems quite stable). 
Comment 20 Stefan Behte (RETIRED) gentoo-dev Security 2008-02-02 19:42:05 UTC
FYI: Miredo 1.1.4 is out.
Comment 21 Clemmitt M. Sigler 2008-10-16 19:57:50 UTC
(In reply to comment #20)
> FYI: Miredo 1.1.4 is out.

Just for the heck of it, I tried out Miredo V1.1.5 under Gentoo.  Seems to WFM.  I'm attaching my ebuild and init.d and conf.d files next.  HTH someone out there.  BTW, I can't (and won't) agree to maintain this ebuild -- too busy in RL.  Sorry.

Clemmitt
Comment 22 Clemmitt M. Sigler 2008-10-16 20:00:29 UTC
Created attachment 168710 [details]
miredo-1.1.5.ebuild

Miredo V1.1.5 ebuild
Comment 23 Clemmitt M. Sigler 2008-10-16 20:01:46 UTC
Created attachment 168712 [details]
files/miredo.rc

Script for /etc/init.d/miredo
Comment 24 Clemmitt M. Sigler 2008-10-16 20:02:21 UTC
Created attachment 168714 [details]
files/miredo.conf

Config file for /etc/conf.d/miredo
Comment 25 Clemmitt M. Sigler 2008-10-16 20:03:06 UTC
Created attachment 168716 [details]
files/miredo-server.rc

Script for /etc/init.d/miredo-server
Comment 26 Clemmitt M. Sigler 2008-10-16 20:03:46 UTC
Created attachment 168718 [details]
files/miredo-server.conf

Config file for /etc/conf.d/miredo-server
Comment 27 Clemmitt M. Sigler 2008-10-16 20:04:33 UTC
Created attachment 168720 [details]
files/isatapd.rc

Script for /etc/init.d/isatapd
Comment 28 Clemmitt M. Sigler 2008-10-16 20:05:14 UTC
Created attachment 168722 [details]
files/isatapd.conf

Config file for /etc/conf.d/isatapd
Comment 29 Clemmitt M. Sigler 2008-10-16 20:37:24 UTC
Created attachment 168728 [details]
files/miredo.rc

Script for /etc/init.d/miredo
Comment 30 Clemmitt M. Sigler 2008-10-16 20:38:47 UTC
Created attachment 168730 [details]
files/miredo-server.rc

Script for /etc/init.d/miredo-server
Comment 31 Clemmitt M. Sigler 2008-10-16 20:39:43 UTC
Created attachment 168732 [details]
files/isatapd.rc

Script for /etc/init.d/isatapd
Comment 32 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-01-16 21:38:16 UTC
(this is an automated message based on filtering criteria that matched this bug)
'EBUILD' is in the KEYWORDS which should mean that there is a ebuild attached 
to this bug.
This bug is assigned to maintainer-wanted which means that it is not in the 
main tree.

Hello, The Gentoo Team would like to firstly thank you for your ebuild 
submission. We also apologize for not being able to accommodate you in a timely
manner. There are simply too many new packages.

Allow me to use this opportunity to introduce you to Gentoo Sunrise. The 
sunrise overlay[1] is a overlay for Gentoo which we allow trusted users to 
commit to and all users can have ebuilds reviewed by Gentoo devs for entry 
into the overlay. So, the sunrise team is suggesting that you look into this 
and submit your ebuild to the overlay where even *you* can commit to. =)

Because this is a mass message, we are also asking you to be patient with us. 
We anticipate a large number of requests in a short time. 

Thanks,
On behalf of the Gentoo Sunrise Team,
Jeremy.

[1]: http://www.gentoo.org/proj/en/sunrise/
[2]: http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq
Comment 33 Clemmitt M. Sigler 2009-05-31 01:11:45 UTC
Hi,

(In reply to comment #21)
> Just for the heck of it, I tried out Miredo V1.1.5 under Gentoo.  Seems to WFM.

Miredo 1.1.6 is available as of April 13, 2009 at:

http://www.remlab.net/miredo/

I simply renamed my miredo-1.1.5.ebuild to miredo-1.1.6.ebuild, downloaded the new tarball and put it in /usr/portage/distfiles and emerged the updated version 1.1.6.  It WFM.  Haven't examined in detail but the new version doesn't build isatapd any more.  One would assume it's not needed with this version(?).  HTH.

Clemmitt
Comment 34 Sascha Hlusiak 2009-06-21 06:20:54 UTC
(In reply to comment #33)
> Haven't examined in detail but the new version doesn't
> build isatapd any more.  One would assume it's not needed with this version(?).
ISATAP support was removed in miredo-1.1.6 because it was buggy and in-kernel support is available (and Teredo has nothing to do with ISATAP, so it's not needed in miredo anyway).

For ISATAP users there now is a separate tool that uses in-kernel ISATAP support at http://www.saschahlusiak.de/linux/isatap.htm
I think I'll open a separate bug for that.
Comment 35 Maik Nijhuis 2009-11-01 08:03:55 UTC
Miredo 1.2.1 is out! After installing all files from Clemmitt, and copying miredo-1.1.5.ebuild to miredo-1.2.1.ebuild, it compiles and runs cleanly at my stable amd64 system. Thank you for creating the ebuild!

Too bad this ebuild is not in the tree or in an overlay, because miredo is great!
Comment 36 Dustin C. Hatch 2009-11-20 22:22:18 UTC
(In reply to comment #35)
> Miredo 1.2.1 is out! After installing all files from Clemmitt, and copying
> miredo-1.1.5.ebuild to miredo-1.2.1.ebuild, it compiles and runs cleanly at my
> stable amd64 system. Thank you for creating the ebuild!

Builds for me as well. I love packages with only a few dependencies :)

> Too bad this ebuild is not in the tree or in an overlay, because miredo is
> great!
> 

Feel free to add my personal overlay to your Layman list. Just add http://pyrocufflink.net/layman-list.xml to the overlays definition in your layman.cfg and then run layman -a dustin. **Note that this is not an official overlay!**
Comment 37 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2010-05-03 08:49:13 UTC
I am also seeing the 

Error (cap_set_proc):

error message. In my case this is because i tried to run miredo in a (ubuntu) virtuozzo environment. i solved it by recompiling without capabilities.

this would suggest that adding a caps USE flag may be a good idea.
great work everyone. 
Comment 38 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2010-05-03 10:01:58 UTC
miredo-1.2.3 is now in cvs.
many thanks for the work done by everybody. greatly appreciated.