diff options
author | Daniel Stenberg <daniel@haxx.se> | 2018-11-30 16:01:32 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-12-05 15:29:24 +0100 |
commit | bae0d473f5912d38fc8da1f9850a70b015b53c9e (patch) | |
tree | 4fdaa556c833c4c6864cae2a04e3d7dbe28e3750 /packages/AIX/RPM | |
parent | 08efa19e6aaf0e8bf8ece5a35f369c0cb346ace9 (diff) |
packages: remove old leftover files and dirs
This subdir has mostly become an attic of never-used cruft from the
past.
Closes #3331
Diffstat (limited to 'packages/AIX/RPM')
-rw-r--r-- | packages/AIX/RPM/.gitignore | 1 | ||||
-rw-r--r-- | packages/AIX/RPM/Makefile.am | 1 | ||||
-rw-r--r-- | packages/AIX/RPM/README | 32 | ||||
-rw-r--r-- | packages/AIX/RPM/curl.spec.in | 134 |
4 files changed, 0 insertions, 168 deletions
diff --git a/packages/AIX/RPM/.gitignore b/packages/AIX/RPM/.gitignore deleted file mode 100644 index cf17733e8..000000000 --- a/packages/AIX/RPM/.gitignore +++ /dev/null @@ -1 +0,0 @@ -curl.spec diff --git a/packages/AIX/RPM/Makefile.am b/packages/AIX/RPM/Makefile.am deleted file mode 100644 index 71e854ff8..000000000 --- a/packages/AIX/RPM/Makefile.am +++ /dev/null @@ -1 +0,0 @@ -EXTRA_DIST = README curl.spec.in diff --git a/packages/AIX/RPM/README b/packages/AIX/RPM/README deleted file mode 100644 index c2c31bd83..000000000 --- a/packages/AIX/RPM/README +++ /dev/null @@ -1,32 +0,0 @@ - _ _ ____ _ - ___| | | | _ \| | - / __| | | | |_) | | - ( (__| |_| | _ <| |___ - \___|\___/|_| \_\_____| - for AIX Toolbox - -Author: Tor Arntsen - -The spec file in this directory is based on the Linux ssl and non-ssl -curl spec files, plus additions to make it AIX Toolbox compatible. - -The AIX Toolbox setup (installs into /opt/freeware, with symlinks in -/usr/bin,/usr/lib,/usr/include) are based on IBM's aixtoolbox spec -file written by David Clissold <cliss@austin.ibm.com>, see - -https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/SPECS/curl-7.61.0-1.spec - -This spec file is designed to be a drop-in replacement for the -old spec file found at the above link. Thus, like the old spec file -this version is also a unified ssl/non-ssl version. To get non-ssl -RPMs just pass --define 'nossl 1' to the command line when building -the RPM, e.g. - -rpm -bb --define 'nossl 1' curl.spec - -Default is to build with ssl support. - -Lastly, the spec file expects the Curl source distribution file to be -in .tar.bz2 format. - -The nifty curl header of this README is a ripoff of the vms/readme file. diff --git a/packages/AIX/RPM/curl.spec.in b/packages/AIX/RPM/curl.spec.in deleted file mode 100644 index 634fc71a0..000000000 --- a/packages/AIX/RPM/curl.spec.in +++ /dev/null @@ -1,134 +0,0 @@ -# Use --define 'nossl 1' on the command line to disable SSL detection -%{!?nossl:%define SSL 1} -%{?nossl:%define SSL 0} - -%define name curl -%define version @VERSION@ -%define release 1%{!?nossl:ssl} - -%define curlroot %{_builddir}/%{name}-%{version} - -Summary: get a file from a FTP or HTTP server. -Name: %{name} -Version: %{version} -Release: %{release} -License: MIT/X derivate -Vendor: Daniel Stenberg <Daniel.Stenberg@haxx.se> -Group: Applications/Internet -Source: %{name}-%{version}.tar.bz2 -URL: https://curl.haxx.se/ -Provides: curl -BuildRoot: %{_tmppath}/%{name}-%{version}-root -Prefix: %{_prefix} - -%description -curl is a client to get documents/files from servers, using any of the -supported protocols. The command is designed to work without user -interaction or any kind of interactivity. - -curl offers many useful tricks like proxy support, user authentication, -ftp upload, HTTP post, file transfer resume and more. - -%if %{SSL} == 1 -Note: this version is compiled with SSL support. -%else -Note: this version is compiled without SSL support. -%endif - -%package devel -Summary: Development files for the curl library -Group: Development/Libraries -%if %{SSL} == 1 -Requires: openssl >= 0.9.5 -%endif -Requires: curl = %{version} -Provides: curl-devel - -%description devel -libcurl is the core engine of curl; this packages contains all the -libs, headers, and manual pages to develop applications using libcurl. - -%define DEFCC xlc - -%prep -rm -rf %{curlroot} -%setup -q - -%build - -# Use the default compiler for this platform - gcc otherwise -if [[ -z "$CC" ]] -then - if test "X`type %{DEFCC} 2>/dev/null`" != 'X'; then - export CC=%{DEFCC} - else - export CC=gcc - fi -fi - -cd %{curlroot} && (if [ -f configure.in ]; then mv -f configure.in configure.in. -rpm; fi) - -./configure --prefix=%{prefix} \ -%if %{SSL} == 1 - --with-ssl -%else - --without-ssl -%endif - -make - -%install -[ "%{buildroot}" != "/" ] && rm -rf %{buildroot} -make DESTDIR=%{buildroot} install-strip - -( cd $RPM_BUILD_ROOT # same as %{buildroot} - - for dir in bin include - do - mkdir -p usr/$dir - cd usr/$dir - ln -sf ../..%{prefix}/$dir/* . - cd - - done - - mkdir -p usr/lib - cd usr/lib - ln -sf ../..%{prefix}/lib/* . - cd - -) - -%clean -[ "%{buildroot}" != "/" ] && rm -rf %{buildroot} - -%files -%defattr(-,root,root) -%attr(0755,root,root) %{_bindir}/curl -%attr(0644,root,root) %{_mandir}/man1/curl.1* -%attr(0644,root,root) %{_mandir}/man1/mk-ca-bundle.1 -%{_libdir}/libcurl.a -%if %{SSL} == 1 -%{_datadir}/curl/curl-ca-bundle.crt -%endif -%doc CHANGES COPYING README RELEASE-NOTES -%doc docs/BUGS docs/CONTRIBUTE docs/FAQ docs/FEATURES docs/HISTORY -%doc docs/INSTALL docs/KNOWN_BUGS -%doc docs/MANUAL docs/RESOURCES docs/THANKS docs/VERSIONS docs/TODO -%doc docs/TheArtOfHttpScripting -%if %{SSL} == 1 -%doc docs/SSLCERTS -%endif -/usr/bin/curl -/usr/lib/libcurl.a - -%files devel -%defattr(-,root,root) -%attr(0755,root,root) %{_bindir}/curl-config -%attr(0644,root,root) %{_mandir}/man1/curl-config.1* -%attr(0644,root,root) %{_mandir}/man1/mk-ca-bundle.1 -%attr(0644,root,root) %{_mandir}/man3/* -%attr(0644,root,root) %{_includedir}/curl/* -%{_libdir}/libcurl.la -%doc docs/BINDINGS docs/INTERNALS docs/LICENSE-MIXING -/usr/bin/curl-config -/usr/include/curl |