mirror of
https://github.com/openwrt/packages.git
synced 2025-01-31 01:22:13 +00:00
3e61258604
Currently we're seeing random build failures, caused by autofoo being called on very ancient bundled autofoo: cd . && aclocal aclocal.real: warning: autoconf input should be named 'configure.ac', not 'configure.in' acinclude.m4:2: warning: underquoted definition of AC_REPLACE_GNU_GETOPT acinclude.m4:2: run info Automake 'Extending aclocal' acinclude.m4:2: or see https://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal configure.in:106: error: automatic de-ANSI-fication support has been removed For some reason that `touch` based neutralization introduced in commit 6d6c4b21b5e2 ("lrzsz: update to v0.12.21rc and fix a CVE") doesn't always work. So lets fix it by removing the autofoo bits from the bundled Makefile.in and while at it remove processing of man and testsuite subdirs to save some computing cycles. Fixes: #25543 Fixes: 6d6c4b21b5e2 ("lrzsz: update to v0.12.21rc and fix a CVE") Signed-off-by: Petr Štetiar <ynezz@true.cz>
63 lines
1.6 KiB
Makefile
63 lines
1.6 KiB
Makefile
#
|
|
# Copyright (C) 2006-2016 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:=lrzsz
|
|
PKG_VERSION:=0.12.21
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
|
|
PKG_SOURCE_URL:=@DEBIAN/pool/main/l/lrzsz/
|
|
PKG_HASH:=3262e5df47b108d33e184ff3bf5af14ddca1ac15118ac4ed9171a57c1593ae00
|
|
PKG_BUILD_DIR=$(BUILD_DIR)/lrzsz-990823
|
|
|
|
PKG_MAINTAINER:=Hsing-Wang Liao <kuoruan@gmail.com>
|
|
PKG_LICENSE:=GPL-2.0-or-later
|
|
PKG_LICENSE_FILES:=COPYING
|
|
PKG_CPE_ID:=cpe:/a:lrzsz_project:lrzsz
|
|
|
|
PKG_INSTALL:=1
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/lrzsz
|
|
SECTION:=utils
|
|
CATEGORY:=Utilities
|
|
TITLE:=Tools for zmodem/xmodem/ymodem file transfer
|
|
URL:=https://ohse.de/uwe/software/lrzsz.html
|
|
endef
|
|
|
|
define Package/lrzsz/description
|
|
lrzsz is a cosmetically modified zmodem/ymodem/xmodem package built
|
|
from the public-domain version of Chuck Forsberg's rzsz package.
|
|
|
|
These programs use error correcting protocols ({z,x,y}modem) to send
|
|
(sz, sx, sb) and receive (rz, rx, rb) files over a dial-in serial port
|
|
from a variety of programs running under various operating systems.
|
|
endef
|
|
|
|
define Package/lrzsz/install
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/lrz $(1)/usr/bin/
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/lsz $(1)/usr/bin/
|
|
(cd $(1)/usr/bin; \
|
|
ln -fs lrz lrx; \
|
|
ln -fs lrz lrb; \
|
|
ln -fs lrz rz; \
|
|
ln -fs lrz rx; \
|
|
ln -fs lrz rb; \
|
|
ln -fs lsz lsx; \
|
|
ln -fs lsz lsb; \
|
|
ln -fs lsz sz; \
|
|
ln -fs lsz sx; \
|
|
ln -fs lsz sb; \
|
|
);
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,lrzsz))
|