diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2009-07-28 18:29:37 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2009-07-28 18:29:37 +0000 |
commit | eb1357b1e63723cab3ac9a8fc5f98a10af03269e (patch) | |
tree | dd486c039ab5748e225b862454e3d36e88da65ee /net-im/prosody/files | |
parent | aad50dbb7047b014c6cbb01781db3913c1de23b8 (diff) | |
download | ports-eb1357b1e63723cab3ac9a8fc5f98a10af03269e.tar.gz ports-eb1357b1e63723cab3ac9a8fc5f98a10af03269e.zip |
Notes
Diffstat (limited to 'net-im/prosody/files')
-rw-r--r-- | net-im/prosody/files/patch-Makefile | 11 | ||||
-rw-r--r-- | net-im/prosody/files/patch-configure | 30 | ||||
-rw-r--r-- | net-im/prosody/files/pkg-install.in | 2 | ||||
-rw-r--r-- | net-im/prosody/files/prosody.cfg.lua.install.in | 1 |
4 files changed, 38 insertions, 6 deletions
diff --git a/net-im/prosody/files/patch-Makefile b/net-im/prosody/files/patch-Makefile new file mode 100644 index 000000000000..65a99f983988 --- /dev/null +++ b/net-im/prosody/files/patch-Makefile @@ -0,0 +1,11 @@ +--- Makefile.orig 2009-07-27 18:22:51.000000000 +0000 ++++ Makefile 2009-07-27 18:23:25.000000000 +0000 +@@ -6,7 +6,7 @@ + MODULES = $(DESTDIR)$(PREFIX)/lib/prosody/modules + SOURCE = $(DESTDIR)$(PREFIX)/lib/prosody + DATA = $(DESTDIR)$(DATADIR) +-MAN = $(DESTDIR)$(PREFIX)/share/man ++MAN = $(DESTDIR)$(PREFIX)/man + + INSTALLEDSOURCE = $(PREFIX)/lib/prosody + INSTALLEDCONFIG = $(SYSCONFDIR) diff --git a/net-im/prosody/files/patch-configure b/net-im/prosody/files/patch-configure index ab8b1551a599..f9fdcff919e6 100644 --- a/net-im/prosody/files/patch-configure +++ b/net-im/prosody/files/patch-configure @@ -1,6 +1,6 @@ ---- orig.configure 2009-06-12 14:35:23.000000000 +0000 -+++ configure 2009-06-25 19:03:24.000000000 +0000 -@@ -5,11 +5,11 @@ +--- configure.orig 2009-07-20 14:00:03.000000000 +0000 ++++ configure 2009-07-21 20:19:47.000000000 +0000 +@@ -5,17 +5,17 @@ PREFIX=/usr/local SYSCONFDIR="$PREFIX/etc/prosody" DATADIR="$PREFIX/var/lib/prosody" @@ -14,7 +14,15 @@ +#LUA_LIBDIR="/usr/lib" IDN_LIB=idn OPENSSL_LIB=crypto - CC=gcc +-CC=gcc ++#CC=gcc + LD=gcc + +-CFLAGS="-fPIC -Wall" ++#CFLAGS="-fPIC -Wall" + LFLAGS="-shared" + + # Help @@ -26,7 +26,7 @@ --help This help. @@ -32,7 +40,7 @@ + then + LUA_INCDIR_SET=yes + LUA_LIBDIR_SET=yes -+ CFLAGS="-D_POSIX_SOURCE -I${LOCALBASE}/include" ++ CFLAGS="-fPIC -D_POSIX_SOURCE -I${LOCALBASE}/include" + LFLAGS="-lm -shared -L${LOCALBASE}/lib" + LUA_SUFFIX_SET=yes + LUA_LIB=lua @@ -40,3 +48,15 @@ fi if [ "$PREFIX_SET" = "yes" -a ! "$SYSCONFDIR_SET" = "yes" ] +@@ -298,9 +307,9 @@ + REQUIRE_CONFIG=$REQUIRE_CONFIG + IDN_LIB=$IDN_LIB + OPENSSL_LIB=$OPENSSL_LIB +-CFLAGS=$CFLAGS ++CFLAGS+=$CFLAGS + LFLAGS=$LFLAGS +-CC=$CC ++CC?=$CC + LD=$LD + + EOF diff --git a/net-im/prosody/files/pkg-install.in b/net-im/prosody/files/pkg-install.in index 8d742c19f3f2..b2d0a64c0d46 100644 --- a/net-im/prosody/files/pkg-install.in +++ b/net-im/prosody/files/pkg-install.in @@ -4,7 +4,7 @@ # PW=/usr/sbin/pw -UID=1789 +UID=242 GID=$UID USER="prosody" GROUP="prosody" diff --git a/net-im/prosody/files/prosody.cfg.lua.install.in b/net-im/prosody/files/prosody.cfg.lua.install.in index 340bf4d76fd8..4dc9e9c93405 100644 --- a/net-im/prosody/files/prosody.cfg.lua.install.in +++ b/net-im/prosody/files/prosody.cfg.lua.install.in @@ -56,6 +56,7 @@ Host "*" "version"; -- Replies to server version requests "uptime"; -- Report how long server has been running "time"; -- Let others know the time here on this server + "pep"; -- Enables users to publish their mood, activity, playing music and more "ping"; -- Replies to XMPP pings with pongs -- Other specific functionality |