FreeBSD Bugzilla – Attachment 87730 Details for
Bug 124363
[MAINTAINER] ftp/smbftpd: update to 2.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
smbftpd-2.0.patch
smbftpd-2.0.patch (text/plain), 4.47 KB, created by
Jui-Nan Lin
on 2008-06-06 22:30:00 UTC
(
hide
)
Description:
smbftpd-2.0.patch
Filename:
MIME Type:
Creator:
Jui-Nan Lin
Created:
2008-06-06 22:30:00 UTC
Size:
4.47 KB
patch
obsolete
>diff -ruN --exclude=CVS /usr/ports/ftp/smbftpd/Makefile /home/users/jnlin/ports/smbftpd/Makefile >--- /usr/ports/ftp/smbftpd/Makefile 2007-12-13 11:11:02.000000000 +0800 >+++ /home/users/jnlin/ports/smbftpd/Makefile 2008-06-07 05:08:52.782107701 +0800 >@@ -6,17 +6,46 @@ > # > > PORTNAME= smbftpd >-PORTVERSION= 0.97 >+PORTVERSION= 2.0 > CATEGORIES= ftp >-MASTER_SITES= http://www.twbsd.org/download/download.php?file=smbftpd/ >+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ >+ http://www.twbsd.org/download/download.php?file=smbftpd/ >+MASTER_SITE_SUBDIR= ${PORTNAME} > > MAINTAINER= jnlin@csie.nctu.edu.tw > COMMENT= FTP daemon using Samba-like share management mechanism > >+OPTIONS= MYSQL "Users database is a MySQL database" off \ >+ PGSQL "Users database is a PostgreSQL database" off \ >+ SSL "Enable SSL/TLS support" off \ >+ ICONV "Enable codepage to unicode conversion for UTF-8 FTP" off >+ > HAS_CONFIGURE= yes >-USE_OPENSSL= yes >+MAKE_ENV= OSTYPE=FreeBSD >+CONFIGURE_ARGS= "--prefix=${PREFIX}" >+ >+.include <bsd.port.pre.mk> >+ > USE_PERL5= yes >+USE_RC_SUBR= smbftpd.sh > >-MAKE_ENV= OSTYPE=FreeBSD >+.if defined(WITH_MYSQL) >+USE_MYSQL= yes >+CONFIGURE_ARGS+= "--with-mysql" >+.endif >+ >+.if defined(WITH_PGSQL) >+USE_PGSQL= yes >+CONFIGURE_ARGS+= "--with-pgsql" >+.endif >+ >+.if defined(WITH_ICONV) >+USE_ICONV= yes >+CONFIGURE_ARGS+= "--with-iconv" >+.endif >+ >+.if defined(WITH_SSL) >+CONFIGURE_ARGS+= "--with-ssl" >+.endif > >-.include <bsd.port.mk> >+.include <bsd.port.post.mk> >diff -ruN --exclude=CVS /usr/ports/ftp/smbftpd/distinfo /home/users/jnlin/ports/smbftpd/distinfo >--- /usr/ports/ftp/smbftpd/distinfo 2007-12-13 11:11:02.000000000 +0800 >+++ /home/users/jnlin/ports/smbftpd/distinfo 2008-06-07 05:09:01.630087095 +0800 >@@ -1,3 +1,3 @@ >-MD5 (smbftpd-0.97.tar.gz) = e4c7e4f3b432d79cfd5b3cfafdbff069 >-SHA256 (smbftpd-0.97.tar.gz) = 6e4508f885a08e07c744f5861cccdc6d1813e079ce9d6fa9f3eae55cf5635819 >-SIZE (smbftpd-0.97.tar.gz) = 123190 >+MD5 (smbftpd-2.0.tar.gz) = 771c938073501bb9bb7d1e3e44ae4aae >+SHA256 (smbftpd-2.0.tar.gz) = a3b8aeb444a8fe1275dc243911a206785e83465a87d4f3b89baca0d97cf7d818 >+SIZE (smbftpd-2.0.tar.gz) = 138529 >diff -ruN --exclude=CVS /usr/ports/ftp/smbftpd/files/patch-Makefile /home/users/jnlin/ports/smbftpd/files/patch-Makefile >--- /usr/ports/ftp/smbftpd/files/patch-Makefile 1970-01-01 08:00:00.000000000 +0800 >+++ /home/users/jnlin/ports/smbftpd/files/patch-Makefile 2008-05-17 11:34:50.697562314 +0800 >@@ -0,0 +1,18 @@ >+--- Makefile.orig 2008-05-17 11:33:53.160728999 +0800 >++++ Makefile 2008-05-17 11:34:04.012697489 +0800 >+@@ -126,15 +126,3 @@ >+ install -c -m 400 cert/conf/ssl.key/server.key $(CONFIGDIR)/ssl.key/;\ >+ fi; >+ >+- @if [ "$(OSTYPE)" = "FreeBSD" ]; then \ >+- echo "install -c -m 755 os/FreeBSD/smbftpd.sh $(PREFIX)/etc/rc.d/"; \ >+- [ -d $(PREFIX)/etc/rc.d ] || install -d $(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"; \ >+- install -c -m 644 os/linux/ftpd.pam /etc/pam.d/ftpd; \ >+- fi; \ >+- fi; >+- >+- >diff -ruN --exclude=CVS /usr/ports/ftp/smbftpd/files/smbftpd.sh.in /home/users/jnlin/ports/smbftpd/files/smbftpd.sh.in >--- /usr/ports/ftp/smbftpd/files/smbftpd.sh.in 1970-01-01 08:00:00.000000000 +0800 >+++ /home/users/jnlin/ports/smbftpd/files/smbftpd.sh.in 2008-05-17 11:41:24.414987343 +0800 >@@ -0,0 +1,30 @@ >+#!/bin/sh >+ >+# PROVIDE: smbftpd >+# REQUIRE: NETWORKING SERVERS >+# BEFORE: DAEMON >+# KEYWORD: shutdown >+ >+# >+# Add the following lines to /etc/rc.conf to enable pure-ftpd: >+# >+# smbftpd_enable="YES" >+# >+ >+. %%RC_SUBR%% >+ >+name=smbftpd >+rcvar=`set_rcvar` >+ >+load_rc_config $name >+ >+command=%%PREFIX%%/sbin/smbftpd >+smbftpd_config=${smbftpd_config:-"%%PREFIX%%/etc/smbftpd/smbftpd.conf"} >+required_files=${smbftpd_config} >+pidfile=/var/run/smbftpd.pid >+procname=smbftpd >+ >+smbftpd_enable=${smbftpd_enable:-"NO"} >+command_args="-D -s ${smbftpd_config}" >+ >+run_rc_command "$1" >diff -ruN --exclude=CVS /usr/ports/ftp/smbftpd/pkg-plist /home/users/jnlin/ports/smbftpd/pkg-plist >--- /usr/ports/ftp/smbftpd/pkg-plist 2006-01-24 03:37:26.000000000 +0800 >+++ /home/users/jnlin/ports/smbftpd/pkg-plist 2008-06-07 05:20:00.728479700 +0800 >@@ -1,6 +1,8 @@ > @comment $FreeBSD: ports/ftp/smbftpd/pkg-plist,v 1.1 2006/01/23 19:37:26 pav Exp $ >-etc/rc.d/smbftpd.sh >+bin/smbftpd-user > etc/smbftpd/smbftpd.conf > etc/smbftpd/smbftpd_share.conf >+etc/smbftpd/smbftpd_mysql.conf >+etc/smbftpd/smbftpd_pgsql.conf > sbin/smbftpd > @dirrmtry etc/smbftpd
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 124363
: 87730