diff options
author | vanilla <vanilla@FreeBSD.org> | 2010-06-30 09:12:40 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2010-06-30 09:12:40 +0800 |
commit | e1d9ef582535f45677b6c2df63537ad5f15983cb (patch) | |
tree | bffc46a29cd2392923b0a7a14432179a59040514 /irc | |
parent | 1a3a44650cc899cb751a30a753a2ad6db7d4ab8c (diff) | |
download | freebsd-ports-gnome-e1d9ef582535f45677b6c2df63537ad5f15983cb.tar.gz freebsd-ports-gnome-e1d9ef582535f45677b6c2df63537ad5f15983cb.tar.zst freebsd-ports-gnome-e1d9ef582535f45677b6c2df63537ad5f15983cb.zip |
make ipupdate.pl work.
PR: ports/148169
Submitted by: freebsd at nagilum dot org
Feature safe: yes
Diffstat (limited to 'irc')
-rw-r--r-- | irc/irssi/Makefile | 1 | ||||
-rw-r--r-- | irc/irssi/files/patch-scripts__ipupdate.pl | 15 |
2 files changed, 16 insertions, 0 deletions
diff --git a/irc/irssi/Makefile b/irc/irssi/Makefile index 03e4df76cb6b..650bcc57adee 100644 --- a/irc/irssi/Makefile +++ b/irc/irssi/Makefile @@ -7,6 +7,7 @@ PORTNAME= irssi PORTVERSION= 0.8.15 +PORTREVISION= 1 CATEGORIES?= irc MASTER_SITES= http://mirror.irssi.org/ diff --git a/irc/irssi/files/patch-scripts__ipupdate.pl b/irc/irssi/files/patch-scripts__ipupdate.pl new file mode 100644 index 000000000000..1d6460b82d42 --- /dev/null +++ b/irc/irssi/files/patch-scripts__ipupdate.pl @@ -0,0 +1,15 @@ +--- scripts/ipupdate.pl 2010-05-12 09:09:48.000000000 +0200 ++++ scripts/ipupdate.pl 2009-08-24 15:33:20.000000000 +0200 +@@ -24,10 +24,10 @@ + + sub ipset { + my $user = LWP::UserAgent->new(timeout => 30); +- my $get = GET "http://stuff.xergio.net/ip.php"; ++ my $get = GET "http://checkip.dyndns.com/"; + my $req = $user->request($get); + my $out = $req->content(); +- $out =~ s/.*IP real: ([0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?).*/$1/s; ++ $out =~ s/.*IP Address: ([0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?).*/$1/s; + + Irssi::print("%9IP update%_:", MSGLEVEL_CRAP); + Irssi::command("set dcc_own_ip $out"); |