aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-10-15 20:49:05 +0800
committeredwin <edwin@FreeBSD.org>2003-10-15 20:49:05 +0800
commitbdfd5e24820cbc34b46f2b87cebb0907c15636ad (patch)
tree71cae07de698fa3529a0811f31746c97bdeac988
parentbc5ec05a6d18d83bb99be04f64cefcbed4141ec1 (diff)
downloadfreebsd-ports-gnome-bdfd5e24820cbc34b46f2b87cebb0907c15636ad.tar.gz
freebsd-ports-gnome-bdfd5e24820cbc34b46f2b87cebb0907c15636ad.tar.zst
freebsd-ports-gnome-bdfd5e24820cbc34b46f2b87cebb0907c15636ad.zip
unbreak port
noticed by: bento/kris
-rw-r--r--security/ident2/Makefile9
-rw-r--r--security/ident2/files/patch-ident2.c111
2 files changed, 113 insertions, 7 deletions
diff --git a/security/ident2/Makefile b/security/ident2/Makefile
index d5f5955ef512..7386842e081a 100644
--- a/security/ident2/Makefile
+++ b/security/ident2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ident2
PORTVERSION= 1.03
+PORTREVISION= 1
CATEGORIES= security net
MASTER_SITES= http://michael.bacarella.com/projects/ident2/
DISTNAME= ident2-v${PORTVERSION}_FINAL
@@ -17,10 +18,4 @@ COMMENT= An RFC1413 identification server which also supports random replies
GNU_CONFIGURE= yes
MAN8= ident2.8
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 501000
-BROKEN= "Does not compile"
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/security/ident2/files/patch-ident2.c b/security/ident2/files/patch-ident2.c
new file mode 100644
index 000000000000..f86268f9e259
--- /dev/null
+++ b/security/ident2/files/patch-ident2.c
@@ -0,0 +1,111 @@
+--- ident2.c.orig Wed Oct 15 05:45:40 2003
++++ ident2.c Wed Oct 15 05:46:50 2003
+@@ -75,8 +75,8 @@
+ {
+ print_header();
+ puts(
+-" ident2 is free software, and you are welcome to redistribute it
+- under certain conditions; ident2 comes with ABSOLUTELY NO WARRANTY;
++" ident2 is free software, and you are welcome to redistribute it \n\
++ under certain conditions; ident2 comes with ABSOLUTELY NO WARRANTY; \n\
+ for details, go to http://www.gnu.org/\n");
+ }
+
+@@ -86,53 +86,53 @@
+ print_header();
+ #ifdef HAS_GETOPT_LONG
+ puts (
+-"usage: ident2 [options]
+-options:
+-
+-these parameters apply to all incarnations of ident2
+-
+- -h --help this command line information
+- -u --usage shows example command lines
+- -v --version show version information
+- -l --license show licensing information
+- -a --force-inetd force inetd mode
+- -d --force-daemon force standalone daemon
+- -i --use-user-ident allow user defined ident replies
+- -y --user-reply-file file in user's homedir for replies
+- -n --allow-noident-file don't reply if user has a ~/NOIDENT file
+- -o --client-timeout clients timeout after this many secs
+- -s --dont-change-uid don't try to change uid (to nobody)
+- -r --always-random always send a random reply
+-
+-these parameters only apply to the daemon ident2
+-
+- -m --daemon-maxclients accept no more than this many clients
+- -p --daemon-port bind this port, instead of 'auth'
++"usage: ident2 [options] \n\
++options: \n\
++ \n\
++these parameters apply to all incarnations of ident2 \n\
++\n\
++ -h --help this command line information\n\
++ -u --usage shows example command lines\n\
++ -v --version show version information\n\
++ -l --license show licensing information\n\
++ -a --force-inetd force inetd mode\n\
++ -d --force-daemon force standalone daemon\n\
++ -i --use-user-ident allow user defined ident replies\n\
++ -y --user-reply-file file in user's homedir for replies\n\
++ -n --allow-noident-file don't reply if user has a ~/NOIDENT file\n\
++ -o --client-timeout clients timeout after this many secs\n\
++ -s --dont-change-uid don't try to change uid (to nobody)\n\
++ -r --always-random always send a random reply\n\
++ \n\
++these parameters only apply to the daemon ident2\n\
++\n\
++ -m --daemon-maxclients accept no more than this many clients\n\
++ -p --daemon-port bind this port, instead of 'auth'\n\
+ ");
+ #else
+ puts(
+-"usage: ident2 [options]
+-options:
+-
+-these parameters apply to all incarnations of ident2
+-
+- -h this command line information
+- -u shows example command lines
+- -v show version information
+- -l show licensing information
+- -a force inetd mode
+- -d force standalone daemon
+- -i allow user defined ident replies
+- -y file in user's homedir for replies
+- -n don't reply if user has a ~/NOIDENT file
+- -o clients timeout after this many secs
+- -s don't try to change uid (ex: to nobody)
+- -r always send a random reply, even to bad requests
+-
+-these parameters only apply to the daemon ident2
+-
+- -m accept no more than this many clients
+- -p bind this port, instead of 'auth'
++"usage: ident2 [options]\n\
++options:\n\
++\n\
++these parameters apply to all incarnations of ident2\n\
++\n\
++ -h this command line information\n\
++ -u shows example command lines\n\
++ -v show version information\n\
++ -l show licensing information\n\
++ -a force inetd mode\n\
++ -d force standalone daemon\n\
++ -i allow user defined ident replies\n\
++ -y file in user's homedir for replies\n\
++ -n don't reply if user has a ~/NOIDENT file\n\
++ -o clients timeout after this many secs\n\
++ -s don't try to change uid (ex: to nobody)\n\
++ -r always send a random reply, even to bad requests\n\
++ \n\
++these parameters only apply to the daemon ident2\n\
++\n\
++ -m accept no more than this many clients\n\
++ -p bind this port, instead of 'auth'\n\
+ ");
+ #endif -p --daemon-port bind this port, instead of 'auth'
+ }