commit ca973053e8d3430df5e0d7c3aa2f4286f14fb795 Author: Daniel Berteaud Date: Wed Jul 4 21:14:58 2012 +0200 premier commit diff --git a/ipasserelle-repo.spec b/ipasserelle-repo.spec new file mode 100644 index 0000000..1a085a0 --- /dev/null +++ b/ipasserelle-repo.spec @@ -0,0 +1,77 @@ +%define version 0.2.0 +%define release 1 +%define name ipasserelle-repo + + +Summary: RPM repositories configuration for the iPasserelle +Name: %{name} +Version: %{version} +Release: %{release}%{?dist} +License: GPL +Group: Networking/Daemons +Source: %{name}-%{version}.tar.gz + +BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot +BuildArchitectures: noarch +BuildRequires: e-smith-devtools + +Requires: yum-priorities + +%description +This package contains the needed DB fragment to +configure various repositories used by the iPasserelle. + +%prep +%setup -q -n %{name}-%{version} + +%build + +%install +/bin/rm -rf $RPM_BUILD_ROOT +(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) +/bin/rm -f %{name}-%{version}-filelist +/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ + > %{name}-%{version}-filelist + +%files -f %{name}-%{version}-filelist +%defattr(-,root,root) + +%clean +rm -rf $RPM_BUILD_ROOT + +%post + +%preun + +%changelog +* Wed Jul 4 2012 Daniel Berteaud 0.2.0-1 +- Migrate to GIT + +* Tue Feb 14 2012 Daniel Berteaud 0.1-8 +- Rise atrpms-testing priority +- Only include dovecot and dependencies from atrpms-testing + +* Wed Nov 02 2011 Daniel Berteaud 0.1-7 +- Remove now unused nethsme repo +- Add remi repo (but disabled) +- Exclude squidguard from rpmforge + +* Wed Oct 19 2011 Daniel Berteaud 0.1-6 +- Rise testing repo priority + +* Fri Oct 14 2011 Daniel Berteaud 0.1-5 +- Add atrpms-testing and sme7contribs-testing + +* Tue May 10 2011 Daniel Berteaud 0.1-4 +- exclude fuse-encfs and rlog from epel repo + +* Thu Mar 31 2011 Daniel Berteaud 0.1-3 +- Rise priority of fws-testing and ipasserelle-testing repo + +* Thu Mar 31 2011 Daniel Berteaud 0.1-2 +- Rise the priority of smeupdates-testing +- Enable sme7contribs repo + +* Thu Jan 20 2011 Daniel Berteaud 0.1-1 +- initial release + diff --git a/root/etc/e-smith/db/yum_repositories/defaults/atrpms-testing/BaseURL b/root/etc/e-smith/db/yum_repositories/defaults/atrpms-testing/BaseURL new file mode 100644 index 0000000..935f436 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/atrpms-testing/BaseURL @@ -0,0 +1 @@ +http://dl.atrpms.net/el5-i386/atrpms/testing diff --git a/root/etc/e-smith/db/yum_repositories/defaults/atrpms-testing/EnableGroups b/root/etc/e-smith/db/yum_repositories/defaults/atrpms-testing/EnableGroups new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/atrpms-testing/EnableGroups @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/yum_repositories/defaults/atrpms-testing/GPGCheck b/root/etc/e-smith/db/yum_repositories/defaults/atrpms-testing/GPGCheck new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/atrpms-testing/GPGCheck @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/yum_repositories/defaults/atrpms-testing/GPGKey b/root/etc/e-smith/db/yum_repositories/defaults/atrpms-testing/GPGKey new file mode 100644 index 0000000..cee528a --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/atrpms-testing/GPGKey @@ -0,0 +1 @@ +http://packages.atrpms.net/RPM-GPG-KEY.atrpms diff --git a/root/etc/e-smith/db/yum_repositories/defaults/atrpms-testing/IncludePkgs b/root/etc/e-smith/db/yum_repositories/defaults/atrpms-testing/IncludePkgs new file mode 100644 index 0000000..ded559b --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/atrpms-testing/IncludePkgs @@ -0,0 +1 @@ +dovecot,dovecot-pigeonhole,dovecot-managesieve diff --git a/root/etc/e-smith/db/yum_repositories/defaults/atrpms-testing/Name b/root/etc/e-smith/db/yum_repositories/defaults/atrpms-testing/Name new file mode 100644 index 0000000..00f88fe --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/atrpms-testing/Name @@ -0,0 +1 @@ +ATrpms diff --git a/root/etc/e-smith/db/yum_repositories/defaults/atrpms-testing/Priority b/root/etc/e-smith/db/yum_repositories/defaults/atrpms-testing/Priority new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/atrpms-testing/Priority @@ -0,0 +1 @@ +9 diff --git a/root/etc/e-smith/db/yum_repositories/defaults/atrpms-testing/Visible b/root/etc/e-smith/db/yum_repositories/defaults/atrpms-testing/Visible new file mode 100644 index 0000000..7ecb56e --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/atrpms-testing/Visible @@ -0,0 +1 @@ +no diff --git a/root/etc/e-smith/db/yum_repositories/defaults/atrpms-testing/status b/root/etc/e-smith/db/yum_repositories/defaults/atrpms-testing/status new file mode 100644 index 0000000..7a68b11 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/atrpms-testing/status @@ -0,0 +1 @@ +disabled diff --git a/root/etc/e-smith/db/yum_repositories/defaults/atrpms-testing/type b/root/etc/e-smith/db/yum_repositories/defaults/atrpms-testing/type new file mode 100644 index 0000000..09d06c8 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/atrpms-testing/type @@ -0,0 +1 @@ +repository diff --git a/root/etc/e-smith/db/yum_repositories/defaults/atrpms/BaseURL b/root/etc/e-smith/db/yum_repositories/defaults/atrpms/BaseURL new file mode 100644 index 0000000..62fe1b2 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/atrpms/BaseURL @@ -0,0 +1 @@ +http://dl.atrpms.net/el5-i386/atrpms/stable diff --git a/root/etc/e-smith/db/yum_repositories/defaults/atrpms/EnableGroups b/root/etc/e-smith/db/yum_repositories/defaults/atrpms/EnableGroups new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/atrpms/EnableGroups @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/yum_repositories/defaults/atrpms/GPGCheck b/root/etc/e-smith/db/yum_repositories/defaults/atrpms/GPGCheck new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/atrpms/GPGCheck @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/yum_repositories/defaults/atrpms/GPGKey b/root/etc/e-smith/db/yum_repositories/defaults/atrpms/GPGKey new file mode 100644 index 0000000..cee528a --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/atrpms/GPGKey @@ -0,0 +1 @@ +http://packages.atrpms.net/RPM-GPG-KEY.atrpms diff --git a/root/etc/e-smith/db/yum_repositories/defaults/atrpms/Name b/root/etc/e-smith/db/yum_repositories/defaults/atrpms/Name new file mode 100644 index 0000000..00f88fe --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/atrpms/Name @@ -0,0 +1 @@ +ATrpms diff --git a/root/etc/e-smith/db/yum_repositories/defaults/atrpms/Priority b/root/etc/e-smith/db/yum_repositories/defaults/atrpms/Priority new file mode 100644 index 0000000..64bb6b7 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/atrpms/Priority @@ -0,0 +1 @@ +30 diff --git a/root/etc/e-smith/db/yum_repositories/defaults/atrpms/Visible b/root/etc/e-smith/db/yum_repositories/defaults/atrpms/Visible new file mode 100644 index 0000000..7ecb56e --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/atrpms/Visible @@ -0,0 +1 @@ +no diff --git a/root/etc/e-smith/db/yum_repositories/defaults/atrpms/status b/root/etc/e-smith/db/yum_repositories/defaults/atrpms/status new file mode 100644 index 0000000..86981e6 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/atrpms/status @@ -0,0 +1 @@ +enabled diff --git a/root/etc/e-smith/db/yum_repositories/defaults/atrpms/type b/root/etc/e-smith/db/yum_repositories/defaults/atrpms/type new file mode 100644 index 0000000..09d06c8 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/atrpms/type @@ -0,0 +1 @@ +repository diff --git a/root/etc/e-smith/db/yum_repositories/defaults/base/Priority b/root/etc/e-smith/db/yum_repositories/defaults/base/Priority new file mode 100644 index 0000000..f599e28 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/base/Priority @@ -0,0 +1 @@ +10 diff --git a/root/etc/e-smith/db/yum_repositories/defaults/epel/Exclude b/root/etc/e-smith/db/yum_repositories/defaults/epel/Exclude new file mode 100644 index 0000000..8458211 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/epel/Exclude @@ -0,0 +1 @@ +gnustep-make,libmemcached,fuse-encfs,rlog diff --git a/root/etc/e-smith/db/yum_repositories/defaults/epel/GPGCheck b/root/etc/e-smith/db/yum_repositories/defaults/epel/GPGCheck new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/epel/GPGCheck @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/yum_repositories/defaults/epel/GPGKey b/root/etc/e-smith/db/yum_repositories/defaults/epel/GPGKey new file mode 100644 index 0000000..a366022 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/epel/GPGKey @@ -0,0 +1 @@ +http://download.fedora.redhat.com/pub/epel/RPM-GPG-KEY-EPEL diff --git a/root/etc/e-smith/db/yum_repositories/defaults/epel/MirrorList b/root/etc/e-smith/db/yum_repositories/defaults/epel/MirrorList new file mode 100644 index 0000000..a0ddf58 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/epel/MirrorList @@ -0,0 +1 @@ +http://mirrors.fedoraproject.org/mirrorlist?repo=epel-$releasever&arch=i386 diff --git a/root/etc/e-smith/db/yum_repositories/defaults/epel/Name b/root/etc/e-smith/db/yum_repositories/defaults/epel/Name new file mode 100644 index 0000000..d52d6d9 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/epel/Name @@ -0,0 +1 @@ +Extra Packages for Enterprise Linux 5 diff --git a/root/etc/e-smith/db/yum_repositories/defaults/epel/Priority b/root/etc/e-smith/db/yum_repositories/defaults/epel/Priority new file mode 100644 index 0000000..209e3ef --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/epel/Priority @@ -0,0 +1 @@ +20 diff --git a/root/etc/e-smith/db/yum_repositories/defaults/epel/status b/root/etc/e-smith/db/yum_repositories/defaults/epel/status new file mode 100644 index 0000000..86981e6 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/epel/status @@ -0,0 +1 @@ +enabled diff --git a/root/etc/e-smith/db/yum_repositories/defaults/epel/type b/root/etc/e-smith/db/yum_repositories/defaults/epel/type new file mode 100644 index 0000000..09d06c8 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/epel/type @@ -0,0 +1 @@ +repository diff --git a/root/etc/e-smith/db/yum_repositories/defaults/fws-testing/BaseURL b/root/etc/e-smith/db/yum_repositories/defaults/fws-testing/BaseURL new file mode 100644 index 0000000..fd7105c --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/fws-testing/BaseURL @@ -0,0 +1 @@ +http://repo.firewall-services.com/centos-testing/$releasever diff --git a/root/etc/e-smith/db/yum_repositories/defaults/fws-testing/EnableGroups b/root/etc/e-smith/db/yum_repositories/defaults/fws-testing/EnableGroups new file mode 100644 index 0000000..7ecb56e --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/fws-testing/EnableGroups @@ -0,0 +1 @@ +no diff --git a/root/etc/e-smith/db/yum_repositories/defaults/fws-testing/GPGCheck b/root/etc/e-smith/db/yum_repositories/defaults/fws-testing/GPGCheck new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/fws-testing/GPGCheck @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/yum_repositories/defaults/fws-testing/GPGKey b/root/etc/e-smith/db/yum_repositories/defaults/fws-testing/GPGKey new file mode 100644 index 0000000..6bd9157 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/fws-testing/GPGKey @@ -0,0 +1 @@ +http://repo.firewall-services.com/RPM-GPG-KEY diff --git a/root/etc/e-smith/db/yum_repositories/defaults/fws-testing/Name b/root/etc/e-smith/db/yum_repositories/defaults/fws-testing/Name new file mode 100644 index 0000000..c4be6cc --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/fws-testing/Name @@ -0,0 +1 @@ +Firewall-Services Testing Repo diff --git a/root/etc/e-smith/db/yum_repositories/defaults/fws-testing/Priority b/root/etc/e-smith/db/yum_repositories/defaults/fws-testing/Priority new file mode 100644 index 0000000..8351c19 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/fws-testing/Priority @@ -0,0 +1 @@ +14 diff --git a/root/etc/e-smith/db/yum_repositories/defaults/fws-testing/Visible b/root/etc/e-smith/db/yum_repositories/defaults/fws-testing/Visible new file mode 100644 index 0000000..7ecb56e --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/fws-testing/Visible @@ -0,0 +1 @@ +no diff --git a/root/etc/e-smith/db/yum_repositories/defaults/fws-testing/status b/root/etc/e-smith/db/yum_repositories/defaults/fws-testing/status new file mode 100644 index 0000000..7a68b11 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/fws-testing/status @@ -0,0 +1 @@ +disabled diff --git a/root/etc/e-smith/db/yum_repositories/defaults/fws-testing/type b/root/etc/e-smith/db/yum_repositories/defaults/fws-testing/type new file mode 100644 index 0000000..09d06c8 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/fws-testing/type @@ -0,0 +1 @@ +repository diff --git a/root/etc/e-smith/db/yum_repositories/defaults/fws/BaseURL b/root/etc/e-smith/db/yum_repositories/defaults/fws/BaseURL new file mode 100644 index 0000000..5761897 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/fws/BaseURL @@ -0,0 +1 @@ +http://repo.firewall-services.com/centos/$releasever diff --git a/root/etc/e-smith/db/yum_repositories/defaults/fws/EnableGroups b/root/etc/e-smith/db/yum_repositories/defaults/fws/EnableGroups new file mode 100644 index 0000000..7ecb56e --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/fws/EnableGroups @@ -0,0 +1 @@ +no diff --git a/root/etc/e-smith/db/yum_repositories/defaults/fws/GPGCheck b/root/etc/e-smith/db/yum_repositories/defaults/fws/GPGCheck new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/fws/GPGCheck @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/yum_repositories/defaults/fws/GPGKey b/root/etc/e-smith/db/yum_repositories/defaults/fws/GPGKey new file mode 100644 index 0000000..6bd9157 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/fws/GPGKey @@ -0,0 +1 @@ +http://repo.firewall-services.com/RPM-GPG-KEY diff --git a/root/etc/e-smith/db/yum_repositories/defaults/fws/Name b/root/etc/e-smith/db/yum_repositories/defaults/fws/Name new file mode 100644 index 0000000..d453533 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/fws/Name @@ -0,0 +1 @@ +Firewall-Services Repo diff --git a/root/etc/e-smith/db/yum_repositories/defaults/fws/Priority b/root/etc/e-smith/db/yum_repositories/defaults/fws/Priority new file mode 100644 index 0000000..60d3b2f --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/fws/Priority @@ -0,0 +1 @@ +15 diff --git a/root/etc/e-smith/db/yum_repositories/defaults/fws/Visible b/root/etc/e-smith/db/yum_repositories/defaults/fws/Visible new file mode 100644 index 0000000..7ecb56e --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/fws/Visible @@ -0,0 +1 @@ +no diff --git a/root/etc/e-smith/db/yum_repositories/defaults/fws/status b/root/etc/e-smith/db/yum_repositories/defaults/fws/status new file mode 100644 index 0000000..86981e6 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/fws/status @@ -0,0 +1 @@ +enabled diff --git a/root/etc/e-smith/db/yum_repositories/defaults/fws/type b/root/etc/e-smith/db/yum_repositories/defaults/fws/type new file mode 100644 index 0000000..09d06c8 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/fws/type @@ -0,0 +1 @@ +repository diff --git a/root/etc/e-smith/db/yum_repositories/defaults/ipasserelle-testing/BaseURL b/root/etc/e-smith/db/yum_repositories/defaults/ipasserelle-testing/BaseURL new file mode 100644 index 0000000..3371667 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/ipasserelle-testing/BaseURL @@ -0,0 +1 @@ +http://repo.firewall-services.com/ipasserelle-testing/$releasever diff --git a/root/etc/e-smith/db/yum_repositories/defaults/ipasserelle-testing/EnableGroups b/root/etc/e-smith/db/yum_repositories/defaults/ipasserelle-testing/EnableGroups new file mode 100644 index 0000000..7ecb56e --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/ipasserelle-testing/EnableGroups @@ -0,0 +1 @@ +no diff --git a/root/etc/e-smith/db/yum_repositories/defaults/ipasserelle-testing/GPGCheck b/root/etc/e-smith/db/yum_repositories/defaults/ipasserelle-testing/GPGCheck new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/ipasserelle-testing/GPGCheck @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/yum_repositories/defaults/ipasserelle-testing/GPGKey b/root/etc/e-smith/db/yum_repositories/defaults/ipasserelle-testing/GPGKey new file mode 100644 index 0000000..6bd9157 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/ipasserelle-testing/GPGKey @@ -0,0 +1 @@ +http://repo.firewall-services.com/RPM-GPG-KEY diff --git a/root/etc/e-smith/db/yum_repositories/defaults/ipasserelle-testing/Name b/root/etc/e-smith/db/yum_repositories/defaults/ipasserelle-testing/Name new file mode 100644 index 0000000..b9f4260 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/ipasserelle-testing/Name @@ -0,0 +1 @@ +iPasserelle Testing Repo diff --git a/root/etc/e-smith/db/yum_repositories/defaults/ipasserelle-testing/Priority b/root/etc/e-smith/db/yum_repositories/defaults/ipasserelle-testing/Priority new file mode 100644 index 0000000..8351c19 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/ipasserelle-testing/Priority @@ -0,0 +1 @@ +14 diff --git a/root/etc/e-smith/db/yum_repositories/defaults/ipasserelle-testing/Visible b/root/etc/e-smith/db/yum_repositories/defaults/ipasserelle-testing/Visible new file mode 100644 index 0000000..7ecb56e --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/ipasserelle-testing/Visible @@ -0,0 +1 @@ +no diff --git a/root/etc/e-smith/db/yum_repositories/defaults/ipasserelle-testing/status b/root/etc/e-smith/db/yum_repositories/defaults/ipasserelle-testing/status new file mode 100644 index 0000000..7a68b11 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/ipasserelle-testing/status @@ -0,0 +1 @@ +disabled diff --git a/root/etc/e-smith/db/yum_repositories/defaults/ipasserelle-testing/type b/root/etc/e-smith/db/yum_repositories/defaults/ipasserelle-testing/type new file mode 100644 index 0000000..09d06c8 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/ipasserelle-testing/type @@ -0,0 +1 @@ +repository diff --git a/root/etc/e-smith/db/yum_repositories/defaults/ipasserelle/BaseURL b/root/etc/e-smith/db/yum_repositories/defaults/ipasserelle/BaseURL new file mode 100644 index 0000000..7f9203d --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/ipasserelle/BaseURL @@ -0,0 +1 @@ +http://repo.firewall-services.com/ipasserelle/$releasever diff --git a/root/etc/e-smith/db/yum_repositories/defaults/ipasserelle/EnableGroups b/root/etc/e-smith/db/yum_repositories/defaults/ipasserelle/EnableGroups new file mode 100644 index 0000000..7ecb56e --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/ipasserelle/EnableGroups @@ -0,0 +1 @@ +no diff --git a/root/etc/e-smith/db/yum_repositories/defaults/ipasserelle/GPGCheck b/root/etc/e-smith/db/yum_repositories/defaults/ipasserelle/GPGCheck new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/ipasserelle/GPGCheck @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/yum_repositories/defaults/ipasserelle/GPGKey b/root/etc/e-smith/db/yum_repositories/defaults/ipasserelle/GPGKey new file mode 100644 index 0000000..6bd9157 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/ipasserelle/GPGKey @@ -0,0 +1 @@ +http://repo.firewall-services.com/RPM-GPG-KEY diff --git a/root/etc/e-smith/db/yum_repositories/defaults/ipasserelle/Name b/root/etc/e-smith/db/yum_repositories/defaults/ipasserelle/Name new file mode 100644 index 0000000..d28e19c --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/ipasserelle/Name @@ -0,0 +1 @@ +iPasserelle Repo diff --git a/root/etc/e-smith/db/yum_repositories/defaults/ipasserelle/Priority b/root/etc/e-smith/db/yum_repositories/defaults/ipasserelle/Priority new file mode 100644 index 0000000..60d3b2f --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/ipasserelle/Priority @@ -0,0 +1 @@ +15 diff --git a/root/etc/e-smith/db/yum_repositories/defaults/ipasserelle/Visible b/root/etc/e-smith/db/yum_repositories/defaults/ipasserelle/Visible new file mode 100644 index 0000000..7ecb56e --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/ipasserelle/Visible @@ -0,0 +1 @@ +no diff --git a/root/etc/e-smith/db/yum_repositories/defaults/ipasserelle/status b/root/etc/e-smith/db/yum_repositories/defaults/ipasserelle/status new file mode 100644 index 0000000..86981e6 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/ipasserelle/status @@ -0,0 +1 @@ +enabled diff --git a/root/etc/e-smith/db/yum_repositories/defaults/ipasserelle/type b/root/etc/e-smith/db/yum_repositories/defaults/ipasserelle/type new file mode 100644 index 0000000..09d06c8 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/ipasserelle/type @@ -0,0 +1 @@ +repository diff --git a/root/etc/e-smith/db/yum_repositories/defaults/remi/GPGCheck b/root/etc/e-smith/db/yum_repositories/defaults/remi/GPGCheck new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/remi/GPGCheck @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/yum_repositories/defaults/remi/GPGKey b/root/etc/e-smith/db/yum_repositories/defaults/remi/GPGKey new file mode 100644 index 0000000..9f7a2b8 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/remi/GPGKey @@ -0,0 +1 @@ +http://rpms.famillecollet.com/RPM-GPG-KEY-remi diff --git a/root/etc/e-smith/db/yum_repositories/defaults/remi/MirrorList b/root/etc/e-smith/db/yum_repositories/defaults/remi/MirrorList new file mode 100644 index 0000000..68ab317 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/remi/MirrorList @@ -0,0 +1 @@ +http://rpms.famillecollet.com/enterprise/$releasever/remi/mirror diff --git a/root/etc/e-smith/db/yum_repositories/defaults/remi/Name b/root/etc/e-smith/db/yum_repositories/defaults/remi/Name new file mode 100644 index 0000000..67386c0 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/remi/Name @@ -0,0 +1 @@ +Les RPM de remi pour Enterprise Linux $releasever - $basearch diff --git a/root/etc/e-smith/db/yum_repositories/defaults/remi/status b/root/etc/e-smith/db/yum_repositories/defaults/remi/status new file mode 100644 index 0000000..7a68b11 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/remi/status @@ -0,0 +1 @@ +disabled diff --git a/root/etc/e-smith/db/yum_repositories/defaults/remi/type b/root/etc/e-smith/db/yum_repositories/defaults/remi/type new file mode 100644 index 0000000..09d06c8 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/remi/type @@ -0,0 +1 @@ +repository diff --git a/root/etc/e-smith/db/yum_repositories/defaults/rpmforge/BaseURL b/root/etc/e-smith/db/yum_repositories/defaults/rpmforge/BaseURL new file mode 100644 index 0000000..faabc35 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/rpmforge/BaseURL @@ -0,0 +1 @@ +http://apt.sw.be/redhat/el5/en/$basearch/rpmforge diff --git a/root/etc/e-smith/db/yum_repositories/defaults/rpmforge/EnableGroups b/root/etc/e-smith/db/yum_repositories/defaults/rpmforge/EnableGroups new file mode 100644 index 0000000..7ecb56e --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/rpmforge/EnableGroups @@ -0,0 +1 @@ +no diff --git a/root/etc/e-smith/db/yum_repositories/defaults/rpmforge/Exclude b/root/etc/e-smith/db/yum_repositories/defaults/rpmforge/Exclude new file mode 100644 index 0000000..6f2d8ce --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/rpmforge/Exclude @@ -0,0 +1 @@ +freetype,htop,iptraf,rsync,syslinux,perl-rrdtool,php-pear-db,dansguardian,squidguard diff --git a/root/etc/e-smith/db/yum_repositories/defaults/rpmforge/GPGCheck b/root/etc/e-smith/db/yum_repositories/defaults/rpmforge/GPGCheck new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/rpmforge/GPGCheck @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/yum_repositories/defaults/rpmforge/GPGKey b/root/etc/e-smith/db/yum_repositories/defaults/rpmforge/GPGKey new file mode 100644 index 0000000..c5ddd5d --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/rpmforge/GPGKey @@ -0,0 +1 @@ +http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt diff --git a/root/etc/e-smith/db/yum_repositories/defaults/rpmforge/Name b/root/etc/e-smith/db/yum_repositories/defaults/rpmforge/Name new file mode 100644 index 0000000..8793985 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/rpmforge/Name @@ -0,0 +1 @@ +RPMForge - EL5 diff --git a/root/etc/e-smith/db/yum_repositories/defaults/rpmforge/Priority b/root/etc/e-smith/db/yum_repositories/defaults/rpmforge/Priority new file mode 100644 index 0000000..425151f --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/rpmforge/Priority @@ -0,0 +1 @@ +40 diff --git a/root/etc/e-smith/db/yum_repositories/defaults/rpmforge/Visible b/root/etc/e-smith/db/yum_repositories/defaults/rpmforge/Visible new file mode 100644 index 0000000..7ecb56e --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/rpmforge/Visible @@ -0,0 +1 @@ +no diff --git a/root/etc/e-smith/db/yum_repositories/defaults/rpmforge/status b/root/etc/e-smith/db/yum_repositories/defaults/rpmforge/status new file mode 100644 index 0000000..86981e6 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/rpmforge/status @@ -0,0 +1 @@ +enabled diff --git a/root/etc/e-smith/db/yum_repositories/defaults/rpmforge/type b/root/etc/e-smith/db/yum_repositories/defaults/rpmforge/type new file mode 100644 index 0000000..09d06c8 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/rpmforge/type @@ -0,0 +1 @@ +repository diff --git a/root/etc/e-smith/db/yum_repositories/defaults/sme7contribs-testing/EnableGroups b/root/etc/e-smith/db/yum_repositories/defaults/sme7contribs-testing/EnableGroups new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/sme7contribs-testing/EnableGroups @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/yum_repositories/defaults/sme7contribs-testing/GPGCheck b/root/etc/e-smith/db/yum_repositories/defaults/sme7contribs-testing/GPGCheck new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/sme7contribs-testing/GPGCheck @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/yum_repositories/defaults/sme7contribs-testing/MirrorList b/root/etc/e-smith/db/yum_repositories/defaults/sme7contribs-testing/MirrorList new file mode 100644 index 0000000..f8251bc --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/sme7contribs-testing/MirrorList @@ -0,0 +1 @@ +http://distro.ibiblio.org/pub/linux/distributions/smeserver/mirrorlist/smetest-7 diff --git a/root/etc/e-smith/db/yum_repositories/defaults/sme7contribs-testing/Name b/root/etc/e-smith/db/yum_repositories/defaults/sme7contribs-testing/Name new file mode 100644 index 0000000..da71518 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/sme7contribs-testing/Name @@ -0,0 +1 @@ +SME Server - contribs 7.X diff --git a/root/etc/e-smith/db/yum_repositories/defaults/sme7contribs-testing/Priority b/root/etc/e-smith/db/yum_repositories/defaults/sme7contribs-testing/Priority new file mode 100644 index 0000000..425151f --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/sme7contribs-testing/Priority @@ -0,0 +1 @@ +40 diff --git a/root/etc/e-smith/db/yum_repositories/defaults/sme7contribs-testing/Visible b/root/etc/e-smith/db/yum_repositories/defaults/sme7contribs-testing/Visible new file mode 100644 index 0000000..7ecb56e --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/sme7contribs-testing/Visible @@ -0,0 +1 @@ +no diff --git a/root/etc/e-smith/db/yum_repositories/defaults/sme7contribs-testing/status b/root/etc/e-smith/db/yum_repositories/defaults/sme7contribs-testing/status new file mode 100644 index 0000000..7a68b11 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/sme7contribs-testing/status @@ -0,0 +1 @@ +disabled diff --git a/root/etc/e-smith/db/yum_repositories/defaults/sme7contribs-testing/type b/root/etc/e-smith/db/yum_repositories/defaults/sme7contribs-testing/type new file mode 100644 index 0000000..09d06c8 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/sme7contribs-testing/type @@ -0,0 +1 @@ +repository diff --git a/root/etc/e-smith/db/yum_repositories/defaults/sme7contribs/EnableGroups b/root/etc/e-smith/db/yum_repositories/defaults/sme7contribs/EnableGroups new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/sme7contribs/EnableGroups @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/yum_repositories/defaults/sme7contribs/GPGCheck b/root/etc/e-smith/db/yum_repositories/defaults/sme7contribs/GPGCheck new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/sme7contribs/GPGCheck @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/yum_repositories/defaults/sme7contribs/MirrorList b/root/etc/e-smith/db/yum_repositories/defaults/sme7contribs/MirrorList new file mode 100644 index 0000000..00adaef --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/sme7contribs/MirrorList @@ -0,0 +1 @@ +http://distro.ibiblio.org/pub/linux/distributions/smeserver/mirrorlist/smecontribs-7 diff --git a/root/etc/e-smith/db/yum_repositories/defaults/sme7contribs/Name b/root/etc/e-smith/db/yum_repositories/defaults/sme7contribs/Name new file mode 100644 index 0000000..da71518 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/sme7contribs/Name @@ -0,0 +1 @@ +SME Server - contribs 7.X diff --git a/root/etc/e-smith/db/yum_repositories/defaults/sme7contribs/Priority b/root/etc/e-smith/db/yum_repositories/defaults/sme7contribs/Priority new file mode 100644 index 0000000..e373ee6 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/sme7contribs/Priority @@ -0,0 +1 @@ +50 diff --git a/root/etc/e-smith/db/yum_repositories/defaults/sme7contribs/Visible b/root/etc/e-smith/db/yum_repositories/defaults/sme7contribs/Visible new file mode 100644 index 0000000..7ecb56e --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/sme7contribs/Visible @@ -0,0 +1 @@ +no diff --git a/root/etc/e-smith/db/yum_repositories/defaults/sme7contribs/status b/root/etc/e-smith/db/yum_repositories/defaults/sme7contribs/status new file mode 100644 index 0000000..86981e6 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/sme7contribs/status @@ -0,0 +1 @@ +enabled diff --git a/root/etc/e-smith/db/yum_repositories/defaults/sme7contribs/type b/root/etc/e-smith/db/yum_repositories/defaults/sme7contribs/type new file mode 100644 index 0000000..09d06c8 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/sme7contribs/type @@ -0,0 +1 @@ +repository diff --git a/root/etc/e-smith/db/yum_repositories/defaults/smeos/Priority b/root/etc/e-smith/db/yum_repositories/defaults/smeos/Priority new file mode 100644 index 0000000..f599e28 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/smeos/Priority @@ -0,0 +1 @@ +10 diff --git a/root/etc/e-smith/db/yum_repositories/defaults/smeupdates-testing/Priority b/root/etc/e-smith/db/yum_repositories/defaults/smeupdates-testing/Priority new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/smeupdates-testing/Priority @@ -0,0 +1 @@ +5 diff --git a/root/etc/e-smith/db/yum_repositories/defaults/smeupdates/Priority b/root/etc/e-smith/db/yum_repositories/defaults/smeupdates/Priority new file mode 100644 index 0000000..f599e28 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/smeupdates/Priority @@ -0,0 +1 @@ +10 diff --git a/root/etc/e-smith/db/yum_repositories/defaults/sogo-testing/BaseURL b/root/etc/e-smith/db/yum_repositories/defaults/sogo-testing/BaseURL new file mode 100644 index 0000000..8a26aae --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/sogo-testing/BaseURL @@ -0,0 +1 @@ +http://inverse.ca/downloads/SOGo/RHEL5/nightly/$basearch diff --git a/root/etc/e-smith/db/yum_repositories/defaults/sogo-testing/EnableGroups b/root/etc/e-smith/db/yum_repositories/defaults/sogo-testing/EnableGroups new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/sogo-testing/EnableGroups @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/yum_repositories/defaults/sogo-testing/Exclude b/root/etc/e-smith/db/yum_repositories/defaults/sogo-testing/Exclude new file mode 100644 index 0000000..317bd62 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/sogo-testing/Exclude @@ -0,0 +1 @@ +libevent,memcached diff --git a/root/etc/e-smith/db/yum_repositories/defaults/sogo-testing/GPGCheck b/root/etc/e-smith/db/yum_repositories/defaults/sogo-testing/GPGCheck new file mode 100644 index 0000000..7ecb56e --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/sogo-testing/GPGCheck @@ -0,0 +1 @@ +no diff --git a/root/etc/e-smith/db/yum_repositories/defaults/sogo-testing/Name b/root/etc/e-smith/db/yum_repositories/defaults/sogo-testing/Name new file mode 100644 index 0000000..da83954 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/sogo-testing/Name @@ -0,0 +1 @@ +Inverse SOGo Repository diff --git a/root/etc/e-smith/db/yum_repositories/defaults/sogo-testing/Priority b/root/etc/e-smith/db/yum_repositories/defaults/sogo-testing/Priority new file mode 100644 index 0000000..d6b2404 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/sogo-testing/Priority @@ -0,0 +1 @@ +19 diff --git a/root/etc/e-smith/db/yum_repositories/defaults/sogo-testing/Visible b/root/etc/e-smith/db/yum_repositories/defaults/sogo-testing/Visible new file mode 100644 index 0000000..7ecb56e --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/sogo-testing/Visible @@ -0,0 +1 @@ +no diff --git a/root/etc/e-smith/db/yum_repositories/defaults/sogo-testing/status b/root/etc/e-smith/db/yum_repositories/defaults/sogo-testing/status new file mode 100644 index 0000000..7a68b11 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/sogo-testing/status @@ -0,0 +1 @@ +disabled diff --git a/root/etc/e-smith/db/yum_repositories/defaults/sogo-testing/type b/root/etc/e-smith/db/yum_repositories/defaults/sogo-testing/type new file mode 100644 index 0000000..09d06c8 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/sogo-testing/type @@ -0,0 +1 @@ +repository diff --git a/root/etc/e-smith/db/yum_repositories/defaults/sogo/BaseURL b/root/etc/e-smith/db/yum_repositories/defaults/sogo/BaseURL new file mode 100644 index 0000000..f83c95e --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/sogo/BaseURL @@ -0,0 +1 @@ +http://inverse.ca/downloads/SOGo/RHEL5/$basearch diff --git a/root/etc/e-smith/db/yum_repositories/defaults/sogo/EnableGroups b/root/etc/e-smith/db/yum_repositories/defaults/sogo/EnableGroups new file mode 100644 index 0000000..7cfab5b --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/sogo/EnableGroups @@ -0,0 +1 @@ +yes diff --git a/root/etc/e-smith/db/yum_repositories/defaults/sogo/Exclude b/root/etc/e-smith/db/yum_repositories/defaults/sogo/Exclude new file mode 100644 index 0000000..317bd62 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/sogo/Exclude @@ -0,0 +1 @@ +libevent,memcached diff --git a/root/etc/e-smith/db/yum_repositories/defaults/sogo/GPGCheck b/root/etc/e-smith/db/yum_repositories/defaults/sogo/GPGCheck new file mode 100644 index 0000000..7ecb56e --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/sogo/GPGCheck @@ -0,0 +1 @@ +no diff --git a/root/etc/e-smith/db/yum_repositories/defaults/sogo/Name b/root/etc/e-smith/db/yum_repositories/defaults/sogo/Name new file mode 100644 index 0000000..da83954 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/sogo/Name @@ -0,0 +1 @@ +Inverse SOGo Repository diff --git a/root/etc/e-smith/db/yum_repositories/defaults/sogo/Priority b/root/etc/e-smith/db/yum_repositories/defaults/sogo/Priority new file mode 100644 index 0000000..d6b2404 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/sogo/Priority @@ -0,0 +1 @@ +19 diff --git a/root/etc/e-smith/db/yum_repositories/defaults/sogo/Visible b/root/etc/e-smith/db/yum_repositories/defaults/sogo/Visible new file mode 100644 index 0000000..7ecb56e --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/sogo/Visible @@ -0,0 +1 @@ +no diff --git a/root/etc/e-smith/db/yum_repositories/defaults/sogo/status b/root/etc/e-smith/db/yum_repositories/defaults/sogo/status new file mode 100644 index 0000000..86981e6 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/sogo/status @@ -0,0 +1 @@ +enabled diff --git a/root/etc/e-smith/db/yum_repositories/defaults/sogo/type b/root/etc/e-smith/db/yum_repositories/defaults/sogo/type new file mode 100644 index 0000000..09d06c8 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/sogo/type @@ -0,0 +1 @@ +repository diff --git a/root/etc/e-smith/db/yum_repositories/defaults/updates/Priority b/root/etc/e-smith/db/yum_repositories/defaults/updates/Priority new file mode 100644 index 0000000..f599e28 --- /dev/null +++ b/root/etc/e-smith/db/yum_repositories/defaults/updates/Priority @@ -0,0 +1 @@ +10 diff --git a/root/etc/e-smith/templates-custom/etc/yum.smerepos.d/sme-base.repo/20repositories b/root/etc/e-smith/templates-custom/etc/yum.smerepos.d/sme-base.repo/20repositories new file mode 100644 index 0000000..aaafec4 --- /dev/null +++ b/root/etc/e-smith/templates-custom/etc/yum.smerepos.d/sme-base.repo/20repositories @@ -0,0 +1,58 @@ +{ + my $ydb = esmith::ConfigDB->open_ro('yum_repositories') + or die "Couldn't open yum_repositories"; + + $OUT = "\n"; + + for my $repos ( $ydb->get_all_by_prop('type' => 'repository') ) + { + my %props = ($DB->get('yum')->props(), $repos->props()); + + $OUT .= "[" . $repos->key . "]\n"; + + $OUT .= "enabled=" . (($repos->prop('status') eq 'enabled') ? 1 : 0) + . "\n"; + + if ( exists $props{MirrorList} ) + { + $OUT .= 'mirrorlist=' . $props{MirrorList} . "\n"; + } + else + { + $OUT .= 'baseurl=' . $props{BaseURL} . "\n"; + } + + for my $prop (qw(Name)) + { + $OUT .= lc($prop) . '=' . $props{$prop} . "\n"; + } + + for my $prop (qw(GPGCheck EnableGroups)) + { + $OUT .= lc($prop) . '=' . ($props{$prop} eq "yes" ? 1 : 0) . "\n"; + } + + if (exists $props{Exclude}) + { + $OUT .= "exclude=" . join(' ', split(/,/, $props{Exclude})) . "\n"; + } + + if (exists $props{IncludePkgs}) + { + $OUT .= "includepkgs=" . join(' ', split(/,/, $props{IncludePkgs})) . "\n"; + } + + if (exists $props{GPGKey}) + { + $OUT .= "gpgkey" . '=' . $props{GPGKey} . "\n"; + } + if (exists $props{Priority}) + { + $OUT .= "priority" . '=' . $props{Priority} . "\n"; + } + + + $OUT .= "\n"; + } +} +