Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TLMSP curl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CYBER - Cyber Security
TS 103 523 MSP
TLMSP
TLMSP curl
Commits
c503930b
Commit
c503930b
authored
23 years ago
by
Cris Bailiff
Browse files
Options
Downloads
Patches
Plain Diff
Added Solaris 'pkgadd' building support to packages collection and autoconf/automake files
parent
5c6859e5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
Makefile.am
+15
-0
15 additions, 0 deletions
Makefile.am
configure.in
+10
-0
10 additions, 0 deletions
configure.in
packages/Makefile.am
+1
-1
1 addition, 1 deletion
packages/Makefile.am
packages/Solaris/Makefile.am
+39
-0
39 additions, 0 deletions
packages/Solaris/Makefile.am
with
65 additions
and
1 deletion
Makefile.am
+
15
−
0
View file @
c503930b
...
...
@@ -48,3 +48,18 @@ rpm:
rpm
-ba
--clean
--rmsource
$$
RPM_TOPDIR/SPECS/
$(
RPMDIST
)
.spec
;
\
mv
$$
RPM_TOPDIR/RPMS/i386/
$(
RPMDIST
)
-
*
.rpm
.
;
\
mv
$$
RPM_TOPDIR/SRPMS/
$(
RPMDIST
)
-
*
.src.rpm .
#
# Build a Solaris pkkgadd format file
# run 'make pkgadd' once you've done './configure' and 'make' to make a Solaris pkgadd format
# file (which ends up back in this directory).
# The pkgadd file is in 'pkgtrans' format, so to install on Solaris, do
# pkgadd -d ./HAXXcurl-*
#
# gak - libtool requires an absoulte directory, hence the pwd below...
pkgadd
:
umask
022
;
\
make
install
DESTDIR
=
`
/bin/pwd
`
/packages/Solaris/root
;
\
cat
LEGAL MITX.txt MPL-1.1.txt
>
$(
srcdir
)
/packages/Solaris/copyright
;
\
cd
$(
srcdir
)
/packages/Solaris
&&
$(
MAKE
)
package
This diff is collapsed.
Click to expand it.
configure.in
+
10
−
0
View file @
c503930b
...
...
@@ -12,6 +12,15 @@ dnl we extract the numerical version for curl-config only
VERSIONNUM=`sed -ne 's/^#define LIBCURL_VERSION_NUM 0x\(.*\)/\1/p' ${srcdir}/include/curl/curl.h`
AC_SUBST(VERSIONNUM)
dnl Solaris pkgadd support definitions
PKGADD_PKG="HAXXcurl"
PKGADD_NAME="cURL - a client that groks URLs"
PKGADD_VENDOR="curl.haxx.se"
AC_SUBST(PKGADD_PKG)
AC_SUBST(PKGADD_NAME)
AC_SUBST(PKGADD_VENDOR)
dnl
dnl Detect the canonical host and target build environment
dnl
...
...
@@ -831,6 +840,7 @@ AC_CONFIG_FILES([Makefile \
packages/Linux/RPM/Makefile \
packages/Linux/RPM/curl.spec \
packages/Linux/RPM/curl-ssl.spec \
packages/Solaris/Makefile \
perl/Makefile \
perl/Curl_easy/Makefile \
php/Makefile \
...
...
This diff is collapsed.
Click to expand it.
packages/Makefile.am
+
1
−
1
View file @
c503930b
SUBDIRS
=
Win32 Linux
SUBDIRS
=
Win32 Linux
Solaris
EXTRA_DIST
=
README
This diff is collapsed.
Click to expand it.
packages/Solaris/Makefile.am
0 → 100644
+
39
−
0
View file @
c503930b
#
# $Id$
#
PKGADD_PKG
=
"@PKGADD_PKG@"
PKGADD_NAME
=
"@PACKAGE@-@VERSION@ - @PKGADD_NAME@"
PKGADD_VENDOR
=
"@PKGADD_VENDOR@"
PKGADD_ARCH
=
"@host_cpu@"
PKGADD_DESC
=
"@PACKAGE@-@VERSION@ - @PKGADD_NAME@"
PKGADD_CLASSES
=
none
PKGADD_BASEDIR
=
/
PKGADD_FILE
=
${
PKGADD_PKG
}
-@PACKAGE@-@VERSION@-@host@.pkg
package
:
if
[
!
-f
release
]
;
then
echo
0
>
release
;
fi
if
[
`
find root
-newer
release
-print
|wc
-l
`
-gt
0
]
;
then
expr
`
cat
release
`
+ 1
>
release
;
fi
echo
PKG
=
${
PKGADD_PKG
}
>
pkginfo
echo
NAME
=
${
PKGADD_NAME
}
>>
pkginfo
echo
VENDOR
=
${
PKGADD_VENDOR
}
>>
pkginfo
echo
ARCH
=
${
PKGADD_ARCH
}
>>
pkginfo
echo
DESC
=
${
PKGADD_DESC
}
>>
pkginfo
echo
CLASSES
=
${
PKGADD_CLASSES
}
>>
pkginfo
echo
BASEDIR
=
${
PKGADD_BASEDIR
}
>>
pkginfo
echo
CATEGORY
=
application
>>
pkginfo
echo
VERSION
=
`
cat
./release
`
>>
pkginfo
echo
>
prototype
for
subdir
in
opt var etc usr
;
\
do if
[
-d
root/
$$
subdir
]
;
then
\
pkgproto root/
$$subdir
=
$$
subdir
>>
prototype
;
\
fi
;
done
for
file
in
pkginfo preinstall postinstall copyright
;
\
do if
[
-f
$$
file
]
;
then
\
echo
"i
$$
file=
$$
file"
>>
prototype
;
\
fi
;
done
rm
-rf
./tmp
mkdir
./tmp
pkgmk
-o
-d
./tmp
pkgtrans
-so
./tmp
${
top_srcdir
}
/../
${
PKGADD_FILE
}
${
PKGADD_PKG
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment