Import Debian changes 2.3.24-ok1

pppconfig (2.3.24-ok1) yangtze; urgency=medium

  * Build for openKylin.
This commit is contained in:
openKylinBot 2022-04-25 22:03:04 +08:00
parent 3b77d65d94
commit aa8d2d58fc
13 changed files with 171 additions and 0 deletions

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
pppconfig (2.3.24-ok1) yangtze; urgency=medium
* Build for openKylin.
-- openKylinBot <openKylinBot@openkylin.com> Mon, 25 Apr 2022 22:03:04 +0800

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
7

0
debian/conffiles vendored Normal file
View File

24
debian/control vendored Normal file
View File

@ -0,0 +1,24 @@
Source: pppconfig
Section: admin
Priority: optional
Maintainer: Debian QA Group <packages@qa.debian.org>
Standards-Version: 3.9.2
Build-Depends-Indep: debianutils (>= 2.10.3)
Build-Depends: debhelper (>= 7), dh-systemd (>= 1.6), po4a
Package: pppconfig
Architecture: all
Depends: ppp (>= 2.3.7), whiptail | dialog, ${misc:Depends}
Conflicts: nscd (<< 2.3.2.ds1-0)
Replaces: manpages-fr (<< 2.39.1-0)
Suggests: resolvconf
Description: Text menu based utility for configuring ppp
It provides extensive explanations at each step. pppconfig supports
PAP, CHAP, and chat methods of authentication. It uses the standard
ppp configuration files and sets ppp up so that the standard pon and
poff commands can be used to control ppp.
Some features supported by pppconfig are:
- Multiple ISPs with separate nameservers.
- Modem detection.
- Dynamic DNS.
- Dial on demand.

14
debian/copyright vendored Normal file
View File

@ -0,0 +1,14 @@
pppconfig is a text based utility for configuring ppp.
Copyright (C) 1999-2013 John G. Hasler (john@dhh.gt.org)
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License version 2 as published
by the Free Software Foundation.
You should have received a copy of the GNU General Public License along
with this program in the file COPYING; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, N: MA 02110-1301,
USA or contact the author.
On Debian systems the GNU General Public License can be found in
/usr/share/common-licenses/GPL-2.

6
debian/dirs vendored Normal file
View File

@ -0,0 +1,6 @@
etc/init.d
etc/ppp/ip-down.d
etc/ppp/ip-up.d
etc/ppp/resolv
lib/systemd/system
usr/sbin

3
debian/menu vendored Normal file
View File

@ -0,0 +1,3 @@
?package(pppconfig):needs="text" section="Applications/System/Administration"\
title="pppconfig"\
command="su-to-root -p root -c /usr/sbin/pppconfig"

15
debian/postinst vendored Normal file
View File

@ -0,0 +1,15 @@
#!/bin/sh
# Postinst for pppconfig by John Hasler 1999-2005
# Any possessor of a copy of this program may treat it as if it
# were in the public domain. I waive all rights.
set -e
if [ -x "`which update-menus`" ] ; then
update-menus
fi
update-rc.d dns-clean start 39 S . >/dev/null
#DEBHELPER#
exit 0

24
debian/postrm vendored Normal file
View File

@ -0,0 +1,24 @@
#!/bin/sh
# $Id: postrm,v 1.1.1.1 2004/05/07 03:12:59 john Exp $
# Postrm for pppconfig by John Hasler 1999-2003
# Any possessor of a copy of this program may treat it as if it
# were in the public domain. I waive all rights.
set -e
if [ "$1" = "purge" ] ; then
rm -rf /lib/pppconfig
rm -rf /etc/ppp/resolv
rm -rf /var/run/pppconfig
rm -rf /var/run/pppconfig/resolv*
rm -rf /var/run/pppconfig/0dns*
update-rc.d dns-clean remove > /dev/null
fi
if [ -x "`which update-menus`" ] ; then
update-menus
fi
#DEBHELPER#
exit 0

1
debian/pppconfig.lintian-overrides vendored Normal file
View File

@ -0,0 +1 @@
pppconfig: init.d-script-missing-dependency-on-remote_fs etc/init.d/dns-clean: required-start

11
debian/prerm vendored Normal file
View File

@ -0,0 +1,11 @@
#!/bin/sh
# John G. Hasler <john@dhh.gt.org> 1999-2003
# Any possessor of a copy of this program may treat it as if it
# were in the public domain. I waive all rights.
set -e
if ( [ "$1" = "upgrade" ] || [ "$1" = "remove" ] ) && [ -L /usr/doc/pppconfig ] ; then
rm -f /usr/doc/pppconfig
fi
#DEBHELPER#

66
debian/rules vendored Executable file
View File

@ -0,0 +1,66 @@
#!/usr/bin/make -f
# $Id: rules,v 1.4 2004/07/19 19:25:14 john Exp $
# Made with the aid of dh_make, by Craig Small
# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
# Some lines taken from debmake, by Cristoph Lameter.
build: build-stamp
build-stamp:
dh_testdir
po4a man/po4a.cfg
for F in `cat po/LINGUAS`; do \
msgfmt -o po/$$F.mo po/$$F.po; \
done
touch build-stamp
clean:
dh_testdir
dh_testroot
rm -f build-stamp install-stamp
rm -f po/*.mo
po4a --rm-translations man/po4a.cfg
dh_clean
install: install-stamp
install-stamp: build-stamp
dh_testdir
dh_testroot
dh_prep
dh_installdirs
install -g root -o root -m 700 pppconfig `pwd`/debian/pppconfig/usr/sbin
for F in `cat po/LINGUAS`; do \
mkdir -p `pwd`/debian/pppconfig/usr/share/locale/$$F/LC_MESSAGES && cp po/$$F.mo `pwd`/debian/pppconfig/usr/share/locale/$$F/LC_MESSAGES/pppconfig.mo; \
done
touch install-stamp
binary-indep: build install
dh_testdir
dh_testroot
dh_installdocs
dh_installexamples
dh_installmenu --noscripts
dh_installcron --noscripts
dh_lintian
dh_installman man/*.8
dh_installchangelogs
cp 0dns-up debian/pppconfig/etc/ppp/ip-up.d/
cp 0dns-down debian/pppconfig/etc/ppp/ip-down.d/
cp dns-clean debian/pppconfig/etc/init.d/
cp dns-clean.service debian/pppconfig/lib/systemd/system/
dh_systemd_enable
dh_systemd_start
dh_compress
dh_fixperms
chmod 755 debian/pppconfig/etc/ppp/ip-down.d/0dns-down
chmod 755 debian/pppconfig/etc/init.d/dns-clean
chmod 755 debian/pppconfig/etc/ppp/ip-up.d/0dns-up
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
binary-arch: build install
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (quilt)