37 # o any tar(1) |
37 # o any tar(1) |
38 # o any make(1) |
38 # o any make(1) |
39 # o any cc(1) |
39 # o any cc(1) |
40 |
40 |
41 # the package version/release |
41 # the package version/release |
42 %define V_openpkg 20090106 |
42 %define V_openpkg 20100826 |
43 |
43 |
44 # the used software versions |
44 # the used software versions |
45 %define V_rpm 4.2.1 |
45 %define V_rpm 4.2.1 |
46 %define V_zlib 1.2.3 |
46 %define V_zlib 1.2.5 |
47 %define V_bzip2 1.0.4 |
47 %define V_bzip2 1.0.5 |
48 %define V_beecrypt 4.1.2 |
48 %define V_beecrypt 4.1.2 |
49 %define V_curl 7.17.1 |
49 %define V_curl 7.21.1 |
50 %define V_make 3.81 |
50 %define V_make 3.82 |
51 %define V_gzip 1.3.12 |
51 %define V_gzip 1.4 |
52 %define V_gzip_r 1.13 |
52 %define V_gzip_r 1.13 |
53 %define V_patch 2.5.9 |
53 %define V_patch 2.6.1 |
54 %define V_tar 1.19 |
54 %define V_tar 1.23 |
55 %define V_bash 3.2 |
55 %define V_bash 3.2 |
56 %define V_uuid 1.6.0 |
56 %define V_uuid 1.6.2 |
57 %define V_config 20060923 |
57 %define V_config 20060923 |
58 %define V_registry 1.1.3 |
58 %define V_registry 1.1.3 |
59 %define V_perl 5.10.0 |
59 %define V_perl 5.10.0 |
60 %define V_openssl 0.9.8g |
60 %define V_openssl 0.9.8g |
61 %define V_tools 1.4.5 |
61 %define V_tools 1.4.5 |
73 License: MIT/BSD/LGPL/GPL |
73 License: MIT/BSD/LGPL/GPL |
74 Version: %{V_openpkg} |
74 Version: %{V_openpkg} |
75 Release: %{V_openpkg} |
75 Release: %{V_openpkg} |
76 |
76 |
77 # list of sources |
77 # list of sources |
78 Source0: ftp://alpha.gnu.org/gnu/patch/patch-%{V_patch}.tar.gz |
78 Source0: ftp://ftp.gnu.org/gnu/patch/patch-%{V_patch}.tar.gz |
79 Source1: ftp://ftp.cwru.edu/pub/bash/bash-%{V_bash}.tar.gz |
79 Source1: ftp://ftp.cwru.edu/pub/bash/bash-%{V_bash}.tar.gz |
80 Source2: ftp://ftp.gnu.org/gnu/make/make-%{V_make}.tar.gz |
80 Source2: ftp://ftp.gnu.org/gnu/make/make-%{V_make}.tar.gz |
81 Source3: ftp://ftp.gnu.org/gnu/tar/tar-%{V_tar}.tar.gz |
81 Source3: ftp://ftp.gnu.org/gnu/tar/tar-%{V_tar}.tar.gz |
82 Source4: ftp://ftp.openpkg.org/sources/CPY/config/config-%{V_config}.tar.gz |
82 Source4: ftp://ftp.openpkg.org/sources/CPY/config/config-%{V_config}.tar.gz |
83 Source5: ftp://ftp.openpkg.org/sources/CPY/openpkg-registry/openpkg-registry-%{V_registry}.tar.gz |
83 Source5: ftp://ftp.openpkg.org/sources/CPY/openpkg-registry/openpkg-registry-%{V_registry}.tar.gz |
84 Source6: ftp://ftp.openpkg.org/sources/CPY/openpkg-tools/openpkg-tools-%{V_tools}.tar.gz |
84 Source6: ftp://ftp.openpkg.org/sources/CPY/openpkg-tools/openpkg-tools-%{V_tools}.tar.gz |
85 Source7: ftp://ftp.openpkg.org/sources/CPY/openpkg/gzip-%{V_gzip}-openpkg-r%{V_gzip_r}.tar |
85 Source7: ftp://ftp.openpkg.org/sources/CPY/openpkg/gzip-%{V_gzip}-openpkg-r%{V_gzip_r}.tar |
86 Source8: ftp://ftp.openpkg.org/sources/CPY/openpkg/gzip-%{V_gzip}.tar |
86 Source8: ftp://ftp.openpkg.org/sources/CPY/openpkg/gzip-%{V_gzip}.tar |
|
87 Source8: ftp://ftp.gnu.org/gnu/gzip/gzip-%{V_gzip}.tar |
87 Source9: ftp://ftp.openpkg.org/sources/CPY/openpkg/openpkg-executable-%{V_exec}.tar.gz |
88 Source9: ftp://ftp.openpkg.org/sources/CPY/openpkg/openpkg-executable-%{V_exec}.tar.gz |
88 Source10: ftp://ftp.openpkg.org/sources/CPY/openpkg/rpm-%{V_rpm}.tar.gz |
89 Source10: ftp://ftp.openpkg.org/sources/CPY/openpkg/rpm-%{V_rpm}.tar.gz |
89 Source11: ftp://ftp.openpkg.org/sources/CPY/perl/perl-%{V_perl}-mini.tar.gz |
90 Source11: ftp://ftp.openpkg.org/sources/CPY/perl/perl-%{V_perl}-mini.tar.gz |
90 Source12: ftp://ftp.openssl.org/source/openssl-%{V_openssl}.tar.gz |
91 Source12: ftp://ftp.openssl.org/source/openssl-%{V_openssl}.tar.gz |
91 Source13: ftp://ftp.ossp.org/pkg/lib/uuid/uuid-%{V_uuid}.tar.gz |
92 Source13: ftp://ftp.ossp.org/pkg/lib/uuid/uuid-%{V_uuid}.tar.gz |
561 CC="${l_cc}" \ |
561 CC="${l_cc}" \ |
562 ./configure \ |
562 ./configure \ |
563 --cache-file=./config.cache \ |
563 --cache-file=./config.cache \ |
564 --disable-largefile |
564 --disable-largefile |
565 ${l_make} || exit $? |
565 ${l_make} || exit $? |
566 ( mv patch ..; ${l_make} clean || true; mv ../patch . ) || exit $? |
566 ( mv src/patch ..; ${l_make} clean || true; mv ../patch . ) || exit $? |
567 ) || exit $? |
567 ) || exit $? |
568 l_patch="`pwd`/patch-%{V_patch}/patch"; export l_patch |
568 l_patch="`pwd`/patch-%{V_patch}/patch"; export l_patch |
569 echo "l_patch=\"$l_patch\"; export l_patch" >>.buildenv |
569 echo "l_patch=\"$l_patch\"; export l_patch" >>.buildenv |
570 |
570 |
571 # display verbosity header |
571 # display verbosity header |