Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
OpenAG is a project written to be the first (and currently
only) UNIX implementation of the Audiogalaxy File Sharing Protocol.
+28
View File
@@ -0,0 +1,28 @@
# $NetBSD: Makefile,v 1.12 2012/10/23 17:18:44 asau Exp $
#
DISTNAME= OpenAG-1.1.1
PKGNAME= openag-1.1.1
PKGREVISION= 2
CATEGORIES= net audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openags/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://sourceforge.net/projects/openags/
COMMENT= Open Audio Galaxy client
DEPENDS+= wget-[0-9]*:../../net/wget
GNU_CONFIGURE= yes
USE_LANGUAGES= c c++
.include "../../devel/zlib/buildlink3.mk"
INSTALLATION_DIRS+= share/doc/OpenAG
post-install:
.for i in AUTHORS ChangeLog INSTALL NEWS README
${INSTALL_MAN} ${WRKSRC}/${i} ${DESTDIR}${PREFIX}/share/doc/OpenAG/${i}
.endfor
.include "../../mk/bsd.pkg.mk"
+7
View File
@@ -0,0 +1,7 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2002/05/06 00:01:13 hubertf Exp $
bin/openag
share/doc/OpenAG/AUTHORS
share/doc/OpenAG/ChangeLog
share/doc/OpenAG/INSTALL
share/doc/OpenAG/NEWS
share/doc/OpenAG/README
+10
View File
@@ -0,0 +1,10 @@
$NetBSD: distinfo,v 1.6 2007/12/01 16:20:09 rillig Exp $
SHA1 (OpenAG-1.1.1.tar.gz) = d56473ebd46ffe03e22df511d90d7bcd33dc573a
RMD160 (OpenAG-1.1.1.tar.gz) = 1ebc6c59f269b88dd485574620c9ba7fb24aeb1c
Size (OpenAG-1.1.1.tar.gz) = 248032 bytes
SHA1 (patch-aa) = d42ac201455cc9dc2e684c000a279750992a1f78
SHA1 (patch-ab) = fc363a3fabff367b0f68dd560788bd78b35e1e6e
SHA1 (patch-ac) = c81a3917f62f2b31e63f42d204564fbf756fcdc6
SHA1 (patch-ad) = 0a1bbf77e222b465edb8e8b48693436efee5081e
SHA1 (patch-ae) = 22ed510ad61b04a39ea716dd6e32a0a7f1a96ecb
+15
View File
@@ -0,0 +1,15 @@
$NetBSD: patch-aa,v 1.1 2004/01/23 13:55:31 agc Exp $
--- libOpenAG/ParseMessage.cpp 2004/01/23 13:30:51 1.1
+++ libOpenAG/ParseMessage.cpp 2004/01/23 13:31:11
@@ -620,8 +620,8 @@
break;
case 2:
delete(TheMessage);
- err_exit("Oops, server responded: \"Bad client version\"\nI sent client version: %s\n
- Please check %s for updates.", VERSION_STRING, AG_OPENAG_DOWNLOADPAGE);
+ err_exit("Oops, server responded: \"Bad client version\"\nI sent client version: %s\n"
+ "Please check %s for updates.", VERSION_STRING, AG_OPENAG_DOWNLOADPAGE);
break;
case 3:
delete(TheMessage);
+46
View File
@@ -0,0 +1,46 @@
$NetBSD: patch-ab,v 1.1 2004/01/23 13:55:31 agc Exp $
--- libOpenAG/AGMain.cpp 2004/01/23 13:34:41 1.1
+++ libOpenAG/AGMain.cpp 2004/01/23 13:35:33
@@ -1660,30 +1660,30 @@
printf("about to execute: %s\n",temp3);
if (system(temp3) != 0)
{
- err_print("Completed Downloads directory: %s was not found, attempted to create, but failed.
- Completed file: %s will be left in its current temporary directory: %s.\n",
+ err_print("Completed Downloads directory: %s was not found, attempted to create, but failed. \n"
+ "Completed file: %s will be left in its current temporary directory: %s.\n",
STATS.Prefs->FinishedDownloadsDirectory, STATS.connections[i].FileName,
STATS.connections[i].FileDirectory);
}
else if (chdir((char*)STATS.Prefs->FinishedDownloadsDirectory) != 0)
{
- err_print("Completed Downloads directory: %s was not found, successfully created,
- but failed to access.\n This error will repeat, and files will be left in the
- Temporary Downloads Directory", STATS.Prefs->FinishedDownloadsDirectory);
+ err_print("Completed Downloads directory: %s was not found, successfully created, \n"
+ "but failed to access.\n This error will repeat, and files will be left in the \n"
+ "Temporary Downloads Directory", STATS.Prefs->FinishedDownloadsDirectory);
}
delete(temp3);
}
else if (errno == EACCES)
{
- err_print("You do not have the correct permissions to access your specified download directory.
- Please correct this and relogin (to audiogalaxy).\n
- As such, all downloaded files will be left in your temporary directory.");
+ err_print("You do not have the correct permissions to access your specified download directory. \n"
+ "Please correct this and relogin (to audiogalaxy).\n "
+ "As such, all downloaded files will be left in your temporary directory.");
}
else
{
- err_print("Unhandled error encountered while trying to verify your Download Path.
- Please check the error below and fix your download path.
- All downloaded files will be left in your temporary directory. Please Report.\n");
+ err_print("Unhandled error encountered while trying to verify your Download Path. \n"
+ "Please check the error below and fix your download path. \n"
+ "All downloaded files will be left in your temporary directory. Please Report.\n");
}
}
else
+17
View File
@@ -0,0 +1,17 @@
$NetBSD: patch-ac,v 1.1 2006/03/23 00:36:37 joerg Exp $
--- libOpenAG/AGMessage.cpp.orig 2006-03-23 00:19:02.000000000 +0000
+++ libOpenAG/AGMessage.cpp
@@ -282,9 +282,9 @@ unsigned short AGMessage::read_short()
unsigned char AGMessage::read_byte()
{
- unsigned char* temp = new unsigned char[1];
- read_string((char*)temp, (unsigned short)1);
- unsigned char temp2 = *(temp);
+ char* temp = new char[1];
+ read_string(temp, (unsigned short)1);
+ unsigned char temp2 = (unsigned char)*(temp);
#if AGDEBUGLEVEL > 5
printf("read byte: %i\n", temp2);
#endif
+45
View File
@@ -0,0 +1,45 @@
$NetBSD: patch-ad,v 1.1 2006/03/23 00:36:37 joerg Exp $
--- mp3info/id3v2.cpp.orig 2006-03-23 00:26:32.000000000 +0000
+++ mp3info/id3v2.cpp
@@ -112,11 +112,11 @@ size_t my_fread(void *input_buffer, size
if( available_data_size < number_of_items*size_of_item )
{
memcpy(input_buffer , file_handler->big_u.mem_data.current_point , available_data_size);
- (char *)(file_handler->big_u.mem_data.current_point) += available_data_size;
+ file_handler->big_u.mem_data.current_point = (char *)file_handler->big_u.mem_data.current_point + available_data_size;
return available_data_size/size_of_item;
}
memcpy(input_buffer , file_handler->big_u.mem_data.current_point , number_of_items*size_of_item);
- (char *)(file_handler->big_u.mem_data.current_point) += number_of_items*size_of_item;
+ file_handler->big_u.mem_data.current_point = (char *)file_handler->big_u.mem_data.current_point + number_of_items*size_of_item;
return number_of_items*size_of_item;
// break; /* NOT needed */
}
@@ -155,7 +155,7 @@ int my_getc( MY_FILE *file_handler )
return EOF;
}
char_to_return = *((char *)(file_handler->big_u.mem_data.current_point));
- ((char *)(file_handler->big_u.mem_data.current_point))++;
+ file_handler->big_u.mem_data.current_point = (char *)file_handler->big_u.mem_data.current_point + 1;
return char_to_return;
// break; /* NOT needed */
}
@@ -190,7 +190,7 @@ int my_fgetc( MY_FILE *file_handle )
return EOF;
}
char_to_return = *((char *)(file_handle->big_u.mem_data.current_point));
- ((char *)(file_handle->big_u.mem_data.current_point))++;
+ file_handle->big_u.mem_data.current_point = (char *)file_handle->big_u.mem_data.current_point + 1;
return char_to_return;
// break; /* NOT needed */
}
@@ -236,7 +236,7 @@ long my_fseek( MY_FILE *file_handler , l
// errno = EINVAL;
return -1;
}
- (char *)(file_handler->big_u.mem_data.current_point) += offset;
+ file_handler->big_u.mem_data.current_point = (char *)file_handler->big_u.mem_data.current_point + offset;
break;
}
case SEEK_END :
+13
View File
@@ -0,0 +1,13 @@
$NetBSD: patch-ae,v 1.1 2007/12/01 16:20:09 rillig Exp $
--- libOpenAG/include/AGMessage.h.orig 2002-04-13 17:08:03.000000000 +0000
+++ libOpenAG/include/AGMessage.h 2007-12-01 16:18:49.000000000 +0000
@@ -54,7 +54,7 @@ public:
/** GENERAL STUFF **/
bool isSendPacket();
int getCompleteMessageSize();
- int AGMessage::getCompleteMessageData(char* &deleteMe);
+ int getCompleteMessageData(char* &deleteMe);
int getDataLength();
void dumpHex();