ports/165096: [MAINTAINER] security/pam_google_authenticator: fix the bug: "make" deleted /dev/null
Jui-Nan Lin
jnlin at csie.nctu.edu.tw
Mon Feb 13 13:50:13 UTC 2012
>Number: 165096
>Category: ports
>Synopsis: [MAINTAINER] security/pam_google_authenticator: fix the bug: "make" deleted /dev/null
>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: Mon Feb 13 13:50:12 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Jui-Nan Lin
>Release: FreeBSD 8.2-RELEASE-p5 amd64
>Organization:
>Environment:
System: FreeBSD Florence.tamama.org 8.2-RELEASE-p5 FreeBSD 8.2-RELEASE-p5 #13: Tue Dec 27 14:34:43 CST 2011
>Description:
Fix the bug: after "make" the port deleted /dev/null
Added file(s):
- files/patch-Makefile
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:
--- pam_google_authenticator-20120119.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/security/pam_google_authenticator/files/patch-Makefile /home/users/jnlin/ports/pam_google_authenticator/files/patch-Makefile
--- /usr/ports/security/pam_google_authenticator/files/patch-Makefile 1970-01-01 08:00:00.000000000 +0800
+++ /home/users/jnlin/ports/pam_google_authenticator/files/patch-Makefile 2012-02-13 21:44:57.200885777 +0800
@@ -0,0 +1,29 @@
+--- Makefile.orig 2012-01-18 18:05:11.000000000 +0800
++++ Makefile 2012-02-13 21:43:14.409460968 +0800
+@@ -24,8 +24,6 @@
+ echo ' -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT') \
+ -fvisibility=hidden $(CFLAGS)
+ DEF_LDFLAGS := $(shell [ `uname` = SunOS ] && echo ' -mimpure-text') $(LDFLAGS)
+-LDL_LDFLAGS := $(shell $(CC) -shared -ldl -xc -o /dev/null /dev/null \
+- >/dev/null 2>&1 && echo ' -ldl')
+
+ all: google-authenticator pam_google_authenticator.so demo \
+ pam_google_authenticator_unittest
+@@ -60,14 +58,14 @@
+ pam_google_authenticator_unittest
+
+ google-authenticator: google-authenticator.o base32.o hmac.o sha1.o
+- $(CC) -g $(DEF_LDFLAGS) -o $@ $+ $(LDL_LDFLAGS)
++ $(CC) -g $(DEF_LDFLAGS) -o $@ $+
+
+ demo: demo.o pam_google_authenticator_demo.o base32.o hmac.o sha1.o
+- $(CC) -g $(DEF_LDFLAGS) -rdynamic -o $@ $+ $(LDL_LDFLAGS)
++ $(CC) -g $(DEF_LDFLAGS) -rdynamic -o $@ $+
+
+ pam_google_authenticator_unittest: pam_google_authenticator_unittest.o \
+ base32.o hmac.o sha1.o
+- $(CC) -g $(DEF_LDFLAGS) -rdynamic -o $@ $+ -lc $(LDL_LDFLAGS)
++ $(CC) -g $(DEF_LDFLAGS) -rdynamic -o $@ $+ -lc
+
+ pam_google_authenticator.so: base32.o hmac.o sha1.o
+ pam_google_authenticator_testing.so: base32.o hmac.o sha1.o
--- pam_google_authenticator-20120119.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list