grep: update to 3.12

Changelog: https://lists.gnu.org/archive/html/info-gnu/2025-04/msg00008.html

Also skip building doc, tests, and gnulib-tests.

Signed-off-by: Wei-Ting Yang <williamatcg@gmail.com>
This commit is contained in:
Wei-Ting Yang
2025-12-17 22:54:05 +08:00
committed by Hannu Nyman
parent 139154c6e2
commit 43479dac7b
3 changed files with 16 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
# #
# Copyright (C) 2010-2016 OpenWrt.org # Copyright (C) 2010-2025 OpenWrt.org
# #
# This is free software, licensed under the GNU General Public License v2. # This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information. # See /LICENSE for more information.
@@ -8,12 +8,12 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=grep PKG_NAME:=grep
PKG_VERSION:=3.11 PKG_VERSION:=3.12
PKG_RELEASE:=2 PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@GNU/grep PKG_SOURCE_URL:=@GNU/grep
PKG_HASH:=1db2aedde89d0dea42b16d9528f894c8d15dae4e190b59aecc78f5a951276eab PKG_HASH:=2649b27c0e90e632eadcd757be06c6e9a4f48d941de51e7c0f83ff76408a07b9
PKG_MAINTAINER:=Julen Landa Alustiza <julen@zokormazo.info> PKG_MAINTAINER:=Julen Landa Alustiza <julen@zokormazo.info>
PKG_LICENSE:=GPL-3.0-or-later PKG_LICENSE:=GPL-3.0-or-later
@@ -26,6 +26,7 @@ PKG_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
MAKE_FLAGS += SHELL="/bin/sh" MAKE_FLAGS += SHELL="/bin/sh"
TARGET_CFLAGS += -std=c17
define Package/grep define Package/grep
SECTION:=utils SECTION:=utils

View File

@@ -0,0 +1,11 @@
--- a/Makefile.in
+++ b/Makefile.in
@@ -2399,7 +2399,7 @@ top_srcdir = @top_srcdir@
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
AUTOMAKE_OPTIONS = gnu 1.12
-SUBDIRS = po lib doc src tests gnulib-tests
+SUBDIRS = po lib src
EXTRA_DIST = \
.mailmap \
ChangeLog-2009 \