View | Details | Raw Unified | Return to bug 256840
Collapse All | Expand All

(-)b/MOVED (-1 lines)
Lines 16198-16204 textproc/elasticsearch5-search-guard||2021-04-06|Has expired: textproc/elasticse Link Here
16198
multimedia/gnome-subtitles||2021-04-06|Has expired: outdated, depends on deprecated library www/gtkhtml3
16198
multimedia/gnome-subtitles||2021-04-06|Has expired: outdated, depends on deprecated library www/gtkhtml3
16199
net/libproxy-mozjs||2021-04-06|Has expired: Uses EOL Python 2.7 via lang/spidermonkey52
16199
net/libproxy-mozjs||2021-04-06|Has expired: Uses EOL Python 2.7 via lang/spidermonkey52
16200
lang/spidermonkey52|lang/spidermonkey78|2021-04-06|Has expired: Uses Python 2.7 which is EOLed upstream
16200
lang/spidermonkey52|lang/spidermonkey78|2021-04-06|Has expired: Uses Python 2.7 which is EOLed upstream
16201
ftp/wzdftpd||2021-04-07|Has expired: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
16202
astro/roadmap||2021-04-07|Has expired: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
16201
astro/roadmap||2021-04-07|Has expired: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
16203
games/cosmo||2021-04-07|Has expired: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
16202
games/cosmo||2021-04-07|Has expired: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
16204
games/bomberinstinct||2021-04-07|Has expired: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
16203
games/bomberinstinct||2021-04-07|Has expired: Unmaintained and dead upstream, does not build with -fno-common (llvm 11)
(-)b/ftp/Makefile (+1 lines)
Lines 93-98 Link Here
93
    SUBDIR += wmget
93
    SUBDIR += wmget
94
    SUBDIR += wput
94
    SUBDIR += wput
95
    SUBDIR += wxdfast
95
    SUBDIR += wxdfast
96
    SUBDIR += wzdftpd
96
    SUBDIR += yafc
97
    SUBDIR += yafc
97
98
98
.include <bsd.port.subdir.mk>
99
.include <bsd.port.subdir.mk>
(-)b/ftp/wzdftpd/Makefile (+93 lines)
Added Link Here
1
# Created by: Roman Bogorodskiy
2
3
PORTNAME=	wzdftpd
4
PORTVERSION=	0.8.3
5
PORTREVISION=	8
6
CATEGORIES=	ftp
7
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-sources/${PORTNAME}-${PORTVERSION:R}
8
9
MAINTAINER=	fuz@fuz.su
10
COMMENT=	Modular FTP server configurable online using SITE commands
11
12
LICENSE=	GPLv2+
13
LICENSE_FILE=	${WRKSRC}/COPYING
14
15
USES=		autoreconf gettext-tools libtool localbase pkgconfig
16
GNU_CONFIGURE=	yes
17
CONFIGURE_ARGS=	--sysconfdir=${ETCDIR} --without-pam --disable-bonjour
18
INSTALL_TARGET=	install-strip
19
USE_LDCONFIG=	yes
20
21
USE_RC_SUBR=	wzdftpd
22
23
OPTIONS_DEFINE=	AVAHI ICONV IPV6 MYSQL PERL PGSQL SQLITE TCL DOCS
24
OPTIONS_RADIO=	TLS
25
OPTIONS_RADIO_TLS=	GNUTLS OPENSSL
26
OPTIONS_DEFAULT=	AVAHI GNUTLS ICONV IPV6 PERL SQLITE
27
OPTIONS_SUB=	yes
28
29
ICONV_CONFIGURE_ON=	${ICONV_CONFIGURE_ARG}
30
ICONV_CONFIGURE_OFF=	--disable-utf8
31
ICONV_USES=		iconv
32
33
TCL_CONFIGURE_ON=	--with-tcl=${TCL_LIBDIR}
34
TCL_CONFIGURE_OFF=	--without-tcl
35
TCL_USES=		tcl
36
37
OPENSSL_CONFIGURE_ENABLE=	openssl
38
OPENSSL_USES=		ssl
39
OPENSSL_BROKEN=		Does not build with option OPENSSL, use GNUTLS instead:\
40
			wzd_tls.c:300:42: error: use of undeclared identifier 'STACK'
