diff options
| author | Rene Ladan <rene@FreeBSD.org> | 2026-09-30 21:09:05 +0000 |
|---|---|---|
| committer | Rene Ladan <rene@FreeBSD.org> | 2026-09-30 21:09:05 +0000 |
| commit | f12373738b0ae4bc883641e3359677bee9557934 (patch) | |
| tree | 3603a1854f2a38543d810db60333b40719cd6507 | |
| parent | 86b5a24ae048631a14c211c4cebd2e0f334e6363 (diff) | |
ftp/oftpd: Remove expired port
2026-09-30 ftp/oftpd: Abandoned and has known vulnerability (CVE-2005-2239)
| -rw-r--r-- | MOVED | 1 | ||||
| -rw-r--r-- | ftp/Makefile | 1 | ||||
| -rw-r--r-- | ftp/oftpd/Makefile | 43 | ||||
| -rw-r--r-- | ftp/oftpd/distinfo | 2 | ||||
| -rw-r--r-- | ftp/oftpd/files/patch-src_ftp__session.c | 29 | ||||
| -rw-r--r-- | ftp/oftpd/pkg-descr | 7 | ||||
| -rw-r--r-- | ftp/oftpd/pkg-message | 9 |
7 files changed, 1 insertions, 91 deletions
@@ -5660,3 +5660,4 @@ x11-fonts/py-fontmake||2026-09-30|Has expired: Depends on expired x11-fonts/py-c security/openssl34||2026-09-30|Has expired: Please use security/openssl (LTS) textproc/apache-commons-digester||2026-09-30|Has expired: Port only copies a jar. Version 3 was released in 2011. Not used in the ports tree. No maintainer. If you use this, please tell me x11-toolkits/py-guietta||2026-09-30|Has expired: Abandoned, depends on deprecated PySide2 +ftp/oftpd||2026-09-30|Has expired: Abandoned and has known vulnerability (CVE-2005-2239) diff --git a/ftp/Makefile b/ftp/Makefile index 8be415881153..9ba5409b9f93 100644 --- a/ftp/Makefile +++ b/ftp/Makefile @@ -38,7 +38,6 @@ SUBDIR += ncftp3 SUBDIR += netdumpd SUBDIR += ocaml-ocurl - SUBDIR += oftpd SUBDIR += omi SUBDIR += p5-File-Fetch SUBDIR += p5-Net-FTP-Common diff --git a/ftp/oftpd/Makefile b/ftp/oftpd/Makefile deleted file mode 100644 index 3e4f256e3460..000000000000 --- a/ftp/oftpd/Makefile +++ /dev/null @@ -1,43 +0,0 @@ -PORTNAME= oftpd -PORTVERSION= 0.3.7 -PORTREVISION= 2 -CATEGORIES= ftp -MASTER_SITES= http://www.time-travellers.org/oftpd/ \ - http://atreides.freenix.no/~anders/ - -MAINTAINER= ports@FreeBSD.org -COMMENT= Threaded, anonymous only FTP server designed for security -WWW= https://www.time-travellers.org/oftpd/ - -LICENSE= BSD2CLAUSE -LICENSE_FILE= ${WRKSRC}/COPYING - -DEPRECATED= Abandoned and has known vulnerability (CVE-2005-2239) -EXPIRATION_DATE=2026-09-30 - -USES= cpe - -GNU_CONFIGURE= yes - -PORTDOCS= README AUTHORS ChangeLog NEWS TODO BUGS -PLIST_FILES= sbin/oftpd share/man/man8/oftpd.8.gz - -OPTIONS_DEFINE= DOCS - -post-patch: - ${REINPLACE_CMD} -e 's|-D_THREAD_SAFE||g' ${WRKSRC}/configure -.if defined(MAX_NUM_CLIENTS) - ${REINPLACE_CMD} -e 's|MAX_NUM_CLIENTS 300|MAX_NUM_CLIENTS ${MAX_NUM_CLIENTS}|g' ${WRKSRC}/src/oftpd.h -.endif - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/src/oftpd ${STAGEDIR}${PREFIX}/sbin - ${INSTALL_MAN} ${WRKSRC}/man/oftpd.8 ${STAGEDIR}${PREFIX}/share/man/man8 - -do-install-DOCS-on: - @${MKDIR} ${STAGEDIR}${DOCSDIR} -.for file in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} -.endfor - -.include <bsd.port.mk> diff --git a/ftp/oftpd/distinfo b/ftp/oftpd/distinfo deleted file mode 100644 index d405f3ee9077..000000000000 --- a/ftp/oftpd/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (oftpd-0.3.7.tar.gz) = b135cd2bc6c54e03e5374845964eab73d5e567160c15bb4226c1c922b1e6d64e -SIZE (oftpd-0.3.7.tar.gz) = 97364 diff --git a/ftp/oftpd/files/patch-src_ftp__session.c b/ftp/oftpd/files/patch-src_ftp__session.c deleted file mode 100644 index 986b222a100c..000000000000 --- a/ftp/oftpd/files/patch-src_ftp__session.c +++ /dev/null @@ -1,29 +0,0 @@ ---- src/ftp_session.c.orig 2004-03-25 20:46:40 UTC -+++ src/ftp_session.c -@@ -1165,7 +1165,7 @@ static void do_retr(ftp_session_t *f, const ftp_comman - /* for sendfile(), we still have to use a loop to avoid - having our watchdog time us out on large files - it does - allow us to avoid an extra copy to/from user space */ --#ifdef HAVE_SENDFILE -+/* #ifdef HAVE_SENDFILE - offset = f->file_offset; - file_size = stat_buf.st_size - offset; - while (offset < stat_buf.st_size) { -@@ -1200,7 +1200,7 @@ static void do_retr(ftp_session_t *f, const ftp_comman - - watchdog_defer_watched(f->watched); - } --#else -+#else */ - for (;;) { - read_ret = read(file_fd, buf, sizeof(buf)); - if (read_ret == -1) { -@@ -1219,7 +1219,7 @@ static void do_retr(ftp_session_t *f, const ftp_comman - - watchdog_defer_watched(f->watched); - } --#endif /* HAVE_SENDFILE */ -+/* #endif */ /* HAVE_SENDFILE */ - } - - /* disconnect */ diff --git a/ftp/oftpd/pkg-descr b/ftp/oftpd/pkg-descr deleted file mode 100644 index 46f6005f60e1..000000000000 --- a/ftp/oftpd/pkg-descr +++ /dev/null @@ -1,7 +0,0 @@ -oftpd is designed to be as secure as an anonymous FTP server can possibly be. -It runs as non-root for most of the time, and uses the Unix chroot() command to -hide most of the systems directories from external users - they cannot change -into them even if the server is totally compromised! It contains its own -directory change code, so that it can run efficiently as a threaded server, and -its own directory listing code (most FTP servers execute the system "ls" -command to list files). diff --git a/ftp/oftpd/pkg-message b/ftp/oftpd/pkg-message deleted file mode 100644 index d5707298c904..000000000000 --- a/ftp/oftpd/pkg-message +++ /dev/null @@ -1,9 +0,0 @@ -[ -{ type: install - message: <<EOM -oftpd only runs standalone, not from inetd. -Create a README file in the root anonymous FTP dir to have it displayed to -users upon login. -EOM -} -] |
