FreeBSD Bugzilla – Attachment 109186 Details for
Bug 150145
[patch] ftp/smbftpd port rewrite configuration files on update
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 2.11 KB, created by
mail_of_sergey
on 2010-08-31 13:00:14 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
mail_of_sergey
Created:
2010-08-31 13:00:14 UTC
Size:
2.11 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># . ># ./patch-Makefile ># ./smbftpd.txt ># >echo c - . >mkdir -p . > /dev/null 2>&1 >echo x - ./patch-Makefile >sed 's/^X//' >./patch-Makefile << '5a51f24cf2b106560c645bdcfd0499f4' >X--- Makefile.orig 2008-04-03 22:00:40.000000000 +0400 >X+++ Makefile 2010-08-31 15:30:23.000000000 +0400 >X@@ -21,7 +21,7 @@ >X CFLAGS += -I./include >X >X CONFIGDIR = $(PREFIX)/etc/smbftpd >X-CONFIGS = smbftpd.conf smbftpd_share.conf smbftpd_mysql.conf smbftpd_pgsql.conf >X+CONFIGS = smbftpd.conf.sample smbftpd_share.conf.sample smbftpd_mysql.conf.sample smbftpd_pgsql.conf.sample >X >X YFLAGS = >X >X@@ -126,15 +126,3 @@ >X install -c -m 400 cert/conf/ssl.key/server.key $(CONFIGDIR)/ssl.key/;\ >X fi; >X >X- @if [ "$(OSTYPE)" = "FreeBSD" ]; then \ >X- echo "install -c -m 755 os/FreeBSD/smbftpd.sh $(PREFIX)/etc/rc.d/"; \ >X- [ -d $(PREFIX)/etc/rc.d ] || install -d $(PREFIX)/etc/rc.d; \ >X- install -c -m 755 os/FreeBSD/smbftpd.sh $(PREFIX)/etc/rc.d/; \ >X- elif [ "$(OSTYPE)" = "linux" ]; then \ >X- if [ ! -f /etc/pam.d/ftpd ]; then \ >X- echo "install install -c -m 644 os/linux/ftpd.pam /etc/pam.d/ftpd"; \ >X- install -c -m 644 os/linux/ftpd.pam /etc/pam.d/ftpd; \ >X- fi; \ >X- fi; >X- >X- >5a51f24cf2b106560c645bdcfd0499f4 >echo x - ./smbftpd.txt >sed 's/^X//' >./smbftpd.txt << 'cd3c8859eb6aa7476b71403719b1b418' >X--- Makefile.orig 2010-08-31 15:18:57.000000000 +0400 >X+++ Makefile 2010-08-31 15:35:30.000000000 +0400 >X@@ -51,4 +51,10 @@ >X BROKEN= fails to build with new utmpx >X .endif >X >X+post-patch: >X+ @${MV} ${WRKSRC}/conf/smbftpd.conf ${WRKSRC}/conf/smbftpd.conf.sample >X+ @${MV} ${WRKSRC}/conf/smbftpd_mysql.conf ${WRKSRC}/conf/smbftpd_mysql.conf.sample >X+ @${MV} ${WRKSRC}/conf/smbftpd_pgsql.conf ${WRKSRC}/conf/smbftpd_pgsql.conf.sample >X+ @${MV} ${WRKSRC}/conf/smbftpd_share.conf ${WRKSRC}/conf/smbftpd_share.conf.sample >X+ >X .include <bsd.port.post.mk> >cd3c8859eb6aa7476b71403719b1b418 >exit
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 Raw
Actions:
View
Attachments on
bug 150145
: 109186