41
42
GNUTLS_CONFIGURE_ENABLE=	gnutls
43
GNUTLS_LIB_DEPENDS=		libgnutls.so:security/gnutls
44
45
IPV6_CONFIGURE_ENABLE=	ipv6
46
47
PERL_CONFIGURE_ENABLE=	perl
48
PERL_USES=		perl5
49
50
MYSQL_CONFIGURE_ENABLE=	mysql
51
MYSQL_USES=		mysql
52
53
PGSQL_CONFIGURE_ON=	--with-pgsql=${LOCALBASE}
54
PGSQL_CONFIGURE_OFF=	--disable-pgsql
55
PGSQL_USES=		pgsql
56
57
SQLITE_CONFIGURE_ENABLE=	sqlite3
58
SQLITE_USES=			sqlite:3
59
60
AVAHI_CONFIGURE_ON=	--with-zeroconf --enable-avahi
61
AVAHI_LIB_DEPENDS=	libdbus-1.so:devel/dbus \
62
			libavahi-core.so:net/avahi-app
63
64
post-patch:
65
	@${TOUCH} ${WRKSRC}/config.rpath
66
	@${ECHO_CMD} "ACLOCAL_AMFLAGS= -I ac-helpers" >> ${WRKSRC}/Makefile.am
67
	@${REINPLACE_CMD} -e \
68
		'/LDFLAGS/s|@PTHREAD_CFLAGS@|@LTLIBICONV@|' \
69
		${WRKSRC}/libwzd-core/Makefile.am
70
	@${REINPLACE_CMD} -e \
71
		's|INSTALLDIRS=vendor|INSTALLPRIVLIB=$${prefix}/lib| ; \
72
		 /MAKE/s| install| pure_install|' \
73
		${WRKSRC}/libwzd-perl/Makefile.am
74
.for i in backends modules
75
	@${FIND} ${WRKSRC}/${i} -name "Makefile.am" | ${XARGS} \
76
		${REINPLACE_CMD} -e \
77
		'/^libdir/s|$${pkgdatadir}|$${prefix}/lib/wzdftpd|'
78
.endfor
79
	@${FIND} ${WRKSRC} -name "*_tls.c" | ${XARGS} ${REINPLACE_CMD} -e \
80
		'/<gcrypt.h>/d ; \
81
		 /gcry_control/d' \
82
83
post-install:
84
	${INSTALL_DATA} ${WRKSRC}/*.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig
85
86
post-install-DOCS-on:
87
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
88
.for i in AUTHORS ChangeLog NEWS Permissions.ReadMeFirst README \
89
	TLS.ReadMeFirst UPGRADING wzd_tls.cnf
90
	${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
91
.endfor
92
93
.include <bsd.port.mk>
(-)b/ftp/wzdftpd/distinfo (+2 lines)
Added Link Here
1
SHA256 (wzdftpd-0.8.3.tar.gz) = 14b958739bfe8f2c9e665b036ea627f7830332a43a32000feb1b6e632c18ec5d
2
SIZE (wzdftpd-0.8.3.tar.gz) = 850981
(-)b/ftp/wzdftpd/files/patch-ac-helpers__tls.m4 (+11 lines)
Added Link Here
1
--- ac-helpers/tls.m4.orig	2004-10-26 11:14:48 UTC
2
+++ ac-helpers/tls.m4
3
@@ -22,7 +22,7 @@ AC_DEFUN([WZD_TLS],
4
   )
5
 
6
 if test "$gnutls" = "yes"; then
7
-AM_PATH_LIBGNUTLS(0.9.8,wzd_have_gnutls=yes)
8
+PKG_CHECK_MODULES(LIBGNUTLS, [gnutls], [wzd_have_gnutls=yes], [wzd_have_gnutls=no])
9
 fi
10
 
11
 # openssl is checked only if gnutls was not found or disabled
(-)b/ftp/wzdftpd/files/patch-libwzd-core_wzd_tls.c (+52 lines)
Added Link Here
1
--- libwzd-core/wzd_tls.c.orig	2007-10-25 17:25:33 UTC
2
+++ libwzd-core/wzd_tls.c
3
@@ -946,19 +946,13 @@ int tls_exit(void)
4
 
5
 static gnutls_session initialize_tls_session(gnutls_connection_end con_end)
6
 {
7
-  /* Allow connections to servers that have OpenPGP keys as well.
8
-   */
9
-  const int cert_type_priority[3] = { GNUTLS_CRT_X509, GNUTLS_CRT_OPENPGP, 0 };
10
-
11
   gnutls_session session;
