File tree 3 files changed +16
-13
lines changed
3 files changed +16
-13
lines changed Original file line number Diff line number Diff line change 1
- LIBSAIBCM_XGS_VERSION = 7.1.50 .4
2
- LIBSAIBCM_DNX_VERSION = 7.1.50 .4
1
+ LIBSAIBCM_XGS_VERSION = 7.1.36 .4
2
+ LIBSAIBCM_DNX_VERSION = 7.1.42 .4
3
3
LIBSAIBCM_BRANCH_NAME = REL_7.0_202205
4
4
LIBSAIBCM_XGS_URL_PREFIX = "https://sonicstorage.blob.core.windows.net/public/sai/bcmsai/$(LIBSAIBCM_BRANCH_NAME ) /$(LIBSAIBCM_XGS_VERSION ) "
5
5
LIBSAIBCM_DNX_URL_PREFIX = "https://sonicstorage.blob.core.windows.net/public/sai/bcmsai/$(LIBSAIBCM_BRANCH_NAME ) /$(LIBSAIBCM_DNX_VERSION ) "
Original file line number Diff line number Diff line change 1
1
# libhiredis package
2
2
3
- HIREDIS_VERSION = 0.14.0
4
- HIREDIS_VERSION_FULL = $( HIREDIS_VERSION ) -3~bpo9+ 1
3
+ HIREDIS_VERSION = 0.14.1
4
+ HIREDIS_VERSION_FULL = ${ HIREDIS_VERSION}- 1
5
5
6
6
export HIREDIS_VERSION HIREDIS_VERSION_FULL
7
7
@@ -12,6 +12,7 @@ SONIC_MAKE_DEBS += $(LIBHIREDIS)
12
12
LIBHIREDIS_DEV = libhiredis-dev_$(HIREDIS_VERSION_FULL ) _$(CONFIGURED_ARCH ) .deb
13
13
$(eval $(call add_derived_package,$(LIBHIREDIS),$(LIBHIREDIS_DEV)))
14
14
15
- LIBHIREDIS_DBG = libhiredis-dbg_$(HIREDIS_VERSION_FULL ) _$(CONFIGURED_ARCH ) .deb
16
15
LIBHIREDIS_DBG = libhiredis0.14-dbgsym_$(HIREDIS_VERSION_FULL ) _$(CONFIGURED_ARCH ) .deb
17
16
$(eval $(call add_derived_package,$(LIBHIREDIS),$(LIBHIREDIS_DBG)))
17
+
18
+ export LIBHIREDIS LIBHIREDIS_DEV LIBHIREDIS_DBG
Original file line number Diff line number Diff line change 2
2
SHELL = /bin/bash
3
3
.SHELLFLAGS += -e
4
4
5
- MAIN_TARGET = libhiredis0.14_ $( HIREDIS_VERSION_FULL ) _ $( CONFIGURED_ARCH ) .deb
6
- DERIVED_TARGETS = libhiredis0.14-dbgsym_ $( HIREDIS_VERSION_FULL ) _ $( CONFIGURED_ARCH ) .deb libhiredis-dev_ $( HIREDIS_VERSION_FULL ) _ $( CONFIGURED_ARCH ) .deb
5
+ MAIN_TARGET = $( LIBHIREDIS )
6
+ DERIVED_TARGETS = $( LIBHIREDIS_DBG ) $( LIBHIREDIS_DEV )
7
7
8
8
$(addprefix $(DEST ) /, $(MAIN_TARGET ) ) : $(DEST ) /% :
9
- rm -rf hiredis-$(HIREDIS_VERSION )
9
+ # Remove any stale files
10
+ rm -rf ./hiredis-$(HIREDIS_VERSION )
10
11
11
- wget -O hiredis_$(HIREDIS_VERSION).orig.tar.gz http://http.debian.net/debian/pool/main/h/hiredis/hiredis_$(HIREDIS_VERSION).orig.tar.gz
12
- wget -O hiredis_$(HIREDIS_VERSION_FULL).debian.tar.xz http://http.debian.net/debian/pool/main/h/hiredis/hiredis_$(HIREDIS_VERSION_FULL).debian.tar.xz
13
- wget -O hiredis_$(HIREDIS_VERSION_FULL).dsc http://http.debian.net/debian/pool/main/h/hiredis/hiredis_$(HIREDIS_VERSION_FULL).dsc
12
+ # Get hiredis release, debian files
13
+ dget -u http://http.debian.net/debian/pool/main/h/hiredis/hiredis_$(HIREDIS_VERSION_FULL).dsc
14
+
15
+ # Build source and Debian packages
16
+ pushd ./hiredis-$(HIREDIS_VERSION)
14
17
15
- dpkg-source -x hiredis_$(HIREDIS_VERSION_FULL).dsc
16
- pushd hiredis-$(HIREDIS_VERSION)
17
18
dpkg-buildpackage -rfakeroot -d -b -us -uc -j$(SONIC_CONFIG_MAKE_JOBS) --admindir $(SONIC_DPKG_ADMINDIR)
18
19
popd
19
20
21
+ # Move the newly-built .deb packages to the destination directory
20
22
mv $* $(DERIVED_TARGETS) $(DEST)/
21
23
22
24
$(addprefix $(DEST ) /, $(DERIVED_TARGETS ) ) : $(DEST ) /% : $(DEST ) /$(MAIN_TARGET )
You can’t perform that action at this time.
0 commit comments