the Fink project is an effort to port
popular Unix programs to Mac OS X
# DISCLAIMER: Max Horn is the sole maintainer of this package.
# Please DO NOT MAKE MODIFICATIONS without informing the maintainer.
# Preferably, send a patch to me instead of making changes yourself!
# If that is not possible due to extra urgency, at least send me a mail.
#
# Explanation: I am sick and tired of getting back to my packages and
# discovering that people have messed with it. I am then forced to
# retrace their steps, find out who, when and why did make a certain
# change etc. -- i.e. it makes my life as maintainer harder.
# Furthermore, as maintainer I am responsible for problems caused by my
# packages. But I am not willing to take responsibility for something I
# did not do. In particular, for changes that other people introduced
# behind my back, no matter how good and noble their intentions were. As
# such, I may see myself forced to drop responsibility for (and hence,
# maintainership of) the affected package.
Package: irssi
Version: 0.8.10a
Revision: 1012
Maintainer: Max Horn
BuildDepends: <<
glib2-dev,
fink (>= 0.13.0-1),
libncurses5 (>= 5.4-20041023-1006),
pkgconfig,
libgettext3-dev,
libiconv-dev
<<
Depends: <<
glib2-shlibs,
libncurses5-shlibs (>= 5.4-20041023-1006),
libgettext3-shlibs,
libiconv,
perl586-core
<<
Conflicts: irssi-ssl
Replaces: irssi-ssl
Source: http://www.irssi.org/files/irssi-%v.tar.bz2
SourceDirectory: irssi-0.8.10
Source-MD5: 38e616bccb6a34ff6d91690317c2fa19
Patch: %n.patch
ConfigureParams: <<
--with-modules \
--with-ncurses=%p \
--with-proxy \
--enable-ipv6 \
--mandir=%i/share/man \
--with-perl-lib=%p/lib/perl5/5.8.6/darwin-thread-multi-2level \
--without-socks \
--disable-ssl
<<
#Type: perl 5.8.6
#UpdatePOD: true
CompileScript: <<
./configure %c
make perlpath=perl5.8.6
<<
InstallScript: <<
make install prefix=%i PREFIX=%i INSTALLPRIVLIB=%i/lib/perl5/5.8.6 INSTALLARCHLIB=%i/lib/perl5/5.8.6/darwin-thread-multi-2level INSTALLSITELIB=%i/lib/perl5/5.8.6 INSTALLSITEARCH=%i/lib/perl5/5.8.6/darwin-thread-multi-2level
mkdir -p %i/share/podfiles/5.8.6
cat %i/lib/perl5/5.8.6/darwin-thread-multi-2level/perllocal.pod | sed -e s,%i/lib/perl5,%p/lib/perl5, > %i/share/podfiles/5.8.6/perllocal.%n.pod
rm -rf %i/lib/perl5/5.8.6/darwin-thread-multi-2level/perllocal.pod
<<
PostInstScript: <<
# Updating %p/lib/perl5/darwin-thread-multi-2level/5.8.6/perllocal.pod
mkdir -p %p/lib/perl5/5.8.6/darwin-thread-multi-2level
cat %p/share/podfiles/5.8.6/*.pod > %p/lib/perl5/5.8.6/darwin-thread-multi-2level/perllocal.pod
<<
PostRmScript: <<
# Updating %p/lib/perl5/5.8.6/darwin-thread-multi-2level/perllocal.pod
###
### check to see if any .pod files exist in %p/share/podfiles.
###
perl <<'END_PERL'
if (-e "%p/share/podfiles/5.8.6") {
@files = <%p/share/podfiles/5.8.6/*.pod>;
if ($#files >= 0) {
exec "cat %p/share/podfiles/5.8.6/*.pod > %p/lib/perl5/5.8.6/darwin-thread-multi-2level/perllocal.pod";
}
}
END_PERL
<<
DocFiles: AUTHORS COPYING ChangeLog NEWS README TODO
Description: Modular IRC client
DescPackaging: <<
Update the podfiles manually, due to fink changes for Type: perl
Enabled IRC proxy support
<<
DescPort: <<
Patch memory leak in /quit
See http://bugs.irssi.org/index.php?do=details&id=369
<<
Homepage: http://www.irssi.org/
License: GPL
diff -ru irssi-0.8.9/configure irssi-0.8.9-patched/configure
--- irssi-0.8.9/configure 2003-12-11 00:23:05.000000000 +0100
+++ irssi-0.8.9-patched/configure 2004-07-15 22:03:59.000000000 +0200
@@ -23013,10 +23013,10 @@
if $search_ncurses
then
- if test -f $withval/include/ncurses.h
+ if test -f $withval/include/ncurses/ncurses.h
then
- echo "$as_me:$LINENO: result: Found ncurses on $withval/include/ncurses.h" >&5
-echo "${ECHO_T}Found ncurses on $withval/include/ncurses.h" >&6
+ echo "$as_me:$LINENO: result: Found ncurses on $withval/include/ncurses/ncurses.h" >&5
+echo "${ECHO_T}Found ncurses on $withval/include/ncurses/ncurses.h" >&6
CURSES_LIBS="-L$withval/lib -lncurses"
echo "$as_me:$LINENO: checking for initscr in -lncurses" >&5
--- irssi-0.8.10/src/irc/dcc/Backup/dcc.c.~1~ 2005-12-08 18:32:48.000000000 +0100
+++ irssi-0.8.10/src/irc/dcc/dcc.c 2006-01-17 08:51:35.000000000 +0100
@@ -58,8 +58,8 @@
pos = gslist_find_string(dcc_types, type);
if (pos != NULL) {
- dcc_types = g_slist_remove(dcc_types, pos->data);
g_free(pos->data);
+ dcc_types = g_slist_remove(dcc_types, pos->data);
}
}
Package: irssi
Version: 0.8.12
Revision: 102
Maintainer: Daniel Macks
BuildDepends: <<
glib2-dev,
fink (>= 0.24.12-1),
libncurses5 (>= 5.4-20041023-1006),
pkgconfig,
libgettext3-dev,
libiconv-dev
<<
Depends: <<
glib2-shlibs,
libncurses5-shlibs (>= 5.4-20041023-1006),
libgettext3-shlibs,
libiconv,
perl586-core
<<
Conflicts: irssi-ssl
Replaces: irssi-ssl
Source: http://www.irssi.org/files/irssi-%v.tar.bz2
Source-MD5: e407b557b3cfc7c91ce4de2571dd79cb
PatchFile: %n.patch
PatchFile-MD5: a8c4aca7973ce1c519a87fb50328921a
ConfigureParams: <<
--disable-dependency-tracking \
--with-modules \
--with-ncurses=%p \
--with-proxy \
--enable-ipv6 \
--mandir=%i/share/man \
--with-perl-lib=%p/lib/perl5/5.8.6 \
--without-socks \
--disable-ssl
<<
#Type: perl 5.8.6
#UpdatePOD: true
CompileScript: <<
./configure %c
make perlpath=perl5.8.6
<<
InstallScript: <<
make install prefix=%i PREFIX=%i INSTALLPRIVLIB=%i/lib/perl5/5.8.6 INSTALLARCHLIB=%i/lib/perl5/5.8.6/darwin-thread-multi-2level INSTALLSITELIB=%i/lib/perl5/5.8.6 INSTALLSITEARCH=%i/lib/perl5/5.8.6/darwin-thread-multi-2level
mkdir -p %i/share/podfiles/5.8.6
cat %i/lib/perl5/5.8.6/darwin-thread-multi-2level/perllocal.pod | sed -e s,%i/lib/perl5,%p/lib/perl5, > %i/share/podfiles/5.8.6/perllocal.%n.pod
rm -rf %i/lib/perl5/5.8.6/darwin-thread-multi-2level/perllocal.pod
<<
PostInstScript: <<
# Updating %p/lib/perl5/darwin-thread-multi-2level/5.8.6/perllocal.pod
mkdir -p %p/lib/perl5/5.8.6/darwin-thread-multi-2level
cat %p/share/podfiles/5.8.6/*.pod > %p/lib/perl5/5.8.6/darwin-thread-multi-2level/perllocal.pod
<<
PostRmScript: <<
# Updating %p/lib/perl5/5.8.6/darwin-thread-multi-2level/perllocal.pod
###
### check to see if any .pod files exist in %p/share/podfiles.
###
/bin/echo -n '' > %p/lib/perl5/5.8.6/darwin-thread-multi-2level/perllocal.pod
perl <<'END_PERL'
if (-e "%p/share/podfiles/5.8.6") {
@files = <%p/share/podfiles/5.8.6/*.pod>;
if ($#files >= 0) {
exec "cat %p/share/podfiles/5.8.6/*.pod > %p/lib/perl5/5.8.6/darwin-thread-multi-2level/perllocal.pod";
}
}
END_PERL
<<
DocFiles: AUTHORS COPYING ChangeLog NEWS README TODO
Description: Modular IRC client
DescPackaging: <<
Update the podfiles manually, due to fink changes for Type: perl
Enabled IRC proxy support
Formerly maintained by Max Horn
<<
Homepage: http://www.irssi.org/
License: GPL
diff -Nurd -x'*~' irssi-0.8.12.orig/configure irssi-0.8.12/configure
--- irssi-0.8.12.orig/configure 2007-10-06 05:41:38.000000000 -0400
+++ irssi-0.8.12/configure 2007-11-11 14:52:36.000000000 -0500
@@ -24794,7 +24794,7 @@
CURSES_INCLUDEDIR="-I$withval/include"
search_ncurses=false
- screen_manager=""ncurses on $withval/include""
+ screen_manager="ncurses on $withval/include"
cat >>confdefs.h <<\_ACEOF
#define HAS_CURSES 1
_ACEOF