12
 
13
   gnutls_init(&session, con_end);
14
 
15
-  /* avoid calling all the priority functions, since the defaults
16
-   * are adequate.
17
+  /* Allow connections to servers that have OpenPGP keys as well.
18
    */
19
-  gnutls_set_default_priority(session);
20
-  gnutls_certificate_type_set_priority(session, cert_type_priority);
21
+  gnutls_priority_set_direct(session, "NORMAL:+CTYPE-OPENPGP", NULL);
22
 
23
   gnutls_credentials_set(session, GNUTLS_CRD_CERTIFICATE, x509_cred);
24
 
25
@@ -1001,27 +995,6 @@ int tls_auth (const char *type, wzd_cont
26
   }
27
 
28
   /** \todo XXX parse TLS cipher names */
29
-  {
30
-    /** Note that the priority is set on the client. The server does not use
31
-     * the algorithm's priority except for disabling algorithms that were not
32
-     * specified.
33
-     */
34
-    const int cipherPriority[] =
35
-    {
36
-      GNUTLS_CIPHER_ARCFOUR_128,
37
-      GNUTLS_CIPHER_3DES_CBC,
38
-      GNUTLS_CIPHER_AES_128_CBC,
39
-      GNUTLS_CIPHER_AES_256_CBC,
40
-      GNUTLS_CIPHER_ARCFOUR_40,
41
-#if ( (LIBGNUTLS_VERSION_MAJOR > 1) || (LIBGNUTLS_VERSION_MINOR >= 3) )
42
-      GNUTLS_CIPHER_RC2_40_CBC,
43
-      GNUTLS_CIPHER_DES_CBC,
44
-#endif
45
-      0
46
-    };
47
-
48
-    gnutls_cipher_set_priority(session, cipherPriority);
49
-  }
50
 
51
   /* ensure socket is non-blocking */
52
 #if defined(_MSC_VER) || (defined(__CYGWIN__) && defined(WINSOCK_SUPPORT))
(-)b/ftp/wzdftpd/files/patch-modules_sfv_libwzd__sfv__main.h (+11 lines)
Added Link Here
1
--- modules/sfv/libwzd_sfv_main.h.orig	2021-06-25 21:46:48 UTC
2
+++ modules/sfv/libwzd_sfv_main.h
3
@@ -15,7 +15,7 @@ typedef struct {
4
   double size_total;
5
 } wzd_release_stats;
6
 
7
-wzd_sfv_config SfvConfig; /*Our main SFV config */
8
+extern wzd_sfv_config SfvConfig; /*Our main SFV config */
9
 char * create_filepath(const char *dir, const char * file);
10
 
11
 
(-)b/ftp/wzdftpd/files/wzdftpd.in (+25 lines)
Added Link Here
1
#!/bin/sh
2
3
# Start or stop wzdftpd
4
5
# PROVIDE: wzdftpd
6
# REQUIRE: DAEMON
7
# BEFORE: LOGIN
8
# KEYWORD: shutdown
9
#
10
11
# Add the following lines to /etc/rc.conf to enable wzdftpd
12
# wzdftpd_enable="YES"
13
# wzdftpd_flags="<set as needed>"
14
15
wzdftpd_enable=${wzdftpd_enable:-"NO"}		# Enable wzdftpd
16
17
. /etc/rc.subr
18
19
name="wzdftpd"
20
rcvar=wzdftpd_enable
21
command="%%PREFIX%%/sbin/${name}"
22
required_files="%%PREFIX%%/etc/wzdftpd/wzd.cfg"
23
24
load_rc_config $name
25
run_rc_command "$1"
(-)b/ftp/wzdftpd/pkg-descr (+19 lines)
Added Link Here
1
wzdftpd is a ftp server designed to be modular and entirely configurable online
2
using SITE commands.
3
4
wzdftpd offers the following features:
5
- Simple configuration file, supporting inclusions
6
- Online administration, using SITE commands
7
- Backends to store users/groups in different structures
8
- Modules: internal, using shared librairies, or external
9
  (scripts/applications)
10
- Users are virtual: you do not need to create users in system
11
- SSL/TLS support
12
- Server is designed to run as a non-privileged user to enforce security
13
- Server can detect ip changes (dynamic ips) and set ip and passive ip
14
  accordingly
15
- Cross devices operations (copy/move) (though can be slow)
16
- Logging support (compatible with the wu-ftpd standard)
17
- Designed for high performances: coded with C, multithreaded
18
19
WWW: https://sourceforge.net/projects/wzdftpd/
(-)b/ftp/wzdftpd/pkg-plist (-1 / +131 lines)
Added Link Here
0
- 
1
bin/siteconfig
2
bin/siteuptime
3
bin/sitewho
4
bin/wzd-config
5
man/man1/siteconfig.1.gz
6
man/man1/siteuptime.1.gz
7
man/man1/sitewho.1.gz
8
man/man1/wzd-config.1.gz
9
man/man8/wzdftpd.8.gz
10
%%ETCDIR%%/file_ginfo.txt
11
%%ETCDIR%%/file_group.txt
12
%%ETCDIR%%/file_groups.txt
13
%%ETCDIR%%/file_help.txt
14
%%ETCDIR%%/file_rules.txt
15
%%ETCDIR%%/file_swho.txt
16
%%ETCDIR%%/file_user.txt
17
%%ETCDIR%%/file_users.txt
18
%%ETCDIR%%/file_vfs.txt
19
%%ETCDIR%%/file_who.txt
20
%%ETCDIR%%/users.sample
21
%%ETCDIR%%/wzd.cfg.sample
22
%%ETCDIR%%/wzd.pem
23
include/wzdftpd/libwzd-auth/wzd_auth.h
24
include/wzdftpd/libwzd-auth/wzd_base64.h
25
include/wzdftpd/libwzd-auth/wzd_crypt.h
26
include/wzdftpd/libwzd-auth/wzd_krb5.h
27
include/wzdftpd/libwzd-auth/wzd_md5.h
28
include/wzdftpd/libwzd-auth/wzd_md5crypt.h
29
include/wzdftpd/libwzd-auth/wzd_pam.h
30
include/wzdftpd/libwzd-auth/wzd_sha1.h
31
include/wzdftpd/libwzd-auth/wzd_tls.h
32
include/wzdftpd/libwzd-base/dlist.h
33
include/wzdftpd/libwzd-base/hash.h
34
include/wzdftpd/libwzd-base/list.h
35
include/wzdftpd/libwzd-base/stack.h
36
include/wzdftpd/libwzd-base/strpcpy.h
37
include/wzdftpd/libwzd-base/wzd_strlcat.h
38
include/wzdftpd/libwzd-base/wzd_strtok_r.h
39
include/wzdftpd/libwzd-core/arch/bsd.h
40
include/wzdftpd/libwzd-core/arch/win32.h
41
include/wzdftpd/libwzd-core/wzd_ClientThread.h
42
include/wzdftpd/libwzd-core/wzd_action.h
43
include/wzdftpd/libwzd-core/wzd_all.h
44
include/wzdftpd/libwzd-core/wzd_backend.h
45
include/wzdftpd/libwzd-core/wzd_cache.h
46
include/wzdftpd/libwzd-core/wzd_commands.h
47
include/wzdftpd/libwzd-core/wzd_configfile.h
48
include/wzdftpd/libwzd-core/wzd_configloader.h
49
include/wzdftpd/libwzd-core/wzd_crc32.h
50
include/wzdftpd/libwzd-core/wzd_crontab.h
51
include/wzdftpd/libwzd-core/wzd_data.h
52
include/wzdftpd/libwzd-core/wzd_debug.h
53
include/wzdftpd/libwzd-core/wzd_dir.h
54
include/wzdftpd/libwzd-core/wzd_events.h
55
include/wzdftpd/libwzd-core/wzd_file.h
56
include/wzdftpd/libwzd-core/wzd_fs.h
57
include/wzdftpd/libwzd-core/wzd_group.h
58
include/wzdftpd/libwzd-core/wzd_hardlimits.h
59
include/wzdftpd/libwzd-core/wzd_ip.h
60
include/wzdftpd/libwzd-core/wzd_libmain.h
61
include/wzdftpd/libwzd-core/wzd_list.h
62
include/wzdftpd/libwzd-core/wzd_log.h
63
include/wzdftpd/libwzd-core/wzd_login.h
64
include/wzdftpd/libwzd-core/wzd_messages.h
65
include/wzdftpd/libwzd-core/wzd_misc.h
66
include/wzdftpd/libwzd-core/wzd_mod.h
67
include/wzdftpd/libwzd-core/wzd_mutex.h
68
include/wzdftpd/libwzd-core/wzd_perm.h
69
include/wzdftpd/libwzd-core/wzd_protocol.h
70
include/wzdftpd/libwzd-core/wzd_ratio.h
71
include/wzdftpd/libwzd-core/wzd_section.h
72
include/wzdftpd/libwzd-core/wzd_shm.h
73
include/wzdftpd/libwzd-core/wzd_site.h
74
include/wzdftpd/libwzd-core/wzd_site_group.h
75
include/wzdftpd/libwzd-core/wzd_site_user.h
76
include/wzdftpd/libwzd-core/wzd_socket.h
77
include/wzdftpd/libwzd-core/wzd_string.h
78
include/wzdftpd/libwzd-core/wzd_structs.h
79
include/wzdftpd/libwzd-core/wzd_threads.h
80
include/wzdftpd/libwzd-core/wzd_tls.h
81
include/wzdftpd/libwzd-core/wzd_types.h
82
include/wzdftpd/libwzd-core/wzd_user.h
83
include/wzdftpd/libwzd-core/wzd_utf8.h
84
include/wzdftpd/libwzd-core/wzd_vars.h
85
include/wzdftpd/libwzd-core/wzd_vfs.h
86
include/wzdftpd/libwzd.h
87
include/wzdftpd/libwzd_codes.h
88
include/wzdftpd/libwzd_err.h
89
include/wzdftpd/libwzd_pv.h
90
include/wzdftpd/libwzd_socket.h
91
include/wzdftpd/libwzd_tls.h
92
lib/libwzd.a
93
lib/libwzd.so
94
lib/libwzd.so.0
95
lib/libwzd.so.0.801.1
96
lib/libwzd_core.a
97
lib/libwzd_core.so
98
lib/libwzd_core.so.0
99
lib/libwzd_core.so.0.801.1
100
%%PERL%%%%SITE_ARCH%%/auto/wzdftpd/wzdftpd.so
101
%%PERL%%%%SITE_ARCH%%/wzdftpd.pm
102
%%MYSQL%%lib/wzdftpd/backends/libwzdmysql.a
103
%%MYSQL%%lib/wzdftpd/backends/libwzdmysql.so
104
%%PGSQL%%lib/wzdftpd/backends/libwzdpgsql.a
105
%%PGSQL%%lib/wzdftpd/backends/libwzdpgsql.so
106
lib/wzdftpd/backends/libwzdplaintext.a
107
lib/wzdftpd/backends/libwzdplaintext.so
108
%%SQLITE%%lib/wzdftpd/backends/libwzdsqlite.a
109
%%SQLITE%%lib/wzdftpd/backends/libwzdsqlite.so
110
lib/wzdftpd/modules/libwzd_debug.a
111
lib/wzdftpd/modules/libwzd_debug.so
112
%%PERL%%lib/wzdftpd/modules/libwzd_perl.a
113
%%PERL%%lib/wzdftpd/modules/libwzd_perl.so
114
%%PERL%%%%PERL5_MAN3%%/wzdftpd.3.gz
115
lib/wzdftpd/modules/libwzd_sfv.a
116
lib/wzdftpd/modules/libwzd_sfv.so
117
%%TCL%%lib/wzdftpd/modules/libwzd_tcl.a
118
%%TCL%%lib/wzdftpd/modules/libwzd_tcl.so
119
%%AVAHI%%lib/wzdftpd/modules/libwzd_zeroconf.a
120
%%AVAHI%%lib/wzdftpd/modules/libwzd_zeroconf.so
121
libdata/pkgconfig/wzdftpd.pc
122
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
123
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
124
%%PORTDOCS%%%%DOCSDIR%%/NEWS
125
%%PORTDOCS%%%%DOCSDIR%%/Permissions.ReadMeFirst
126
%%PORTDOCS%%%%DOCSDIR%%/README
127
%%PORTDOCS%%%%DOCSDIR%%/TLS.ReadMeFirst
128
%%PORTDOCS%%%%DOCSDIR%%/UPGRADING
129
%%PORTDOCS%%%%DOCSDIR%%/wzd_tls.cnf
130
sbin/wzdftpd
131
share/aclocal/wzd.m4

Return to bug 256840