Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

portmap: cleanup and fix #27

Merged
merged 1 commit into from

2 participants

@v4hn
Collaborator

This module also needs a system.d file!
Please provide this file someone and merge this pull request

@sofar sofar merged commit c8a50e6 into lunar-linux:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 23, 2012
  1. @v4hn

    portmap: cleanup and fix

    v4hn authored
This page is out of date. Refresh to see the latest.
Showing with 6 additions and 14 deletions.
  1. +6 −14 net/portmap/BUILD
View
20 net/portmap/BUILD
@@ -1,17 +1,9 @@
(
-
- # yes the double brackets are needed and NO quotes are needed in the following test!!!
- if [[ $OPTS == *--without-tcpwrappers* ]]; then
- sedit "s:\$(WRAP_DIR)/libwrap.a::" Makefile &&
- sedit "s:^HOSTS_ACCESS=:#HOSTS_ACCESS=:" Makefile
- fi &&
- sedit "s/const char \*what/__const char \*what/" portmap.c &&
-
- make WRAP_DIR=/usr/lib &&
+
+ sedit "/#include <tcpd.h>/d" pmap_check.c &&
+
+ make NO_TCP_WRAPPER=1 &&
prepare_install &&
- cp portmap /sbin &&
- cp pmap_dump /sbin &&
- cp pmap_set /sbin &&
- cp $SCRIPT_DIRECTORY/init.d/portmap /etc/init.d
-
+ make install
+
) > $C_FIFO 2>&1
Something went wrong with that request. Please try again.