summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorcjep <cjep>2004-09-06 16:27:03 +0000
committercjep <cjep>2004-09-06 16:27:03 +0000
commitd1dce45c03416ccbe06e482f618c4e3de1bb7349 (patch)
tree1b19acfe37c45c459c97c79a9533bfab855a9c5c /net
parent5054e55b1e4d1a9b2da91f1e0fa93abdb1d5c67f (diff)
downloadpkgsrc-d1dce45c03416ccbe06e482f618c4e3de1bb7349.tar.gz
Initial import of ftplibpp version 1.0.1 as net/ftplibpp.
ftplibpp is a C++ class providing ftp client functionality. It is a direct derivate from the great ftplib C library by Thomas Pfau.
Diffstat (limited to 'net')
-rw-r--r--net/ftplibpp/DESCR6
-rw-r--r--net/ftplibpp/Makefile19
-rw-r--r--net/ftplibpp/PLIST7
-rw-r--r--net/ftplibpp/distinfo5
-rw-r--r--net/ftplibpp/patches/patch-aa36
5 files changed, 73 insertions, 0 deletions
diff --git a/net/ftplibpp/DESCR b/net/ftplibpp/DESCR
new file mode 100644
index 00000000000..3664c012697
--- /dev/null
+++ b/net/ftplibpp/DESCR
@@ -0,0 +1,6 @@
+ftplibpp contains a C++ class providing ftp client functionality. It is a
+direct derivate from the great ftplib C library by Thomas Pfau. It was
+ported to C++, modified and some features added to fit today's FTP
+standards, like resuming up- and downloads, fxp support, SSL/TLS encryption
+and logging functionality. However the very base of ftplibpp is still the
+nice code from Thomas Pfau.
diff --git a/net/ftplibpp/Makefile b/net/ftplibpp/Makefile
new file mode 100644
index 00000000000..3eebcc7c4d5
--- /dev/null
+++ b/net/ftplibpp/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/09/06 16:27:03 cjep Exp $
+#
+
+DISTNAME= ftplibpp-1.0.1
+CATEGORIES= net devel
+MASTER_SITES= http://home.arcor.de/breitscheid/ftplibpp/
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://home.arcor.de/breitscheid/ftplibpp/ftplibpp.html
+COMMENT= C++ class providing ftp client functionality
+
+USE_BUILDLINK3= yes
+USE_GNU_TOOLS+= make
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ftplibpp
+ ${INSTALL_DATA} ${WRKSRC}/ftplibpp.html ${PREFIX}/share/doc/ftplibpp
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/ftplibpp/PLIST b/net/ftplibpp/PLIST
new file mode 100644
index 00000000000..b3a677122a7
--- /dev/null
+++ b/net/ftplibpp/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/09/06 16:27:03 cjep Exp $
+include/ftplib.h
+lib/libftp.so
+lib/libftp.so.1
+lib/libftp.so.1.0
+share/doc/ftplibpp/ftplibpp.html
+@dirrm share/doc/ftplibpp
diff --git a/net/ftplibpp/distinfo b/net/ftplibpp/distinfo
new file mode 100644
index 00000000000..0b2cd5e1f4d
--- /dev/null
+++ b/net/ftplibpp/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/09/06 16:27:03 cjep Exp $
+
+SHA1 (ftplibpp-1.0.1.tar.gz) = 51bfa48cf54efd23becdc83eb0f5d16f3e7bec21
+Size (ftplibpp-1.0.1.tar.gz) = 26688 bytes
+SHA1 (patch-aa) = cee3f7f31cf7d429249fcb80bf57966339fab0c2
diff --git a/net/ftplibpp/patches/patch-aa b/net/ftplibpp/patches/patch-aa
new file mode 100644
index 00000000000..c9c80c1a6dd
--- /dev/null
+++ b/net/ftplibpp/patches/patch-aa
@@ -0,0 +1,36 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/09/06 16:27:03 cjep Exp $
+
+--- Makefile.orig 2003-08-12 02:34:35.000000000 +0100
++++ Makefile
+@@ -3,6 +3,8 @@
+ SONAME = 1
+ SOVERSION = $(SONAME).0
+
++PREFIX?= /usr/local
++
+ #TARGETS = libftp.a libftp.so
+ TARGETS = libftp.so
+ OBJECTS = ftplib.o
+@@ -21,16 +23,16 @@ clean :
+ rm -f libftp.so.*
+
+ uninstall :
+- rm -f /usr/local/lib/libftp.so.*
+- rm -f /usr/local/include/libftp.h
++ rm -f ${PREFIX}/lib/libftp.so.*
++ rm -f ${PREFIX}/include/libftp.h
+
+ install : all
+- install -m 644 libftp.so.$(SOVERSION) /usr/local/lib
+- install -m 644 ftplib.h /usr/local/include
+- (cd /usr/local/lib && \
++ install -m 644 libftp.so.$(SOVERSION) ${PREFIX}/lib
++ install -m 644 ftplib.h ${PREFIX}/include
++ (cd ${PREFIX}/lib && \
+ ln -sf libftp.so.$(SOVERSION) libftp.so.$(SONAME) && \
+ ln -sf libftp.so.$(SONAME) libftp.so)
+-# -(cd /usr/local/bin && \
++# -(cd ${PREFIX}/bin && \
+ # for f in ftpdir ftpget ftplist ftprm ftpsend; \
+ # do ln -s qftp $$f; done)
+