diff options
Diffstat (limited to 'security/slush/files/patch-aa')
-rw-r--r-- | security/slush/files/patch-aa | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/security/slush/files/patch-aa b/security/slush/files/patch-aa new file mode 100644 index 000000000000..b7a70d5f7847 --- /dev/null +++ b/security/slush/files/patch-aa @@ -0,0 +1,60 @@ +*** Makefile.in.orig Tue Apr 6 03:05:04 1999 +--- Makefile.in Sun May 9 00:05:44 1999 +*************** +*** 9,27 **** + + CC=@CC@ + INSTALL=@INSTALL@ +! CFLAGS=@CFLAGS@ -Wall -DVERSION=\"$(VERSION)\" -I/usr/local/ssl/include -I/usr/include/ssl +! LIBS=@LIBS@ -L/usr/local/ssl/lib -lssl -lcrypto + + all: slush slushd + + slushd: slushd.o common.o +! $(CC) $(LDFLAGS) -s -o $@ slushd.o common.o $(LIBS) + + slushd.o: slushd.c common.o + $(CC) -c $(CFLAGS) slushd.c + + slush: slush.o common.o +! $(CC) $(LDFLAGS) -s -o $@ slush.o common.o $(LIBS) + + slush.o: slush.c common.o + $(CC) -c $(CFLAGS) slush.c +--- 9,27 ---- + + CC=@CC@ + INSTALL=@INSTALL@ +! CFLAGS=@CFLAGS@ -Wall -DVERSION=\"$(VERSION)\" -I/usr/local/include +! LIBS=@LIBS@ -L/usr/local/lib -lssl -lcrypto $(EXTRA_SSL_LIBS) -lutil + + all: slush slushd + + slushd: slushd.o common.o +! $(CC) -static $(LDFLAGS) -o $@ slushd.o common.o $(LIBS) + + slushd.o: slushd.c common.o + $(CC) -c $(CFLAGS) slushd.c + + slush: slush.o common.o +! $(CC) -static $(LDFLAGS) -o $@ slush.o common.o $(LIBS) + + slush.o: slush.c common.o + $(CC) -c $(CFLAGS) slush.c +*************** +*** 38,44 **** + install: $(SBINDIR)/slushd $(MANDIR)/slush.8 + + cert: +! ssleay req -new -x509 -nodes \ + -out slushd.pem -days 365 -keyout slushd.pem + + clean: +--- 38,44 ---- + install: $(SBINDIR)/slushd $(MANDIR)/slush.8 + + cert: +! openssl req -new -x509 -nodes \ + -out slushd.pem -days 365 -keyout slushd.pem + + clean: |