svn commit: r354234 - in head/databases/useracc: . files
Vanilla I. Shu
vanilla at FreeBSD.org
Fri May 16 15:02:07 UTC 2014
Author: vanilla
Date: Fri May 16 15:02:06 2014
New Revision: 354234
URL: http://svnweb.freebsd.org/changeset/ports/354234
QAT: https://qat.redports.org/buildarchive/r354234/
Log:
1: Support staging.
2: make portlint happy.
Approved by: portmgr@
Added:
head/databases/useracc/files/patch-Makefile (contents, props changed)
head/databases/useracc/files/patch-src__useracc.c
- copied unchanged from r354233, head/databases/useracc/files/patch-src::useracc.c
Deleted:
head/databases/useracc/files/patch-src::useracc.c
Modified:
head/databases/useracc/Makefile
Modified: head/databases/useracc/Makefile
==============================================================================
--- head/databases/useracc/Makefile Fri May 16 14:48:10 2014 (r354233)
+++ head/databases/useracc/Makefile Fri May 16 15:02:06 2014 (r354234)
@@ -11,11 +11,8 @@ MASTER_SITES= ftp://gwdu111.gwdg.de/pub/
MAINTAINER= kheuer at gwdg.de
COMMENT= Special purpose database application
-MAN1= useracc.1
-MANCOMPRESSED= yes
-PLIST_FILES= bin/useracc etc/rc.d/useracc.sh.sample
+PLIST_FILES= bin/useracc etc/rc.d/useracc.sh.sample man/man1/useracc.1.gz
CFLAGS+= -DFreeBSD
-NO_STAGE= yes
.include <bsd.port.mk>
Added: head/databases/useracc/files/patch-Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/useracc/files/patch-Makefile Fri May 16 15:02:06 2014 (r354234)
@@ -0,0 +1,21 @@
+--- Makefile.orig 2014-05-16 22:58:38.350622720 +0800
++++ Makefile 2014-05-16 22:59:10.972611338 +0800
+@@ -57,12 +57,12 @@ deinstall:
+ -$(RMDIR) -p $(PREFIX)/man/man1
+
+ install:
+- $(INSTALL) -d -g wheel -m 755 -o root $(PREFIX)/bin
+- $(INSTALL) -c -g wheel -m 555 -o root -s bin/useracc $(PREFIX)/bin
+- $(INSTALL) -d -g wheel -m 755 -o root $(PREFIX)/etc/rc.d
+- $(INSTALL) -c -g wheel -m 555 -o root etc/useracc.sh.sample $(PREFIX)/etc/rc.d
+- $(INSTALL) -d -g wheel -m 755 -o root $(PREFIX)/man/man1
+- $(INSTALL) -c -g wheel -m 444 -o root man/useracc.1.gz $(PREFIX)/man/man1
++ $(INSTALL) -d -g wheel -m 755 -o root $(DESTDIR)$(PREFIX)/bin
++ $(INSTALL) -c -g wheel -m 555 -o root -s bin/useracc $(DESTDIR)$(PREFIX)/bin
++ $(INSTALL) -d -g wheel -m 755 -o root $(DESTDIR)$(PREFIX)/etc/rc.d
++ $(INSTALL) -c -g wheel -m 555 -o root etc/useracc.sh.sample $(DESTDIR)$(PREFIX)/etc/rc.d
++ $(INSTALL) -d -g wheel -m 755 -o root $(DESTDIR)$(PREFIX)/man/man1
++ $(INSTALL) -c -g wheel -m 444 -o root man/useracc.1.gz $(DESTDIR)$(PREFIX)/man/man1
+
+ useracc: useracc.o
+ $(CC) $(CFLAGS) useracc.o $(LDFLAGS) -o $@
Copied: head/databases/useracc/files/patch-src__useracc.c (from r354233, head/databases/useracc/files/patch-src::useracc.c)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/useracc/files/patch-src__useracc.c Fri May 16 15:02:06 2014 (r354234, copy of r354233, head/databases/useracc/files/patch-src::useracc.c)
@@ -0,0 +1,20 @@
+--- src/useracc.c.orig Sun Oct 5 18:05:29 2003
++++ src/useracc.c Sun Oct 5 18:05:42 2003
+@@ -92,7 +92,7 @@
+ #include <sys/wait.h>
+ #include <time.h>
+ #include <unistd.h>
+-#include <varargs.h>
++#include <stdarg.h>
+
+
+ #define ACCFILE "useracc.dat" /* default user accounts file */
+@@ -299,7 +299,7 @@
+ {
+ int sockfd;
+ #ifndef OSF1
+- unsigned long inadd;
++ in_addr_t inadd;
+ #else
+ in_addr_t inadd;
+ #endif
More information about the svn-ports-head
mailing list