the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: replaypc
Version: 0.4.0
Revision: 1012
Source: mirror:sourceforge:%n/%n-%v.tar.gz
Source-MD5: 14fce90e1987b6b36b6a365ffd526a1a
GCC: 4.0
BuildDepends: fink (>= 0.24.12-1)
PatchFile: %n.patch
PatchFile-MD5: 456930db18a8fa9a70a709b9b01a523f
CompileScript: <<
perl -pi.bak -e 's/64.124.73.112/rddns-rns.replaytv.net/g' rddnsclient.c
make -f Makefile PLATFORM=darwin
strip ReplayPC
<<
InstallScript: <<
#!/bin/sh -ev
mkdir -p %i/bin
/usr/bin/install -c ReplayPC httpfs mark-commercial rddns dump-guide rtvguide %i/bin
/usr/bin/install -c find-GOPs build-ndx ndx-dump un-protect crypt-test dump-cg2 dump-headend \
dump-zipcode2 dump-filedarray dump-replaychannels dump-addressbook dump-channelset \
dump-programset dump-replayshows version-test %i/bin
<<
DocFiles: Authors COPYING Readme.txt
Description: ReplayTV interface utilities
DescDetail: <<
ReplayPC is A simple text mode utility for extracting mpg files from
ReplayTV xPersonal Video Recorders via TCP/IP. The package also includes
various other utilites for querying and interacting with ReplayTV units.
<<
License: GPL
Maintainer: Ben Hines
Homepage: http://replaypc.sourceforge.net/
diff -ur replaypc-0.4.0.bak/addressbook.h replaypc-0.4.0/addressbook.h
--- replaypc-0.4.0.bak/addressbook.h 2002-06-16 17:17:37.000000000 -0700
+++ replaypc-0.4.0/addressbook.h 2005-06-13 16:10:15.000000000 -0700
@@ -15,6 +15,8 @@
#ifndef ADDRESSBOOK_H
#define ADDRESSBOOK_H
+#include "dump.h"
+
extern struct mapping addressbook_entry_flag_bitmapping[];
struct addressbook_header {
diff -ur replaypc-0.4.0.bak/headend.h replaypc-0.4.0/headend.h
--- replaypc-0.4.0.bak/headend.h 2002-03-21 15:28:43.000000000 -0800
+++ replaypc-0.4.0/headend.h 2005-06-13 16:10:29.000000000 -0700
@@ -16,6 +16,7 @@
#define HEADEND_H
#include "rtv.h"
+#include "dump.h"
extern struct mapping device_mapping[];
extern struct mapping device_bitmapping[];
diff -ur replaypc-0.4.0.bak/zipcode.h replaypc-0.4.0/zipcode.h
--- replaypc-0.4.0.bak/zipcode.h 2002-03-21 15:28:43.000000000 -0800
+++ replaypc-0.4.0/zipcode.h 2005-06-13 16:10:39.000000000 -0700
@@ -15,6 +15,8 @@
#ifndef ZIPCODE_H
#define ZIPCODE_H
+#include "dump.h"
+
extern struct mapping headend_type_mapping[];
struct zipcode2_headend {
--- replaypc-0.4.0.bak/crypt.c.orig 2009-04-23 22:02:50.000000000 -0700
+++ replaypc-0.4.0/crypt.c 2009-04-23 22:04:55.000000000 -0700
@@ -18,14 +18,7 @@
#include
#include
-#ifdef __APPLE__
-#define MD5Init MD5_Init
-#define MD5Update MD5_Update
-#define MD5Final MD5_Final
-#include
-#else
#include
-#endif
static void checksum(unsigned char * dest, unsigned const char * src, u32 len,
int checksum_num)