mirror of
https://github.com/openwrt/packages.git
synced 2026-04-15 10:51:55 +00:00
cpe:/a:beep_project:beep is the correct CPE ID for beep: https://nvd.nist.gov/products/cpe/search/results?keyword=cpe:2.3:a:beep_project:beep Indeed, spkr-beep is a fork of https://github.com/johnath/beep as clearly stated in README.md: "This version of beep has been forked from Johnathan Nightingales' original beep when johnath/beep#11 required fixes in 2018, while Johnathan Nightingales' github.com/johnath/beep/ and johnath.com/beep/ was only maintained from around 2000 until around 2013. So, it is still appropriate to use beep_project:beep CPE ID since the code base remains the same and no new CPE has been assigned to the fork (as there have been no new CVEs since 2018). Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
#
|
|
# Copyright (C) 2017 Chris Blake (chrisrblake93@gmail.com)
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=beep
|
|
PKG_VERSION:=1.4.12
|
|
PKG_RELEASE:=6
|
|
|
|
PKG_LICENSE:=GPL-2.0-or-later
|
|
PKG_LICENSE_FILES:=COPYING
|
|
PKG_CPE_ID:=cpe:/a:beep_project:beep
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
PKG_SOURCE_URL:=https://codeload.github.com/spkr-beep/beep/tar.gz/v$(PKG_VERSION)?
|
|
PKG_HASH:=6188d0f0c180db7a30467b5b6065a3cb5d2665b937d2e8c40366efb52bf689fe
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/beep
|
|
SECTION:=sound
|
|
CATEGORY:=Sound
|
|
DEPENDS:=+TARGET_x86:kmod-pcspkr @!TARGET_x86:kmod-gpio-beeper
|
|
TITLE:=Play beep sounds through a PC speaker
|
|
URL:=https://github.com/spkr-beep/beep
|
|
endef
|
|
|
|
define Package/beep/description
|
|
This program plays beeps through the PC speaker
|
|
endef
|
|
|
|
MAKE_FLAGS += \
|
|
CFLAGS="$(TARGET_CFLAGS)"
|
|
|
|
define Package/beep/install
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/beep $(1)/usr/bin
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,beep))
|