Sources

The Tree of Radix and Third Party Sources

1297 Commits   0 Branches   11 Tags
author: kx <kx@radix.pro> 2021-10-13 09:31:06 +0300 committer: kx <kx@radix.pro> 2021-10-13 09:31:06 +0300 commit: b54f796d3351cdf4617e06e06d2cb4426cf22098 parent: 6492a7b7646bf25630421bb15ea3cb148046e3a7
Commit Summary:
po4a-0.64, fakeroot-1.26; removed fakeroot-ng
Diffstat:
4 files changed, 81 insertions, 88 deletions
diff --git a/packages/a/Makefile b/packages/a/Makefile
index 34c51fa..b87c178 100644
--- a/packages/a/Makefile
+++ b/packages/a/Makefile
@@ -48,7 +48,6 @@ SUBDIRS := CLooG                 \
            eudev-github          \
            eudev-tarballs        \
            fakeroot              \
-           fakeroot-ng           \
            fdutils               \
            file                  \
            foomatic-db           \
@@ -124,6 +123,7 @@ SUBDIRS := CLooG                 \
            pcmciautils           \
            pkgtools              \
            pm-utils              \
+           po4a                  \
            populatefs            \
            powertop              \
            procinfo              \
diff --git a/packages/a/fakeroot-ng/Makefile b/packages/a/fakeroot-ng/Makefile
deleted file mode 100644
index f00ef36..0000000
--- a/packages/a/fakeroot-ng/Makefile
+++ /dev/null
@@ -1,75 +0,0 @@
-#
-# Project Home:
-# ============
-#   http://sourceforge.net/projects/fakerootng/
-#
-# Downloads:
-# =========
-#   http://sourceforge.net/projects/fakerootng/files/fakeroot-ng/
-#
-# Clone:
-# =====
-#   git clone git://git.code.sf.net/p/fakerootng/source fakerootng-source
-#
-
-#url        = git://git.code.sf.net/p/fakerootng
-url        = git://radix.pro
-
-repo_name  = fakeroot-ng
-
-#
-# List of tags to be extracted:
-#
-TAGS       = 0.17
-TAGS      += 0.18
-
-
-git_repo   = .git_clone
-versions   = $(foreach tag, $(TAGS), $(shell echo $(tag)))
-tarballs   = $(addsuffix .tar.bz2, $(addprefix $(repo_name)-, $(versions)))
-sha1s      = $(addsuffix .sha1sum, $(tarballs))
-
-TARGETS = repository_clean
-
-all: $(TARGETS)
-
-.PHONY: downloads_clean repository_clean
-
-$(git_repo):
-	@echo -e "\n======= Clone $(repo_name).git repository =======\n"
-	@rm -rf $(repo_name)
-	@if [ "$(url)" = 'git://radix.pro' ]; then \
-	   git clone $(url)/$(repo_name).git $(repo_name) ; \
-	 else \
-	   git clone $(url)/source $(repo_name) ; \
-	 fi
-	@touch $@
-
-$(tarballs): $(git_repo)
-	@for tag in $(TAGS) ; do \
-	  version=`echo $$tag` ; \
-	  if [ ! -f $(repo_name)-$$version.tar.bz2 ]; then \
-	    echo -e "\n======= Creating '$(repo_name)-$$version.tar.bz2' snapshot =======" ; \
-	    ( cd $(repo_name) && \
-	      git archive --format=tar --prefix=$(repo_name)-$$version/ $$tag | \
-	      bzip2 >../$(repo_name)-$$version.tar.bz2 ) ; \
-	  fi ; \
-	  tar xjf $(repo_name)-$$version.tar.bz2 ; \
-	  ( cd $(repo_name)-$$version ; autoreconf -i ; rm -rf autom4te.cache ) ; \
-	  tar cjf $(repo_name)-$$version.tar.bz2 $(repo_name)-$$version ; \
-	  rm -rf $(repo_name)-$$version ; \
-	done
-
-$(sha1s): %.tar.bz2.sha1sum : %.tar.bz2
-	@for tarball in $< ; do \
-	  echo -e "\n======= Calculation the '$$tarball' sha1sum =======" ; \
-	  sha1sum --binary $$tarball > $$tarball.sha1sum ; \
-	done
-
-repository_clean: $(sha1s)
-	@echo -e "\n======= Remove cloned $(repo_name).git repository =======\n"
-	@rm -rf $(git_repo) $(repo_name)
-
-downloads_clean:
-	@rm -rf $(tarballs) $(sha1s)
-	@rm -rf $(git_repo) $(repo_name)
diff --git a/packages/a/fakeroot/Makefile b/packages/a/fakeroot/Makefile
index e68fa73..3f4cff8 100644
--- a/packages/a/fakeroot/Makefile
+++ b/packages/a/fakeroot/Makefile
@@ -1,29 +1,35 @@
-
 #
-# FAKEROOT: http://anonscm.debian.org/cgit/users/clint/fakeroot.git
+# FAKEROOT:
 #
-
-#url        = git://anonscm.debian.org/users/clint
-url        = git://radix.pro
-
-repo_name  = fakeroot
-
+# Debian sources:
+#   https://sources.debian.org/src/fakeroot
+#
+# GitLab:
+#   https://salsa.debian.org/clint/fakeroot
 #
-# List of revisions to be extracted:
-# =================================
+# Clone:
+#   https://salsa.debian.org/clint/fakeroot.git
+#
+# Branch:
+#   upstream
+#
+# tags:
+#   upstream/1.26, ...
 #
-#                                               hash | version
-#            ----------------------------------------+--------
-revisions  = c8d838e30852f651a45e6248df8865e166221b4f-1.20.2
-revisions += 51367e73b631c0b35726de2ba9ef72fe811eb7e7-1.21.0
 
