• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/netcat-openbsd/netcat-openbsd.mk
Jerzy GrzegorekJerzy Grzegorek committed 7e00f6846ae02 Jun 2015
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
################################################################################
2
#
3
# netcat-openbsd
4
#
5
################################################################################
6
​
7
NETCAT_OPENBSD_VERSION = debian/1.105-7
8
NETCAT_OPENBSD_SITE = git://anonscm.debian.org/collab-maint/netcat-openbsd
9
NETCAT_OPENBSD_LICENSE = BSD-3c
10
NETCAT_OPENBSD_LICENSE_FILES = debian/copyright
11
NETCAT_OPENBSD_DEPENDENCIES = host-pkgconf libbsd
12
​
13
# Ensure Busybox gets built/installed before, so that this package
14
# overrides Busybox nc.
15
ifeq ($(BR2_PACKAGE_BUSYBOX),y)
16
NETCAT_OPENBSD_DEPENDENCIES += busybox
17
endif
18
​
19
define NETCAT_OPENBSD_APPLY_DEBIAN_PATCHES
20
    if [ -d $(@D)/debian/patches ]; then \
21
        $(APPLY_PATCHES) $(@D) $(@D)/debian/patches *.dpatch; \
22
    fi
23
endef
24
​
25
NETCAT_OPENBSD_POST_PATCH_HOOKS += NETCAT_OPENBSD_APPLY_DEBIAN_PATCHES
26
​
27
define NETCAT_OPENBSD_BUILD_CMDS
28
    $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
29
endef
30
​
31
define NETCAT_OPENBSD_INSTALL_TARGET_CMDS
32
    $(INSTALL) -m 755 -D $(@D)/nc $(TARGET_DIR)/usr/bin/nc
33
endef
34
​
35
$(eval $(generic-package))
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.