Commit Graph

19 Commits

Author SHA1 Message Date
Josef Schlehofer
8f13ebc660 Revert "scapy: fix build by including pip requirements"
1. This commit was pushed to the master branch without review,
it is causing that scapy is not compiled anymore due to
wrong hashes.

This error from the buildbots:
Collecting packaging==25.0 (from -r ./host-pip-requirements.txt (line 1))
  Using cached packaging-25.0.tar.gz (165 kB)
ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them.
    packaging==25.0 from 1fc4078c65/packaging-25.0.tar.gz (from -r ./host-pip-requirements.txt (line 1)):
        Expected sha256 29572ef2b1f17581046b3a2227d5c611fb25ec70ca1ba8554b24b0e69331a484
             Got        d443872c98d677bf60f6a1f2f8c1cb748e8fe762d2bf9d3148b5599295b0fc4f

make[3]: *** [Makefile:46: /builder/shared-workdir/build/sdk/build_dir/target-arm_cortex-a9+neon_musl_eabi/pypi/scapy-2.6.1/.built] Error 1
time: package/feeds/packages/scapy/compile#1.15#0.41#1.71

2. While at it, the commit implements old solution by using host-pip-requirements
This was removed in https://github.com/openwrt/packages/pull/20657

This reverts commit ebb0ed3ba2.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2025-07-20 22:25:01 +02:00
Felix Fietkau
ebb0ed3ba2 scapy: fix build by including pip requirements
Add missing packages needed for the build

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2025-07-18 12:55:19 +02:00
W. Michael Petullo
db53e3b164 scapy: update to 2.6.1
Upstream list of changes is available at
https://github.com/secdev/scapy/releases/tag/v2.6.1.

Signed-off-by: W. Michael Petullo <mike@flyn.org>
2025-06-03 07:33:36 +03:00
Fabrice Fontaine
5afe5c9031 treewide: assign PKG_CPE_ID
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2024-02-04 16:16:10 -08:00
W. Michael Petullo
1abea58fec scapy: update to 2.5.0
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2023-05-20 14:25:37 +08:00
Paul Fertser
0c10c224be treewide: remove AUTORELEASE
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.

The following temporary change was made to the core:

diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
 abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))

 COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))

 all:
 FORCE: ;

And this command used to fix affected packages:

for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
                              sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
  make package/$i/download
done

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2023-04-21 22:46:58 +02:00
W. Michael Petullo
a5323f520c scapy: update to 2.4.5
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2021-05-10 13:08:46 -05:00
Rosen Penev
5dbcadbde1 scapy: update to 2.4.4
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-09-20 17:19:10 -07:00
Jeffery To
32f727f0ee scapy: Use Python packaging, PyPI download
This updates the package to use the default Python package build recipe,
adds a src package, and changes to download from PyPI (using pypi.mk).

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-04-29 16:25:20 +08:00
Jeffery To
fc8387614c python3: Rename canned recipes in python3-package.mk
This renames "internal" recipes to use the Python3/ prefix and clarifies
the names (RunTarget to Run, Mod to ModSetup, Shebang to FixShebang).

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-04-19 01:56:23 +08:00
W. Michael Petullo
aa96854564 scapy: fix PKG_LICENSE_FILES
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2019-09-15 13:36:52 -04:00
W. Michael Petullo
3c9ce19f92 scapy: update to 2.4.3
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2019-09-14 12:11:19 -04:00
W. Michael Petullo
0647bcbed3 scapy: update to 2.4.2 and make use of Python 3
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2019-05-03 12:01:06 -04:00
Rosen Penev
81449370b2 scapy: Update to 2.4.0 and change URLs to new
Development has moved to GitHub

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-08-03 20:45:51 -07:00
Alexandru Ardelean
1476739d5f treewide: use local python-package.mk & python3-package.mk files
This guarantees for the package feeds that
the mk files will always be available for all packages.

Will need to see about external-feed Python packages
a bit later.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2018-01-10 23:06:23 +02:00
Matthias Schiffer
00fce347a5 treewide: fix incorrect *_BUILD_DEPENDS
Build depends refer to source package names, not binary package names.

In many cases, PKG_BUILD_DEPENDS simply duplicated runtime dependencies of
a source package's binary packages; as the corresponding source packages
are implicitly added as bulid dependencies, PKG_BUILD_DEPENDS can simply be
dropped in these cases. In the other cases, *_BUILD_DEPENDS is fixed to
refer to the correct source package name.

Dependency of mysql-server is adjusted from libncursesw to libncurses
(as libncursesw is a virtual package provided by libncurses), so the build
dependency on ncurses is emitted unconditionally.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2018-01-09 16:36:02 +01:00
Etienne Champetier
4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
W. Michael Petullo
3371ccdfe5 scapy: update to 2.3.1
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2015-12-30 19:19:07 -05:00
W. Michael Petullo
51adbf46d4 scapy: add new package
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2015-09-20 19:10:27 -04:00