Module Name:    othersrc
Committed By:   lukem
Date:           Sat Sep 23 05:39:48 UTC 2023

Modified Files:
        othersrc/libexec/tnftpd/buildaux: netbsd2tnftpd

Log Message:
improve netbsd2tnftpd conversion

replace ftpd with tnftpd in more macros


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 othersrc/libexec/tnftpd/buildaux/netbsd2tnftpd

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: othersrc/libexec/tnftpd/buildaux/netbsd2tnftpd
diff -u othersrc/libexec/tnftpd/buildaux/netbsd2tnftpd:1.1 othersrc/libexec/tnftpd/buildaux/netbsd2tnftpd:1.2
--- othersrc/libexec/tnftpd/buildaux/netbsd2tnftpd:1.1	Sat Nov  7 09:54:23 2009
+++ othersrc/libexec/tnftpd/buildaux/netbsd2tnftpd	Sat Sep 23 05:39:48 2023
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: netbsd2tnftpd,v 1.1 2009/11/07 09:54:23 lukem Exp $
+# $NetBSD: netbsd2tnftpd,v 1.2 2023/09/23 05:39:48 lukem Exp $
 
 mantoin()
 {
@@ -8,6 +8,9 @@ mantoin()
 	[ "$1" != "$2" ] || exit 6
 	echo 1>&2 "Converting $1 to $2"
 	sed < "$1" > "$2" \
+		-e 's|Dt FTPD 8|Dt TNFTPD 8|' \
+		-e 's|Nm ftpd$|Nm tnftpd|' \
+		-e 's|Xr ftpd |Xr tnftpd |' \
 		-e 's|/etc/ftpchroot|@sysconfdir@/ftpchroot|' \
 		-e 's|/etc/ftpd.conf|@sysconfdir@/ftpd.conf|' \
 		-e 's|/etc/ftpusers|@sysconfdir@/ftpusers|' \

Reply via email to