Changeset 712a3a2 in rtems
- Timestamp:
- 11/18/08 05:25:33 (15 years ago)
- Branches:
- 4.8
- Children:
- 3b4bbc2
- Parents:
- 86b2da4
- Location:
- contrib/repo-conf
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
contrib/repo-conf/INSTALL
r86b2da4 r712a3a2 3 3 4 4 Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005, 5 2006 Free Software Foundation, Inc.5 2006, 2007 Free Software Foundation, Inc. 6 6 7 7 This file is free documentation; the Free Software Foundation gives … … 68 68 with the distribution. 69 69 70 6. Often, you can also type `make uninstall' to remove the installed 71 files again. 72 70 73 Compilers and Options 71 74 ===================== -
contrib/repo-conf/Makefile.am
r86b2da4 r712a3a2 13 13 -e 's,[@]OS_SUBDIR[@],@OS_SUBDIR@,' \ 14 14 -e 's,[@]OS_NAME[@],@OS_NAME@,' \ 15 -e 's,[@]APT_VERDIR[@],@APT_VERDIR@,' \ 15 16 < $(srcdir)/apt/sources.list.d/rtems.list.in \ 16 17 > apt/sources.list.d/rtems-@RTEMS_API@.list … … 29 30 -e 's,[@]OS_SUBDIR[@],@OS_SUBDIR@,' \ 30 31 -e 's,[@]OS_NAME[@],@OS_NAME@,' \ 32 -e 's,[@]YUM_VERDIR[@],@YUM_VERDIR@,' \ 31 33 < $(srcdir)/yum.repos.d/rtems.repo.in \ 32 34 > yum.repos.d/rtems-@RTEMS_API@.repo -
contrib/repo-conf/apt/sources.list.d/rtems.list.in
r86b2da4 r712a3a2 2 2 ## http://apt-rpm.laiskiainen.org/ 3 3 4 repomd ftp://ftp.rtems.org/pub/rtems/linux/@RTEMS_API@ @OS_SUBDIR@ $(VERSION)/$(ARCH)4 repomd ftp://ftp.rtems.org/pub/rtems/linux/@RTEMS_API@ @OS_SUBDIR@@APT_VERDIR@/$(ARCH) 5 5 6 6 ## 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)/SRPMS7 # repomd-src ftp://ftp.rtems.org/pub/rtems/linux/@RTEMS_API@ @OS_SUBDIR@@APT_VERDIR@/SRPMS 8 8 9 9 ## 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)/debug10 # repomd-debug ftp://ftp.rtems.org/pub/rtems/linux/@RTEMS_API@ @OS_SUBDIR@@APT_VERDIR@/$(ARCH)/debug -
contrib/repo-conf/configure.ac
r86b2da4 r712a3a2 3 3 4 4 AC_PREREQ(2.61) 5 AC_INIT([rtems-]_RTEMS_API[-repo-conf],[0.1 2],[http://www.rtems.org/bugzilla],5 AC_INIT([rtems-]_RTEMS_API[-repo-conf],[0.13],[http://www.rtems.org/bugzilla], 6 6 [rtems-]_RTEMS_API[-repo-conf]) 7 7 RTEMS_VERSIONING 8 8 9 AC_CONFIG_SRCDIR([gpg]) 9 10 AC_CONFIG_AUX_DIR([.]) … … 11 12 AM_INIT_AUTOMAKE([dist-bzip2 no-dist-gzip 1.10]) 12 13 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/"]) 14 AC_ARG_ENABLE(osname,AS_HELP_STRING( 15 [--enable-osname=<dir> ... os name]), 16 [osname="$enable_osname"], 17 [osname="fedora-10"]) 18 19 case $osname in 20 fedora-[89]* | fedora-10* ) 21 os_name="Fedora" 22 os_subdir="fedora/" 23 yum_verdir="\$\$releasever" 24 apt_verdir="\$\$(VERSION)" 25 ;; 26 centos-5* | redhat-el5* | fedora-[7]* ) 27 os_name="CentOS" 28 os_subdir="centos/" 29 yum_verdir="5" 30 apt_verdir="5" 31 ;; 32 centos-4* | redhat-el4* | fedora-[56]* ) 33 os_name="CentOS" 34 os_subdir="centos/" 35 yum_verdir="4" 36 apt_verdir="4" 37 ;; 38 suse-*) 39 os_name="openSUSE" 40 os_subdir="suse/" 41 yum_verdir="\$\$releasever" 42 apt_verdir="\$\$(VERSION)" 43 ;; 44 *) 45 AC_MSG_ERROR([Unsupported OS]) 46 esac 47 17 48 AC_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 49 AC_SUBST([YUM_VERDIR],[$yum_verdir]) 50 AC_SUBST([APT_VERDIR],[$apt_verdir]) 26 51 AC_SUBST([OS_NAME],[$os_name]) 27 52 -
contrib/repo-conf/rtems-repo-conf.spec.in
r86b2da4 r712a3a2 18 18 %build 19 19 case "%{?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}";; 25 23 esac 26 24 %configure $extra_arg -
contrib/repo-conf/yum.repos.d/rtems.repo.in
r86b2da4 r712a3a2 1 1 [rtems-@RTEMS_API@] 2 name=RTEMS-@RTEMS_API@ for @OS_NAME@ $releasever- $basearch2 name=RTEMS-@RTEMS_API@ for @OS_NAME@ @YUM_VERDIR@ - $basearch 3 3 baseurl= 4 http://www.rtems.org/ftp/pub/rtems/linux/@RTEMS_API@/@OS_SUBDIR@ $releasever/$basearch5 http://www.rtems.info/ftp/pub/rtems/linux/@RTEMS_API@/@OS_SUBDIR@ $releasever/$basearch4 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 6 6 # metadata_expire=0 7 7 enabled=1 … … 11 11 12 12 [rtems-@RTEMS_API@-source] 13 name=RTEMS-@RTEMS_API@ for @OS_NAME@ $releasever- $basearch - source13 name=RTEMS-@RTEMS_API@ for @OS_NAME@ @YUM_VERDIR@ - $basearch - source 14 14 baseurl= 15 http://www.rtems.org/ftp/pub/rtems/linux/@RTEMS_API@/@OS_SUBDIR@ $releasever/SRPMS16 http://www.rtems.info/ftp/pub/rtems/linux/@RTEMS_API@/@OS_SUBDIR@ $releasever/SRPMS15 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 17 17 # metadata_expire=0 18 18 enabled=0 … … 22 22 23 23 [rtems-@RTEMS_API@-debuginfo] 24 name=RTEMS-@RTEMS_API@ for @OS_NAME@ $releasever- $basearch - debuginfo24 name=RTEMS-@RTEMS_API@ for @OS_NAME@ @YUM_VERDIR@ - $basearch - debuginfo 25 25 baseurl= 26 http://www.rtems.org/ftp/pub/rtems/linux/@RTEMS_API@/@OS_SUBDIR@ $releasever/$basearch/debug27 http://www.rtems.info/ftp/pub/rtems/linux/@RTEMS_API@/@OS_SUBDIR@ $releasever/$basearch/debug26 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 28 28 # metadata_expire=0 29 29 enabled=0
Note: See TracChangeset
for help on using the changeset viewer.