Changeset 73b019a0 in rtems


Ignore:
Timestamp:
Nov 19, 2008, 3:10:36 AM (11 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.9
Children:
f040148
Parents:
eb32e3a
Message:

Update.

Location:
contrib/repo-conf
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • contrib/repo-conf/INSTALL

    reb32e3a r73b019a0  
    33
    44Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
    5 2006 Free Software Foundation, Inc.
     52006, 2007 Free Software Foundation, Inc.
    66
    77This file is free documentation; the Free Software Foundation gives
     
    6868     with the distribution.
    6969
     70  6. Often, you can also type `make uninstall' to remove the installed
     71     files again.
     72
    7073Compilers and Options
    7174=====================
  • contrib/repo-conf/Makefile.am

    reb32e3a r73b019a0  
    1313          -e 's,[@]OS_SUBDIR[@],@OS_SUBDIR@,' \
    1414          -e 's,[@]OS_NAME[@],@OS_NAME@,' \
     15          -e 's,[@]APT_VERDIR[@],@APT_VERDIR@,' \
    1516          < $(srcdir)/apt/sources.list.d/rtems.list.in \
    1617          > apt/sources.list.d/rtems-@RTEMS_API@.list
     
    2930          -e 's,[@]OS_SUBDIR[@],@OS_SUBDIR@,' \
    3031          -e 's,[@]OS_NAME[@],@OS_NAME@,' \
     32          -e 's,[@]YUM_VERDIR[@],@YUM_VERDIR@,' \
    3133          < $(srcdir)/yum.repos.d/rtems.repo.in \
    3234          > yum.repos.d/rtems-@RTEMS_API@.repo
  • contrib/repo-conf/apt/sources.list.d/rtems.list.in

    reb32e3a r73b019a0  
    22## http://apt-rpm.laiskiainen.org/
    33
    4 repomd ftp://ftp.rtems.org/pub/rtems/linux/@RTEMS_API@ @OS_SUBDIR@$(VERSION)/$(ARCH)
     4repomd ftp://ftp.rtems.org/pub/rtems/linux/@RTEMS_API@ @OS_SUBDIR@@APT_VERDIR@/$(ARCH)
    55
    66## uncomment the line below if you want to access the *.src.rpms
    7 # repomd-src ftp://ftp.rtems.org/pub/rtems/linux/@RTEMS_API@ @OS_SUBDIR@$(VERSION)/SRPMS
     7# repomd-src ftp://ftp.rtems.org/pub/rtems/linux/@RTEMS_API@ @OS_SUBDIR@@APT_VERDIR@/SRPMS
    88
    99## uncomment the line below if you want to access the *-debuginfo*.rpms
    10 # repomd-debug ftp://ftp.rtems.org/pub/rtems/linux/@RTEMS_API@ @OS_SUBDIR@$(VERSION)/$(ARCH)/debug
     10# repomd-debug ftp://ftp.rtems.org/pub/rtems/linux/@RTEMS_API@ @OS_SUBDIR@@APT_VERDIR@/$(ARCH)/debug
  • contrib/repo-conf/configure.ac

    reb32e3a r73b019a0  
    33
    44AC_PREREQ(2.61)
    5 AC_INIT([rtems-]_RTEMS_API[-repo-conf],[0.12],[http://www.rtems.org/bugzilla],
     5AC_INIT([rtems-]_RTEMS_API[-repo-conf],[0.14],[http://www.rtems.org/bugzilla],
    66  [rtems-]_RTEMS_API[-repo-conf])
    77RTEMS_VERSIONING
     8
    89AC_CONFIG_SRCDIR([gpg])
    910AC_CONFIG_AUX_DIR([.])
     
    1112AM_INIT_AUTOMAKE([dist-bzip2 no-dist-gzip 1.10])
    1213
    13 AC_ARG_ENABLE(os_subdir,AS_HELP_STRING(
    14 [--enable-os-subdir=<dir> ... os subdirectory]),
    15 [os_subdir="$enable_os_subdir"],
    16 [os_subdir="fedora/"])
     14AC_ARG_ENABLE(osname,AS_HELP_STRING(
     15[--enable-osname=<dir> ... os name]),
     16[osname="$enable_osname"],
     17[osname="fedora-10"])
     18
     19case $osname in
     20fedora-8* | fedora-9* | fedora-10* )
     21  os_name="Fedora"
     22  os_subdir="fedora/"
     23  yum_verdir="\$\$releasever"
     24  apt_verdir="\$\$(VERSION)"
     25  ;;
     26centos-5* | redhat-el5* | fedora-7* )
     27  os_name="CentOS"
     28  os_subdir="centos/"
     29  yum_verdir="5"
     30  apt_verdir="5"
     31  ;;
     32centos-4* | redhat-el4* | fedora-5* | fedora-6* )
     33  os_name="CentOS"
     34  os_subdir="centos/"
     35  yum_verdir="4"
     36  apt_verdir="4"
     37  ;;
     38suse-*)
     39  os_name="openSUSE"
     40  os_subdir="suse/"
     41  yum_verdir="\$\$releasever"
     42  apt_verdir="\$\$(VERSION)"
     43  ;;
     44*)
     45  AC_MSG_ERROR([Unsupported OS])
     46esac
     47
    1748AC_SUBST([OS_SUBDIR],[$os_subdir])
    18 
    19 case "$os_subdir" in
    20 fedora/ ) os_name="Fedora";;
    21 redhat/el ) os_name="CentOS";;
    22 suse/ ) os_name="openSUSE";;
    23 *) AC_MSG_ERROR([Invalid os-name])
    24   ;;
    25 esac
     49AC_SUBST([YUM_VERDIR],[$yum_verdir])
     50AC_SUBST([APT_VERDIR],[$apt_verdir])
    2651AC_SUBST([OS_NAME],[$os_name])
    2752
  • contrib/repo-conf/rtems-repo-conf.spec.in

    reb32e3a r73b019a0  
    1818%build
    1919case "%{?dist}" in
    20 .el*) extra_arg=--enable-os-subdir="redhat/el";;
    21 .fc*) extra_arg=--enable-os-subdir="fedora/";;
    22 .rh*) extra_arg=--enable-os-subdir="redhat/";;
    23 .suse*) extra_arg=--enable-os-subdir="suse/";;
    24 *) extra_arg=--enable-os-subdir="redhat/";;
     20.el*) extra_arg=--enable-osname="centos-%{rhel}";;
     21.fc*) extra_arg=--enable-osname="fedora-%{fedora}";;
     22.suse*) extra_arg=--enable-osname="suse-%{suse}";;
    2523esac
    2624%configure $extra_arg
  • contrib/repo-conf/yum.repos.d/rtems.repo.in

    reb32e3a r73b019a0  
    11[rtems-@RTEMS_API@]
    2 name=RTEMS-@RTEMS_API@ for @OS_NAME@ $releasever - $basearch
     2name=RTEMS-@RTEMS_API@ for @OS_NAME@ @YUM_VERDIR@ - $basearch
    33baseurl=
    4         http://www.rtems.org/ftp/pub/rtems/linux/@RTEMS_API@/@OS_SUBDIR@$releasever/$basearch
    5         http://www.rtems.info/ftp/pub/rtems/linux/@RTEMS_API@/@OS_SUBDIR@$releasever/$basearch
     4        http://www.rtems.org/ftp/pub/rtems/linux/@RTEMS_API@/@OS_SUBDIR@@YUM_VERDIR@/$basearch
     5        http://www.rtems.info/ftp/pub/rtems/linux/@RTEMS_API@/@OS_SUBDIR@@YUM_VERDIR@/$basearch
    66# metadata_expire=0
    77enabled=1
     
    1111
    1212[rtems-@RTEMS_API@-source]
    13 name=RTEMS-@RTEMS_API@ for @OS_NAME@ $releasever - $basearch - source
     13name=RTEMS-@RTEMS_API@ for @OS_NAME@ @YUM_VERDIR@ - $basearch - source
    1414baseurl=
    15         http://www.rtems.org/ftp/pub/rtems/linux/@RTEMS_API@/@OS_SUBDIR@$releasever/SRPMS
    16         http://www.rtems.info/ftp/pub/rtems/linux/@RTEMS_API@/@OS_SUBDIR@$releasever/SRPMS
     15        http://www.rtems.org/ftp/pub/rtems/linux/@RTEMS_API@/@OS_SUBDIR@@YUM_VERDIR@/SRPMS
     16        http://www.rtems.info/ftp/pub/rtems/linux/@RTEMS_API@/@OS_SUBDIR@@YUM_VERDIR@/SRPMS
    1717# metadata_expire=0
    1818enabled=0
     
    2222
    2323[rtems-@RTEMS_API@-debuginfo]
    24 name=RTEMS-@RTEMS_API@ for @OS_NAME@ $releasever - $basearch - debuginfo
     24name=RTEMS-@RTEMS_API@ for @OS_NAME@ @YUM_VERDIR@ - $basearch - debuginfo
    2525baseurl=
    26         http://www.rtems.org/ftp/pub/rtems/linux/@RTEMS_API@/@OS_SUBDIR@$releasever/$basearch/debug
    27         http://www.rtems.info/ftp/pub/rtems/linux/@RTEMS_API@/@OS_SUBDIR@$releasever/$basearch/debug
     26        http://www.rtems.org/ftp/pub/rtems/linux/@RTEMS_API@/@OS_SUBDIR@@YUM_VERDIR@/$basearch/debug
     27        http://www.rtems.info/ftp/pub/rtems/linux/@RTEMS_API@/@OS_SUBDIR@@YUM_VERDIR@/$basearch/debug
    2828# metadata_expire=0
    2929enabled=0
Note: See TracChangeset for help on using the changeset viewer.