Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
d0b8d56db4 | |||
0bc98d2bf8 | |||
10e566b640 |
1
Makefile
1
Makefile
@ -75,6 +75,7 @@ install-programs:
|
||||
@$(INSTALL_SCRIPT) autoport-launcher $(DESTDIR)$(bindir)/autoport-launcher
|
||||
@$(INSTALL_SCRIPT) autoport-chroot $(DESTDIR)$(sbindir)/autoport-chroot
|
||||
@$(INSTALL_SCRIPT) automaint $(DESTDIR)$(sbindir)/automaint
|
||||
@$(INSTALL_SCRIPT) autodist-inspect $(DESTDIR)$(bindir)/autodist-inspect
|
||||
@$(INSTALL_SCRIPT) autodist-repository $(DESTDIR)$(sbindir)/autodist-repository
|
||||
@$(INSTALL_SCRIPT) autodist-upstream-updates $(DESTDIR)$(sbindir)/autodist-upstream-updates
|
||||
@$(INSTALL_SCRIPT) autoport-fix-environment $(DESTDIR)$(bindir)/autoport-fix-environment
|
||||
|
2
autodist
2
autodist
@ -5,7 +5,7 @@
|
||||
#
|
||||
# Released under the terms of the GNU GPL release 3 license
|
||||
#
|
||||
VERSION=1.3.2
|
||||
VERSION=1.3.3
|
||||
me=(${0##*/} $VERSION "Tue Jan 26 2016")
|
||||
exec 3>`readlink /proc/self/fd/0`
|
||||
|
||||
|
33
autodist-inspect
Executable file
33
autodist-inspect
Executable file
@ -0,0 +1,33 @@
|
||||
#!/bin/bash
|
||||
[ -e /etc/autodist/config ] || {
|
||||
echo "ERROR: missing configuration file /etc/autodist/config."
|
||||
exit 1
|
||||
}
|
||||
|
||||
. /etc/autodist/config
|
||||
|
||||
shopt -s nocaseglob
|
||||
checkpkg=$1
|
||||
|
||||
if [ ! "$checkpkg" ]; then
|
||||
echo "Usage:
|
||||
$0 query"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
[ "$LOCAL_REPS_BASE_DIR" -a -e "$LOCAL_REPS_BASE_DIR" ] || {
|
||||
echo "ERROR: LOCAL_REPS_BASE_DIR needs to be defined and local repositories to exists."
|
||||
exit 1
|
||||
}
|
||||
|
||||
echo "=== distromatic sources: ==="
|
||||
head -n2 ${LOCAL_REPS_BASE_DIR}/distromatic/base/sources
|
||||
grep -i $checkpkg ${LOCAL_REPS_BASE_DIR}/distromatic/base/sources
|
||||
#tail -n+2 ${PREFIX}/distromatic/base/deps-* | grep -i $checkpkg
|
||||
echo -e "\n=== distdb: ==="
|
||||
grep -i $checkpkg ${LOCAL_REPS_BASE_DIR}/base/distdb
|
||||
for repo in base devel-makedist devel-autodist devel-misc; do
|
||||
echo -e "\n=== ${repo}: ==="
|
||||
ls ${LOCAL_REPS_BASE_DIR}/${repo}/SRPMS.base/*$checkpkg* 2>/dev/null
|
||||
ls ${LOCAL_REPS_BASE_DIR}/${repo}/RPMS.*/*$checkpkg* 2>/dev/null
|
||||
done
|
2
autoport
2
autoport
@ -4,7 +4,7 @@
|
||||
#
|
||||
# Released under the terms of the GNU GPL release 3 license
|
||||
#
|
||||
VERSION=1.3.2
|
||||
VERSION=1.3.3
|
||||
|
||||
BASE_REPOSITORY=base
|
||||
PORT_REPOSITORY=base
|
||||
|
@ -54,6 +54,7 @@ sed -i "s|^Vendor:.*|Vendor: openmamba|;
|
||||
/BuildRequires:[[:space:]]*libffmpeg-devel/d;
|
||||
/^BuildRequires:[[:space:]]*libkdegames-devel/d;
|
||||
/^BuildRequires:[[:space:]]*libkdegames5-devel/d;
|
||||
/^BuildRequires:[[:space:]]*python3.7dist/d;
|
||||
/^BuildRoot:[[:space:]]*.*/d;
|
||||
s|\(BuildRequires:[[:space:]]*\)libmysql-devel|\1libmysql5-devel|;
|
||||
s|\(BuildRequires:[[:space:]]*\)libdb42-devel|\1libdb47-devel|;
|
||||
@ -63,6 +64,7 @@ sed -i "s|^Vendor:.*|Vendor: openmamba|;
|
||||
s|^PreReq:[[:space:]]*%{__install_info}|Requires(post):%{__install_info}|;
|
||||
s|^PreReq:[[:space:]]*|Requires(pre): |;
|
||||
s|^\(Requires:[[:space:]]*kde-workspace\)$|#\1|;
|
||||
s|^%patch\([0-9][0-9]*\)|%patch \1|;
|
||||
s|http://.*.dl\.sourceforge\.net/|https://downloads.sourceforge.net/|;
|
||||
s|http://ftp.kde.org/stable/|https://download.kde.org/stable/|;
|
||||
s|ftp://ftp.kde.org/pub/kde/|https://download.kde.org/|;
|
||||
@ -71,6 +73,7 @@ sed -i "s|^Vendor:.*|Vendor: openmamba|;
|
||||
s|http[s]*://pypi.python.org/packages/source/[^/]*/|https://pypi.debian.net/|;
|
||||
s|http://ftp.gnome.org/pub/GNOME/sources/|https://download.gnome.org/sources/|;
|
||||
s|ftp://ftp.gnome.org/pub/gnome/sources/|https://download.gnome.org/sources/|" $SPECFILE
|
||||
# s|;s,.*/man/.*,&.gz,g||;
|
||||
# s|http.*.cpan.org/.*/\([^/-]*\)\(-.*\)|https://cpan.metacpan.org/modules/by-module/\1/\1\2|;
|
||||
#sed -i "s|^\(Source.*:[[:space:]]*ftp://ftp.kde.org/pub/kde/stable/.*.tar.\)bz2|\1xz|" $SPECFILE
|
||||
|
||||
|
Reference in New Issue
Block a user