From: Schantl Stefan Date: Wed, 18 Aug 2010 18:07:34 +0000 (+0200) Subject: xorg-xtrans: New package. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e67c459f67c6de7882edf7a0ef20898a889e003d;p=ipfire-3.x.git xorg-xtrans: New package. --- diff --git a/pkgs/core/xorg-xtrans/patches/xtrans-1.0.3-avoid-gethostname.patch b/pkgs/core/xorg-xtrans/patches/xtrans-1.0.3-avoid-gethostname.patch new file mode 100644 index 000000000..5d474d5d9 --- /dev/null +++ b/pkgs/core/xorg-xtrans/patches/xtrans-1.0.3-avoid-gethostname.patch @@ -0,0 +1,11 @@ +diff -up xtrans-1.0.3/Xtransutil.c.jx xtrans-1.0.3/Xtransutil.c +--- xtrans-1.0.3/Xtransutil.c.jx 2006-12-06 11:08:53.000000000 -0500 ++++ xtrans-1.0.3/Xtransutil.c 2007-10-01 14:53:43.000000000 -0400 +@@ -271,6 +271,7 @@ TRANS(GetMyNetworkId) (XtransConnInfo ci + case AF_UNIX: + { + struct sockaddr_un *saddr = (struct sockaddr_un *) addr; ++ strcpy(hostnamebuf, "unix"); + networkId = (char *) xalloc (3 + strlen (transName) + + strlen (hostnamebuf) + strlen (saddr->sun_path)); + sprintf (networkId, "%s/%s:%s", transName, diff --git a/pkgs/core/xorg-xtrans/xorg-xtrans.nm b/pkgs/core/xorg-xtrans/xorg-xtrans.nm new file mode 100644 index 000000000..ad6df5e81 --- /dev/null +++ b/pkgs/core/xorg-xtrans/xorg-xtrans.nm @@ -0,0 +1,46 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include $(PKGROOT)/Include + +PKG_NAME = xorg-xtrans +PKG_VER = 1.2.5 +PKG_REL = 0 + +PKG_MAINTAINER = +PKG_GROUP = X/Libraries +PKG_URL = http://www.x.org/ +PKG_LICENSE = MIT +PKG_SUMMARY = X11 transport library. + +PKG_BUILD_DEPS+= pkg-config + +define PKG_DESCRIPTION + Transprot library for X.org X11 protocol. +endef + +PKG_TARBALL = xtrans-$(PKG_VER).tar.bz2 + +DIR_APP = $(DIR_SRC)/xtrans-$(PKG_VER) +