Changeset 1622 for branches/fc13-dev/server
- Timestamp:
- Sep 6, 2010, 11:41:39 PM (14 years ago)
- Location:
- branches/fc13-dev/server/fedora
- Files:
-
- 1 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/fc13-dev/server/fedora/Makefile
r1621 r1622 19 19 # See /COPYRIGHT in this repository for more information. 20 20 21 upstream_yum = krb5 krb5.i 586 httpd openssh shadow-utils libpng ghostscript21 upstream_yum = krb5 krb5.i686 httpd openssh 22 22 hackage = MonadCatchIO-mtl-0.3.0.1 cgi-3001.1.8.1 unix-handle-0.0.0 23 23 upstream_hackage = ghc-MonadCatchIO-mtl ghc-cgi ghc-unix-handle 24 24 upstream = openafs $(upstream_yum) $(upstream_hackage) moira cluster-glue heartbeat pacemaker 25 oursrc = execsys tokensys accountadm httpdmods logview sql-signup nss_nonlocal nss_nonlocal.i 586 whoisd mit-zephyr athrun php_scripts scripts-wizard scripts-base scripts-static-cat25 oursrc = execsys tokensys accountadm httpdmods logview sql-signup nss_nonlocal nss_nonlocal.i686 whoisd mit-zephyr athrun php_scripts scripts-wizard scripts-base scripts-static-cat 26 26 allsrc = $(upstream) $(oursrc) 27 27 oursrcdir = ${PWD}/../common/oursrc … … 45 45 pacemaker_url = "http://kojipkgs.fedoraproject.org/packages/pacemaker/1.0.5/5.fc12/src/pacemaker-1.0.5-5.fc12.src.rpm" 46 46 47 PKG = $(patsubst %.i 586,%,$@)47 PKG = $(patsubst %.i686,%,$@) 48 48 49 49 .PHONY: minimal-clean … … 140 140 $(oursrc): rpmbuild_args += --define 'scriptsversion $(shell svnversion ${oursrcdir}/$** | tr ':' '_' | sed -e 's/-.*/0.uncommitted/')' 141 141 142 $(filter %.i 586,$(oursrc)): %.i586: setup142 $(filter %.i686,$(oursrc)): %.i686: setup 143 143 PATH="/usr/kerberos/sbin:/usr/kerberos/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin" \ 144 144 rpmbuild ${rpmbuild_args} -bs ${tmp_specs}/${PKG}.spec 145 /usr/bin/mock -r scripts-fc1 1-i386 --arch=i586 ${rpmbuild_args} --define="_lib lib" -v --rebuild `ls -t ${out_srpms}/${PKG}-[0-9]*.src.rpm | head -1`146 147 $(filter-out %.i 586,$(oursrc)): %: setup145 /usr/bin/mock -r scripts-fc13-i386 --arch=i686 ${rpmbuild_args} --define="_lib lib" -v --rebuild `ls -t ${out_srpms}/${PKG}-[0-9]*.src.rpm | head -1` 146 147 $(filter-out %.i686,$(oursrc)): %: setup 148 148 PATH="/usr/kerberos/sbin:/usr/kerberos/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin" \ 149 149 rpmbuild ${rpmbuild_args} -bs ${tmp_specs}/${PKG}.spec 150 /usr/bin/mock -r scripts-fc1 1-`uname -m` ${rpmbuild_args} -v --rebuild `ls -t ${out_srpms}/${PKG}-[0-9]*.src.rpm | head -1`150 /usr/bin/mock -r scripts-fc13-`uname -m` ${rpmbuild_args} -v --rebuild `ls -t ${out_srpms}/${PKG}-[0-9]*.src.rpm | head -1` 151 151 152 152 $(upstream) openafs-kernel: rpmbuild_args += --define 'scriptsversion $(shell svnversion ${patches} | tr ':' '_')' 153 153 154 $(filter %.i 586,$(upstream)): %.i586: setup patch-specs155 rpmbuild ${rpmbuild_args} -bs ${tmp_specs}/${PKG}.spec 156 /usr/bin/mock -r scripts-fc1 1-i386 --arch=i586 ${rpmbuild_args} -v --rebuild `ls -t ${out_srpms}/${PKG}-[0-9]*.src.rpm | head -1`157 158 $(filter-out %.i 586,$(upstream)): %: setup patch-specs159 rpmbuild ${rpmbuild_args} -bs ${tmp_specs}/${PKG}.spec 160 /usr/bin/mock -r scripts-fc1 1-`uname -m` ${rpmbuild_args} -v --rebuild `ls -t ${out_srpms}/${PKG}-[0-9]*.src.rpm | head -1`154 $(filter %.i686,$(upstream)): %.i686: setup patch-specs 155 rpmbuild ${rpmbuild_args} -bs ${tmp_specs}/${PKG}.spec 156 /usr/bin/mock -r scripts-fc13-i386 --arch=i686 ${rpmbuild_args} -v --rebuild `ls -t ${out_srpms}/${PKG}-[0-9]*.src.rpm | head -1` 157 158 $(filter-out %.i686,$(upstream)): %: setup patch-specs 159 rpmbuild ${rpmbuild_args} -bs ${tmp_specs}/${PKG}.spec 160 /usr/bin/mock -r scripts-fc13-`uname -m` ${rpmbuild_args} -v --rebuild `ls -t ${out_srpms}/${PKG}-[0-9]*.src.rpm | head -1` 161 161 162 162 openafs-kernel: setup 163 163 PATH="/usr/kerberos/sbin:/usr/kerberos/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin" \ 164 164 rpmbuild ${rpmbuild_args} -bs ${tmp_specs}/openafs*.spec 165 /usr/bin/mock -r scripts-fc1 1-`uname -m` ${rpmbuild_args} -v --rebuild `ls -t ${out_srpms}/openafs*.src.rpm | head -1`165 /usr/bin/mock -r scripts-fc13-`uname -m` ${rpmbuild_args} -v --rebuild `ls -t ${out_srpms}/openafs*.src.rpm | head -1` 166 166 167 167 #sort -n sorts "2.6.25-1" later than "2.6.25.1-1", so it's Wrong … … 200 200 201 201 # The following packages are needed for our packages 202 basic-deps = kernel-devel rpm-build rpmdevtools mock gcc autoconf patch krb5-workstation glibc-devel.i 586 glibc-devel libtool libgcc.i586203 oursrc-deps = hesinfo openldap-clients openldap-devel.i 586 php-devel202 basic-deps = kernel-devel rpm-build rpmdevtools mock gcc autoconf patch krb5-workstation glibc-devel.i686 glibc-devel libtool libgcc.i686 203 oursrc-deps = hesinfo openldap-clients openldap-devel.i686 php-devel 204 204 httpdmods-deps = httpd-devel 205 205 httpd-deps = xmlto db4-devel expat-devel zlib-devel libselinux-devel apr-devel apr-util-devel pcre-devel openssl-devel distcache-devel 206 206 krb5-deps = bison ncurses-devel texinfo keyutils-libs-devel texinfo-tex texlive-latex 207 207 openafs-deps = pam-devel automake 208 mit-zephyr-deps = readline-devel hesiod-devel hesiod-devel.i 586 hesiod.i586 libXt.i586 #compat-readline43208 mit-zephyr-deps = readline-devel hesiod-devel hesiod-devel.i686 hesiod.i686 libXt.i686 #compat-readline43 209 209 openssh-deps = gtk2-devel libX11-devel autoconf automake openssl-devel perl zlib-devel audit-libs-devel util-linux groff man pam-devel tcp_wrappers-devel krb5-devel libselinux-devel audit-libs xauth pango-devel cairo-devel libedit-devel nss-devel fipscheck-devel 210 210 php-deps = bzip2-devel curl-devel gmp-devel libstdc++-devel sqlite-devel gcc-c++ libc-client-devel mysql-devel postgresql-devel unixODBC-devel libxml2-devel net-snmp-devel libxslt-devel libxml2-devel libXpm-devel libjpeg-devel t1lib-devel libmcrypt-devel mhash-devel libtidy-devel freetds-devel aspell-devel recode-devel … … 212 212 install-deps: 213 213 yum -y install $(basic-deps) $(oursrc-deps) $(httpdmods-deps) $(httpd-deps) $(krb5-deps) $(openafs-deps) $(mit-zephyr-deps) $(openssh-deps) $(php-deps) $(haskell-deps) 214 rpm -ivh http://kojipkgs.fedoraproject.org/packages/compat-readline43/4.3/3/i386/compat-readline43-4.3-3.i386.rpm 214 # XXX: We need to figure out what's going on with compat-readline43 215 # rpm -ivh http://kojipkgs.fedoraproject.org/packages/compat-readline43/4.3/3/i386/compat-readline43-4.3-3.i386.rpm 215 216 # rpm -ivh http://download.fedora.redhat.com/pub/fedora/linux/core/6/i386/os/Fedora/RPMS/compat-readline43-4.3-3.i386.rpm 216 217
Note: See TracChangeset
for help on using the changeset viewer.