aboutsummaryrefslogtreecommitdiff
path: root/ftp/muddleftpd
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-04-22 17:05:02 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-04-22 17:05:02 +0000
commit08161392e32c45d98ee4f6780788b820bcdd1273 (patch)
treef05154375171ca006494b27d780e7dc7442e27cd /ftp/muddleftpd
parentd8187fd02f19d72f8c19516bfa40efb6af764c8f (diff)
downloadports-08161392e32c45d98ee4f6780788b820bcdd1273.tar.gz
ports-08161392e32c45d98ee4f6780788b820bcdd1273.zip
Notes
Diffstat (limited to 'ftp/muddleftpd')
-rw-r--r--ftp/muddleftpd/Makefile43
-rw-r--r--ftp/muddleftpd/distinfo1
-rw-r--r--ftp/muddleftpd/files/patch-doc::Makefile.in18
-rw-r--r--ftp/muddleftpd/files/patch-src::Makefile.in15
-rw-r--r--ftp/muddleftpd/pkg-comment1
-rw-r--r--ftp/muddleftpd/pkg-descr4
-rw-r--r--ftp/muddleftpd/pkg-plist21
7 files changed, 103 insertions, 0 deletions
diff --git a/ftp/muddleftpd/Makefile b/ftp/muddleftpd/Makefile
new file mode 100644
index 000000000000..36890b670ff0
--- /dev/null
+++ b/ftp/muddleftpd/Makefile
@@ -0,0 +1,43 @@
+# ex:ts=8
+# New ports collection makefile for: muddleftpd
+# Date created: Apr 22, 2001
+# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= muddleftpd
+PORTVERSION= 1.3.9
+CATEGORIES= ftp
+MASTER_SITES= http://www.arach.net.au/~wildfire/muddleftpd/
+DISTNAME= ${PORTNAME}.${PORTVERSION}
+
+MAINTAINER= ijliao@FreeBSD.org
+
+GNU_CONFIGURE= yes
+
+USE_GMAKE= yes
+MAKE_ENV= INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
+ INSTALL_MAN="${INSTALL_MAN}" \
+ INSTALL_DATA="${INSTALL_DATA}"
+
+MAN1= muddleftpd.1 ftpwho.1 mudpasswd.1
+EXAMPLES= anon-only.conf anon-reigon.conf ratios.conf standard.conf \
+ vserver-host.conf vserver.conf vserverbig.conf
+DOCS= cookie.txt ftpcmds.txt muddleftpd.txt mudpasswd.txt reference.txt
+
+post-install:
+ install-info ${PREFIX}/info/muddleftpd.info ${PREFIX}/info/dir
+ @${MKDIR} ${PREFIX}/share/examples/muddleftpd
+ ${CP} ${WRKSRC}/examples/README ${PREFIX}/share/examples/muddleftpd
+.for file in ${EXAMPLES}
+ ${CP} ${WRKSRC}/examples/${file} ${PREFIX}/share/examples/muddleftpd
+.endfor
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/share/doc/muddleftpd
+.for file in ${DOCS}
+ ${CP} ${WRKSRC}/doc/${file} ${PREFIX}/share/doc/muddleftpd
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/ftp/muddleftpd/distinfo b/ftp/muddleftpd/distinfo
new file mode 100644
index 000000000000..3201d1361875
--- /dev/null
+++ b/ftp/muddleftpd/distinfo
@@ -0,0 +1 @@
+MD5 (muddleftpd.1.3.9.tar.gz) = a6d2bf0ded488588243970c3f08ab4a2
diff --git a/ftp/muddleftpd/files/patch-doc::Makefile.in b/ftp/muddleftpd/files/patch-doc::Makefile.in
new file mode 100644
index 000000000000..e169e37a90e8
--- /dev/null
+++ b/ftp/muddleftpd/files/patch-doc::Makefile.in
@@ -0,0 +1,18 @@
+--- doc/Makefile.in.orig Mon Apr 23 00:25:01 2001
++++ doc/Makefile.in Mon Apr 23 00:26:09 2001
+@@ -41,11 +41,11 @@
+
+ install: all
+ mkdir -p $(MANDIR)/man1
+- install man/muddleftpd.1 -m 644 $(MANDIR)/man1/$(MUDOUTPROG)
+- install man/ftpwho.1 -m 644 $(MANDIR)/man1/$(WHOPROG)
+- install man/mudpasswd.1 -m 644 $(MANDIR)/man1/$(MUDPASSWDPROG)
++ ${INSTALL_MAN} man/muddleftpd.1 $(MANDIR)/man1
++ ${INSTALL_MAN} man/ftpwho.1 $(MANDIR)/man1
++ ${INSTALL_MAN} man/mudpasswd.1 $(MANDIR)/man1
+ mkdir -p $(INFODIR)
+- install $(DOCOBJ) -m 644 $(INFODIR)
++ ${INSTALL_DATA} $(DOCOBJ) $(INFODIR)
+
+ clean:
+
diff --git a/ftp/muddleftpd/files/patch-src::Makefile.in b/ftp/muddleftpd/files/patch-src::Makefile.in
new file mode 100644
index 000000000000..2f4f2217320d
--- /dev/null
+++ b/ftp/muddleftpd/files/patch-src::Makefile.in
@@ -0,0 +1,15 @@
+--- src/Makefile.in.orig Mon Apr 23 00:20:53 2001
++++ src/Makefile.in Mon Apr 23 00:23:46 2001
+@@ -98,9 +98,9 @@
+ install: all
+ mkdir -p $(BINDIR)
+
+- install $(MUDOUTPROG) -m 755 $(BINDIR)
+- install $(WHOPROG) -m 755 $(BINDIR)
+- install $(MUDPASSWDPROG) -m 755 $(BINDIR)
++ ${INSTALL_PROGRAM} $(MUDOUTPROG) $(BINDIR)
++ ${INSTALL_PROGRAM} $(WHOPROG) $(BINDIR)
++ ${INSTALL_PROGRAM} $(MUDPASSWDPROG) $(BINDIR)
+
+ ifndef MUDOUTPROG
+ clean:
diff --git a/ftp/muddleftpd/pkg-comment b/ftp/muddleftpd/pkg-comment
new file mode 100644
index 000000000000..4c333c225cfa
--- /dev/null
+++ b/ftp/muddleftpd/pkg-comment
@@ -0,0 +1 @@
+A new ftp server that can perform a variety of ftp tasks
diff --git a/ftp/muddleftpd/pkg-descr b/ftp/muddleftpd/pkg-descr
new file mode 100644
index 000000000000..a4a8dae879ca
--- /dev/null
+++ b/ftp/muddleftpd/pkg-descr
@@ -0,0 +1,4 @@
+Muddleftpd is a new ftp server that can perform a variety of ftp tasks. It
+is simple to setup, fast, secure and reasonably lightweight.
+
+WWW: http://www.arach.net.au/~wildfire/muddleftpd/
diff --git a/ftp/muddleftpd/pkg-plist b/ftp/muddleftpd/pkg-plist
new file mode 100644
index 000000000000..56bfa67459f7
--- /dev/null
+++ b/ftp/muddleftpd/pkg-plist
@@ -0,0 +1,21 @@
+bin/ftpwho
+bin/muddleftpd
+bin/mudpasswd
+@unexec install-info --delete %D/info/muddleftpd.info %D/info/dir
+info/muddleftpd.info
+@exec install-info %D/info/muddleftpd.info %D/info/dir
+share/examples/muddleftpd/README
+share/examples/muddleftpd/anon-only.conf
+share/examples/muddleftpd/anon-reigon.conf
+share/examples/muddleftpd/ratios.conf
+share/examples/muddleftpd/standard.conf
+share/examples/muddleftpd/vserver-host.conf
+share/examples/muddleftpd/vserver.conf
+share/examples/muddleftpd/vserverbig.conf
+@dirrm share/examples/muddleftpd
+%%PORTDOCS%%share/doc/muddleftpd/cookie.txt
+%%PORTDOCS%%share/doc/muddleftpd/ftpcmds.txt
+%%PORTDOCS%%share/doc/muddleftpd/muddleftpd.txt
+%%PORTDOCS%%share/doc/muddleftpd/mudpasswd.txt
+%%PORTDOCS%%share/doc/muddleftpd/reference.txt
+%%PORTDOCS%%@dirrm share/doc/muddleftpd