-git_repo   = .git_clone
+url        = https://salsa.debian.org/clint
 
+repo_name  = fakeroot
+pkg_name   = fakeroot
 suffix     = tar.xz
 
-versions   = $(foreach tag, $(revisions), $(shell echo $(tag) | cut -f 2 -d '-'))
+versions   = 1.25.2 1.26
+
+# List of tags to be extracted:
+TAGS       = $(addprefix upstream/, $(versions))
 
-tarballs   = $(addsuffix .$(suffix), $(addprefix $(repo_name)-, $(versions)))
+git_repo   = .git_clone
+tarballs   = $(addsuffix .$(suffix), $(addprefix $(pkg_name)-, $(versions)))
 sha1s      = $(addsuffix .sha1sum, $(tarballs))
 
 TARGETS = repository_clean
@@ -39,19 +45,14 @@ $(git_repo):
 	@touch $@
 
 $(tarballs): $(git_repo)
-	@for revision in $(revisions) ; do \
-	  hash=`echo $$revision | cut -f 1 -d '-'` ; \
-	  version=`echo $$revision | cut -f 2 -d '-'` ; \
+	@for version in $(versions) ; do \
+	  tag=upstream/`echo $$version` ; \
 	  if [ ! -f $(repo_name)-$$version.$(suffix) ]; then \
 	    echo -e "\n======= Creating '$(repo_name)-$$version.$(suffix)' snapshot =======" ; \
 	    ( cd $(repo_name) && \
-	      git archive --format=tar --prefix=$(repo_name)-$$version/ $$hash | \
-	      xz >../$(repo_name)-$$version.$(suffix) ) ; \
+	      git archive --format=tar --prefix=$(pkg_name)-$$version/ $$tag | \
+	      xz >../$(pkg_name)-$$version.$(suffix) ) ; \
 	  fi ; \
-	  tar xJf $(repo_name)-$$version.$(suffix) ; \
-	  ( cd $(repo_name)-$$version ; ./bootstrap ; rm -rf autom4te.cache ) ; \
-	  tar cJf $(repo_name)-$$version.$(suffix) $(repo_name)-$$version ; \
-	  rm -rf $(repo_name)-$$version ; \
 	done
 
 $(sha1s): %.$(suffix).sha1sum : %.$(suffix)
@@ -65,5 +66,5 @@ repository_clean: $(defconfigs) $(sha1s)
 	@rm -rf $(git_repo) $(repo_name)
 
 downloads_clean:
-	@rm -rf $(tarballs) $(defconfigs) $(sha1s)
+	@rm -rf $(tarballs) $(sha1s)
 	@rm -rf $(git_repo) $(repo_name)
diff --git a/packages/a/po4a/Makefile b/packages/a/po4a/Makefile
new file mode 100644
index 0000000..ecf1623
--- /dev/null
+++ b/packages/a/po4a/Makefile
@@ -0,0 +1,67 @@
+#
+# Project Home:
+# ============
+#   https://po4a.org
+#
+# Clone:
+# =====
+#   git clone https://github.com/mquinson/po4a.git
+#
+
+url        = https://github.com/mquinson
+
+repo_name  = po4a
+pkg_name   = po4a
+suffix     = tar.xz
+
+versions   = 0.63 0.64
+
+# List of tags to be extracted:
+TAGS       = $(addprefix v, $(versions))
+
+git_repo   = .git_clone
+tarballs   = $(addsuffix .tar.xz, $(addprefix $(pkg_name)-, $(versions)))
+sha1s      = $(addsuffix .sha1sum, $(tarballs))
+
+TARGETS = repository_clean
+
+
+all: $(TARGETS)
+
+.PHONY: downloads_clean repository_clean
+
+$(git_repo):
+	@echo -e "\n======= Clone $(repo_name).git repository =======\n"
+	@rm -rf $(repo_name)
+	@git clone $(url)/$(repo_name).git $(repo_name)
+	@touch $@
+
+$(tarballs): $(git_repo)
+	@for version in $(versions) ; do \
+	  tag=v`echo $$version` ; \
+	  if [ ! -f $(repo_name)-$$version.$(suffix) ]; then \
+	    echo -e "\n======= Creating '$(repo_name)-$$version.$(suffix)' snapshot =======" ; \
+	    ( cd $(repo_name) && \
+	      git archive --format=tar --prefix=$(pkg_name)-$$version/ $$tag | \
+	      xz >../$(pkg_name)-$$version.$(suffix) ) ; \
+	  fi ; \
+	  tar xJf $(pkg_name)-$$version.$(suffix) ; \
+	  ( cd $(pkg_name)-$$version ; \
+	    rm -rf testsuite .github .appveyor.yml .gitignore .tidyallrc .travis.yml .weblate ) ; \
+	  tar cJf $(pkg_name)-$$version.$(suffix) $(pkg_name)-$$version ; \
+	  rm -rf $(pkg_name)-$$version ; \
+	done
+
+$(sha1s): %.tar.xz.sha1sum : %.tar.xz
+	@for tarball in $< ; do \
+	  echo -e "\n======= Calculation the '$$tarball' sha1sum =======" ; \
+	  sha1sum --binary $$tarball > $$tarball.sha1sum ; \
+	done
+
+repository_clean: $(sha1s)
+	@echo -e "\n======= Remove cloned $(repo_name).git repository =======\n"
+	@rm -rf $(git_repo) $(repo_name)
+
+downloads_clean:
+	@rm -rf $(tarballs) $(sha1s)
+	@rm -rf $(git_repo) $(repo_name)