Update of /cvsroot/fink/dists/10.3/unstable/main/finkinfo/sound
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22016/10.3/unstable/main/finkinfo/sound

Modified Files:
        icecast.info icecast.patch 
Log Message:
Switch to python2.4, fix libwrap usage, finkify docs, removed
un-necessary patch stuff, backport 10.4T stuff to 10.3.


Index: icecast.info
===================================================================
RCS file: /cvsroot/fink/dists/10.3/unstable/main/finkinfo/sound/icecast.info,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- icecast.info        1 Mar 2004 00:22:21 -0000       1.5
+++ icecast.info        28 Oct 2005 20:06:28 -0000      1.6
@@ -1,13 +1,21 @@
 Package: icecast
 Version: 1.3.12
-Revision: 13
-Depends: daemonic, python22-shlibs | python22-nox-shlibs
-Builddepends: python22 | python22-nox
+Revision: 24
+Depends: daemonic, python24-shlibs
+Builddepends: python24
 Suggests: expect
 Source: mirror:sourceforge:fink/%n-%v.tar.gz
 Source-MD5: 536d8ef2c4c36c641c31b21e64247b00
 Patch: %n.patch
-ConfigureParams: --with-libwrap=/usr/lib --with-crypt --with-python 
--with-python-includes=%p/include/python2.2 
--with-python-libraries=%p/lib/python2.2/config --mandir=%i/share/man 
--infodir=%p/share/info --libexecdir=%p/lib
+PatchScript: <<
+  perl -pi -e 's,/etc,%p/etc,' templates/manual.html
+  perl -pi -e 's,/usr/local/icecast/log,%p/var/log/icecast,' templates.html
+<<
+ConfigureParams: --with-libwrap --with-crypt --with-python 
--with-python-includes=%p/include/python2.4 
--with-python-libraries=%p/lib/python2.4/config --mandir=%i/share/man 
--infodir=%p/share/info --libexecdir=%p/lib
+CompileScript: <<
+  PYTHON_V=2.4 ./configure %c
+  make
+<<
 InstallScript: <<
   make install DESTDIR=%d
   mv %i/etc/icecast/groups.aut.dist %i/etc/icecast/groups.aut
@@ -60,7 +68,13 @@
 mpg123, Sonique, WinAMP, RealPlayer, Windows Media Player, Ultraplayer,
 C3, and others.
 <<
+DescPackaging: <<
+  Uses crypt() from libSystem so no deps and not need to be in section:crypto
+<<
 DescPort: <<
+  dmacks fixed libwrap usage, finkified manual.html, converted to python2.4
+<<
+DescUsage: <<
   Use "sudo daemonic enable icecast" for it to load on bootup
 
   IceCast also suggests that you install expect via fink for the mkpasswd

Index: icecast.patch
===================================================================
RCS file: /cvsroot/fink/dists/10.3/unstable/main/finkinfo/sound/icecast.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- icecast.patch       29 Nov 2003 04:41:03 -0000      1.1
+++ icecast.patch       28 Oct 2005 20:06:28 -0000      1.2
@@ -1,6 +1,6 @@
-diff -ruN icecast-1.3.12.orig/configure icecast-1.3.12/configure
---- icecast-1.3.12.orig/configure      2002-04-10 16:50:20.000000000 -0600
-+++ icecast-1.3.12/configure   2002-12-17 19:01:34.000000000 -0700
+diff -ur icecast-1.3.12/configure icecast-1.3.12_corr/configure
+--- icecast-1.3.12/configure   2002-04-11 00:50:20.000000000 +0200
++++ icecast-1.3.12_corr/configure      2005-05-19 23:32:02.000000000 +0200
 @@ -874,18 +874,18 @@
        ICECAST_DOCDIR=/usr/doc/icecast-${ICECAST_VERSION_SMALL}
        USE_FSSTD=yes
@@ -55,37 +55,36 @@
  fi
  
 -      for lib in python python2.0 python1.6 python1.5; do
-+      for lib in python python2.0 python2.1 python2.2 python1.6 python1.5; do
++      for lib in python${PYTHON_V}; do
                echo $ac_n "checking for Py_Initialize in -l$lib""... $ac_c" 
1>&6
  echo "configure:2781: checking for Py_Initialize in -l$lib" >&5
  ac_lib_var=`echo $lib'_'Py_Initialize | sed 'y%./+-%__p_%'`
-diff -ruN icecast-1.3.12.orig/configure.in icecast-1.3.12/configure.in
---- icecast-1.3.12.orig/configure.in   2002-04-10 16:46:44.000000000 -0600
-+++ icecast-1.3.12/configure.in        2002-12-17 16:17:28.000000000 -0700
-@@ -55,16 +55,16 @@
- else
-       ICECAST_BINDIR=${prefix}/bin
-       ICECAST_SBINDIR=${prefix}/bin
--      ICECAST_ETCDIR=conf
--      ICECAST_ETCDIR_INST=${prefix}/conf
--      ICECAST_SHAREDIR=${prefix}
--      ICECAST_LOGDIR=logs
--      ICECAST_LOGDIR_INST=${prefix}/logs
--      ICECAST_TEMPLATEDIR=templates
--      ICECAST_TEMPLATEDIR_INST=${prefix}/templates
--      ICECAST_STATICDIR=static
--      ICECAST_STATICDIR_INST=${prefix}/static
--      ICECAST_DOCDIR=${prefix}/doc
-+      ICECAST_ETCDIR=etc/icecast
-+      ICECAST_ETCDIR_INST=${prefix}/etc/icecast
-+      ICECAST_SHAREDIR=${prefix}/share/icecast
-+      ICECAST_LOGDIR=var/log/icecast
-+      ICECAST_LOGDIR_INST=${prefix}/var/log/icecast
-+      ICECAST_TEMPLATEDIR=share/icecast/templates
-+      ICECAST_TEMPLATEDIR_INST=${prefix}/share/icecast/templates
-+      ICECAST_STATICDIR=share/icecast/static
-+      ICECAST_STATICDIR_INST=${prefix}/share/icecast/static
-+      ICECAST_DOCDIR=${prefix}/share/doc/icecast
-       USE_FSSTD=no
- fi
+@@ -3460,8 +3460,8 @@
+ #include <sys/types.h>
+               #include <sys/socket.h>
+ int main() {
+-typedef socklen_t int; 
+-          int apan (void) {return 1;}
++typedef socklen_t interim; 
++          interim apan (void) {return 1;}
+ ; return 0; }
+ EOF
+ if { (eval echo configure:3468: \"$ac_compile\") 1>&5; (eval $ac_compile) 
2>&5; }; then
+diff -ur icecast-1.3.12/src/sock.c icecast-1.3.12_corr/src/sock.c
+--- icecast-1.3.12/src/sock.c  2001-03-28 01:41:18.000000000 +0200
++++ icecast-1.3.12_corr/src/sock.c     2005-05-19 22:50:25.000000000 +0200
+@@ -28,12 +28,14 @@
+ #endif
+ 
+ #include "definitions.h"
++#undef _POSIX_C_SOURCE
+ 
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <stdarg.h>
+ 
+ #include "definitions.h"
++#undef _POSIX_C_SOURCE
  
+ #include <sys/types.h>
+ #include <ctype.h>



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to