forked from Imagelibrary/rtems
Sync with HEAD.
This commit is contained in:
@@ -10,6 +10,7 @@ nobase_aptconf_DATA += apt/vendors.list.d/rtems.list
|
|||||||
apt/sources.list.d/rtems-@RTEMS_API@.list: apt/sources.list.d/rtems.list.in
|
apt/sources.list.d/rtems-@RTEMS_API@.list: apt/sources.list.d/rtems.list.in
|
||||||
@$(mkdir_p) apt/sources.list.d
|
@$(mkdir_p) apt/sources.list.d
|
||||||
sed -e 's,[@]RTEMS_API[@],@RTEMS_API@,' \
|
sed -e 's,[@]RTEMS_API[@],@RTEMS_API@,' \
|
||||||
|
-e 's,[@]OS_SUBDIR[@],@OS_SUBDIR@,' \
|
||||||
< $(srcdir)/apt/sources.list.d/rtems.list.in \
|
< $(srcdir)/apt/sources.list.d/rtems.list.in \
|
||||||
> apt/sources.list.d/rtems-@RTEMS_API@.list
|
> apt/sources.list.d/rtems-@RTEMS_API@.list
|
||||||
CLEANFILES += apt/sources.list.d/rtems-@RTEMS_API@.list
|
CLEANFILES += apt/sources.list.d/rtems-@RTEMS_API@.list
|
||||||
@@ -24,6 +25,7 @@ yum.repos.d/rtems-@RTEMS_API@.repo: yum.repos.d/rtems.repo.in
|
|||||||
@$(mkdir_p) yum.repos.d
|
@$(mkdir_p) yum.repos.d
|
||||||
sed -e 's,[@]sysconfdir[@],$(sysconfdir),' \
|
sed -e 's,[@]sysconfdir[@],$(sysconfdir),' \
|
||||||
-e 's,[@]RTEMS_API[@],@RTEMS_API@,' \
|
-e 's,[@]RTEMS_API[@],@RTEMS_API@,' \
|
||||||
|
-e 's,[@]OS_SUBDIR[@],@OS_SUBDIR@,' \
|
||||||
< $(srcdir)/yum.repos.d/rtems.repo.in \
|
< $(srcdir)/yum.repos.d/rtems.repo.in \
|
||||||
> yum.repos.d/rtems-@RTEMS_API@.repo
|
> yum.repos.d/rtems-@RTEMS_API@.repo
|
||||||
CLEANFILES += yum.repos.d/rtems-@RTEMS_API@.repo
|
CLEANFILES += yum.repos.d/rtems-@RTEMS_API@.repo
|
||||||
|
|||||||
@@ -1,21 +1,21 @@
|
|||||||
## rtems-@RTEMS_API@ sources.list entries for apt-rpm with repomd support,
|
## rtems-@RTEMS_API@ sources.list entries for apt-rpm with repomd support,
|
||||||
## http://apt-rpm.laiskiainen.org/
|
## http://apt-rpm.laiskiainen.org/
|
||||||
|
|
||||||
repomd ftp://ftp.rtems.org/pub/rtems/linux/@RTEMS_API@ fedora/$(VERSION)/$(ARCH)
|
repomd ftp://ftp.rtems.org/pub/rtems/linux/@RTEMS_API@ @OS_SUBDIR@$(VERSION)/$(ARCH)
|
||||||
|
|
||||||
## uncomment the line below if you want to access the *.src.rpms
|
## uncomment the line below if you want to access the *.src.rpms
|
||||||
# repomd-src ftp://ftp.rtems.org/pub/rtems/linux/@RTEMS_API@ fedora/$(VERSION)/SRPMS
|
# repomd-src ftp://ftp.rtems.org/pub/rtems/linux/@RTEMS_API@ @OS_SUBDIR@$(VERSION)/SRPMS
|
||||||
|
|
||||||
## uncomment the line below if you want to access the *-debuginfo*.rpms
|
## uncomment the line below if you want to access the *-debuginfo*.rpms
|
||||||
# repomd-debug ftp://ftp.rtems.org/pub/rtems/linux/@RTEMS_API@ fedora/$(VERSION)/$(ARCH)/debug
|
# repomd-debug ftp://ftp.rtems.org/pub/rtems/linux/@RTEMS_API@ @OS_SUBDIR@$(VERSION)/$(ARCH)/debug
|
||||||
|
|
||||||
|
|
||||||
## rtems/testing repos
|
## rtems/testing repos
|
||||||
|
|
||||||
# repomd ftp://ftp.rtems.org/pub/rtems/linux/testing/@RTEMS_API@ fedora/$(VERSION)/$(ARCH)
|
# repomd ftp://ftp.rtems.org/pub/rtems/linux/testing/@RTEMS_API@ @OS_SUBDIR@$(VERSION)/$(ARCH)
|
||||||
|
|
||||||
## uncomment the line below if you want to access the *.src.rpms
|
## uncomment the line below if you want to access the *.src.rpms
|
||||||
# repomd-src ftp://ftp.rtems.org/pub/rtems/linux/testing/@RTEMS_API@ fedora/$(VERSION)/SRPMS
|
# repomd-src ftp://ftp.rtems.org/pub/rtems/linux/testing/@RTEMS_API@ @OS_SUBDIR@$(VERSION)/SRPMS
|
||||||
|
|
||||||
## uncomment the line below if you want to access the *-debuginfo*.rpms
|
## uncomment the line below if you want to access the *-debuginfo*.rpms
|
||||||
# repomd-debug ftp://ftp.rtems.org/pub/rtems/linux/testing/@RTEMS_API@ fedora/$(VERSION)/$(ARCH)/debug
|
# repomd-debug ftp://ftp.rtems.org/pub/rtems/linux/testing/@RTEMS_API@ @OS_SUBDIR@$(VERSION)/$(ARCH)/debug
|
||||||
|
|||||||
@@ -2,12 +2,17 @@
|
|||||||
# Process this file with autoconf to produce a configure script.
|
# Process this file with autoconf to produce a configure script.
|
||||||
|
|
||||||
AC_PREREQ(2.60)
|
AC_PREREQ(2.60)
|
||||||
AC_INIT([rtems-]_RTEMS_API[-repo-conf],[0.5],[http://www.rtems.org/bugzilla],
|
AC_INIT([rtems-]_RTEMS_API[-repo-conf],[0.6],[http://www.rtems.org/bugzilla],
|
||||||
[rtems-]_RTEMS_API[-repo-conf])
|
[rtems-]_RTEMS_API[-repo-conf])
|
||||||
RTEMS_VERSIONING
|
RTEMS_VERSIONING
|
||||||
AC_CONFIG_SRCDIR([gpg])
|
AC_CONFIG_SRCDIR([gpg])
|
||||||
AC_CONFIG_AUX_DIR([.])
|
AC_CONFIG_AUX_DIR([.])
|
||||||
AC_SUBST([RTEMS_API],[_RTEMS_API])
|
AC_SUBST([RTEMS_API],[_RTEMS_API])
|
||||||
AM_INIT_AUTOMAKE([dist-bzip2 no-dist-gzip 1.10])
|
AM_INIT_AUTOMAKE([dist-bzip2 no-dist-gzip 1.10])
|
||||||
|
AC_ARG_ENABLE(os_subdir,AS_HELP_STRING(
|
||||||
|
[--enable-os-subdir=<dir> ... os subdirectory]),
|
||||||
|
[os_subdir="$enable_os_subdir"],
|
||||||
|
[os_subdir="fedora/"])
|
||||||
|
AC_SUBST([OS_SUBDIR],[$os_subdir])
|
||||||
AC_CONFIG_FILES([Makefile])
|
AC_CONFIG_FILES([Makefile])
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
|||||||
@@ -16,7 +16,13 @@ Apt/yum configuration files to access the apt/yum repositories at ftp://ftp.rtem
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
case "%{?dist}" in
|
||||||
|
.el*) extra_arg=--enable-os-subdir="redhat/el";;
|
||||||
|
.fc*) extra_arg=--enable-os-subdir="fedora/";;
|
||||||
|
.rh*) extra_arg=--enable-os-subdir="redhat/";;
|
||||||
|
*) extra_arg=--enable-os-subdir="redhat/";;
|
||||||
|
esac
|
||||||
|
%configure $extra_arg
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[rtems-@RTEMS_API@]
|
[rtems-@RTEMS_API@]
|
||||||
name=RTEMS $releasever - $basearch - RTEMS
|
name=RTEMS $releasever - $basearch - RTEMS
|
||||||
baseurl=ftp://ftp.rtems.org/pub/rtems/linux/@RTEMS_API@/fedora/$releasever/$basearch
|
baseurl=ftp://ftp.rtems.org/pub/rtems/linux/@RTEMS_API@/@OS_SUBDIR@$releasever/$basearch
|
||||||
# metadata_expire=0
|
# metadata_expire=0
|
||||||
enabled=1
|
enabled=1
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
@@ -9,7 +9,7 @@ gpgkey=file://@sysconfdir@/pki/rpm-gpg/gpg-pubkey-69ce4a83-44cc2b30
|
|||||||
|
|
||||||
[rtems-@RTEMS_API@-source]
|
[rtems-@RTEMS_API@-source]
|
||||||
name=Fedora $releasever - $basearch - RTEMS sources
|
name=Fedora $releasever - $basearch - RTEMS sources
|
||||||
baseurl=ftp://ftp.rtems.org/pub/rtems/linux/@RTEMS_API@/fedora/$releasever/SRPMS
|
baseurl=ftp://ftp.rtems.org/pub/rtems/linux/@RTEMS_API@/@OS_SUBDIR@$releasever/SRPMS
|
||||||
# metadata_expire=0
|
# metadata_expire=0
|
||||||
enabled=0
|
enabled=0
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
@@ -18,7 +18,7 @@ gpgkey=file://@sysconfdir@/pki/rpm-gpg/gpg-pubkey-69ce4a83-44cc2b30
|
|||||||
|
|
||||||
[rtems-@RTEMS_API@-debug]
|
[rtems-@RTEMS_API@-debug]
|
||||||
name=Fedora $releasever - $basearch - RTEMS sources
|
name=Fedora $releasever - $basearch - RTEMS sources
|
||||||
baseurl=ftp://ftp.rtems.org/pub/rtems/linux/@RTEMS_API@/fedora/$releasever/$basearch/debug
|
baseurl=ftp://ftp.rtems.org/pub/rtems/linux/@RTEMS_API@/@OS_SUBDIR@$releasever/$basearch/debug
|
||||||
# metadata_expire=0
|
# metadata_expire=0
|
||||||
enabled=0
|
enabled=0
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
@@ -28,7 +28,7 @@ gpgkey=file://@sysconfdir@/pki/rpm-gpg/gpg-pubkey-69ce4a83-44cc2b30
|
|||||||
# rtems-testing add-on repository
|
# rtems-testing add-on repository
|
||||||
[rtems-@RTEMS_API@-testing]
|
[rtems-@RTEMS_API@-testing]
|
||||||
name=RTEMS $releasever - $basearch - RTEMS
|
name=RTEMS $releasever - $basearch - RTEMS
|
||||||
baseurl=ftp://ftp.rtems.org/pub/rtems/linux/testing/@RTEMS_API@/fedora/$releasever/$basearch
|
baseurl=ftp://ftp.rtems.org/pub/rtems/linux/testing/@RTEMS_API@/@OS_SUBDIR@$releasever/$basearch
|
||||||
# metadata_expire=0
|
# metadata_expire=0
|
||||||
enabled=0
|
enabled=0
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
@@ -37,7 +37,7 @@ gpgkey=file://@sysconfdir@/pki/rpm-gpg/gpg-pubkey-69ce4a83-44cc2b30
|
|||||||
|
|
||||||
[rtems-@RTEMS_API@-testing-source]
|
[rtems-@RTEMS_API@-testing-source]
|
||||||
name=Fedora $releasever - $basearch - RTEMS sources
|
name=Fedora $releasever - $basearch - RTEMS sources
|
||||||
baseurl=ftp://ftp.rtems.org/pub/rtems/linux/testing/@RTEMS_API@/fedora/$releasever/SRPMS
|
baseurl=ftp://ftp.rtems.org/pub/rtems/linux/testing/@RTEMS_API@/@OS_SUBDIR@$releasever/SRPMS
|
||||||
# metadata_expire=0
|
# metadata_expire=0
|
||||||
enabled=0
|
enabled=0
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
@@ -46,7 +46,7 @@ gpgkey=file://@sysconfdir@/pki/rpm-gpg/gpg-pubkey-69ce4a83-44cc2b30
|
|||||||
|
|
||||||
[rtems-@RTEMS_API@-testing-debug]
|
[rtems-@RTEMS_API@-testing-debug]
|
||||||
name=Fedora $releasever - $basearch - RTEMS sources
|
name=Fedora $releasever - $basearch - RTEMS sources
|
||||||
baseurl=ftp://ftp.rtems.org/pub/rtems/linux/testing/@RTEMS_API@/fedora/$releasever/$basearch/debug
|
baseurl=ftp://ftp.rtems.org/pub/rtems/linux/testing/@RTEMS_API@/@OS_SUBDIR@$releasever/$basearch/debug
|
||||||
# metadata_expire=0
|
# metadata_expire=0
|
||||||
enabled=0
|
enabled=0
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
|
|||||||
Reference in New Issue
Block a user