Radix cross Linux 3pp sources

RcL sources – is a tree of Third Party and Radix source tarballs

423 Commits   0 Branches   0 Tags
0937e125 (kx 2025-03-03 19:41:10 +0300  1) #
0937e125 (kx 2025-03-03 19:41:10 +0300  2) # Project Home:
0937e125 (kx 2025-03-03 19:41:10 +0300  3) # ============
0937e125 (kx 2025-03-03 19:41:10 +0300  4) # http://linux-pam.org
0937e125 (kx 2025-03-03 19:41:10 +0300  5) #
0937e125 (kx 2025-03-03 19:41:10 +0300  6) # Downloads:
0937e125 (kx 2025-03-03 19:41:10 +0300  7) # =========
0937e125 (kx 2025-03-03 19:41:10 +0300  8) # https://github.com/linux-pam/linux-pam/releases
0937e125 (kx 2025-03-03 19:41:10 +0300  9) #
0937e125 (kx 2025-03-03 19:41:10 +0300 10) 
0937e125 (kx 2025-03-03 19:41:10 +0300 11) url          = https://github.com/linux-pam/linux-pam/releases
0937e125 (kx 2025-03-03 19:41:10 +0300 12) 
0937e125 (kx 2025-03-03 19:41:10 +0300 13) versions     = 1.5.0 1.5.1 1.5.2
0937e125 (kx 2025-03-03 19:41:10 +0300 14) pkg_name     = Linux-PAM
0937e125 (kx 2025-03-03 19:41:10 +0300 15) suffix       = tar.xz
0937e125 (kx 2025-03-03 19:41:10 +0300 16) 
0937e125 (kx 2025-03-03 19:41:10 +0300 17) tarballs     = $(addsuffix .$(suffix), $(addprefix $(pkg_name)-, $(versions)))
0937e125 (kx 2025-03-03 19:41:10 +0300 18) doc_tarballs = $(addsuffix -docs.$(suffix), $(addprefix $(pkg_name)-, $(versions)))
0937e125 (kx 2025-03-03 19:41:10 +0300 19) sha1s        = $(addsuffix .sha1sum, $(tarballs))
0937e125 (kx 2025-03-03 19:41:10 +0300 20) sha1s       += $(addsuffix .sha1sum, $(doc_tarballs))
0937e125 (kx 2025-03-03 19:41:10 +0300 21) 
0937e125 (kx 2025-03-03 19:41:10 +0300 22) 
0937e125 (kx 2025-03-03 19:41:10 +0300 23) all: $(tarballs) $(doc_tarballs) $(sha1s)
0937e125 (kx 2025-03-03 19:41:10 +0300 24) 
0937e125 (kx 2025-03-03 19:41:10 +0300 25) .PHONY: downloads_clean
0937e125 (kx 2025-03-03 19:41:10 +0300 26) 
0937e125 (kx 2025-03-03 19:41:10 +0300 27) $(tarballs):
0937e125 (kx 2025-03-03 19:41:10 +0300 28) 	@echo -e "\n======= Downloading source tarballs =======\n"
0937e125 (kx 2025-03-03 19:41:10 +0300 29) 	@for tarball in $(tarballs) ; do \
0937e125 (kx 2025-03-03 19:41:10 +0300 30) 	  version=`echo $$tarball | sed 's/\([a-zA-Z0-9-]*\)\([0-9][.0-9]*[.0-9]*\)\(\..*\)/\2/'` ; \
0937e125 (kx 2025-03-03 19:41:10 +0300 31) 	  wget -N $(url)/download/v$$version/$$tarball ; \
0937e125 (kx 2025-03-03 19:41:10 +0300 32) 	done
0937e125 (kx 2025-03-03 19:41:10 +0300 33) 
0937e125 (kx 2025-03-03 19:41:10 +0300 34) $(doc_tarballs):
0937e125 (kx 2025-03-03 19:41:10 +0300 35) 	@echo -e "\n======= Downloading documentation tarballs =======\n"
0937e125 (kx 2025-03-03 19:41:10 +0300 36) 	@for tarball in $(doc_tarballs) ; do \
0937e125 (kx 2025-03-03 19:41:10 +0300 37) 	  version=`echo $$tarball | sed 's/\([a-zA-Z0-9-]*\)\([0-9][.0-9]*[.0-9]*\)\(\-.*\)/\2/'` ; \
0937e125 (kx 2025-03-03 19:41:10 +0300 38) 	  wget -N $(url)/download/v$$version//$$tarball ; \
0937e125 (kx 2025-03-03 19:41:10 +0300 39) 	done
0937e125 (kx 2025-03-03 19:41:10 +0300 40) 
0937e125 (kx 2025-03-03 19:41:10 +0300 41) $(sha1s): %.$(suffix).sha1sum : %.$(suffix)
0937e125 (kx 2025-03-03 19:41:10 +0300 42) 	@for tarball in $< ; do \
0937e125 (kx 2025-03-03 19:41:10 +0300 43) 	  echo -e "\n======= Calculation the '$$tarball' sha1sum =======\n" ; \
0937e125 (kx 2025-03-03 19:41:10 +0300 44) 	  sha1sum --binary $$tarball > $$tarball.sha1sum ; \
0937e125 (kx 2025-03-03 19:41:10 +0300 45) 	done
0937e125 (kx 2025-03-03 19:41:10 +0300 46) 
0937e125 (kx 2025-03-03 19:41:10 +0300 47) downloads_clean:
0937e125 (kx 2025-03-03 19:41:10 +0300 48) 	@rm -rf $(tarballs) $(doc_tarballs) $(sha1s)