mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
Update to 0.0.5
PR: 94858 Submitted by: maintainer
This commit is contained in:
parent
2318c7c1c3
commit
5a40c8ac79
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=159641
@ -6,8 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= dotconfpp
|
||||
PORTVERSION= 0.0.4a
|
||||
PORTREVISION= 2
|
||||
PORTVERSION= 0.0.5
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
||||
http://voodoo.com.ua/dotconfpp/
|
||||
@ -18,7 +17,6 @@ MAINTAINER= mark_sf@kikg.ifmo.ru
|
||||
COMMENT= Configuration file parser written in C++
|
||||
|
||||
USE_AUTOTOOLS= libtool:15
|
||||
USE_REINPLACE= yes
|
||||
|
||||
INSTALLS_SHLIB= yes
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (dotconfpp-0.0.4a.tar.gz) = 0c43f864f7115916e39c1e14599d053b
|
||||
SHA256 (dotconfpp-0.0.4a.tar.gz) = c0a2ab7955ce87b4deb2942236c274a9fb7913662baefa772c6a0bebee4baac9
|
||||
SIZE (dotconfpp-0.0.4a.tar.gz) = 307253
|
||||
MD5 (dotconfpp-0.0.5.tar.gz) = c09f645ddec2f1fb279aea463974e256
|
||||
SHA256 (dotconfpp-0.0.5.tar.gz) = 2637b3b13f21d49b7cca4367bb5a2dc284b69d3a4b65add1c40dfaac75243668
|
||||
SIZE (dotconfpp-0.0.5.tar.gz) = 339240
|
||||
|
@ -1,14 +0,0 @@
|
||||
--- README.orig Fri May 16 12:25:35 2003
|
||||
+++ README Thu Jul 7 17:01:27 2005
|
||||
@@ -80,9 +80,9 @@
|
||||
1. Opening configuration file
|
||||
* Create configuration document object:
|
||||
|
||||
- DOTCONFDocument * conf = new DOTCONFDocument(DOTCONFDocument::CASEINSENSETIVE);
|
||||
+ DOTCONFDocument * conf = new DOTCONFDocument(DOTCONFDocument::CASEINSENSITIVE);
|
||||
or
|
||||
- DOTCONFDocument * conf = new DOTCONFDocument(DOTCONFDocument::CASESENSETIVE);
|
||||
+ DOTCONFDocument * conf = new DOTCONFDocument(DOTCONFDocument::CASESENSITIVE);
|
||||
* [OPTIONAL] Set required options
|
||||
|
||||
const char * requiredOptions[] = {"Users", NULL};
|
@ -1,15 +0,0 @@
|
||||
--- doc/dotconfpp.html.orig Fri May 16 12:26:05 2003
|
||||
+++ doc/dotconfpp.html Thu Jul 7 17:06:38 2005
|
||||
@@ -133,10 +133,10 @@
|
||||
<li>Create configuration document object:<br>
|
||||
<br style="color: rgb(0, 0, 255);">
|
||||
<span style="color: rgb(0, 0, 255);">DOTCONFDocument * conf =
|
||||
-new DOTCONFDocument(DOTCONFDocument::CASEINSENSETIVE);<br>
|
||||
+new DOTCONFDocument(DOTCONFDocument::CASEINSENSITIVE);<br>
|
||||
<span style="color: rgb(0, 0, 0);">or<br>
|
||||
</span></span><span style="color: rgb(0, 0, 255);">DOTCONFDocument
|
||||
-* conf = new DOTCONFDocument(DOTCONFDocument::CASESENSETIVE);<br>
|
||||
+* conf = new DOTCONFDocument(DOTCONFDocument::CASESENSITIVE);<br>
|
||||
<br>
|
||||
</span></li>
|
||||
<li><span style="color: rgb(0, 0, 255);"><span
|
@ -12,9 +12,7 @@
|
||||
@@ -132,7 +132,7 @@
|
||||
target_alias = @target_alias@
|
||||
EXTRA_DIST = dotconfpp.h mempool.h mempool.cc
|
||||
|
||||
-LIBdir = /usr/local/lib
|
||||
-LIBdir = ${prefix}/lib
|
||||
+LIBdir = @prefix@/lib
|
||||
SUBDIRS = . example1 example2
|
||||
|
||||
INCLUDES = -I.
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- src/dotconfpp.cc.orig Fri Jun 25 14:03:20 2004
|
||||
+++ src/dotconfpp.cc Thu Jul 7 17:03:58 2005
|
||||
@@ -53,7 +53,7 @@
|
||||
mempool(NULL),
|
||||
curParent(NULL), curPrev(NULL), curLine(0), file(NULL), fileName(NULL)
|
||||
{
|
||||
- if(caseSensitivity == CASESENSETIVE){
|
||||
+ if(caseSensitivity == CASESENSITIVE){
|
||||
cmp_func = strcmp;
|
||||
} else {
|
||||
cmp_func = strcasecmp;
|
@ -1,20 +0,0 @@
|
||||
--- src/dotconfpp.h.orig Wed May 14 19:10:26 2003
|
||||
+++ src/dotconfpp.h Thu Jul 7 17:02:43 2005
|
||||
@@ -75,7 +75,7 @@
|
||||
class DOTCONFDocument
|
||||
{
|
||||
public:
|
||||
- enum CaseSensitive { CASESENSETIVE, CASEINSENSETIVE };
|
||||
+ enum CaseSensitive { CASESENSITIVE, CASEINSENSITIVE };
|
||||
protected:
|
||||
AsyncDNSMemPool * mempool;
|
||||
private:
|
||||
@@ -103,7 +103,7 @@
|
||||
virtual void error(int lineNum, const char * fileName, const char * fmt, ...);
|
||||
|
||||
public:
|
||||
- DOTCONFDocument(CaseSensitive caseSensitivity = CASESENSETIVE);
|
||||
+ DOTCONFDocument(CaseSensitive caseSensitivity = CASESENSITIVE);
|
||||
virtual ~DOTCONFDocument();
|
||||
|
||||
int setContent(const char * _fileName);
|
@ -1,11 +0,0 @@
|
||||
--- src/example1/example1.cc.orig Sat Apr 10 15:22:00 2004
|
||||
+++ src/example1/example1.cc Wed Jul 13 20:20:47 2005
|
||||
@@ -54,7 +54,7 @@
|
||||
|
||||
int main()
|
||||
{
|
||||
- DOTCONFDocument *conf = new DOTCONFDocument(DOTCONFDocument::CASEINSENSETIVE);
|
||||
+ DOTCONFDocument *conf = new DOTCONFDocument(DOTCONFDocument::CASEINSENSITIVE);
|
||||
const DOTCONFDocumentNode * node = NULL;
|
||||
const char * v = NULL;
|
||||
char * fqdn = NULL;
|
@ -1,11 +0,0 @@
|
||||
--- src/example2/example2.cc.orig Wed May 14 17:10:26 2003
|
||||
+++ src/example2/example2.cc Wed Jul 13 20:21:29 2005
|
||||
@@ -51,7 +51,7 @@
|
||||
|
||||
int main(int argc, char * argv[])
|
||||
{
|
||||
- DOTCONFDocument conf(DOTCONFDocument::CASEINSENSETIVE);
|
||||
+ DOTCONFDocument conf(DOTCONFDocument::CASEINSENSITIVE);
|
||||
|
||||
conf.setRequiredOptionNames(requiredOptions);
|
||||
|
Loading…
Reference in New Issue
Block a user