Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updates

  • Loading branch information...
commit 606289d83306b7d29182418207b88062b9f53a07 1 parent cca04df
@dagwieers authored
View
6 commands.txt
@@ -2,13 +2,13 @@
### """"""""
### Install build environment
-old=fc3-i386; new=el4-i386; chr=el4i; diff -u <(cut -d"$(echo -e '\t')" -f1 /dar/pub/rpmforge/persona/dag/state/rpmqa-$old.list) <(cut -d"$(echo -e '\t')" -f1 /dar/pub/rpmforge/persona/dag/state/rpmqa-$new.list) | grep "^-" | sed -e 's|^-||' | xargs dar-update
+old=fc3-i386; new=el4-i386; chr=el4i; diff -u <(cut -f1 /dar/pub/rpmforge/persona/dag/state/rpmqa-$old.list) <(cut -f1 /dar/pub/rpmforge/persona/dag/state/rpmqa-$new.list) | grep "^-" | sed -e 's|^-||' | xargs dar-update -d $chr
### Build missing packages compared to other dist
-old=fc3-i386; new=el4-i386; chr=el4i; diff -u <(cut -d"$(echo -e '\t')" -f1 /dar/pub/rpmforge/persona/dag/state/packages-$old.list) <(cut -d"$(echo -e '\t')" -f1 /dar/pub/rpmforge/persona/dag/state/packages-$new.list) | grep "^-" | sed -e 's|^-||' | xargs dar-build -n -d $chr
+old=fc3-i386; new=el4-i386; chr=el4i; diff -u <(cut -f1 /dar/pub/rpmforge/persona/dag/state/packages-$old.list) <(cut -f1 /dar/pub/rpmforge/persona/dag/state/packages-$new.list) | grep "^-" | sed -e 's|^-||' | xargs dar-build -n -d $chr
### Build library packages first
-old=fc3; chr=fc4i; for pkg in $(echo /dar/packages/*/*-devel-*.$old.rf.i386.rpm); do pkg="$(basename $pkg)"; echo ${pkg%-*-*-*}; done | xargs dar-build -n -d $chr
+old=fc3; chr=fc4i; for pkg in $(echo /dar/packages/*/*-devel-*.$old.rf.i386.rpm); do pkg="$(basename $pkg)"; echo ${pkg%-*-*-*}; done | sort | uniq | xargs dar-build -n -d $chr
### Clean up chroots
#dar-exec
View
54 dar-kickoff
@@ -15,33 +15,6 @@ fi
mkdir -p "$ROOT/logs" "$ROOT/home-made" "$ROOT/$DIST"
rpm --initdb --root "$ROOT/$DIST"
-: -<<EOF
-adduser dag
-
-chown dag.dag -R /usr/src/redhat/BUILD /dar/packages/ /dar/logs/
-
-rpm --root -ihvU %
-Install
- util-linux (start)
-
- basesystem-7.0-2.noarch.rpm
- bash-2.05a-13.i386.rpm
- filesystem-2.1.6-2.noarch.rpm
- glibc-2.2.5-42.i686.rpm
- glibc-common-2.2.5-42.i386.rpm
- libtermcap-2.0.8-28.i386.rpm
- mktemp-1.5-14.i386.rpm
- termcap-11.0.1-10.noarch.rpm
-EOF
-
-: -<<EOF #$ROOT$DIST/etc/apt/sources.list
-### Dag Apt Repository for Red Hat 8.0
-rpm file:///dar/apt redhat/8.0/en/i386 dag
-
-### Red Hat Linux 8.0
-rpm http://apt.ccl.kuleuven.ac.be redhat/8.0/en/i386 os updates
-EOF
-
### Disable symbols in builds (for rh90) -g
# perl -pi.orig -e 's|-O2 -g|-O2|' /dar/chroot/*/usr/lib/rpm/{*/macros,macros,rpmrc}
@@ -74,6 +47,33 @@ ln -sf ../proc/self/fd $ROOT/$DIST/dev/fd
mkdir $ROOT/$DIST/dev/shm/
chmod 1777 $ROOT/$DIST/dev/shm/
+: -<<EOF
+adduser dag
+
+chown dag.dag -R /usr/src/redhat/BUILD /dar/packages/ /dar/logs/
+
+rpm --root -ihvU %
+Install
+ util-linux (start)
+
+ basesystem-7.0-2.noarch.rpm
+ bash-2.05a-13.i386.rpm
+ filesystem-2.1.6-2.noarch.rpm
+ glibc-2.2.5-42.i686.rpm
+ glibc-common-2.2.5-42.i386.rpm
+ libtermcap-2.0.8-28.i386.rpm
+ mktemp-1.5-14.i386.rpm
+ termcap-11.0.1-10.noarch.rpm
+EOF
+
+: -<<EOF #$ROOT$DIST/etc/apt/sources.list
+### Dag Apt Repository for Red Hat 8.0
+rpm file:///dar/apt redhat/8.0/en/i386 dag
+
+### Red Hat Linux 8.0
+rpm http://apt.ccl.kuleuven.ac.be redhat/8.0/en/i386 os updates
+EOF
+
#chroot $ROOT/$DIST /bin/nice /usr/bin/apt install
exit 0
View
154 dar-perl.py
@@ -0,0 +1,154 @@
+#!/usr/bin/python
+
+import sys, os, time
+
+args = sys.argv[1:]
+logname = os.getlogin()
+noarch = False
+
+try:
+ import getopt
+ opts, args = getopt.getopt (args, 'hnv',
+ ['help', 'noarch', 'version'])
+except getopt.error, exc:
+ print 'dar-perl: %s, try dstat -h for a list of all the options' % str(exc)
+ sys.exit(1)
+
+for opt, arg in opts:
+ if opt in ['-h', '--help']:
+ pass
+ elif opt in ['-v', '--version']:
+ pass
+ elif opt in ['-n', '--noarch']:
+ noarch = True
+
+if args:
+ module = args[0]
+else:
+ module = 'RPMforge-Template'
+
+modparts = module.split('-')
+
+#os.mkdir("/dar/rpms/%s" % module, "0755")
+
+print '# $Id$'
+print '# Authority:', logname
+
+### FIXME: Get Author from CPAN
+print '# Upstream:'
+print
+print '%define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib)'
+print '%define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch)'
+print
+print '%define real_name ', module
+print
+
+### FIXME: Get Summary from CPAN
+print 'Summary: '
+print "Name: perl-%s" % module
+print 'Version: '
+print 'Release: 1'
+
+### FIXME: Get License from CPAN
+print 'License: Artistic'
+print 'Group: Applications/CPAN'
+print "URL: http://search.cpan.org/dist/%s/" % module
+print
+print "Source: http://www.cpan.org/modules/by-module/%s/%s-%%{version}.tar.gz" % (modparts[0], module)
+print 'BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root'
+print
+if noarch:
+ print "BuildArch: noarch"
+print "BuildRequires: perl"
+print "Requires: perl"
+print
+
+### FIXME: Get Description from CPAN
+print "%description"
+print "%s" % module
+print
+print "%prep"
+print "%setup -n %{real_name}-%{version}"
+print
+print "%build"
+if noarch:
+ print '%{__perl} Makefile.PL PREFIX="%{buildroot}%{_prefix}" \ INSTALLDIRS="vendor"'
+ print '%{__make} %{?_smp_mflags}'
+else:
+ print 'CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"'
+ print '%{__make} %{?_smp_mflags} OPTIMIZE="%{optflags}"'
+print
+print '%install'
+print '%{__rm} -rf %{buildroot}'
+print '%makeinstall'
+print
+print '### Clean up buildroot'
+if noarch:
+ print '%{__rm} -rf %{buildroot}%{perl_archlib} %{buildroot}%{perl_vendorarch}'
+else:
+ print '%{__rm} -rf %{buildroot}%{perl_archlib} %{buildroot}%{perl_vendorarch}/auto/*{,/*{,/*}}/.packlist'
+print
+print '%clean'
+print '%{__rm} -rf %{buildroot}'
+print
+
+### FIXME: Create filelist based on test-build or source-tree ?
+print '%files'
+print '%defattr(-, root, root, 0755)'
+print '%doc Changes MANIFEST README TODO'
+print '%doc %{_mandir}/man3/*.3pm*'
+#print '%{_bindir}/dave'
+
+if noarch:
+ ### Print directory entries (if any)
+ if modparts[:-1]:
+ str = '%dir %{perl_vendorlib}/'
+ for nr, part in enumerate(modparts[:-1]):
+ str = str + "%s/" % modparts[nr]
+ print str
+
+ ### Print module directory
+ str = '%{perl_vendorlib}/'
+ for nr, part in enumerate(modparts):
+ str = str + "%s/" % modparts[nr]
+ print str
+
+ ### Print module
+ if modparts[:-1]:
+ str = '%{perl_vendorlib}/'
+ for nr, part in enumerate(modparts[:-1]):
+ str = str + "%s/" % modparts[nr]
+ print str + "%s.pm" % modparts[-1]
+else:
+ ### Print directory entries (if any)
+ if modparts[:-1]:
+ str = '%dir %{perl_vendorarch}/'
+ for nr, part in enumerate(modparts[:-1]):
+ str = str + "%s/" % modparts[nr]
+ print str
+
+ ### Print module directory
+ str = '%{perl_vendorarch}/'
+ for nr, part in enumerate(modparts):
+ str = str + "%s/" % modparts[nr]
+ print str
+
+ ### Print auto directory entries (if any)
+ if modparts[:-1]:
+ str = '%dir %{perl_vendorarch}/auto/'
+ for nr, part in enumerate(modparts[:-1]):
+ str = str + "%s/" % modparts[nr]
+ print str
+
+ ### Print auto module directory
+ str = '%{perl_vendorarch}/auto/'
+ for nr, part in enumerate(modparts):
+ str = str + "%s/" % modparts[nr]
+ print str
+
+print
+print '%changelog'
+print '%s Dag Wieers <dag@wieers.com> -' % time.strftime('%a %b %d %Y', time.localtime())
+print '- Initial package. (using DAR)'
+
+sys.exit(0)
View
2  dar-update
@@ -27,7 +27,7 @@ for distname in $DISTS; do
# build_repo_yum "$DISTTAG" "$DISTPATH"
fi
- if [ -z "$PKGS" -a "$UPDATECMD" ]; then
+ if [ "$UPDATECMD" ]; then
chroot $CHROOTDIR/$distname $UPDATECMD
fi
View
4 dar.conf
@@ -11,8 +11,8 @@ BUILDDIR="$ROOT/build"
TEMPDIR="$ROOT/tmp"
#DEFAULT_DISTS="el4a el4i fc3a fc3i fc2a fc2i fc1i el3a el3i rh9i rh7i el2i"
-DEFAULT_DISTS="el4a el4i el3a el3i rh9i rh7i el2i"
-DEFAULT_SOURCE_DISTS="el4i"
+DEFAULT_DISTS="el5a el5i el4a el4i el3a el3i rh9i rh7i el2i"
+DEFAULT_SOURCE_DISTS="el5i"
DEFAULT_ARCHS="i386"
DEFAULT_TAGS="rf dag"
REPO="dag"
View
28 dists/el5a/config
@@ -0,0 +1,28 @@
+### RED HAT ENTERPRISE LINUX 5
+
+### Distcc compilers
+DISTCC_CC="x86_64-redhat-linux-gcc-3.4.3"
+DISTCC_CXX="x86_64-redhat-linux-g++-3.4.3"
+
+UPDATECMD="apt-get -qq update"
+UPGRADECMD="apt-get -qq -f -y upgrade"
+INSTALLCMD="apt-get -qq -y -m install %p"
+CLEANCMD="apt-get clean"
+
+#UPDATECMD="up2date -u"
+#INSTALLCMD="up2date -if"
+
+RPMBUILDOPTS='--define "rhel 5"'
+
+DISTDESC="Red Hat Enterprise Linux 5 (x86_64)"
+DISTNAME="el5"
+DISTNICK="el5a"
+DISTTAG="2.el5"
+DISTPATH="redhat/el5/en/x86_64"
+DISTARCH="x86_64"
+
+REPO_APT="yes"
+REPO_YUM="yes"
+REPO_CREATEREPO="yes"
+
+export -n LD_ASSUME_KERNEL
View
130 dists/el5a/el5a-base.txt
@@ -0,0 +1,130 @@
+attr-2.4.32-1.1.x86_64.rpm
+audit-1.3.1-1.el5.x86_64.rpm
+audit-libs-1.3.1-1.el5.x86_64.rpm
+audit-libs-python-1.3.1-1.el5.x86_64.rpm
+basesystem-8.0-5.1.1.noarch.rpm
+bash-3.1-16.1.x86_64.rpm
+beecrypt-4.1.2-10.1.1.x86_64.rpm
+binutils-2.17.50.0.6-2.el5.x86_64.rpm
+bzip2-1.0.3-3.x86_64.rpm
+bzip2-devel-1.0.3-3.x86_64.rpm
+bzip2-libs-1.0.3-3.x86_64.rpm
+chkconfig-1.3.30.1-1.x86_64.rpm
+coreutils-5.97-12.1.el5.x86_64.rpm
+cpio-2.6-20.x86_64.rpm
+cracklib-2.8.9-3.1.x86_64.rpm
+cracklib-dicts-2.8.9-3.1.x86_64.rpm
+cyrus-sasl-2.1.22-4.x86_64.rpm
+cyrus-sasl-devel-2.1.22-4.x86_64.rpm
+cyrus-sasl-devel-2.1.22-4.x86_64.rpm
+cyrus-sasl-lib-2.1.22-4.x86_64.rpm
+db4-4.3.29-9.fc6.x86_64.rpm
+db4-devel-4.3.29-9.fc6.x86_64.rpm
+db4-utils-4.3.29-9.fc6.x86_64.rpm
+device-mapper-1.02.13-1.el5.x86_64.rpm
+diffutils-2.8.1-15.2.2.x86_64.rpm
+dmraid-1.0.0.rc13-2.el5.x86_64.rpm
+e2fsprogs-1.39-8.el5.x86_64.rpm
+e2fsprogs-devel-1.39-8.el5.x86_64.rpm
+e2fsprogs-libs-1.39-8.el5.x86_64.rpm
+elfutils-0.125-3.el5.x86_64.rpm
+elfutils-libelf-0.125-3.el5.x86_64.rpm
+elfutils-libelf-devel-0.125-3.el5.x86_64.rpm
+elfutils-libelf-devel-static-0.125-3.el5.x86_64.rpm
+elfutils-libs-0.125-3.el5.x86_64.rpm
+ethtool-5-1.el5.x86_64.rpm
+file-4.17-8.x86_64.rpm
+filesystem-2.4.0-1.x86_64.rpm
+findutils-4.2.27-4.1.x86_64.rpm
+gawk-3.1.5-14.el5.x86_64.rpm
+gdbm-1.8.0-26.2.1.x86_64.rpm
+gdbm-devel-1.8.0-26.2.1.x86_64.rpm
+glib2-2.12.3-2.fc6.x86_64.rpm
+glib2-devel-2.12.3-2.fc6.x86_64.rpm
+glibc-2.5-12.x86_64.rpm
+glibc-common-2.5-12.x86_64.rpm
+gmp-4.1.4-10.el5.x86_64.rpm
+gmp-devel-4.1.4-10.el5.x86_64.rpm
+grep-2.5.1-54.2.el5.x86_64.rpm
+gzip-1.3.5-9.el5.x86_64.rpm
+hwdata-0.194-1.noarch.rpm
+info-4.8-14.el5.x86_64.rpm
+initscripts-8.45.14.EL-1.x86_64.rpm
+iproute-2.6.18-4.el5.x86_64.rpm
+iputils-20020927-43.el5.x86_64.rpm
+kernel-2.6.18-8.el5.x86_64.rpm
+kernel-headers-2.6.18-8.el5.x86_64.rpm
+kpartx-0.4.7-8.el5.x86_64.rpm
+krb5-libs-1.5-17.x86_64.rpm
+less-394-5.el5.x86_64.rpm
+libacl-2.2.39-1.1.x86_64.rpm
+libacl-devel-2.2.39-1.1.x86_64.rpm
+libattr-2.4.32-1.1.x86_64.rpm
+libattr-devel-2.4.32-1.1.x86_64.rpm
+libcap-1.10-26.x86_64.rpm
+libgcc-4.1.1-52.el5.x86_64.rpm
+libselinux-1.33.4-2.el5.x86_64.rpm
+libselinux-devel-1.33.4-2.el5.x86_64.rpm
+libselinux-python-1.33.4-2.el5.x86_64.rpm
+libsemanage-1.9.1-3.el5.x86_64.rpm
+libsepol-1.15.2-1.el5.x86_64.rpm
+libsepol-1.15.2-1.el5.x86_64.rpm
+libsepol-devel-1.15.2-1.el5.x86_64.rpm
+libstdc++-4.1.1-52.el5.x86_64.rpm
+libstdc++-devel-4.1.1-52.el5.x86_64.rpm
+libtermcap-2.0.8-46.1.x86_64.rpm
+libtermcap-devel-2.0.8-46.1.x86_64.rpm
+libusb-0.1.12-5.1.x86_64.rpm
+libuser-0.54.7-2.el5.1.x86_64.rpm
+libuser-devel-0.54.7-2.el5.1.x86_64.rpm
+lvm2-2.02.16-3.el5.x86_64.rpm
+MAKEDEV-3.23-1.2.x86_64.rpm
+mcstrans-0.1.10-1.el5.x86_64.rpm
+mingetty-1.07-5.2.2.x86_64.rpm
+mkinitrd-5.1.19.6-1.x86_64.rpm
+mktemp-1.5-23.2.2.x86_64.rpm
+module-init-tools-3.3-0.pre3.1.16.el5.x86_64.rpm
+nash-5.1.19.6-1.x86_64.rpm
+ncurses-5.5-24.20060715.x86_64.rpm
+net-tools-1.60-73.x86_64.rpm
+openldap-2.3.27-5.x86_64.rpm
+openldap-devel-2.3.27-5.x86_64.rpm
+openssl-0.9.8b-8.3.el5.x86_64.rpm
+pam-0.99.6.2-3.14.el5.x86_64.rpm
+pam-devel-0.99.6.2-3.14.el5.x86_64.rpm
+passwd-0.73-1.x86_64.rpm
+patch-2.5.4-29.2.2.x86_64.rpm
+pcre-6.6-1.1.x86_64.rpm
+pcre-devel-6.6-1.1.x86_64.rpm
+perl-5.8.8-10.x86_64.rpm
+pkgconfig-0.21-1.fc6.x86_64.rpm
+policycoreutils-1.33.12-3.el5.x86_64.rpm
+popt-1.10.2-37.el5.x86_64.rpm
+procps-3.2.7-8.1.el5.x86_64.rpm
+psmisc-22.2-5.x86_64.rpm
+python-2.4.3-19.el5.x86_64.rpm
+readline-5.1-1.1.x86_64.rpm
+readline-devel-5.1-1.1.x86_64.rpm
+redhat-release-5Server-5.0.0.9.x86_64.rpm
+rpm-4.4.2-37.el5.x86_64.rpm
+rpm-build-4.4.2-37.el5.x86_64.rpm
+rpm-devel-4.4.2-37.el5.x86_64.rpm
+rpm-libs-4.4.2-37.el5.x86_64.rpm
+rpm-python-4.4.2-37.el5.x86_64.rpm
+sed-4.1.5-5.fc6.x86_64.rpm
+selinux-policy-2.4.6-30.el5.noarch.rpm
+selinux-policy-targeted-2.4.6-30.el5.noarch.rpm
+setup-2.5.58-1.el5.noarch.rpm
+shadow-utils-4.0.17-12.el5.x86_64.rpm
+sqlite-3.3.6-2.x86_64.rpm
+sqlite-devel-3.3.6-2.x86_64.rpm
+sysklogd-1.4.1-39.2.x86_64.rpm
+SysVinit-2.86-14.x86_64.rpm
+tar-1.15.1-23.el5.x86_64.rpm
+termcap-5.5-1.20060701.1.noarch.rpm
+tzdata-2006m-2.fc6.noarch.rpm
+udev-095-14.5.el5.x86_64.rpm
+usbutils-0.71-2.1.x86_64.rpm
+util-linux-2.13-0.44.el5.x86_64.rpm
+zlib-1.2.3-3.x86_64.rpm
+zlib-devel-1.2.3-3.x86_64.rpm
View
28 dists/el5i/config
@@ -0,0 +1,28 @@
+### RED HAT ENTERPRISE LINUX 5
+
+### Distcc compilers
+DISTCC_CC="i386-redhat-linux-gcc-3.4.3"
+DISTCC_CXX="i386-redhat-linux-g++-3.4.3"
+
+UPDATECMD="apt-get -qq update"
+UPGRADECMD="apt-get -qq -f -y upgrade"
+INSTALLCMD="apt-get -qq -y -m install %p"
+CLEANCMD="apt-get clean"
+
+#UPDATECMD="up2date -u"
+#INSTALLCMD="up2date -if"
+
+RPMBUILDOPTS='--define "rhel 5"'
+
+DISTDESC="Red Hat Enterprise Linux 5 (i386)"
+DISTNAME="el5"
+DISTNICK="el5i"
+DISTTAG="2.el5"
+DISTPATH="redhat/el5/en/i386"
+DISTARCH="i386"
+
+REPO_APT="yes"
+REPO_YUM="yes"
+REPO_CREATEREPO="yes"
+
+export -n LD_ASSUME_KERNEL
View
130 dists/el5i/el5i-base.txt
@@ -0,0 +1,130 @@
+attr-2.4.32-1.1.i386.rpm
+audit-1.3.1-1.el5.i386.rpm
+audit-libs-1.3.1-1.el5.i386.rpm
+audit-libs-python-1.3.1-1.el5.i386.rpm
+basesystem-8.0-5.1.1.noarch.rpm
+bash-3.1-16.1.i386.rpm
+beecrypt-4.1.2-10.1.1.i386.rpm
+binutils-2.17.50.0.6-2.el5.i386.rpm
+bzip2-1.0.3-3.i386.rpm
+bzip2-devel-1.0.3-3.i386.rpm
+bzip2-libs-1.0.3-3.i386.rpm
+chkconfig-1.3.30.1-1.i386.rpm
+coreutils-5.97-12.1.el5.i386.rpm
+cpio-2.6-20.i386.rpm
+cracklib-2.8.9-3.1.i386.rpm
+cracklib-dicts-2.8.9-3.1.i386.rpm
+cyrus-sasl-2.1.22-4.i386.rpm
+cyrus-sasl-devel-2.1.22-4.i386.rpm
+cyrus-sasl-devel-2.1.22-4.i386.rpm
+cyrus-sasl-lib-2.1.22-4.i386.rpm
+db4-4.3.29-9.fc6.i386.rpm
+db4-devel-4.3.29-9.fc6.i386.rpm
+db4-utils-4.3.29-9.fc6.i386.rpm
+device-mapper-1.02.13-1.el5.i386.rpm
+diffutils-2.8.1-15.2.2.i386.rpm
+dmraid-1.0.0.rc13-2.el5.i386.rpm
+e2fsprogs-1.39-8.el5.i386.rpm
+e2fsprogs-devel-1.39-8.el5.i386.rpm
+e2fsprogs-libs-1.39-8.el5.i386.rpm
+elfutils-0.125-3.el5.i386.rpm
+elfutils-libelf-0.125-3.el5.i386.rpm
+elfutils-libelf-devel-0.125-3.el5.i386.rpm
+elfutils-libelf-devel-static-0.125-3.el5.i386.rpm
+elfutils-libs-0.125-3.el5.i386.rpm
+ethtool-5-1.el5.i386.rpm
+file-4.17-8.i386.rpm
+filesystem-2.4.0-1.i386.rpm
+findutils-4.2.27-4.1.i386.rpm
+gawk-3.1.5-14.el5.i386.rpm
+gdbm-1.8.0-26.2.1.i386.rpm
+gdbm-devel-1.8.0-26.2.1.i386.rpm
+glib2-2.12.3-2.fc6.i386.rpm
+glib2-devel-2.12.3-2.fc6.i386.rpm
+glibc-2.5-12.i686.rpm
+glibc-common-2.5-12.i386.rpm
+gmp-4.1.4-10.el5.i386.rpm
+gmp-devel-4.1.4-10.el5.i386.rpm
+grep-2.5.1-54.2.el5.i386.rpm
+gzip-1.3.5-9.el5.i386.rpm
+hwdata-0.194-1.noarch.rpm
+info-4.8-14.el5.i386.rpm
+initscripts-8.45.14.EL-1.i386.rpm
+iproute-2.6.18-4.el5.i386.rpm
+iputils-20020927-43.el5.i386.rpm
+kernel-2.6.18-8.el5.i686.rpm
+kernel-headers-2.6.18-8.el5.i386.rpm
+kpartx-0.4.7-8.el5.i386.rpm
+krb5-libs-1.5-17.i386.rpm
+less-394-5.el5.i386.rpm
+libacl-2.2.39-1.1.i386.rpm
+libacl-devel-2.2.39-1.1.i386.rpm
+libattr-2.4.32-1.1.i386.rpm
+libattr-devel-2.4.32-1.1.i386.rpm
+libcap-1.10-26.i386.rpm
+libgcc-4.1.1-52.el5.i386.rpm
+libselinux-1.33.4-2.el5.i386.rpm
+libselinux-devel-1.33.4-2.el5.i386.rpm
+libselinux-python-1.33.4-2.el5.i386.rpm
+libsemanage-1.9.1-3.el5.i386.rpm
+libsepol-1.15.2-1.el5.i386.rpm
+libsepol-1.15.2-1.el5.i386.rpm
+libsepol-devel-1.15.2-1.el5.i386.rpm
+libstdc++-4.1.1-52.el5.i386.rpm
+libstdc++-devel-4.1.1-52.el5.i386.rpm
+libtermcap-2.0.8-46.1.i386.rpm
+libtermcap-devel-2.0.8-46.1.i386.rpm
+libusb-0.1.12-5.1.i386.rpm
+libuser-0.54.7-2.el5.1.i386.rpm
+libuser-devel-0.54.7-2.el5.1.i386.rpm
+lvm2-2.02.16-3.el5.i386.rpm
+MAKEDEV-3.23-1.2.i386.rpm
+mcstrans-0.1.10-1.el5.i386.rpm
+mingetty-1.07-5.2.2.i386.rpm
+mkinitrd-5.1.19.6-1.i386.rpm
+mktemp-1.5-23.2.2.i386.rpm
+module-init-tools-3.3-0.pre3.1.16.el5.i386.rpm
+nash-5.1.19.6-1.i386.rpm
+ncurses-5.5-24.20060715.i386.rpm
+net-tools-1.60-73.i386.rpm
+openldap-2.3.27-5.i386.rpm
+openldap-devel-2.3.27-5.i386.rpm
+openssl-0.9.8b-8.3.el5.i686.rpm
+pam-0.99.6.2-3.14.el5.i386.rpm
+pam-devel-0.99.6.2-3.14.el5.i386.rpm
+passwd-0.73-1.i386.rpm
+patch-2.5.4-29.2.2.i386.rpm
+pcre-6.6-1.1.i386.rpm
+pcre-devel-6.6-1.1.i386.rpm
+perl-5.8.8-10.i386.rpm
+pkgconfig-0.21-1.fc6.i386.rpm
+policycoreutils-1.33.12-3.el5.i386.rpm
+popt-1.10.2-37.el5.i386.rpm
+procps-3.2.7-8.1.el5.i386.rpm
+psmisc-22.2-5.i386.rpm
+python-2.4.3-19.el5.i386.rpm
+readline-5.1-1.1.i386.rpm
+readline-devel-5.1-1.1.i386.rpm
+redhat-release-5Server-5.0.0.9.i386.rpm
+rpm-4.4.2-37.el5.i386.rpm
+rpm-build-4.4.2-37.el5.i386.rpm
+rpm-devel-4.4.2-37.el5.i386.rpm
+rpm-libs-4.4.2-37.el5.i386.rpm
+rpm-python-4.4.2-37.el5.i386.rpm
+sed-4.1.5-5.fc6.i386.rpm
+selinux-policy-2.4.6-30.el5.noarch.rpm
+selinux-policy-targeted-2.4.6-30.el5.noarch.rpm
+setup-2.5.58-1.el5.noarch.rpm
+shadow-utils-4.0.17-12.el5.i386.rpm
+sqlite-3.3.6-2.i386.rpm
+sqlite-devel-3.3.6-2.i386.rpm
+sysklogd-1.4.1-39.2.i386.rpm
+SysVinit-2.86-14.i386.rpm
+tar-1.15.1-23.el5.i386.rpm
+termcap-5.5-1.20060701.1.noarch.rpm
+tzdata-2006m-2.fc6.noarch.rpm
+udev-095-14.5.el5.i386.rpm
+usbutils-0.71-2.1.i386.rpm
+util-linux-2.13-0.44.el5.i386.rpm
+zlib-1.2.3-3.i386.rpm
+zlib-devel-1.2.3-3.i386.rpm
View
2  python/create-pkgdb.py
@@ -18,7 +18,7 @@
'rh62': 'rh6',
}
-distlist = ['0', 'rh6', 'rh7', 'rh8', 'rh9', 'el2', 'el3', 'el4', 'fc1', 'fc2', 'fc3', 'fc4', 'fc5', 'au1.91', 'au1.92']
+distlist = ['0', 'rh6', 'rh7', 'rh8', 'rh9', 'el2', 'el3', 'el4', 'el5', 'fc1', 'fc2', 'fc3', 'fc4', 'fc5', 'fc6', 'fc7', 'au1.91', 'au1.92', 'nodist']
distlistre = '|'.join(distlist + distmap.keys())
repolist = ['dag', 'dries', 'rf', 'test']
repolistre = '|'.join(repolist)
View
4 python/print-info.py
@@ -37,10 +37,10 @@
cur.execute('select distinct dist from pkg order by dist')
for dist, in cur.fetchall():
if dist in ('0', 'nosrc', 'src'): continue
- if dist in ('rh6', 'rh7', 'rh8', 'rh9', 'el2', 'el3', 'el4', 'fc1', 'fc2', 'fc3', 'fc4', 'fc5'):
+ if dist in ('rh6', 'rh7', 'rh8', 'rh9', 'el2', 'el3', 'el4', 'el5', 'fc1', 'fc2', 'fc3', 'fc4', 'fc5', 'fc6', 'fc7'):
cur.execute('select distinct name from pkg where (dist = "%s" or dist = "0") and ( repo = "rf" or repo = "dag" or repo = "dries" ) and ( arch = "i386" or arch = "i586" or arch = "i686" or arch = "athlon" or arch = "noarch" or arch = "nosrc" )' % dist)
print ' %s-i386 has %d packages' % (dist, len(cur.fetchall()))
- if dist in ('el3', 'el4', 'fc2', 'fc3', 'fc4', 'fc5'):
+ if dist in ('el3', 'el4', 'el5', 'fc2', 'fc3', 'fc4', 'fc5', 'fc6', 'fc7'):
cur.execute('select distinct name from pkg where (dist = "%s" or dist = "0") and ( repo = "rf" or repo = "dag" or repo = "dries" ) and ( arch = "x86_64" or arch = "noarch" or arch = "nosrc" )' % dist)
print ' %s-x86_64 has %d packages' % (dist, len(cur.fetchall()))
if dist in ('au1.91', 'au1.92'):
Please sign in to comment.
Something went wrong with that request. Please try again.