]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/commitdiff
Merge remote-tracking branch 'stevee/lm_sensors'
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 2 Mar 2012 15:57:52 +0000 (16:57 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 2 Mar 2012 15:57:52 +0000 (16:57 +0100)
22 files changed:
curl/curl.nm
curl/patches/curl-7.21.2-debug.patch [new file with mode: 0644]
docbook-dtds/docbook-dtds.nm
docbook-dtds/patches/docbook-sgml-systemrewrite.patch
gnutls/gnutls.nm
gnutls/patches/gnutls-3.0.13-force-kill-of-child-process.patch [new file with mode: 0644]
l7-protocols/l7-protocols.nm
libatasmart/libatasmart.nm
libcgroup/libcgroup.nm
libsolv/libsolv.nm
lsof/lsof.nm
lsof/patches/lsof_4.81-threads.patch [deleted file]
net-snmp/net-snmp.nm
net-tools/net-tools.nm
openvpn/openvpn.nm
paxtest/paxtest.nm
ppp/ppp.nm
rsyslog/rsyslog.nm
tcpdump/tcpdump.nm
ulogd2/ulogd2.nm
upower/upower.nm
xorg-x11-xinit/xorg-x11-xinit.nm

index b171ecf2d19514dd28cf7fcb025949569e058e5f..a35ff76939fe12a539cdf2b5d0703868d19fcabc 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = curl
 version    = 7.24.0
-release    = 1
+release    = 2
 
 groups     = Application/Internet
 url        = http://www.curl.haxx.se/
@@ -29,10 +29,10 @@ build
                groff
                libidn-devel
                libssh2-devel
-               libtool
+               libtool-devel
+               net-tools
                nss-devel
                openldap-devel
-               pkg-config
                zlib-devel
        end
 
@@ -53,9 +53,12 @@ build
                autoreconf -vfi
        end
 
-       test
-               make check
-       end
+       # The testsuite runs services which bind to ports and
+       # sends queries to the internet. This may fail in some
+       # occasions.
+       #test
+       #       make check
+       #end
 end
 
 packages
diff --git a/curl/patches/curl-7.21.2-debug.patch b/curl/patches/curl-7.21.2-debug.patch
new file mode 100644 (file)
index 0000000..7691826
--- /dev/null
@@ -0,0 +1,58 @@
+ configure            |   15 ++++-----------
+ m4/curl-compilers.m4 |   15 ++++-----------
+ 2 files changed, 8 insertions(+), 22 deletions(-)
+
+diff --git a/configure b/configure
+index d3ecf69..6d8f085 100755
+--- a/configure
++++ b/configure
+@@ -15040,18 +15040,11 @@ $as_echo "yes" >&6; }
+     gccvhi=`echo $gccver | cut -d . -f1`
+     gccvlo=`echo $gccver | cut -d . -f2`
+     compiler_num=`(expr $gccvhi "*" 100 + $gccvlo) 2>/dev/null`
+-    flags_dbg_all="-g -g0 -g1 -g2 -g3"
+-    flags_dbg_all="$flags_dbg_all -ggdb"
+-    flags_dbg_all="$flags_dbg_all -gstabs"
+-    flags_dbg_all="$flags_dbg_all -gstabs+"
+-    flags_dbg_all="$flags_dbg_all -gcoff"
+-    flags_dbg_all="$flags_dbg_all -gxcoff"
+-    flags_dbg_all="$flags_dbg_all -gdwarf-2"
+-    flags_dbg_all="$flags_dbg_all -gvms"
++    flags_dbg_all=""
+     flags_dbg_yes="-g"
+-    flags_dbg_off="-g0"
+-    flags_opt_all="-O -O0 -O1 -O2 -O3 -Os"
+-    flags_opt_yes="-O2"
++    flags_dbg_off=""
++    flags_opt_all=""
++    flags_opt_yes=""
+     flags_opt_off="-O0"
+   else
+     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+diff --git a/m4/curl-compilers.m4 b/m4/curl-compilers.m4
+index 1ea4d17..868d65a 100644
+--- a/m4/curl-compilers.m4
++++ b/m4/curl-compilers.m4
+@@ -148,18 +148,11 @@ AC_DEFUN([CURL_CHECK_COMPILER_GNU_C], [
+     gccvhi=`echo $gccver | cut -d . -f1`
+     gccvlo=`echo $gccver | cut -d . -f2`
+     compiler_num=`(expr $gccvhi "*" 100 + $gccvlo) 2>/dev/null`
+-    flags_dbg_all="-g -g0 -g1 -g2 -g3"
+-    flags_dbg_all="$flags_dbg_all -ggdb"
+-    flags_dbg_all="$flags_dbg_all -gstabs"
+-    flags_dbg_all="$flags_dbg_all -gstabs+"
+-    flags_dbg_all="$flags_dbg_all -gcoff"
+-    flags_dbg_all="$flags_dbg_all -gxcoff"
+-    flags_dbg_all="$flags_dbg_all -gdwarf-2"
+-    flags_dbg_all="$flags_dbg_all -gvms"
++    flags_dbg_all=""
+     flags_dbg_yes="-g"
+-    flags_dbg_off="-g0"
+-    flags_opt_all="-O -O0 -O1 -O2 -O3 -Os"
+-    flags_opt_yes="-O2"
++    flags_dbg_off=""
++    flags_opt_all=""
++    flags_opt_yes=""
+     flags_opt_off="-O0"
+   else
+     AC_MSG_RESULT([no])
index 37b15ba6c43174038ef327eb18894c13c5f8850b..027da2fb7814f940e0a3b87072c6c4e6f24dcb07 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = docbook-dtds
 version    = 1.0
-release    = 4
+release    = 5
 arch       = noarch
 
 groups     = Applications/Text
index 4adbc50dd815cf1179b989bac79d8fa1ec269629..cb8dffe3a0fe020ee4757b1c7b42f818011644fd 100644 (file)
@@ -201,7 +201,7 @@ diff -urNp docbook-dtds-1.0-orig/4.5-xml/docbook.cat docbook-dtds-1.0/4.5-xml/do
    -- ...................................................................... --
 +  -- SYSTEM rewrite of web URL .............. ............................. --
 +
-+SYSTEM "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"
++SYSTEM "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
 +       "docbookx.dtd"
 +
 +  -- ...................................................................... --
index 2b2912ea67925f8919ca70d3f2d03ea7a69a41f1..64b8a3f5c0923fef635520de791e5035b24a8364 100644 (file)
@@ -4,8 +4,8 @@
 ###############################################################################
 
 name       = gnutls
-version    = 3.0.9
-release    = 1
+version    = 3.0.13
+release    = 2
 
 groups     = System/Libraries
 url        = http://www.gnu.org/software/gnutls/
@@ -25,9 +25,9 @@ sources    = %{thisapp}.tar.xz
 build
        requires
                libtasn1-devel
-               nettle-devel>=2.4
+               nettle-devel >= 2.4
                perl
-               p11-kit-devel>=0.4
+               p11-kit-devel >= 0.4
                zlib-devel
        end
 
@@ -36,9 +36,11 @@ build
 
        configure_options += \
                --with-included-libcfg \
-               --disable-srp-authentication
+               --disable-srp-authentication \
+               --disable-openssl-compatibility
 
        test
+               export LD_LIBRARY_PATH=$(pwd)/lib/.libs
                make check
        end
 end
@@ -46,8 +48,8 @@ end
 packages
        package %{name}
                requires
-                       nettle>=2.4
-                       p11-kit>=0.4
+                       nettle >= 2.4
+                       p11-kit >= 0.4
                end
        end
 
diff --git a/gnutls/patches/gnutls-3.0.13-force-kill-of-child-process.patch b/gnutls/patches/gnutls-3.0.13-force-kill-of-child-process.patch
new file mode 100644 (file)
index 0000000..7c871bb
--- /dev/null
@@ -0,0 +1,24 @@
+From 642e6b5ca996325dc0ca6401a3b87039408b2585 Mon Sep 17 00:00:00 2001
+From: Nikos Mavrogiannopoulos <nmav@gnutls.org>
+Date: Sun, 19 Feb 2012 19:51:06 +0100
+Subject: [PATCH] force kill of child process.
+
+---
+ tests/mini-loss-time.c |    1 +
+ 1 files changed, 1 insertions(+), 0 deletions(-)
+
+diff --git a/tests/mini-loss-time.c b/tests/mini-loss-time.c
+index 17f6d3f..cc01dcd 100644
+--- a/tests/mini-loss-time.c
++++ b/tests/mini-loss-time.c
+@@ -267,6 +267,7 @@ static void start (int server_packet, int client_packet)
+     {
+       /* parent */
+       server (fd[0], server_packet);
++      kill(child, SIGTERM);
+     }
+   else 
+     {
+-- 
+1.7.2.5
+
index 31e8e99c9531e19907de7b2239f5b8939d7cdbc9..6e244ef62581dda2fbb169a54413b422818af3e7 100644 (file)
@@ -4,7 +4,7 @@
 ###############################################################################
 
 name       = l7-protocols
-version    = 2007-11-22
+version    = 2009-05-28
 release    = 1
 arch       = noarch
 
@@ -20,7 +20,7 @@ description
        of port.
 end
 
-source_dl  =
+source_dl  = http://sourceforge.net/projects/l7-filter/files/Protocol%20definitions/%{version}/
 
 build
        build
index 78c510ee9928fd70cbb5313b26a2cce8b96be8d4..e3d8c939da86d11cde854c3f1d462c3758a8c849 100644 (file)
@@ -13,7 +13,7 @@ license    = LGPLv2+
 summary    = ATA S.M.A.R.T. Disk Health Monitoring Library.
 
 description
-       A scmall and lightweight parser library for ATA S.M.A.R.T. hard disk \
+       A scmall and lightweight parser library for ATA S.M.A.R.T. hard disk
        health monitoring.
 end
 
@@ -23,24 +23,11 @@ sources    = %{thisapp}.tar.gz
 build
        requires
                libudev-devel
-               pkg-config
-       end
-
-       configure_options += \
-               --libdir=/lib
-
-       install_cmds
-               -mkdir -pv %{BUILDROOT}/usr/lib
-               mv -v %{BUILDROOT}/lib/pkgconfig %{BUILDROOT}/usr/lib/
-
-               rm -vf %{BUILDROOT}/lib/libatasmart.so
-               ln -svf ../../lib/libatasmart.so.4 %{BUILDROOT}/usr/lib/libatasmart.so
        end
 end
 
 packages
        package %{name}
-       end
 
        package %{name}-devel
                template DEVEL
index 33a01f3d9150ef27d5ce74885f5d5b49be603bd2..88f06df7b996db407983a95326854ffee9e0b840 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = libcgroup
 version    = 0.35.1
-release    = 1
+release    = 2
 
 groups     = Development/Libraries
 url        = http://libcg.sourceforge.net/
@@ -29,27 +29,20 @@ build
        end
 
        configure_options += \
-               --libdir=/lib \
                --disable-pam \
                --disable-tools \
                --disable-daemon
 
-       #define test
-       #       make check
-       #endef
+       # The testsuite is disabled because it does not
+       # run very smoothly in PBS.
 
        install_cmds
                rm -rf %{BUILDROOT}/etc
-
-               mkdir -pv %{BUILDROOT}/usr/lib
-               rm -vf %{BUILDROOT}/lib/libcgroup.so
-               ln -svf ../../lib/libcgroup.so.1 %{BUILDROOT}/usr/lib/libcgroup.so
        end
 end
 
 packages
        package %{name}
-       end
 
        package %{name}-devel
                template DEVEL
index aade3f94b04ad77433c5a2c4032d511858c5ae07..2750d22e0772af14ab3978587331b5e370701249 100644 (file)
@@ -6,7 +6,7 @@
 name       = libsolv
 version    = 0.0.0
 git_ver    = 0db9d7f
-release    = 2.git%{git_ver}
+release    = 3.git%{git_ver}
 
 maintainer = Michael Tremer <michael.tremer@ipfire.org>
 groups     = System/Libraries
@@ -33,6 +33,9 @@ build
        end
 
        prepare_cmds
+               # Remove -Werror from gcc command line.
+               find . -name CMakeLists.txt | xargs sed -e "s/-Werror//g" -i
+
                # Do not build bindings, examples and tools.
                sed "/bindings/d" -i CMakeLists.txt
                sed "/examples/d" -i CMakeLists.txt
index bff08ab68a2e33afddc60b856c2bad2f030b8768..b10421cbfd2a62eff1edbcddb39eaeb5b23b3be7 100644 (file)
@@ -4,30 +4,27 @@
 ###############################################################################
 
 name       = lsof
-version    = 4.82
-release    = 2
+version    = 4.85
+release    = 1
 
 groups     = Development/Debuggers
-url        = ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof
+url        = ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/
 license    = zlib
 summary    = A utility which lists open files on a Linux/UNIX system.
 
 description
-       Lsof stands for LiSt Open Files, and it does just that: \
-       it lists information about files that are open by the \
+       Lsof stands for LiSt Open Files, and it does just that:
+       it lists information about files that are open by the
        processes running on a system.
 end
 
-source_dl  =
-sources    = %{name}_%{version}_src.tar.gz
+thisapp    = %{name}_%{version}_src
 
 build
        requires
                libselinux-devel
        end
 
-       DIR_APP = /usr/src/%{name}_%{version}_src
-
        build
                LINUX_BASE=/proc \
                LSOF_VSTR="2.6.16" \
diff --git a/lsof/patches/lsof_4.81-threads.patch b/lsof/patches/lsof_4.81-threads.patch
deleted file mode 100644 (file)
index 399819f..0000000
+++ /dev/null
@@ -1,129 +0,0 @@
-diff -up lsof_4.81-rh/dialects/linux/dproc.c.kzak lsof_4.81-rh/dialects/linux/dproc.c
---- lsof_4.81-rh/dialects/linux/dproc.c.kzak   2008-10-21 18:17:25.000000000 +0200
-+++ lsof_4.81-rh/dialects/linux/dproc.c        2008-12-02 10:54:54.000000000 +0100
-@@ -89,7 +89,8 @@ _PROTOTYPE(static void process_proc_map,
- _PROTOTYPE(static int process_id,(char *idp, int idpl, char *cmd, UID_ARG uid,
-                                 int pid, int ppid, int pgid));
- _PROTOTYPE(static int statEx,(char *p, struct stat *s, int *ss));
-- 
-+_PROTOTYPE(static int get_other_thread,(int pid, char **tid));
-+
- #if   defined(HASSELINUX)
- _PROTOTYPE(static int cmp_cntx_eq,(char *pcntx, char *ucntx));
-@@ -159,6 +160,7 @@ gather_proc_info()
-       struct dirent *dp;
-       struct stat sb;
-       int lwp, n, nl, pgid, pid, ppid, rv, tx;
-+      char *tid = NULL;
-       static char *lwppath = (char *)NULL;
-       static int lwppathl = 0;
-       static char *path = (char *)NULL;
-@@ -252,6 +254,13 @@ gather_proc_info()
-       while ((dp = readdir(ps))) {
-           if (nm2id(dp->d_name, &pid, &n))
-               continue;
-+
-+          tid = NULL;
-+          if (get_other_thread(pid, &tid) < 0)
-+              continue;
-+          if (tid)
-+              n += sizeof("task/") + strlen(tid);
-+
-       /*
-        * Build path to PID's directory.
-        */
-@@ -265,7 +274,14 @@ gather_proc_info()
-                   Exit(1);
-               }
-           }
--          (void) snpf(pidpath + pidx, pidpathl - pidx, "%s/", dp->d_name);
-+          if (tid) {
-+              /* /proc/<pid> is useless (zombie), we have to use /proc/<pid>/task/<tid>
-+               * where is still running thread
-+               */
-+              (void) snpf(pidpath + pidx, pidpathl - pidx, "%s/task/%s/", dp->d_name, tid);
-+              free(tid);
-+          } else
-+              (void) snpf(pidpath + pidx, pidpathl - pidx, "%s/", dp->d_name);
-           n += (pidx + 1);
-       /*
-        * Process the PID's stat info.
-@@ -1007,6 +1023,64 @@ process_id(idp, idpl, cmd, uid, pid, ppi
-       return(0);
- }
-+/* fill tid if the initial thread is zombie,
-+ * but other thread still alive
-+ *
-+ * returns -1=error, 0=nothing, 1=ok
-+ */
-+static int
-+get_other_thread(pid, tid)
-+      int pid;
-+      char **tid;
-+{
-+      char path[MAXPATHLEN];
-+      DIR *tdp;
-+      struct dirent *td;
-+      char pstate;
-+      FILE *f;
-+      int _pid;
-+      int re = 0, x;
-+
-+      snpf(path, sizeof(path), "%s/%d/stat", PROCFS, pid);
-+      if (!(f = fopen(path, "r")))
-+              return -1;
-+      x = fscanf(f, "%d %*s %c", &_pid, &pstate);
-+      fclose(f);
-+      if (x!=2)
-+              return -1;
-+      if (_pid != pid)
-+              return -1;              /* corrupted /proc? */
-+      if (pstate!='Z')
-+              return 0;               /* ignore normal proceses */
-+
-+      snpf(path, sizeof(path), "%s/%d/task", PROCFS, pid);
-+
-+      /* open /proc/<pid>/task */
-+      if (!(tdp = opendir(path)))
-+              return 0;               /* kernel < 2.6.x */
-+
-+      /* look for first alive thread */
-+      while ((td = readdir(tdp))) {
-+              if (strcmp(td->d_name, ".")==0 || strcmp(td->d_name, "..")==0)
-+                      continue;
-+
-+              /* /proc/<pid>/task/<tid>/stat */
-+              snpf(path, sizeof(path), "%s/%d/task/%s/stat", PROCFS, pid, td->d_name);
-+              if (!(f = fopen(path, "r")))
-+                      continue;
-+              x = fscanf(f, "%*d %*s %c", &pstate);
-+              fclose(f);
-+              if (x!=1)
-+                      continue;
-+              if (pstate!='Z') {
-+                      re = 1;
-+                      *tid = strdup(td->d_name);
-+                      break;
-+              }
-+      }
-+      closedir(tdp);
-+      return re;
-+}
- /*
-  * process_proc_map() - process the memory map of a process
-@@ -1250,12 +1324,6 @@ read_id_stat(ty, p, id, cmd, ppid, pgid)
-           return(1);
-       }
- /*
-- * Convert the first field to an integer; its conversion must match the
-- * ID argument.
-- */
--      if (!fp[0] || (atoi(fp[0]) != id))
--          return(1);
--/*
-  * Get the command name from the second field.  Strip a starting '(' and
-  * an ending ')'.  Allocate space to hold the result and return the space
-  * pointer.
index 863fedbd4b10fe290a024fa92972cdebbf703b7e..4f89074491fc3199d9db39f777aba40ce872d4f3 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = net-snmp
 version    = 5.7.1
-release    = 2
+release    = 3
 
 groups     = Networking/Daemons
 url        = http://net-snmp.sourceforge.net
@@ -29,9 +29,6 @@ build
        PARALLELISMFLAGS = # No parallel build
 
        configure_options += \
-               --sysconfdir=/etc \
-               --libdir=/usr/lib \
-               --mandir=/usr/share/man \
                --with-default-snmp-version=2 \
                --with-sys-contact=root@ \
                --with-sys-location=localhost \
@@ -51,7 +48,7 @@ packages
                # XXX Although we don't want to build perl modules,
                # we have this requirement?!
                filter_requires
-                       perl\(NetSNMP::TrapReceiver\)
+                       ^perl
                end
        end
 
index 10ce6268f4823429e5dcaa6e996941b88b06ad5d..1ae43ff6d2a7eeaae90adcaa8a25f72c121e317e 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = net-tools
 version    = 1.60
-release    = 2
+release    = 3
 
 groups     = System/Base
 url        = http://net-tools.berlios.de/
@@ -124,6 +124,9 @@ build
        make_build_targets += \
                 CC=gcc
 
+       # Compiling in parallel mode is unsafe for this pkg.
+       PARALLELISMFLAGS =
+
        build_cmds
                # Compile ether-wake
                gcc %{CFLAGS} -o ether-wake ether-wake.c
index 3d4bbe2980c35cf9d2ec0b4cd4be5afe2710cdf0..56051452d7b2c9f59ffb498567cec0979efbd8a9 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = openvpn
 version    = 2.2.1
-release    = 1
+release    = 2
 
 groups     = Networking/VPN
 url        = http://openvpn.net/
@@ -43,10 +43,10 @@ build
        end
 
        install_cmds
-               mkdir -pv %{BUILDROOT}/usr/lib/%{name}/plugin/lib
+               mkdir -pv %{BUILDROOT}%{libdir}/%{name}/plugin/lib
                for plugin in %{PLUGINS}; do
                        install -m 0755 plugin/$plugin/openvpn-$plugin.so \
-                               %{BUILDROOT}/usr/lib/%{name}/plugin/lib/openvpn-$plugin.so
+                               %{BUILDROOT}%{libdir}/%{name}/plugin/lib/openvpn-$plugin.so
                done
        end
 end
index 662e49b37fc65312279e4088cc1757d6dce78f73..cae3a7cee0ff0ce89ed49d2c2f128e71a79fd053 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = paxtest
 version    = 0.9.9
-release    = 3
+release    = 4
 
 groups     = Security/Tools
 url        = http://pax.grsecurity.org/
@@ -22,20 +22,24 @@ sources    = %{thisapp}.tgz
 
 build
        build
-               make -f Makefile.psm RUNDIR=/usr/lib/paxtest \
+               make -f Makefile.psm RUNDIR=%{libdir}/paxtest \
                        %{PARALLELISMFLAGS}
        end
 
        install
                make -f Makefile.psm install DESTDIR=%{BUILDROOT} \
-                       RUNDIR=/usr/lib/paxtest BINDIR=/usr/bin
+                       RUNDIR=%{libdir}/paxtest BINDIR=%{bindir}
        end
 
+       # Ignore errors on extract-debuginfo, because this
+       # package contains wrong/broken/unoptimized files by
+       # intention.
+       debuginfo_options = || :
 end
 
 quality-agent
        whitelist_execstack
-               /usr/lib/paxtest
+               %{libdir}/paxtest
        end
 end
 
index 8930a9278a07df7e75629851b65754607bf9bf85..f82be752cbeb001ff02e9b9cf618cdbc67ad5bae 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = ppp
 version    = 2.4.5
-release    = 2
+release    = 3
 
 groups     = System/Daemons
 url        = ftp://ftp.samba.org/pub/ppp/
@@ -30,6 +30,9 @@ build
                pam-devel
        end
 
+       # Explicitely add -fPIC to CFLAGS.
+       CFLAGS += -fPIC
+
        prepare_cmds
                sed -e "s@^RUNDIR .*@RUNDIR = /var/run/ppp@" \
                        -e "s@^LOGDIR .*@LOGDIR = /var/log/ppp@" \
@@ -60,7 +63,6 @@ end
 
 packages
        package %{name}
-       end
 
        package %{name}-devel
                template DEVEL
index 1f2aef3d904e26a23b5fde84a0f3e8b1624f0ac2..70ceb9499b79fbd6108aa8439ef87236c34c7471 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = rsyslog
 version    = 5.8.6
-release    = 2
+release    = 3
 
 groups     = System/Daemons
 url        = http://www.rsyslog.com/
@@ -35,8 +35,6 @@ build
                -DSYSLOGD_PIDNAME=\"syslogd.pid\"
 
        configure_options += \
-               --exec-prefix= \
-               --libdir=/lib \
                --with-systemdsystemunitdir=/lib/systemd/system \
                --disable-static \
                --disable-testbench \
index d491340aab2491b2b178faa1ab9bbc606461eaf2..2a81d25af078324133817cf2838358e9e9d01112 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = tcpdump
 version    = 4.1.1
-release    = 1
+release    = 2
 
 groups     = Networking/Sniffer
 url        = http://www.tcpdump.org/
@@ -25,6 +25,7 @@ CFLAGS    += -fno-strict-aliasing
 
 build
        requires
+               chrpath
                libpcap-devel
                openssl-devel
        end
@@ -32,11 +33,18 @@ build
        configure_options += \
                --with-crypto \
                --without-smi
+
+       install_cmds
+               # Remove duplicated binary.
+               rm -vf %{BUILDROOT}%{sbindir}/tcpdump.%{version}
+
+               # Remove RPATH.
+               chrpath --delete %{BUILDROOT}%{sbindir}/tcpdump
+       end
 end
 
 packages
        package %{name}
-       end
 
        package %{name}-debuginfo
                template DEBUGINFO
index fd1a7899d1b8e10bf569d30c2f8809c1cc3f3ec1..f583b3fd729ddc46715f74cf8bf20215b7777a70 100644 (file)
@@ -3,9 +3,10 @@
 # Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
 ###############################################################################
 
-name       = ulogd
+name       = ulogd2
 version    = 2.0.0beta3
-release    = 2
+release    = 3
+thisapp    = ulogd-%{version}
 
 groups     = Networking/Statistics
 url        = http://netfilter.org/projects/ulogd/index.html
@@ -29,7 +30,6 @@ build
                libnetfilter_conntrack-devel
                libnetfilter_log-devel
                libpcap-devel
-               pkg-config
                sqlite-devel
        end
 
@@ -47,7 +47,6 @@ end
 
 packages
        package %{name}
-       end
 
        package %{name}-debuginfo
                template DEBUGINFO
index 67949dd25affce370772f10414ce58ac596347d7..57e2155063bd1b7b41363210fb4fa7db0e6569fb 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = upower
 version    = 0.9.2
-release    = 1
+release    = 2
 
 groups     = System/Libraries
 url        = http://upower.freedesktop.org/
@@ -25,7 +25,8 @@ build
                dbus-devel
                dbus-glib-devel
                glib2-devel
-               gettext intltool
+               gettext
+               intltool
                perl-XML-Parser
                pkg-config
                polkit-devel
@@ -39,7 +40,10 @@ end
 
 packages
        package %{name}
-               requires = udev util-linux
+               requires
+                       udev
+                       util-linux
+               end
        end
 
        package %{name}-libs
index cd8243624662b72995bfd879689bed6a57041b16..c9991fb8bf57193ada3f0e60fe432e54dd73a6ae 100644 (file)
@@ -3,9 +3,10 @@
 # Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
 ###############################################################################
 
-name       = xinit
+name       = xorg-x11-xinit
 version    = 1.2.1
 release    = 1
+thisapp    = xinit-%{version}
 
 groups     = X/Server
 url        = http://www.x.org
@@ -20,10 +21,8 @@ source_dl = http://ftp.x.org/pub/individual/app/
 
 build
        requires
-               autoconf
-               automake
                libX11-devel
-               pkg-config
+               xorg-x11-util-macros
        end
 end