rpms/pam_kcoda/devel pam_kcoda-Makefile.patch, NONE, 1.1 pam_kcoda.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Neil Horman nhorman at fedoraproject.org
Mon Oct 13 12:35:06 UTC 2008


Author: nhorman

Update of /cvs/extras/rpms/pam_kcoda/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv4665

Modified Files:
	.cvsignore sources 
Added Files:
	pam_kcoda-Makefile.patch pam_kcoda.spec 
Log Message:
Initial import

pam_kcoda-Makefile.patch:

--- NEW FILE pam_kcoda-Makefile.patch ---
diff -up pam_kcoda-v0.5.1/Makefile.orig pam_kcoda-v0.5.1/Makefile
--- pam_kcoda-v0.5.1/Makefile.orig	2008-10-01 11:54:03.000000000 -0400
+++ pam_kcoda-v0.5.1/Makefile	2008-10-01 11:54:58.000000000 -0400
@@ -1,16 +1,16 @@
 # $Id$
 
 CC=gcc
-CFLAGS=-fPIC -O2 -Wall -Werror -pedantic
+CFLAGS=-fPIC -O2 -g -Wall -Werror -pedantic
 CPPFLAGS=-I.
-LDFLAGS=-x --shared -lpam
+LDFLAGS=--shared -lpam -g
 
 OUT=pam_kcoda.so
 
 all:	$(OUT)
 
 %.so: %.o
-	ld $(LDFLAGS) -o $@ $<
+	$(CC) $(LDFLAGS) -o $@ $<
 
 clean:
 	rm -f *.o $(OUT)


--- NEW FILE pam_kcoda.spec ---
%define debug_package %{nil}
Summary: A Pluggable Authentication Module for coda using krb5 authentication
Name: pam_kcoda
Version: 0.5.1
Release: 1%{?dist}
URL: http://mir.dnsalias.com/_media/oss/pamcoda/
Source0: http://mir.dnsalias.com/_media/oss/pamcoda/pam_kcoda-v%{version}.tgz
Source1: pam_kcoda-license-README.txt
License: GPLv2+
Group: System Environment/Base
BuildRequires: pam-devel, e2fsprogs-devel, krb5-devel
Requires: pam_krb5 coda-client
BuildRoot: %{_tmppath}/%{name}-root

Patch0: pam_kcoda-Makefile.patch

%description 
This is pam_kcoda, a pluggable authentication module that can be used with
Linux-PAM and the coda file system.  It uses previously obtained kerberos 5
tickets to authenticate the user against a coda auth server and obtains coda 
tickets for use on the specified realm

%prep
%setup -q -n pam_kcoda-v%{version}
%patch0 -p1

%build
CFLAGS="$RPM_OPT_FLAGS -fPIC -g"; export CFLAGS
make
strip pam_kcoda.so

%install
[ "$RPM_BUILD_ROOT" != "/" ] && rm -fr $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_lib}/security
install -m 0755 pam_kcoda.so $RPM_BUILD_ROOT/%{_lib}/security

%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -fr $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
/%{_lib}/security/*
%doc README AUTHORS COPYING

%changelog
* Thu Oct 01 2008 Neil Horman <nhorman at redhat.com> - 0.5.1-1
- Update Version with new license

* Fri Sep 12 2008 Neil Horman <nhorman at redhat.com> - 0.4-5
- strip pam_kcoda dso

* Fri Sep 12 2008 Neil Horman <nhorman at redhat.com> - 0.4-4
- Add license README doc

* Wed Sep 09 2008 Neil Horman <nhorman at redhat.com> - 0.4-33
- More spec file cleanups/disable debuginfo

* Tue Sep 08 2008 Neil Horman <nhorman at redhat.com> - 0.4-2
- Misc spec file cleanups

* Fri Sep 05 2008 Neil Horman <nhorman at redhat.com> - 0.4-1
- initial build


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/pam_kcoda/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	3 Oct 2008 06:03:20 -0000	1.1
+++ .cvsignore	13 Oct 2008 12:34:36 -0000	1.2
@@ -0,0 +1 @@
+pam_kcoda-v0.5.1.tgz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/pam_kcoda/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	3 Oct 2008 06:03:20 -0000	1.1
+++ sources	13 Oct 2008 12:34:36 -0000	1.2
@@ -0,0 +1 @@
+367c7ce88258f40dcfa217977d3e1d6c  pam_kcoda-v0.5.1.tgz




More information about the scm-commits mailing list