From mboxrd@z Thu Jan 1 00:00:00 1970 From: git@ipfire.org To: ipfire-scm@lists.ipfire.org Subject: [IPFire-SCM] [git.ipfire.org] IPFire 3.x development tree branch, master, updated. 5c5249bcd96e2adb029ecae10107cb892d601c46 Date: Sat, 30 Jun 2012 01:05:58 +0200 Message-ID: <20120629230559.55A0420352@argus.ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8976202566946728354==" List-Id: --===============8976202566946728354== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "IPFire 3.x development tree". The branch, master has been updated via 5c5249bcd96e2adb029ecae10107cb892d601c46 (commit) via be25f49efd61d3af5a372a67e113cbe69c08658d (commit) via 67bbd71ef18fbad900e4f33edabc97f4fe8397ff (commit) via 1f5bae3ae9857fbef6304c5a79614432f4f60615 (commit) via aa3b3b0fe7840ebcc724735be4ee00b7eddd2328 (commit) from 0f54968346962ab9b1fed900db53a6c896f13176 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 5c5249bcd96e2adb029ecae10107cb892d601c46 Merge: be25f49 0f54968 Author: Michael Tremer Date: Sat Jun 30 01:05:53 2012 +0200 Merge branch 'master' of ssh://git.ipfire.org/pub/git/ipfire-3.x commit be25f49efd61d3af5a372a67e113cbe69c08658d Merge: 67bbd71 aa3b3b0 Author: Michael Tremer Date: Sat Jun 30 01:05:45 2012 +0200 Merge remote-tracking branch 'stevee/psmisc' commit 67bbd71ef18fbad900e4f33edabc97f4fe8397ff Author: Michael Tremer Date: Sat Jun 30 01:04:54 2012 +0200 pakfire: Apply the patches in a better order. =20 Patches are now automatically applied in an order that is sorted by the version string of the package. commit 1f5bae3ae9857fbef6304c5a79614432f4f60615 Author: Michael Tremer Date: Sat Jun 30 01:03:08 2012 +0200 nss: Add pkgconfig files for nss-util. =20 When the transition to one nss package has been made, the nss-util.pc files and nss-util-config was dropped. This results in a broken detection for libnssutil. commit aa3b3b0fe7840ebcc724735be4ee00b7eddd2328 Author: Stefan Schantl Date: Mon Jun 25 18:43:57 2012 +0200 psmisc: Update t 22.19. =20 This is a bugfixing release. ----------------------------------------------------------------------- Summary of changes: nss/{nss-config.in =3D> nss-util-config.in} | 35 ++------------- nss/{nss.pc.in =3D> nss-util.pc.in} | 8 ++-- nss/nss.nm | 48 +++++++++++-------- pakfire/pakfire.nm | 2 +- ...0009-Sort-patches-by-their-version-number.patch | 19 ++++++++ psmisc/psmisc.nm | 2 +- 6 files changed, 57 insertions(+), 57 deletions(-) copy nss/{nss-config.in =3D> nss-util-config.in} (73%) copy nss/{nss.pc.in =3D> nss-util.pc.in} (52%) create mode 100644 pakfire/patches/0009-Sort-patches-by-their-version-number= .patch Difference in files: diff --git a/nss/nss-util-config.in b/nss/nss-util-config.in new file mode 100644 index 0000000..ef8751d --- /dev/null +++ b/nss/nss-util-config.in @@ -0,0 +1,118 @@ +#!/bin/sh + +prefix=3D@prefix@ + +major_version=3D@MOD_MAJOR_VERSION@ +minor_version=3D@MOD_MINOR_VERSION@ +patch_version=3D@MOD_PATCH_VERSION@ + +usage() +{ + cat <&2 +fi + +lib_nssutil=3Dyes + +while test $# -gt 0; do + case "$1" in + -*=3D*) optarg=3D`echo "$1" | sed 's/[-_a-zA-Z0-9]*=3D//'` ;; + *) optarg=3D ;; + esac + + case $1 in + --prefix=3D*) + prefix=3D$optarg + ;; + --prefix) + echo_prefix=3Dyes + ;; + --exec-prefix=3D*) + exec_prefix=3D$optarg + ;; + --exec-prefix) + echo_exec_prefix=3Dyes + ;; + --includedir=3D*) + includedir=3D$optarg + ;; + --includedir) + echo_includedir=3Dyes + ;; + --libdir=3D*) + libdir=3D$optarg + ;; + --libdir) + echo_libdir=3Dyes + ;; + --version) + echo ${major_version}.${minor_version}.${patch_version} + ;; + --cflags) + echo_cflags=3Dyes + ;; + --libs) + echo_libs=3Dyes + ;; + *) + usage 1 1>&2 + ;; + esac + shift +done + +# Set variables that may be dependent upon other variables +if test -z "$exec_prefix"; then + exec_prefix=3D`pkg-config --variable=3Dexec_prefix nss-util` +fi +if test -z "$includedir"; then + includedir=3D`pkg-config --variable=3Dincludedir nss-util` +fi +if test -z "$libdir"; then + libdir=3D`pkg-config --variable=3Dlibdir nss-util` +fi + +if test "$echo_prefix" =3D "yes"; then + echo $prefix +fi + +if test "$echo_exec_prefix" =3D "yes"; then + echo $exec_prefix +fi + +if test "$echo_includedir" =3D "yes"; then + echo $includedir +fi + +if test "$echo_libdir" =3D "yes"; then + echo $libdir +fi + +if test "$echo_cflags" =3D "yes"; then + echo -I$includedir +fi + +if test "$echo_libs" =3D "yes"; then + libdirs=3D"-Wl,-rpath-link,$libdir -L$libdir" + if test -n "$lib_nssutil"; then + libdirs=3D"$libdirs -lnssutil${major_version}" + fi + echo $libdirs +fi =20 + diff --git a/nss/nss-util.pc.in b/nss/nss-util.pc.in new file mode 100644 index 0000000..1310248 --- /dev/null +++ b/nss/nss-util.pc.in @@ -0,0 +1,11 @@ +prefix=3D%prefix% +exec_prefix=3D%exec_prefix% +libdir=3D%libdir% +includedir=3D%includedir% + +Name: NSS-UTIL +Description: Network Security Services Utility Library +Version: %NSSUTIL_VERSION% +Requires: nspr >=3D %NSPR_VERSION% +Libs: -L${libdir} -lnssutil3 +Cflags: -I${includedir} diff --git a/nss/nss.nm b/nss/nss.nm index 20acaf9..af0a2cf 100644 --- a/nss/nss.nm +++ b/nss/nss.nm @@ -8,7 +8,7 @@ ver_major =3D 3 ver_minor =3D 13 ver_patch =3D 1 version =3D %{ver_major}.%{ver_minor}.%{ver_patch} -release =3D 3 +release =3D 4 =20 maintainer =3D Stefan Schantl groups =3D System/Libraries @@ -146,29 +146,33 @@ build install -p -v -m 755 mozilla/dist/*.OBJ/bin/vfychain %{BUILDROOT}%{libdir}= /nss/unsupported-tools chrpath --delete %{BUILDROOT}%{libdir}/nss/unsupported-tools/* =20 - sed -e "s,@libdir@,%{libdir},g" \ - -e "s,@prefix@,/usr,g" \ - -e "s,@exec_prefix@,/usr,g" \ - -e "s,@includedir@,/usr/include/nss3,g" \ - -e "s,@MOD_MAJOR_VERSION@,$(grep "#define.*NSS_VMAJOR" mozilla/security/n= ss/lib/nss/nss.h | awk '{print $3}'),g" \ - -e "s,@MOD_MINOR_VERSION@,$(grep "#define.*NSS_VMINOR" mozilla/security/n= ss/lib/nss/nss.h | awk '{print $3}'),g" \ - -e "s,@MOD_PATCH_VERSION@,$(grep "#define.*NSS_VPATCH" mozilla/security/n= ss/lib/nss/nss.h | awk '{print $3}'),g" \ - < %{DIR_SOURCE}/nss-config.in \ - > %{BUILDROOT}/usr/bin/nss-config - chmod -v 755 %{BUILDROOT}/usr/bin/nss-config + for file in nss-config nss-util-config; do + sed -e "s,@libdir@,%{libdir},g" \ + -e "s,@prefix@,/usr,g" \ + -e "s,@exec_prefix@,/usr,g" \ + -e "s,@includedir@,/usr/include/nss3,g" \ + -e "s,@MOD_MAJOR_VERSION@,$(grep "#define.*NSS_VMAJOR" mozilla/security/= nss/lib/nss/nss.h | awk '{print $3}'),g" \ + -e "s,@MOD_MINOR_VERSION@,$(grep "#define.*NSS_VMINOR" mozilla/security/= nss/lib/nss/nss.h | awk '{print $3}'),g" \ + -e "s,@MOD_PATCH_VERSION@,$(grep "#define.*NSS_VPATCH" mozilla/security/= nss/lib/nss/nss.h | awk '{print $3}'),g" \ + < %{DIR_SOURCE}/${file}.in \ + > %{BUILDROOT}/usr/bin/${file} + chmod -v 755 %{BUILDROOT}/usr/bin/${file} + done =20 install -p -v -m 755 %{DIR_SOURCE}/setup-nsssysinit.sh %{BUILDROOT}/usr/bin =20 # Generate file for pkg-config. - sed \ - -e "s,%libdir%,%{libdir},g" \ - -e "s,%prefix%,/usr,g" \ - -e "s,%exec_prefix%,/usr,g" \ - -e "s,%includedir%,/usr/include/nss3,g" \ - -e "s,%NSS_VERSION%,%{version},g" \ - -e "s,%NSPR_VERSION%,$(nspr-config --version),g" \ - < %{DIR_SOURCE}/nss.pc.in \ - > %{BUILDROOT}%{libdir}/pkgconfig/nss.pc + for file in nss.pc nss-util.pc; do + sed \ + -e "s,%libdir%,%{libdir},g" \ + -e "s,%prefix%,/usr,g" \ + -e "s,%exec_prefix%,/usr,g" \ + -e "s,%includedir%,/usr/include/nss3,g" \ + -e "s,%NSS_VERSION%,%{version},g" \ + -e "s,%NSPR_VERSION%,$(nspr-config --version),g" \ + < %{DIR_SOURCE}/${file}.in \ + > %{BUILDROOT}%{libdir}/pkgconfig/${file} + done =20 # Copy the include files we want cp -vf mozilla/dist/public/nss/*.h %{BUILDROOT}/usr/include/nss3 @@ -201,6 +205,10 @@ packages nss=3D%{thisver} end =20 + provides + nss-util-devel =3D %{thisver} + end + # Mozilla does no versioning :( files /usr/bin/*-config diff --git a/pakfire/pakfire.nm b/pakfire/pakfire.nm index eef125a..cba3786 100644 --- a/pakfire/pakfire.nm +++ b/pakfire/pakfire.nm @@ -5,7 +5,7 @@ =20 name =3D pakfire version =3D 0.9.22 -release =3D 3 +release =3D 4 =20 maintainer =3D Michael Tremer groups =3D System/Packaging diff --git a/pakfire/patches/0009-Sort-patches-by-their-version-number.patch = b/pakfire/patches/0009-Sort-patches-by-their-version-number.patch new file mode 100644 index 0000000..a8756fc --- /dev/null +++ b/pakfire/patches/0009-Sort-patches-by-their-version-number.patch @@ -0,0 +1,19 @@ +commit 2d1d622ac9859c90363076aa2f44edf1efe53597 +Author: Michael Tremer +Date: Tue Jun 26 19:32:11 2012 +0200 + + Sort patches by their version number (not in alphabetical order). + +diff --git a/macros/constants.macro b/macros/constants.macro +index 07459a3..74484ea 100644 +--- a/macros/constants.macro ++++ b/macros/constants.macro +@@ -11,7 +11,7 @@ DIR_SOURCE =3D %{BASEDIR} +=20 + # By default, take all patches from the patches directory + # in alphabetical order. +-patches =3D $(find %{DIR_PATCHES} -not -type d 2>/dev/null | sort) ++patches =3D $(find %{DIR_PATCHES} -not -type d 2>/dev/null | sort --version= -sort) + sources =3D %{thisapp}.tar.gz +=20 + # Macro definitions diff --git a/psmisc/psmisc.nm b/psmisc/psmisc.nm index af812f1..e86a9ff 100644 --- a/psmisc/psmisc.nm +++ b/psmisc/psmisc.nm @@ -4,7 +4,7 @@ ############################################################################= ### =20 name =3D psmisc -version =3D 22.15 +version =3D 22.19 release =3D 1 =20 groups =3D Applications/System hooks/post-receive -- IPFire 3.x development tree --===============8976202566946728354==--