From a9254f4b25b3b91c349ca0f6ca6f30280ba7bf3b Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 6 Mar 2014 18:14:31 +0100 Subject: remove some broken packages entirely --- package/proftpd/Makefile | 43 ---------------- package/proftpd/files/ftpusers | 37 ------------- package/proftpd/files/proftpd.conf | 60 ---------------------- package/proftpd/files/proftpd.conffiles | 2 - package/proftpd/files/proftpd.init | 29 ----------- package/proftpd/files/proftpd.postinst | 3 -- package/proftpd/patches/patch-Make_rules_in | 16 ------ package/proftpd/patches/patch-Makefile_in | 33 ------------ package/proftpd/patches/patch-locale_Makefile_in | 11 ---- .../proftpd/patches/patch-modules_mod_auth_unix_c | 29 ----------- 10 files changed, 263 deletions(-) delete mode 100644 package/proftpd/Makefile delete mode 100644 package/proftpd/files/ftpusers delete mode 100644 package/proftpd/files/proftpd.conf delete mode 100644 package/proftpd/files/proftpd.conffiles delete mode 100644 package/proftpd/files/proftpd.init delete mode 100644 package/proftpd/files/proftpd.postinst delete mode 100644 package/proftpd/patches/patch-Make_rules_in delete mode 100644 package/proftpd/patches/patch-Makefile_in delete mode 100644 package/proftpd/patches/patch-locale_Makefile_in delete mode 100644 package/proftpd/patches/patch-modules_mod_auth_unix_c (limited to 'package/proftpd') diff --git a/package/proftpd/Makefile b/package/proftpd/Makefile deleted file mode 100644 index ff15a601b..000000000 --- a/package/proftpd/Makefile +++ /dev/null @@ -1,43 +0,0 @@ -# This file is part of the OpenADK project. OpenADK is copyrighted -# material, please see the LICENCE file in the top-level directory. - -include $(TOPDIR)/rules.mk - -PKG_NAME:= proftpd -PKG_VERSION:= 1.3.4d -PKG_RELEASE:= 1 -PKG_MD5SUM:= 13c6fd7ce320886adc371c81a3e23f07 -PKG_DESCR:= A very configurable FTP server -PKG_SECTION:= www -PKG_URL:= http://www.proftpd.org/ -PKG_SITES:= ftp://ftp.proftpd.org/distrib/source/ -PKG_NOPARALLEL:= 1 - -PKG_LIBC_DEPENDS:= glibc -PKG_CFLINE_PROFTPD:= depends on ADK_BROKEN - -PKG_FLAVOURS_PROFTPD:= WITH_FTPUSERS -PKGFD_WITH_FTPUSERS:= install /etc/ftpusers along with proftpd - -include $(TOPDIR)/mk/package.mk - -$(eval $(call PKG_template,PROFTPD,proftpd,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) - -CONFIGURE_ARGS+= --disable-cap -CONFIGURE_ENV+= ac_cv_func_setpgrp_void=yes \ - ac_cv_func_setgrent_void=yes -TARGET_LDFLAGS+= -ltinfo - -proftpd-install: - $(INSTALL_DIR) $(IDIR_PROFTPD)/etc - $(INSTALL_DATA) ./files/proftpd.conf $(IDIR_PROFTPD)/etc/ - $(INSTALL_DIR) $(IDIR_PROFTPD)/usr/{s,}bin - $(INSTALL_BIN) $(WRKINST)/usr/bin/ftp{count,dctl,top,who} \ - $(IDIR_PROFTPD)/usr/bin/ - $(INSTALL_BIN) $(WRKINST)/usr/sbin/{ftpshut,proftpd} \ - $(IDIR_PROFTPD)/usr/sbin/ -ifeq (${ADK_PACKAGE_PROFTPD_WITH_FTPUSERS},y) - ${INSTALL_DATA} ./files/ftpusers ${IDIR_PROFTPD}/etc/ -endif - -include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/proftpd/files/ftpusers b/package/proftpd/files/ftpusers deleted file mode 100644 index 4bc8872dc..000000000 --- a/package/proftpd/files/ftpusers +++ /dev/null @@ -1,37 +0,0 @@ -# Provided by ftpbase (dont remove this line!) -# /etc/ftpusers: list of users disallowed FTP access -# $Header: /var/cvsroot/gentoo-x86/net-ftp/ftpbase/files/ftpusers,v 1.1 2005/06/28 14:52:26 uberlord Exp $ - -halt -operator -root -shutdown -sync -bin -daemon -adm -lp -mail -postmaster -news -uucp -man -games -at -cron -www -named -squid -gdm -mysql -postgres -guest -nobody -alias -qmaild -qmaill -qmailp -qmailq -qmailr -qmails -postfix diff --git a/package/proftpd/files/proftpd.conf b/package/proftpd/files/proftpd.conf deleted file mode 100644 index 8d4f7f2fa..000000000 --- a/package/proftpd/files/proftpd.conf +++ /dev/null @@ -1,60 +0,0 @@ -ServerName "ProFTPD Default Installation" -ServerType standalone -DefaultServer on - -# Port 21 is the standard FTP port. -Port 21 - -# Don't use IPv6 support by default. -UseIPv6 off - -# Umask 022 is a good standard umask to prevent new dirs and files -# from being group and world writable. -Umask 022 - -# To prevent DoS attacks, set the maximum number of child processes -# to 30. If you need to allow more than 30 concurrent connections -# at once, simply increase this value. Note that this ONLY works -# in standalone mode, in inetd mode you should use an inetd server -# that allows you to limit maximum number of processes per service -# (such as xinetd). -MaxInstances 30 - -# Set the user and group under which the server will run. -User nobody -Group nogroup - -# To cause every FTP user to be "jailed" (chrooted) into their home -# directory, uncomment this line. -#DefaultRoot ~ - -# Normally, we want files to be overwriteable. -AllowOverwrite on - -# Bar use of SITE CHMOD by default - - DenyAll - - -# A basic anonymous configuration, no upload directories. If you do not -# want anonymous users, simply delete this entire section. - - User ftp - Group ftp - - # We want clients to be able to login with "anonymous" as well as "ftp" - UserAlias anonymous ftp - - # Limit the maximum number of anonymous logins - MaxClients 10 - - # We want 'welcome.msg' displayed at login, and '.message' displayed - # in each newly chdired directory. - DisplayLogin welcome.msg - DisplayChdir .message - - # Limit WRITE everywhere in the anonymous chroot - - DenyAll - - diff --git a/package/proftpd/files/proftpd.conffiles b/package/proftpd/files/proftpd.conffiles deleted file mode 100644 index 3ff0fb2e3..000000000 --- a/package/proftpd/files/proftpd.conffiles +++ /dev/null @@ -1,2 +0,0 @@ -/etc/proftpd.conf -/etc/ftpusers diff --git a/package/proftpd/files/proftpd.init b/package/proftpd/files/proftpd.init deleted file mode 100644 index 8e605652d..000000000 --- a/package/proftpd/files/proftpd.init +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/sh -#PKG proftpd -#INIT 60 -. /etc/rc.conf - -case $1 in -autostop) ;; -autostart) - test x"${proftpd:-NO}" = x"NO" && exit 0 - exec sh $0 start - ;; -start) - [ -f /etc/proftpd.conf ] || exit - /usr/sbin/proftpd - ;; -stop) - kill $(pgrep -f /usr/sbin/proftpd) - ;; -restart) - sh $0 stop - sleep 1 - sh $0 start - ;; -*) - echo "Usage: $0 {start | stop | restart}" - exit 1 - ;; -esac -exit $? diff --git a/package/proftpd/files/proftpd.postinst b/package/proftpd/files/proftpd.postinst deleted file mode 100644 index 0b3fa08aa..000000000 --- a/package/proftpd/files/proftpd.postinst +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -. $IPKG_INSTROOT/etc/functions.sh -add_rcconf proftpd proftpd NO diff --git a/package/proftpd/patches/patch-Make_rules_in b/package/proftpd/patches/patch-Make_rules_in deleted file mode 100644 index e305b0c38..000000000 --- a/package/proftpd/patches/patch-Make_rules_in +++ /dev/null @@ -1,16 +0,0 @@ - do not try to set user or group id when installing ---- proftpd-1.3.3.orig/Make.rules.in 2009-11-18 22:48:25.000000000 +0100 -+++ proftpd-1.3.3/Make.rules.in 2010-05-30 12:47:38.265625000 +0200 -@@ -28,9 +28,9 @@ UTILS_LIBS=@UTILS_LIBS@ @LIBS@ - INSTALL=@INSTALL@ - INSTALL_USER=@install_user@ - INSTALL_GROUP=@install_group@ --INSTALL_BIN=$(INSTALL) @INSTALL_STRIP@ -o $(INSTALL_USER) -g $(INSTALL_GROUP) -m 0755 --INSTALL_SBIN=$(INSTALL) @INSTALL_STRIP@ -o $(INSTALL_USER) -g $(INSTALL_GROUP) -m 0755 --INSTALL_MAN=$(INSTALL) -o $(INSTALL_USER) -g $(INSTALL_GROUP) -m 0644 -+INSTALL_BIN=$(INSTALL) -m 0755 -+INSTALL_SBIN=$(INSTALL) -m 0755 -+INSTALL_MAN=$(INSTALL) -m 0644 - - RM=rm -f - SHELL=@CONFIG_SHELL@ diff --git a/package/proftpd/patches/patch-Makefile_in b/package/proftpd/patches/patch-Makefile_in deleted file mode 100644 index 0f1bdd799..000000000 --- a/package/proftpd/patches/patch-Makefile_in +++ /dev/null @@ -1,33 +0,0 @@ - hiding it won't help, we install as non-root so no chown possible ---- proftpd-1.3.3.orig/Makefile.in 2009-12-16 00:24:42.000000000 +0100 -+++ proftpd-1.3.3/Makefile.in 2010-05-30 12:47:41.187500000 +0200 -@@ -79,7 +79,6 @@ check: proftpd$(EXEEXT) - $(DESTDIR)$(localedir) $(DESTDIR)$(includedir) $(DESTDIR)$(includedir)/proftpd $(DESTDIR)$(libdir) $(DESTDIR)$(pkgconfigdir) $(DESTDIR)$(libdir)/proftpd $(DESTDIR)$(libexecdir) $(DESTDIR)$(localstatedir) $(DESTDIR)$(sysconfdir) $(DESTDIR)$(bindir) $(DESTDIR)$(sbindir) $(DESTDIR)$(mandir) $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man5 $(DESTDIR)$(mandir)/man8: - @if [ ! -d $@ ]; then \ - mkdir -p $@; \ -- chown $(INSTALL_USER):$(INSTALL_GROUP) $@; \ - chmod 0755 $@; \ - fi - -@@ -89,7 +88,6 @@ install-proftpd: proftpd $(DESTDIR)$(inc - rm -f $(DESTDIR)$(sbindir)/in.proftpd ; \ - fi - ln -s proftpd $(DESTDIR)$(sbindir)/in.proftpd -- -chown -h $(INSTALL_USER):$(INSTALL_GROUP) $(DESTDIR)$(sbindir)/in.proftpd - - install-libs: $(DESTDIR)$(libdir)/proftpd - cd lib/ && $(MAKE) install -@@ -125,11 +123,11 @@ install-utils: $(DESTDIR)$(sbindir) $(DE - $(INSTALL_SBIN) ftpshut $(DESTDIR)$(sbindir)/ftpshut - $(INSTALL_BIN) ftptop $(DESTDIR)$(bindir)/ftptop - $(INSTALL_BIN) ftpwho $(DESTDIR)$(bindir)/ftpwho -- $(INSTALL) -o $(INSTALL_USER) -g $(INSTALL_GROUP) -m 0755 src/prxs $(DESTDIR)$(bindir)/prxs -+ $(INSTALL) -m 0755 src/prxs $(DESTDIR)$(bindir)/prxs - - install-conf: $(DESTDIR)$(sysconfdir) - if [ ! -f $(DESTDIR)$(sysconfdir)/proftpd.conf ] ; then \ -- $(INSTALL) -o $(INSTALL_USER) -g $(INSTALL_GROUP) -m 0644 \ -+ $(INSTALL) -m 0644 \ - $(top_srcdir)/sample-configurations/basic.conf \ - $(DESTDIR)$(sysconfdir)/proftpd.conf ; \ - fi diff --git a/package/proftpd/patches/patch-locale_Makefile_in b/package/proftpd/patches/patch-locale_Makefile_in deleted file mode 100644 index 91f274ebd..000000000 --- a/package/proftpd/patches/patch-locale_Makefile_in +++ /dev/null @@ -1,11 +0,0 @@ - drop anything that has to do with owner/group changing *grrr* ---- proftpd-1.3.2b.orig/locale/Makefile.in 2009-04-29 00:50:22.000000000 +0200 -+++ proftpd-1.3.2b/locale/Makefile.in 2010-01-20 18:03:53.909480484 +0100 -@@ -51,7 +51,6 @@ install: $(LANGS) - if [ -f $$lang.mo ]; then \ - if [ ! -d $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES ]; then \ - mkdir -p $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES; \ -- chown $(INSTALL_USER):$(INSTALL_GROUP) $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES; \ - chmod 0755 $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES; \ - fi; \ - $(INSTALL_MAN) $$lang.mo $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(PACKAGE).mo; \ diff --git a/package/proftpd/patches/patch-modules_mod_auth_unix_c b/package/proftpd/patches/patch-modules_mod_auth_unix_c deleted file mode 100644 index a439d6b5a..000000000 --- a/package/proftpd/patches/patch-modules_mod_auth_unix_c +++ /dev/null @@ -1,29 +0,0 @@ ---- proftpd-1.3.3.orig/modules/mod_auth_unix.c 2009-10-14 20:49:31.000000000 +0200 -+++ proftpd-1.3.3/modules/mod_auth_unix.c 2010-05-30 13:02:15.515625000 +0200 -@@ -77,6 +77,7 @@ - # endif - #endif /* PR_USE_SIA */ - -+/* - #ifdef CYGWIN - typedef void *HANDLE; - typedef unsigned long DWORD; -@@ -85,7 +86,8 @@ typedef unsigned long DWORD; - DWORD WINAPI GetVersion(void); - extern HANDLE cygwin_logon_user (const struct passwd *, const char *); - extern void cygwin_set_impersonation_token (const HANDLE); --#endif /* CYGWIN */ -+#endif -+*/ - - #ifdef SETGRENT_VOID - # define RETSETGRENTTYPE void -@@ -738,7 +740,7 @@ MODRET pw_check(cmd_rec *cmd) { - - #else /* !PR_USE_SIA */ - --# ifdef CYGWIN -+# if 0 - /* We have to do special Windows NT voodoo with Cygwin in order to be - * able to switch UID/GID. More info at - * http://cygwin.com/cygwin-ug-net/ntsec.html#NTSEC-SETUID -- cgit v1.2.3