Remove unneeded packages

This commit is contained in:
Jonas Höglund 2019-11-25 15:18:44 +01:00
parent e3f7ad9156
commit 50e836e3e7
4 changed files with 0 additions and 395 deletions

View file

@ -1,86 +0,0 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=picolisp
PKG_VERSION=3.1.10
PKG_RELEASE:=1
PKG_BUILD_DIR := $(BUILD_DIR)/picoLisp
PKG_SOURCE:=picoLisp-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=http://software-lab.de/
PKG_MD5SUM:=ac19fd6ff4d05dd2b15ea00d1ed591e7
PKG_BUILD_DEPENDS+= +libopenssl +@OPENSSL_WITH_EC2M
PKG_LICENSE:=MIT-X11
PKG_LICENSE_FILES:=COPYING
include $(INCLUDE_DIR)/package.mk
define Package/picolisp
SECTION:=lang
CATEGORY:=Languages
TITLE:=PicoLisp interpreter
DEPENDS:= +libopenssl +@OPENSSL_WITH_EC2M
URL:=http://www.picolisp.org/
MAINTAINER:=Jeronimo Pellegrini <j_p@aleph0.info>
endef
define Package/picolisp/description
Picolisp is yet another dialect of the Lisp language, specially written to be radically practical and simple.
endef
TARGET_LDFLAGS += -L$(STAGING_DIR)/usr/lib
TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include
# A hack to make picoLisp's Makefile see the include path:
MAKE_FLAGS += C_INCLUDE_PATH+=$(STAGING_DIR)/usr/include/
define Package/picolisp/install
$(INSTALL_DIR) $(1)/usr/lib
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_DIR) $(1)/usr/lib/picolisp/
$(INSTALL_DIR) $(1)/usr/lib/picolisp/lib
$(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/pil $(1)/usr/bin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/psh $(1)/usr/bin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/watchdog $(1)/usr/bin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/picolisp $(1)/usr/bin/
$(CP) $(PKG_BUILD_DIR)/*.l $(1)/usr/lib/picolisp/
$(CP) $(PKG_BUILD_DIR)/lib/ht \
$(PKG_BUILD_DIR)/lib/ext \
$(PKG_BUILD_DIR)/lib/adm.l \
$(PKG_BUILD_DIR)/lib/app.l \
$(PKG_BUILD_DIR)/lib/boss.l \
$(PKG_BUILD_DIR)/lib/btree.l \
$(PKG_BUILD_DIR)/lib/conDbgc.l \
$(PKG_BUILD_DIR)/lib/db.l \
$(PKG_BUILD_DIR)/lib/debug.l \
$(PKG_BUILD_DIR)/lib/edit.l \
$(PKG_BUILD_DIR)/lib/ed.l \
$(PKG_BUILD_DIR)/lib/form.l \
$(PKG_BUILD_DIR)/lib/frac.l \
$(PKG_BUILD_DIR)/lib/heartbeat.l \
$(PKG_BUILD_DIR)/lib/http.l \
$(PKG_BUILD_DIR)/lib/import.l \
$(PKG_BUILD_DIR)/lib/led.l \
$(PKG_BUILD_DIR)/lib/lint.l \
$(PKG_BUILD_DIR)/lib/math32.l \
$(PKG_BUILD_DIR)/lib/math64.l \
$(PKG_BUILD_DIR)/lib/math.l \
$(PKG_BUILD_DIR)/lib/misc.l \
$(PKG_BUILD_DIR)/lib/pilog.l \
$(PKG_BUILD_DIR)/lib/prof.l \
$(PKG_BUILD_DIR)/lib/ps.l \
$(PKG_BUILD_DIR)/lib/rsa.l \
$(PKG_BUILD_DIR)/lib/scrape.l \
$(PKG_BUILD_DIR)/lib/simul.l \
$(PKG_BUILD_DIR)/lib/sq.l \
$(PKG_BUILD_DIR)/lib/too.l \
$(PKG_BUILD_DIR)/lib/xhtml.l \
$(PKG_BUILD_DIR)/lib/xm.l \
$(PKG_BUILD_DIR)/lib/xml.l \
$(PKG_BUILD_DIR)/lib/xmlrpc.l $(1)/usr/lib/picolisp/lib/
touch $(1)/usr/lib/picolisp/lib/tags
$(STRIP) $(1)/usr/bin/picolisp
endef
$(eval $(call BuildPackage,picolisp))

View file

@ -1,43 +0,0 @@
diff -Nur picoLisp/Makefile picoLisp-new/Makefile
--- picoLisp/Makefile 1969-12-31 21:00:00.000000000 -0300
+++ picoLisp-new/Makefile 2015-06-02 15:38:07.469726899 -0300
@@ -0,0 +1,6 @@
+all:
+ (cd src; make)
+
+clean:
+ (cd src; make clean)
+
diff -Nur picoLisp/src/Makefile picoLisp-new/src/Makefile
--- picoLisp/src/Makefile 2015-03-31 15:48:22.000000000 -0300
+++ picoLisp-new/src/Makefile 2015-06-02 15:40:43.541491599 -0300
@@ -6,9 +6,13 @@
picoFiles = main.c gc.c apply.c flow.c sym.c subr.c big.c io.c net.c tab.c
-CC = gcc
+#CC = gcc
# CCLD is the cc (compiler frontend) to use for the link step.
-CCLD = gcc
+#CCLD = gcc
+
+# Honor the $(CC) variable, inherited form the environment (it's essential
+# when cross-compiling)
+CCLD = $(CC)
CFLAGS = -c -O2 -pipe \
-falign-functions=32 -fomit-frame-pointer -fno-strict-aliasing \
@@ -19,10 +23,10 @@
ifeq ($(shell uname), Linux)
OS = Linux
- CFLAGS += -m32
- PICOLISP-FLAGS = -m32 -rdynamic
+ CFLAGS += -mabi=32 -fPIC
+ PICOLISP-FLAGS = -rdynamic
LIB-FLAGS = -lm -ldl
- DYNAMIC-LIB-FLAGS = -m32 -shared -export-dynamic
+ DYNAMIC-LIB-FLAGS = -shared -export-dynamic -fPIC
LCRYPT = -lcrypt
STRIP = strip
else

View file

@ -1,223 +0,0 @@
#
# Copyright (C) 2006-2011 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=samba2
PKG_VERSION:=2.2.12
PKG_RELEASE:=1
PKG_SOURCE_URL:=https://dev.iopsys.eu/fork/samba2.git
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=d687d07a137981f4fe78cc289b040e6426c61e29
PKG_BUILD_DIR=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
PKG_LICENSE:=GPL-2.0-only
include $(INCLUDE_DIR)/package.mk
define Package/samba2/Default
SUBMENU:=Filesystem
SECTION:=net
CATEGORY:=Network
TITLE:=samba - NetBIOS/SMB implementation
DEPENDS:= +libreadline +ncurses +popt
URL:=http://www.samba.org/
endef
define Package/samba2/Default/description
The Samba software suite is a collection of programs that implements the
SMB protocol for unix systems, allowing you to serve files and printers to
Windows, NT, OS/2 and DOS clients. This protocol is sometimes also referred
to as the LanManager or Netbios protocol.
endef
define Package/samba2-common
$(call Package/samba2/Default)
MENU:=1
TITLE:=NetBIOS/SMB server and client shared files
endef
#define Package/samba2-server
# $(call Package/samba2/Default)
# TITLE:=NetBIOS/SMB file and print server
# DEPENDS:=samba2-common
#endef
define Package/samba2-client
$(call Package/samba2/Default)
TITLE:=NetBIOS/SMB simple client
DEPENDS:=samba2-common
endef
TARGET_CFLAGS += $(FPIC)
WERR := -Werror=format-security
TARGET_CFLAGS_WITHOUT_WERR := $(filter-out $(WERR),$(TARGET_CFLAGS))
define Build/Compile
rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR)
(cd $(PKG_BUILD_DIR)/source ; rm -rf config.{cache,status} ; \
CFLAGS="-D_LARGEFILE64_SOURCE -D_GNU_SOURCE" \
./configure \
$(HOST_CONFIGURE_VARS) \
$(HOST_CONFIGURE_ARGS) \
--program-prefix="" \
--program-suffix="" \
--prefix=/usr \
--exec-prefix=/usr \
--bindir=/usr/bin \
--datadir=/usr/share \
--includedir=/usr/include \
--infodir=/usr/share/info \
--libdir=/usr/lib \
--libexecdir=/usr/lib \
--localstatedir=/var/log/samba2 \
--mandir=/usr/share/man \
--sbindir=/usr/sbin \
--sysconfdir=/etc/samba2 \
$(DISABLE_NLS) \
--with-included-popt \
--with-lockdir=/var/run/samba2 \
--with-privatedir=/etc/samba2 \
--with-readline=no \
);
$(MAKE) -C $(PKG_BUILD_DIR)/source \
bin/make_smbcodepage bin/make_unicodemap
(cd $(PKG_BUILD_DIR)/source/bin ; \
mv -f make_smbcodepage make_smbcodepage.old ; \
mv -f make_unicodemap make_unicodemap.old ; \
);
$(MAKE) -C $(PKG_BUILD_DIR)/source \
clean
(cd $(PKG_BUILD_DIR)/source; rm -rf config.{cache,status}; \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS_WITHOUT_WERR) -D_GNU_SOURCE -DNDEBUG -DSHMEM_SIZE=524288" \
CPPFLAGS="$(TARGET_CPPFLAGS)" \
LDFLAGS="$(TARGET_LDFLAGS) $(LIBGCC_S)" \
ac_cv_lib_cups_httpConnect=no \
samba_cv_FTRUNCATE_NEEDS_ROOT=no \
samba_cv_HAVE_BROKEN_FCNTL64_LOCKS=no \
samba_cv_HAVE_BROKEN_GETGROUPS=no \
samba_cv_HAVE_BROKEN_READDIR=no \
samba_cv_HAVE_FCNTL_LOCK=yes \
samba_cv_HAVE_FNMATCH=yes \
samba_cv_HAVE_FTRUNCATE_EXTEND=no \
samba_cv_HAVE_GETTIMEOFDAY_TZ=yes \
samba_cv_HAVE_IFACE_AIX=no \
samba_cv_HAVE_IFACE_IFCONF=yes \
samba_cv_HAVE_IFACE_IFREQ=yes \
samba_cv_HAVE_INO64_T=yes \
samba_cv_HAVE_IRIX_SPECIFIC_CAPABILITIES=no \
samba_cv_HAVE_OFF64_T=yes \
samba_cv_HAVE_ROOT=yes \
samba_cv_HAVE_SECURE_MKSTEMP=yes \
samba_cv_HAVE_SHARED_MMAP=yes \
samba_cv_HAVE_STRUCT_FLOCK64=yes \
samba_cv_HAVE_SYSV_IPC=no \
samba_cv_HAVE_TRUNCATED_SALT=no \
samba_cv_HAVE_UNION_SEMUN=no \
samba_cv_HAVE_UNSIGNED_CHAR=yes \
samba_cv_NEED_SGI_SEMUN_HACK=no \
samba_cv_REPLACE_INET_NTOA=no \
samba_cv_SIZEOF_INO_T=4 \
samba_cv_SIZEOF_OFF_T=4 \
samba_cv_SYSCONF_SC_NGROUPS_MAX=yes \
samba_cv_USE_SETEUID=yes \
samba_cv_USE_SETRESUID=no \
samba_cv_USE_SETREUID=yes \
samba_cv_USE_SETUIDX=no \
samba_cv_have_longlong=yes \
samba_cv_have_setresgid=no \
samba_cv_have_setresuid=no \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) \
--program-prefix="" \
--program-suffix="" \
--prefix=/usr \
--exec-prefix=/usr \
--bindir=/usr/bin \
--datadir=/usr/share \
--includedir=/usr/include \
--infodir=/usr/share/info \
--libdir=/usr/lib \
--libexecdir=/usr/lib \
--localstatedir=/var/log/samba2 \
--mandir=/usr/share/man \
--sbindir=/usr/sbin \
--sysconfdir=/etc/samba2 \
$(DISABLE_NLS) \
--with-included-popt \
--with-lockdir=/var/run/samba2 \
--with-privatedir=/etc/samba2 \
--with-readline=no \
--with-syslog \
);
$(MAKE) -C $(PKG_BUILD_DIR)/source \
$(TARGET_CONFIGURE_OPTS) \
CODEPAGEDIR="/usr/share/samba2" \
all
(cd $(PKG_BUILD_DIR)/source/bin ; \
mv -f make_smbcodepage.old make_smbcodepage ; touch make_smbcodepage ; \
mv -f make_unicodemap.old make_unicodemap ; touch make_unicodemap ; \
);
mkdir -p $(PKG_INSTALL_DIR)/usr/share/samba2
mkdir -p $(PKG_INSTALL_DIR)/var/log
$(MAKE) -C $(PKG_BUILD_DIR)/source \
BASEDIR="$(PKG_INSTALL_DIR)/usr" \
BINDIR="$(PKG_INSTALL_DIR)/usr/bin" \
SBINDIR="$(PKG_INSTALL_DIR)/usr/bin" \
LIBDIR="$(PKG_INSTALL_DIR)/usr/lib" \
VARDIR="$(PKG_INSTALL_DIR)/var/log/samba2" \
MANDIR="$(PKG_INSTALL_DIR)/usr/share/man" \
CONFIGDIR="$(PKG_INSTALL_DIR)/etc/samba2" \
PRIVATEDIR="$(PKG_INSTALL_DIR)/etc/samba2" \
SWATDIR="$(PKG_INSTALL_DIR)/usr/swat" \
LOCKDIR="$(PKG_INSTALL_DIR)/var/run/samba2" \
SAMBABOOK="$(PKG_INSTALL_DIR)/usr/swat/using_samba2" \
CODEPAGEDIR="$(PKG_INSTALL_DIR)/usr/share/samba2" \
install
endef
define Package/samba2-common/install
$(INSTALL_DIR) $(1)/etc/samba2
# $(INSTALL_DATA) ./files/smb.conf $(1)/etc/samba2/smb.conf
$(INSTALL_DIR) $(1)/usr/bin
# $(INSTALL_BIN) $(PKG_BUILD_DIR)/source/bin/smbpasswd.shared $(1)/usr/bin/smbpasswd
$(INSTALL_DIR) $(1)/usr/share/samba2
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/samba2/codepage.{437,850} $(1)/usr/share/samba2/
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/samba2/unicode_map.{437,850,ISO8859-1,ISO8859-15} $(1)/usr/share/samba2/
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/samba2/codepage.852 $(1)/usr/share/samba2/
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/samba2/unicode_map.{852,ISO8859-2} $(1)/usr/share/samba2/
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/samba2/codepage.{866,1251} $(1)/usr/share/samba2/
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/samba2/unicode_map.{866,ISO8859-5,KOI8-R,1251} $(1)/usr/share/samba2/
endef
define Package/samba2-common/conffiles
/etc/samba2/smb.conf
endef
#define Package/samba2-server/install
# $(INSTALL_DIR) $(1)/etc/init.d
# $(INSTALL_BIN) ./files/samba2.init $(1)/etc/init.d/samba2
# $(INSTALL_DIR) $(1)/usr/lib
# $(INSTALL_BIN) $(PKG_BUILD_DIR)/source/bin/libsmb.so $(1)/usr/lib/
# $(INSTALL_DIR) $(1)/usr/sbin
# $(INSTALL_BIN) $(PKG_BUILD_DIR)/source/bin/nmbd.shared $(1)/usr/sbin/nmbd
# $(INSTALL_BIN) $(PKG_BUILD_DIR)/source/bin/smbd.shared $(1)/usr/sbin/smbd
#endef
define Package/samba2-client/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/rpcclient $(1)/usr/bin/
endef
$(eval $(call BuildPackage,samba2-common))
#$(eval $(call BuildPackage,samba2-server))
$(eval $(call BuildPackage,samba2-client))

View file

@ -1,43 +0,0 @@
#
# Copyright (C) 2009 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=speedtest-cli
PKG_RELEASE:=1
PKG_SOURCE:=speedtest_cli.py
PKG_SOURCE_URL:=https://raw.githubusercontent.com/sivel/speedtest-cli/master
PKG_LICENSE:=Apache-2.0
PKG_LICENSE_FILES:=LICENSE
include $(INCLUDE_DIR)/package.mk
define Package/speedtest-cli
SECTION:=utils
CATEGORY:=Utilities
TITLE:=speedtest-cli utility
DEPENDS:=+python +python-mini +python-openssl +python-expat
URL:=https://github.com/sivel/speedtest-cli
endef
define Package/speedtest-cli/description
Command line interface for testing internet bandwidth using speedtest.net.
endef
define Build/Prepare
endef
define Build/Compile
endef
define Package/speedtest-cli/install
$(INSTALL_DIR) $(1)/sbin
$(CP) $(DL_DIR)/speedtest_cli.py $(1)/sbin/
chmod 744 $(1)/sbin/speedtest_cli.py
endef
$(eval $(call BuildPackage,speedtest-cli))