import playfair-0.5.0:
The playfair program is quite simple. It takes one of the iTMS Protected AAC Audio Files, decodes it using a key obtained from your iPod or Microsoft Windows system and then writes the new, decoded version to disk as a regular AAC Audio File. It then optionally copies the metadata tags that describe the song, including the cover art, to the new file. WWW: http://playfair.sarovar.org/
This commit is contained in:
parent
a5827f528e
commit
69879e2369
32
converters/playfair/Makefile
Normal file
32
converters/playfair/Makefile
Normal file
@ -0,0 +1,32 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2004/04/12 07:10:45 jolan Exp $
|
||||
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS} sparc64
|
||||
|
||||
COMMENT= "strips DRM from iTMS protection aac audio files"
|
||||
DISTNAME= playfair-0.5.0
|
||||
CATEGORIES= converters audio
|
||||
MASTER_SITES= http://sarovar.org/download.php/270/
|
||||
|
||||
HOMEPAGE= http://playfair.sarovar.org/
|
||||
|
||||
# GPL / Free Speech Issue
|
||||
PERMIT_DISTFILES_CDROM= "Free Speech Issue"
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
PERMIT_PACKAGE_CDROM= "Free Speech Issue"
|
||||
PERMIT_PACKAGE_FTP= "Free Speech Issue"
|
||||
|
||||
CONFIGURE_STYLE=gnu
|
||||
|
||||
# XXX workaround libtool weirdness
|
||||
do-install:
|
||||
${INSTALL_DATA} \
|
||||
${WRKSRC}/src/mp4ff/{drmserr,mp4ff,mp4ff_int_types,mp4ffint}.h \
|
||||
${PREFIX}/include
|
||||
${INSTALL_DATA} ${WRKSRC}/src/mp4v2/{mp4,mpeg4ip,systems}.h \
|
||||
${PREFIX}/include
|
||||
${INSTALL_DATA} ${WRKSRC}/src/mp4ff/.libs/libmp4ff.so.0.0 \
|
||||
${WRKSRC}/src/mp4v2/.libs/libmp4v2.so.0.0 \
|
||||
${WRKSRC}/src/playfair/.libs/libplayfair.so.0.0 \
|
||||
${PREFIX}/lib
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/src/cli/.libs/playfair ${PREFIX}/bin
|
||||
|
||||
.include <bsd.port.mk>
|
3
converters/playfair/distinfo
Normal file
3
converters/playfair/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (playfair-0.5.0.tar.gz) = a6b887ae825845926c5dabf532e81d57
|
||||
RMD160 (playfair-0.5.0.tar.gz) = c2eb5d254bcd4f745c3bc4605dee7311559202c4
|
||||
SHA1 (playfair-0.5.0.tar.gz) = fd22b224933926eac8b26fda511c26dfdd234f04
|
35
converters/playfair/patches/patch-src_cli_cli_c
Normal file
35
converters/playfair/patches/patch-src_cli_cli_c
Normal file
@ -0,0 +1,35 @@
|
||||
$OpenBSD: patch-src_cli_cli_c,v 1.1.1.1 2004/04/12 07:10:45 jolan Exp $
|
||||
--- src/cli/cli.c.orig 2004-04-11 00:09:36.000000000 -0500
|
||||
+++ src/cli/cli.c 2004-04-12 02:06:53.000000000 -0500
|
||||
@@ -18,11 +18,12 @@
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
+#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
-#include "playfair.h";
|
||||
-#include "filename.h";
|
||||
+#include "playfair.h"
|
||||
+#include "filename.h"
|
||||
|
||||
#define OUTPUT_FILEXT "m4a"
|
||||
|
||||
@@ -56,6 +57,8 @@ int usage(char *prog) {
|
||||
fprintf(stderr, ERR_USAGE, prog);
|
||||
}
|
||||
|
||||
+struct stat st;
|
||||
+
|
||||
int main(int argc, char *argv[]) {
|
||||
playfair_callback_t *pfcb = NULL;
|
||||
int err, opt, fileidx;
|
||||
@@ -95,7 +98,6 @@ int main(int argc, char *argv[]) {
|
||||
if (destdir[strlen(destdir)-1] == FILE_SEP)
|
||||
destdir[strlen(destdir)-1] = '\0';
|
||||
/* ensure that it's a dir */
|
||||
- struct stat st;
|
||||
stat(destdir, &st);
|
||||
if (!((st.st_mode & S_IFMT) == S_IFDIR)) {
|
||||
return usage(prog);
|
11
converters/playfair/patches/patch-src_cli_filename_c
Normal file
11
converters/playfair/patches/patch-src_cli_filename_c
Normal file
@ -0,0 +1,11 @@
|
||||
$OpenBSD: patch-src_cli_filename_c,v 1.1.1.1 2004/04/12 07:10:45 jolan Exp $
|
||||
--- src/cli/filename.c.orig 2004-04-11 00:09:36.000000000 -0500
|
||||
+++ src/cli/filename.c 2004-04-11 14:39:06.000000000 -0500
|
||||
@@ -18,6 +18,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
+#include <string.h>
|
||||
|
||||
#include "filename.h"
|
||||
|
11
converters/playfair/patches/patch-src_mp4ff_drms_c
Normal file
11
converters/playfair/patches/patch-src_mp4ff_drms_c
Normal file
@ -0,0 +1,11 @@
|
||||
$OpenBSD: patch-src_mp4ff_drms_c,v 1.1.1.1 2004/04/12 07:10:45 jolan Exp $
|
||||
--- src/mp4ff/drms.c.orig 2004-04-10 20:21:55.000000000 -0500
|
||||
+++ src/mp4ff/drms.c 2004-04-11 14:40:43.000000000 -0500
|
||||
@@ -23,6 +23,7 @@
|
||||
*****************************************************************************/
|
||||
|
||||
#include <stdlib.h> /* malloc(), free() */
|
||||
+#include <string.h>
|
||||
|
||||
#include "config.h"
|
||||
#include "mp4ffint.h"
|
11
converters/playfair/patches/patch-src_mp4ff_mp4atom_c
Normal file
11
converters/playfair/patches/patch-src_mp4ff_mp4atom_c
Normal file
@ -0,0 +1,11 @@
|
||||
$OpenBSD: patch-src_mp4ff_mp4atom_c,v 1.1.1.1 2004/04/12 07:10:45 jolan Exp $
|
||||
--- src/mp4ff/mp4atom.c.orig 2004-04-10 20:21:55.000000000 -0500
|
||||
+++ src/mp4ff/mp4atom.c 2004-04-12 02:06:36.000000000 -0500
|
||||
@@ -26,6 +26,7 @@
|
||||
**/
|
||||
|
||||
#include <stdlib.h>
|
||||
+#include <unistd.h>
|
||||
#include "config.h"
|
||||
#ifdef HAVE_GETPWUID
|
||||
# include <pwd.h>
|
@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-src_mp4ff_mp4ff_int_types_h,v 1.1.1.1 2004/04/12 07:10:45 jolan Exp $
|
||||
--- src/mp4ff/mp4ff_int_types.h.orig 2004-04-09 17:18:15.000000000 -0500
|
||||
+++ src/mp4ff/mp4ff_int_types.h 2004-04-11 14:42:59.000000000 -0500
|
||||
@@ -15,9 +15,9 @@ typedef unsigned __int64 uint64_t;
|
||||
|
||||
#else
|
||||
|
||||
-#include <stdint.h>
|
||||
+#include <inttypes.h>
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
-#endif
|
||||
\ No newline at end of file
|
||||
+#endif
|
12
converters/playfair/patches/patch-src_playfair_keyutils_c
Normal file
12
converters/playfair/patches/patch-src_playfair_keyutils_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-src_playfair_keyutils_c,v 1.1.1.1 2004/04/12 07:10:45 jolan Exp $
|
||||
--- src/playfair/keyutils.c.orig 2004-04-09 17:16:02.000000000 -0500
|
||||
+++ src/playfair/keyutils.c 2004-04-11 14:40:16.000000000 -0500
|
||||
@@ -18,6 +18,8 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <dirent.h>
|
||||
+#include <stdio.h>
|
||||
+#include <unistd.h>
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
8
converters/playfair/pkg/DESCR
Normal file
8
converters/playfair/pkg/DESCR
Normal file
@ -0,0 +1,8 @@
|
||||
The playfair program is quite simple. It takes one of the iTMS
|
||||
Protected AAC Audio Files, decodes it using a key obtained from your
|
||||
iPod or Microsoft Windows system and then writes the new, decoded
|
||||
version to disk as a regular AAC Audio File. It then optionally copies
|
||||
the metadata tags that describe the song, including the cover art, to
|
||||
the new file.
|
||||
|
||||
playfair expects keys to be stored in the ~/.drms directory.
|
5
converters/playfair/pkg/PFRAG.shared
Normal file
5
converters/playfair/pkg/PFRAG.shared
Normal file
@ -0,0 +1,5 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2004/04/12 07:10:45 jolan Exp $
|
||||
lib/libmp4ff.so.0.0
|
||||
lib/libmp4v2.so.0.0
|
||||
lib/libplayfair.so.0.0
|
||||
DYNLIBDIR(%D/lib)
|
10
converters/playfair/pkg/PLIST
Normal file
10
converters/playfair/pkg/PLIST
Normal file
@ -0,0 +1,10 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2004/04/12 07:10:45 jolan Exp $
|
||||
bin/playfair
|
||||
include/drmserr.h
|
||||
include/mp4.h
|
||||
include/mp4ff.h
|
||||
include/mp4ff_int_types.h
|
||||
include/mp4ffint.h
|
||||
include/mpeg4ip.h
|
||||
include/systems.h
|
||||
%%SHARED%%
|
Loading…
Reference in New Issue
Block a user