summaryrefslogtreecommitdiff
path: root/net/linuxigd/files/patch-main.c
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2019-05-09 15:03:38 +0000
committerRene Ladan <rene@FreeBSD.org>2019-05-09 15:03:38 +0000
commitb8b8fa5aeb1df824ed5374149d0a7377dd0c1cd9 (patch)
tree67d5f350f6c92b847a528d27db9960acb190f10e /net/linuxigd/files/patch-main.c
parentRestore "hs-" package name prefix for Haskell packages. (diff)
Remove expired ports:
2019-05-08 databases/ruby-odbc: Broken for more than 6 months 2019-05-08 databases/rubygem-dbd-odbc: Broken for more than 6 months 2019-05-08 devel/dlangui: Broken for more than 6 months 2019-05-08 editors/dlangide: Broken for more than 6 months 2019-05-08 emulators/desmume: Broken for more than 6 months 2019-05-08 emulators/yabause: Broken for more than 6 months 2019-05-08 emulators/yape: Broken for more than 6 months 2019-05-08 games/armagetron: Broken for more than 6 months 2019-05-08 games/boswars: Broken for more than 6 months 2019-05-08 games/ceferino: Broken for more than 6 months 2019-05-08 games/chanta: Broken for more than 6 months 2019-05-08 games/d2x-xl: Broken for more than 6 months 2019-05-08 games/drcreep: Broken for more than 6 months 2019-05-08 games/frobtads: Broken for more than 6 months 2019-05-08 games/paintown: Broken for more than 6 months 2019-05-08 games/pykawari: Broken for more than 6 months 2019-05-08 games/stepmania-devel: Broken for more than 6 months 2019-05-08 games/tinymux: Broken for more than 6 months 2019-05-08 games/voxelands: Broken for more than 6 months 2019-05-08 games/voxelands-server: Broken for more than 6 months 2019-05-08 games/warsow: Broken for more than 6 months 2019-05-08 graphics/appleseed: Broken for more than 6 months 2019-05-08 graphics/apvlv: Broken for more than 6 months 2019-05-08 graphics/qslim: Broken for more than 6 months 2019-05-08 graphics/rawstudio: Broken for more than 6 months 2019-05-08 graphics/tulip: Broken for more than 6 months 2019-05-08 lang/qore: Broken for more than 6 months 2019-05-08 mail/milter-manager: Broken for more than 6 months 2019-05-08 math/goblin: Broken for more than 6 months 2019-05-08 math/mosesdecoder: Broken for more than 6 months 2019-05-08 multimedia/asdcplib: Broken for more than 6 months 2019-05-08 net/crtmpserver: Broken for more than 6 months 2019-05-08 net/linuxigd: Abandonware; use net/miniupnpd instead 2019-05-08 net/openafs: Broken for more than 6 months 2019-05-08 security/quantis: Broken for more than 6 months 2019-05-08 sysutils/boxbackup: Broken for more than 6 months 2019-05-08 sysutils/grub2-efi: Broken for more than 6 months 2019-05-08 sysutils/grub2-pcbsd: Broken for more than 6 months 2019-05-08 sysutils/mdcp: Broken for more than 6 months 2019-05-08 sysutils/sbsigntool: Broken for more than 6 months 2019-05-08 www/py-cherrypy-old: Lates version is in tree and no dependent ports
Diffstat (limited to 'net/linuxigd/files/patch-main.c')
-rw-r--r--net/linuxigd/files/patch-main.c58
1 files changed, 0 insertions, 58 deletions
diff --git a/net/linuxigd/files/patch-main.c b/net/linuxigd/files/patch-main.c
deleted file mode 100644
index a02f447903ed..000000000000
--- a/net/linuxigd/files/patch-main.c
+++ /dev/null
@@ -1,58 +0,0 @@
---- main.c.orig 2010-11-26 17:45:26.000000000 +0300
-+++ main.c 2010-11-26 17:47:46.000000000 +0300
-@@ -1,13 +1,16 @@
- #include <stdio.h>
- #include <stdlib.h>
-+#include <string.h>
- #include <unistd.h>
- #include <syslog.h>
-+#include <pthread.h>
- #include <signal.h>
- #include <sys/types.h>
- #include <unistd.h>
- #include <sys/stat.h>
- #include <sys/resource.h>
- #include <time.h>
-+#include <sys/socket.h>
- #include <net/if.h>
- #include <upnp/upnp.h>
- #include "globals.h"
-@@ -22,7 +25,6 @@
- int main (int argc, char** argv)
- {
- char descDocUrl[7+15+1+5+1+sizeof(g_vars.descDocName)+1]; // http://ipaddr:port/docName<null>
-- char intIpAddress[16]; // Server internal ip address
- sigset_t sigsToCatch;
- int ret, signum, arg = 1, foreground = 0;
-
-@@ -46,11 +48,17 @@
- strncpy(g_vars.intInterfaceName, argv[arg++], IFNAMSIZ);
-
- // Get the internal ip address to start the daemon on
-- if (GetIpAddressStr(intIpAddress, g_vars.intInterfaceName) == 0) {
-+ if (GetIpAddressStr(g_vars.intIpAddress, g_vars.intInterfaceName) == 0) {
- fprintf(stderr, "Invalid internal interface name '%s'\n", g_vars.intInterfaceName);
- exit(EXIT_FAILURE);
- }
-
-+ // Get the external ip address to start the daemon on
-+ if (GetIpAddressStr(g_vars.extIpAddress, g_vars.extInterfaceName) == 0) {
-+ fprintf(stderr, "Invalid external interface name '%s'\n", g_vars.extInterfaceName);
-+ exit(EXIT_FAILURE);
-+ }
-+
- if (!foreground) {
- struct rlimit resourceLimit = { 0, 0 };
- pid_t pid, sid;
-@@ -114,9 +122,9 @@
-
- // Initialize UPnP SDK on the internal Interface
- trace(3, "Initializing UPnP SDK ... ");
-- if ( (ret = UpnpInit(intIpAddress,0) ) != UPNP_E_SUCCESS)
-+ if ( (ret = UpnpInit(g_vars.intIpAddress,0) ) != UPNP_E_SUCCESS)
- {
-- syslog (LOG_ERR, "Error Initializing UPnP SDK on IP %s ",intIpAddress);
-+ syslog (LOG_ERR, "Error Initializing UPnP SDK on IP %s ",g_vars.intIpAddress);
- syslog (LOG_ERR, " UpnpInit returned %d", ret);
- UpnpFinish();
- exit(1);