]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
xorg-xtrans: New package.
authorSchantl Stefan <Stevee@ipfire.org>
Wed, 18 Aug 2010 18:07:34 +0000 (20:07 +0200)
committerSchantl Stefan <Stevee@ipfire.org>
Wed, 18 Aug 2010 18:07:34 +0000 (20:07 +0200)
pkgs/core/xorg-xtrans/patches/xtrans-1.0.3-avoid-gethostname.patch [new file with mode: 0644]
pkgs/core/xorg-xtrans/xorg-xtrans.nm [new file with mode: 0644]

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 (file)
index 0000000..5d474d5
--- /dev/null
@@ -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 (file)
index 0000000..ad6df5e
--- /dev/null
@@ -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 <http://www.gnu.org/licenses/>.       #
+#                                                                             #
+###############################################################################
+
+###############################################################################
+# 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)
+