Date: Fri, 06 Jun 2008 11:15:30 +0200 From: Tobias Roth <ports@fsck.ch> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/124345: [MAINTAINER] x11/slim: enable pam support Message-ID: <E1K4Y2k-000IVE-4y@secure.socket.ch> Resent-Message-ID: <200806061000.m56A09UR099698@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 124345 >Category: ports >Synopsis: [MAINTAINER] x11/slim: enable pam support >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Fri Jun 06 10:00:08 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Tobias Roth >Release: FreeBSD 7.0-STABLE i386 >Organization: >Environment: System: FreeBSD default.fsck.ch 7.0-STABLE FreeBSD 7.0-STABLE #5: Mon Mar 3 12:50:32 CET >Description: This change adds PAM suport. Patches have been sent in by Volodymyr Kostyrko, thanks! Added file(s): - files/patch-PAM.cpp Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- slim-1.3.0.patch begins here --- Index: files/patch-Makefile.freebsd =================================================================== RCS file: /home/ncvs/ports/x11/slim/files/patch-Makefile.freebsd,v retrieving revision 1.4 diff -u -u -r1.4 patch-Makefile.freebsd --- files/patch-Makefile.freebsd 24 Sep 2007 11:15:43 -0000 1.4 +++ files/patch-Makefile.freebsd 6 Jun 2008 09:12:45 -0000 @@ -1,6 +1,6 @@ ---- Makefile.freebsd.orig Sun Jul 15 16:09:28 2007 -+++ Makefile.freebsd Wed Jul 18 20:23:58 2007 -@@ -3,18 +3,18 @@ +--- Makefile.freebsd.orig 2007-07-15 17:09:28.000000000 +0300 ++++ Makefile.freebsd 2008-05-13 11:56:53.000000000 +0300 +@@ -3,18 +3,14 @@ # Edit the following section to adjust the options # to fit into your operating system / distribution ####################################################### @@ -8,21 +8,34 @@ -CC=/usr/bin/gcc -CFLAGS=-I. -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include/freetype2/config -I/usr/local/include/libpng -I/usr/local/include -I/usr/include -LDFLAGS=-L/usr/X11R6/lib -L/usr/local/lib -lXft -lX11 -lfreetype -lXrender -lfontconfig -lpng -lz -lm -lcrypt -lXmu -lpng -ljpeg -+CXX?=/usr/bin/g++ -+CC?=/usr/bin/gcc -+CFLAGS+=-I${LOCALBASE}/include `freetype-config --cflags` `libpng-config --cflags` -+LDFLAGS=-L${LOCALBASE}/lib `freetype-config --libs` `libpng-config --libs` -lXft -lX11 -lXrender -lfontconfig -lz -lm -lcrypt -lXmu -ljpeg - CUSTOM=-DNEEDS_BASENAME - .ifdef(USE_PAM) - LDFLAGS+= -lpam - CUSTOM+= -DUSE_PAM - .endif +-CUSTOM=-DNEEDS_BASENAME +-.ifdef(USE_PAM) +- LDFLAGS+= -lpam +- CUSTOM+= -DUSE_PAM +-.endif -PREFIX=/usr -CFGDIR=/etc -MANDIR=/usr/share/man ++CXX?=/usr/bin/g++ ++CC?=/usr/bin/gcc ++CFLAGS+=-I${LOCALBASE}/include `freetype-config --cflags` `libpng-config --cflags` ++LDFLAGS=-L${LOCALBASE}/lib `freetype-config --libs` `libpng-config --libs` -lXft -lX11 -lXrender -lfontconfig -lz -lm -lcrypt -lXmu -ljpeg -lpam ++CUSTOM=-DNEEDS_BASENAME -DUSE_PAM +PREFIX?=${LOCALBASE} +CFGDIR=$(PREFIX)/etc +MANDIR=$(MANPREFIX)/man DESTDIR= ####################################################### +@@ -24,10 +20,7 @@ + DEFINES=-DPACKAGE=\"$(NAME)\" -DVERSION=\"$(VERSION)\" \ + -DPKGDATADIR=\"$(PREFIX)/share/slim\" -DSYSCONFDIR=\"$(CFGDIR)\" + +-OBJECTS=jpeg.o png.o main.o image.o numlock.o cfg.o switchuser.o app.o panel.o +-.ifdef USE_PAM +- OBJECTS+=PAM.o +-.endif ++OBJECTS=jpeg.o png.o main.o image.o numlock.o cfg.o switchuser.o app.o panel.o PAM.o + + all: slim + Index: files/patch-PAM.cpp =================================================================== RCS file: files/patch-PAM.cpp diff -N files/patch-PAM.cpp --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-PAM.cpp 6 Jun 2008 09:12:45 -0000 @@ -0,0 +1,11 @@ +--- PAM.cpp.orig 2008-05-13 12:04:37.000000000 +0300 ++++ PAM.cpp 2008-05-13 12:04:45.000000000 +0300 +@@ -6,7 +6,7 @@ + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + */ +-#include <PAM.h> ++#include "PAM.h" + #include <string> + #include <iostream> + --- slim-1.3.0.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1K4Y2k-000IVE-4y>