Cherry-picked from Ubuntu:
- Created debian/samba.ufw.profile:
- debian/rules, debian/samba.install: install profile
- debian/control: suggest ufw
ldb-tools,
ntp,
smbldap-tools,
- winbind
+ winbind,
+ ufw
Enhances: bind9, ntp
Breaks: qtsmbstatus-server (<< 2.2.1-3~)
Replaces: libsamdb0 (<< 4.0.0~alpha17~),
mkdir -p debian/samba/usr/lib/$(PYSHORT)/dist-packages/samba
mv $(DESTDIR)/usr/lib/$(PYSHORT)/dist-packages/samba/dckeytab.so \
debian/samba/usr/lib/$(PYSHORT)/dist-packages/samba/dckeytab.so
+ mkdir -p $(DESTDIR)/etc/ufw/applications.d
+ install -m644 debian/samba.ufw.profile $(DESTDIR)/etc/ufw/applications.d/samba
# use upstream version of smb.conf.5 if there is no built version
# this is a temporary workaround for #750593 in xsltproc
[ -e $(DESTIDR)/usr/share/man/man5/smb.conf.5 ] || \
+etc/ufw/applications.d/samba
usr/bin/eventlogadm
usr/bin/oLschema2ldif
usr/bin/pdbedit
--- /dev/null
+[Samba]
+title=LanManager-like file and printer server for Unix
+description=The Samba software suite is a collection of programs that implements the SMB/CIFS protocol for unix systems, allowing you to serve files and printers to Windows, NT, OS/2 and DOS clients. This protocol is sometimes also referred to as the LanManager or NetBIOS protocol.
+ports=137,138/udp|139,445/tcp