aboutsummaryrefslogtreecommitdiffstats
path: root/ftp
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2006-01-24 03:37:26 +0800
committerpav <pav@FreeBSD.org>2006-01-24 03:37:26 +0800
commit01ef75a3bd0cc31cce294ce7c8c519736be6eefb (patch)
treed1a2d0e460e346de2a9dfa10d638a17f4b01b774 /ftp
parent3e28bd7e6e3f624811e6e83ea9f224cd0e9356ae (diff)
downloadfreebsd-ports-graphics-01ef75a3bd0cc31cce294ce7c8c519736be6eefb.tar.gz
freebsd-ports-graphics-01ef75a3bd0cc31cce294ce7c8c519736be6eefb.tar.zst
freebsd-ports-graphics-01ef75a3bd0cc31cce294ce7c8c519736be6eefb.zip
SmbFTPD is a FTP daemon modified from the FTP daemon of FreeBSD 5.4. esides
keep original FreeBSD ftpd features, it enhances the user permission control, integrate configuration files, and more useful features. SmbFTPD also support SSL/TLS encryption. WWW: http://www.twbsd.org/enu/smbftpd/index.php PR: ports/92181 Submitted by: Jui-Nan Lin <jnlin@csie.nctu.edu.tw>
Diffstat (limited to 'ftp')
-rw-r--r--ftp/Makefile1
-rw-r--r--ftp/smbftpd/Makefile22
-rw-r--r--ftp/smbftpd/distinfo3
-rw-r--r--ftp/smbftpd/files/patch-Makefile.in13
-rw-r--r--ftp/smbftpd/pkg-descr6
-rw-r--r--ftp/smbftpd/pkg-plist6
6 files changed, 51 insertions, 0 deletions
diff --git a/ftp/Makefile b/ftp/Makefile
index 4e4211d1c6d..f204fdb2ed6 100644
--- a/ftp/Makefile
+++ b/ftp/Makefile
@@ -88,6 +88,7 @@
SUBDIR += py-curl
SUBDIR += quftp
SUBDIR += rexx-curl
+ SUBDIR += smbftpd
SUBDIR += spegla
SUBDIR += tftp-hpa
SUBDIR += tnftp
diff --git a/ftp/smbftpd/Makefile b/ftp/smbftpd/Makefile
new file mode 100644
index 00000000000..575b302aeeb
--- /dev/null
+++ b/ftp/smbftpd/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: smbftpd
+# Date created: 2006-01-22
+# Whom: Jui-Nan Lin <jnlin@csie.nctu.edu.tw>
+#
+# $FreeBSD$
+#
+
+PORTNAME= smbftpd
+PORTVERSION= 0.96
+CATEGORIES= ftp
+MASTER_SITES= http://www.twbsd.org/download/download.php?file=smbftpd/
+
+MAINTAINER= jnlin@csie.nctu.edu.tw
+COMMENT= FTP daemon using Samba-like share management mechanism
+
+HAS_CONFIGURE= yes
+USE_OPENSSL= yes
+USE_PERL5= yes
+
+MAKE_ENV= OSTYPE=FreeBSD
+
+.include <bsd.port.mk>
diff --git a/ftp/smbftpd/distinfo b/ftp/smbftpd/distinfo
new file mode 100644
index 00000000000..0d286137454
--- /dev/null
+++ b/ftp/smbftpd/distinfo
@@ -0,0 +1,3 @@
+MD5 (smbftpd-0.96.tar.gz) = bd44ae80674993793c7206818b17d755
+SHA256 (smbftpd-0.96.tar.gz) = b2f9fb2614c0af2da7404e4228257d66ee463c0bcdb7a0aabc4317689c6e9a6b
+SIZE (smbftpd-0.96.tar.gz) = 124016
diff --git a/ftp/smbftpd/files/patch-Makefile.in b/ftp/smbftpd/files/patch-Makefile.in
new file mode 100644
index 00000000000..53dbc3f1af2
--- /dev/null
+++ b/ftp/smbftpd/files/patch-Makefile.in
@@ -0,0 +1,13 @@
+--- Makefile.in.old Mon Jan 23 12:43:31 2006
++++ Makefile.in Mon Jan 23 12:44:39 2006
+@@ -110,8 +110,8 @@
+ fi;
+
+ @if [ "$(OSTYPE)" = "FreeBSD" ]; then \
+- echo "install -c -m 755 os/FreeBSD/smbftpd.sh /usr/local/etc/rc.d/"; \
+- install -c -m 755 os/FreeBSD/smbftpd.sh /usr/local/etc/rc.d/; \
++ echo "install -c -m 755 os/FreeBSD/smbftpd.sh $(PREFIX)/etc/rc.d/"; \
++ install -c -m 755 os/FreeBSD/smbftpd.sh $(PREFIX)/etc/rc.d/; \
+ elif [ "$(OSTYPE)" = "linux" ]; then \
+ if [ ! -f /etc/pam.d/ftpd ]; then \
+ echo "install install -c -m 644 os/linux/ftpd.pam /etc/pam.d/ftpd"; \
diff --git a/ftp/smbftpd/pkg-descr b/ftp/smbftpd/pkg-descr
new file mode 100644
index 00000000000..8b14736ef39
--- /dev/null
+++ b/ftp/smbftpd/pkg-descr
@@ -0,0 +1,6 @@
+SmbFTPD is a FTP daemon modified from the FTP daemon of FreeBSD 5.4. Besides
+original FreeBSD ftpd features, it enhances the user permission control,
+integrate configuration files, and more useful features. SmbFTPD also support
+SSL/TLS encryption.
+
+WWW: http://www.twbsd.org/enu/smbftpd/index.php
diff --git a/ftp/smbftpd/pkg-plist b/ftp/smbftpd/pkg-plist
new file mode 100644
index 00000000000..a2e7b6b52eb
--- /dev/null
+++ b/ftp/smbftpd/pkg-plist
@@ -0,0 +1,6 @@
+@comment $FreeBSD$
+etc/rc.d/smbftpd.sh
+etc/smbftpd/smbftpd.conf
+etc/smbftpd/smbftpd_share.conf
+sbin/smbftpd
+@dirrmtry etc/smbftpd