Changeset 2591 for trunk/server/fedora/Makefile
- Timestamp:
- Aug 27, 2014, 10:06:17 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
-
trunk/server/fedora/Makefile
r2558 r2591 19 19 # See /COPYRIGHT in this repository for more information. 20 20 21 upstream_yum = krb5 krb5.i686 httpd openssh rubygems gnutls kernel openssl openssl.i68622 hackage = cgi-3001.1.8. 2unix-handle-0.0.021 upstream_yum = krb5 krb5.i686 httpd openssh 22 hackage = cgi-3001.1.8.5 unix-handle-0.0.0 23 23 upstream_hackage = ghc-cgi ghc-unix-handle 24 gems = pony:1.8 25 upstream_gems = rubygem-pony 26 upstream = openafs $(upstream_yum) $(upstream_hackage) $(upstream_gems) moira zephyr zephyr.i686 python-zephyr python-afs python-moira python-hesiod athena-aclocal discuss 24 gems = pony:1.8 fcgi:0.9.2.1 25 upstream_gems = rubygem-pony rubygem-fcgi 26 upstream_eggs = python-authkit 27 upstream = openafs $(upstream_yum) $(upstream_hackage) $(upstream_gems) $(upstream_eggs) moira zephyr zephyr.i686 python-zephyr python-afs python-moira python-hesiod athena-aclocal discuss 27 28 oursrc = execsys tokensys accountadm httpdmods logview sql-signup nss_nonlocal nss_nonlocal.i686 whoisd athrun php_scripts scripts-wizard scripts-base scripts-static-cat fuse-better-mousetrapfs scripts-munin-plugins 28 29 allsrc = $(upstream) $(oursrc) … … 40 41 41 42 dload = ${PWD}/.dload 42 openafs_url = "https://www.openafs.org/dl/openafs/1.6.5/openafs-1.6.5-1.src.rpm" 43 zephyr_url = "http://zephyr.1ts.org/files/zephyr-3.0.2.tar.gz" 44 openssl_url = "https://www.openssl.org/source/openssl-1.0.0n.tar.gz" 43 openafs_url = "https://www.openafs.org/dl/openafs/1.6.8/openafs-1.6.8-1.src.rpm" 44 #zephyr_url = "http://zephyr.1ts.org/files/zephyr-3.0.2.tar.gz" 45 45 46 46 PKG = $(patsubst %.i686,%,$@) … … 70 70 cd $(dload) && yumdownloader --disablerepo=scripts --source $(upstream_yum) 71 71 wget -P $(dload) $(openafs_url) 72 wget -P $(dload) $(zephyr_url) 73 wget -P $(tmp_src) $(openssl_url) 72 #wget -P $(dload) $(zephyr_url) 74 73 cd $(tmp_src) && wget -nd -r -l1 -np -A.orig.tar.gz https://debathena.mit.edu/apt/pool/debathena/d/debathena-moira/ 75 74 cabal update … … 77 76 cp -a $(hackage:%=~/.cabal/packages/*/*/*/%.tar.gz) $(tmp_src) 78 77 $(foreach gem, $(gems), gem fetch $(firstword $(subst :, ,$(gem))) -v $(lastword $(subst :, ,$(gem)));) 78 spectool -g -R $(specs)/zephyr.spec 79 79 spectool -g -R $(specs)/python-zephyr.spec 80 80 spectool -g -R $(specs)/python-afs.spec 81 81 spectool -g -R $(specs)/python-moira.spec 82 82 spectool -g -R $(specs)/python-hesiod.spec 83 spectool -g -R $(specs)/python-authkit.spec 83 84 touch download_stamp 84 85 … … 153 154 PATH="/usr/kerberos/sbin:/usr/kerberos/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin" \ 154 155 rpmbuild ${rpmbuild_args} -bs ${tmp_specs}/${PKG}.spec 155 /usr/bin/mock -r scripts-fc 17-i386 --arch=i686 ${rpmbuild_args} --define="_lib lib" -v --rebuild `ls -t ${out_srpms}/${PKG}-[0-9]*.src.rpm | head -1`156 /usr/bin/mock -r scripts-fc20-i386 --arch=i686 ${rpmbuild_args} --define="_lib lib" -v --rebuild `ls -t ${out_srpms}/${PKG}-[0-9]*.src.rpm | head -1` 156 157 157 158 $(filter-out %.i686,$(oursrc)): %: setup 158 159 PATH="/usr/kerberos/sbin:/usr/kerberos/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin" \ 159 160 rpmbuild ${rpmbuild_args} -bs ${tmp_specs}/${PKG}.spec 160 /usr/bin/mock -r scripts-fc 17-`uname -m` ${rpmbuild_args} -v --rebuild `ls -t ${out_srpms}/${PKG}-[0-9]*.src.rpm | head -1`161 /usr/bin/mock -r scripts-fc20-`uname -m` ${rpmbuild_args} -v --rebuild `ls -t ${out_srpms}/${PKG}-[0-9]*.src.rpm | head -1` 161 162 162 163 $(upstream) openafs-kernel: rpmbuild_args += --define 'scriptsversion $(shell svnversion ${patches} | tr ':' '_')' … … 166 167 $(filter %.i686,$(upstream)): %.i686: setup patch-specs 167 168 rpmbuild ${rpmbuild_args} -bs ${tmp_specs}/${PKG}.spec 168 /usr/bin/mock -r scripts-fc 17-i386 --arch=i686 ${rpmbuild_args} -v --rebuild `ls -t ${out_srpms}/${PKG}-[0-9]*.src.rpm | head -1`169 /usr/bin/mock -r scripts-fc20-i386 --arch=i686 ${rpmbuild_args} -v --rebuild `ls -t ${out_srpms}/${PKG}-[0-9]*.src.rpm | head -1` 169 170 170 171 $(filter-out %.i686,$(upstream)): %: setup patch-specs 171 172 rpmbuild ${rpmbuild_args} -bs ${tmp_specs}/${PKG}.spec 172 /usr/bin/mock -r scripts-fc 17-`uname -m` ${rpmbuild_args} -v --rebuild `ls -t ${out_srpms}/${PKG}-[0-9]*.src.rpm | head -1`173 /usr/bin/mock -r scripts-fc20-`uname -m` ${rpmbuild_args} -v --rebuild `ls -t ${out_srpms}/${PKG}-[0-9]*.src.rpm | head -1` 173 174 174 175 openafs-kernel: setup 175 176 PATH="/usr/kerberos/sbin:/usr/kerberos/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin" \ 176 177 rpmbuild ${rpmbuild_args} -bs ${tmp_specs}/openafs*.spec 177 /usr/bin/mock -r scripts-fc 17-`uname -m` ${rpmbuild_args} -v --rebuild `ls -t ${out_srpms}/openafs*.src.rpm | head -1`178 /usr/bin/mock -r scripts-fc20-`uname -m` ${rpmbuild_args} -v --rebuild `ls -t ${out_srpms}/openafs*.src.rpm | head -1` 178 179 179 180 #sort -n sorts "2.6.25-1" later than "2.6.25.1-1", so it's Wrong
Note: See TracChangeset
for help on using the changeset viewer.